+8618758069661 [email protected]
Product Search Guide: space = AND, | = OR, ! = NOT

Got any Questions? Call us Today!

+8618758069661

Or leave us a message

Online Message

Serial Server Status: Counters, Resets and Recovery

Views: 164 +1Original by FCTELEAuthor: FCTELE Technical Team
AT A GLANCE

How can a serial server be online while the instrument reading is stale?

Online can describe a network session rather than an instrument response. A server may keep its TCP connection while the instrument is disconnected, and cumulative counters can include unrelated traffic or incomplete data. Follow one valid read-only exchange through network receive, serial transmit, serial receive and network transmit, then verify the protocol result and timestamp. Preserve logs and configuration before selecting a reboot, factory reset or firmware upgrade; those operations change different states.

Three mechanisms and their verification boundariesFollow the signal, then verify the actual service

01Correlate one complete exchange

Correlate one complete exchangeFour observation positions help show where a request or reply stopped, but only the application can judge the response meaning.Net RXSer TXSer RXNet TX1234Compare changes for one matched exchangeCounters show observation points, not execution

Four observation positions help show where a request or reply stopped, but only the application can judge the response meaning.

02Mark age and validity

Mark age and validityA last valid reading can remain available for review without being presented as a newly received measurement.Last valueNew / valid?Check response matching, time and status

A last valid reading can remain available for review without being presented as a newly received measurement.

03Choose the intended state change

Choose the intended state changeReboot restarts runtime, reset changes configuration and upgrade replaces firmware under the model procedure.RuntimeReset: settingsFirmwareRebootDifferent states; verify service after each

Reboot restarts runtime, reset changes configuration and upgrade replaces firmware under the model procedure.

Swipe to compare the three diagrams →

Conceptual teaching illustrations—not measured waveforms, installation wiring or the internal architecture of a specific product.
  • Correlate one complete exchange

    Take before-and-after readings with channel and time correlation.

  • Mark age and validity

    Compare the last successful response time and timeout state.

  • Choose the intended state change

    Back up evidence and verify the real instrument service after the selected operation.

Selection and verification checklistExpand the checks and related guides
Checks for this service and its actual operating conditions
CheckWhat to confirmHow to verify
Correlate one complete exchangeFour observation positions help show where a request or reply stopped, but only the application can judge the response meaning.Take before-and-after readings with channel and time correlation.
Mark age and validityA last valid reading can remain available for review without being presented as a newly received measurement.Compare the last successful response time and timeout state.
Choose the intended state changeReboot restarts runtime, reset changes configuration and upgrade replaces firmware under the model procedure.Back up evidence and verify the real instrument service after the selected operation.

A serial server shows online, but the instrument has no new reading. Don’t rush to restore factory settings. Online may only mean one network connection exists; send/receive counters increasing may only mean bytes passed through some interface. Correct maintenance should link three kinds of evidence—network, serial, and valid business—before deciding whether to check wiring, parameters, or software. Reboot, clearing configuration, and upgrading firmware change different states, and they cannot be treated as the same “repair button.”

1. What the three states each prove

Network connection status describes whether the device and the peer have established a session. Serial status describes line or character send/receive activity. Business status comes from the application’s judgment of a valid response. After a TCP connection is established, even if the instrument loses power, the server may continue to maintain the connection with the computer. Conversely, if the network is temporarily interrupted, the serial side may still receive bytes. First ask which layer the “online” in the interface belongs to.

Inside the server, an electrical transceiver, UART, limited buffer, and network processing work together. Counters may accumulate at some point among these stages. Whether the specific value is a byte count, message count, or successful transaction count must be checked against the model definition. The same number increasing may include abnormal bytes, heartbeats, or other client data. An unexplained network send quantity cannot be directly equated with the number of commands the instrument has actually executed.

2. Use before-and-after differences to correlate one request

Save the current time and four types of available counters: network receive, serial send, serial receive, and network send. Then, in an isolated test environment, send one valid read-only request, and observe the increments and raw logs. In order, check whether data enters the server, whether it is sent to the serial port, whether there is a response, and whether it returns to the computer. If the counter meaning is unclear or the device does not provide a certain item, record the missing evidence; do not fill in numbers out of thin air.

Be aware that counters may wrap around, reset to zero on reboot, or continuously include other business. When multiple channels run simultaneously on a shared server, one total counter cannot prove that one particular channel is normal; channel correlation, a time window, or an approved single-channel test is needed. A TCP acknowledgment on the network is also not an instrument response. It confirms network byte reception and cannot prove the on-site execution result. Whether the business is complete still requires checking the address, function, checksum, and content.

Figure 1: One request passes through four observation points; counter increases are only activity evidence for the corresponding stage.
Figure 1: One request passes through four observation points; counter increases are only activity evidence for the corresponding stage. The principle diagram is a general principle illustration, not an actual measurement or an internal photo of a specific model.

3. Narrow down the fault along four positions

When network receive does not change, first check whether the program actually sends the request, whether the target address and port are correct, and whether the connection role and access rules match. The fact that only the management web page can open does not mean the business service is reachable. If network receive increases but serial send shows no visible activity, check the channel mapping, enable status, mode, and buffer, rather than directly replacing the on-site instrument.

If the serial port sends but there is no response, continue checking the terminal power supply, interface standard, wire order, character format, and protocol station number. If a serial response exists but network send or the application result is missing, then check the buffer, connection status, and application framing. TCP is a byte stream; one read may only get half a frame. If software discards half a frame too early, it creates the illusion that “the server lost data.” Change only one condition at a time and keep the original configuration.

4. How to judge old values rather than real-time values

The application should display both the last successful read time and validity. Keeping the last reading after disconnection can help with review, but it cannot continue to be marked as the current temperature. Server activity does not guarantee that data comes from the current request; during recovery, a late response in the buffer may be mismatched. The protocol and host software need to define response matching and expiration handling; do not rely only on observing the device’s green light.

Suppose one read times out and then the network recovers. First reconfirm the current station and business status, then send the next read. A previous write command whose execution result is unknown should not be unconditionally resent. If the device has no sequence number, transaction mechanism, or actual feedback, then the result should be clearly marked unknown, and the approved handling procedure for that system should be used. An ordinary serial link cannot be used for emergency stop or safety interlock on this basis.

Figure 2: Reboot, factory reset, and firmware upgrade change different states; the operation result still requires business retesting.
Figure 2: Reboot, factory reset, and firmware upgrade change different states; the operation result still requires business retesting. The principle diagram is a general principle illustration, not an actual measurement or an internal photo of a specific model.

5. Reboot only rebuilds the running state

A reboot usually causes the processor and services to reinitialize, and may clear connections and volatile buffers; whether configuration is retained depends on the device documentation. If a temporary abnormality disappears after reboot, it can be recorded as a clue, but it cannot prove the root cause has been resolved. First save logs, version, and a status snapshot, then perform the reboot in an approved window; otherwise important abnormal evidence may be lost with the reboot.

After reboot, check the address, mode, channel parameters, and a genuine read-only response; do not merely wait for the web page to reappear. Also check whether the central software re-establishes the connection, whether there are duplicate requests, and whether old status has expired. Frequent reboots interrupt data collection. If it recurs at intervals, find the cause based on time, load, power supply, and resource status; do not treat scheduled reboots as a default long-term solution.

6. What factory reset deletes

Factory reset is used to restore configuration to the initial state specified for that model, and may change the management address, account, serial parameters, and working mode. It is not a function specifically for repairing wiring or protocols. Before performing it, save the configuration and business mapping, confirm how the device will be rediscovered, who is responsible for reconfiguring it, and the downtime impact. Different models have different default IPs and passwords; fixed values from old articles cannot be copied.

If the address is forgotten, first check the asset record, lease, or a suitable discovery tool. Broadcast discovery may not be forwarded across routes; not finding the device does not mean it is broken. After completing the reset, set credentials and restrict management access according to the model procedure, then restore the verified parameters; do not leave the default service exposed to the public internet for a long time. If no usable configuration backup exists, first rebuild the necessary records before deciding whether to operate.

7. Firmware upgrade must verify compatibility and rollback

Firmware is the software the device runs. An upgrade may modify functions and error handling, but the wrong model, a corrupted file, or power loss midway may also prevent the device from starting. Check the hardware version, current firmware, official upgrade package, checksum, and instructions; whether rollback is supported and whether configuration is compatible must be confirmed by the supplier. Do not assume all versions can be downgraded freely.

First verify key business on a sample unit or a suitable test environment, then schedule a maintenance window; provide reliable power and connection according to the manufacturer’s requirements, and do not cut power, reset, or repeat operations during the upgrade. After completion, check the version, configuration, and all-channel business, and observe reconnection and abnormal logs. A successful upgrade prompt only indicates that a certain stage of the upgrade process has ended; it does not automatically prove that the original software and instrument are already compatible.

8. Build status records with the product

The public details of Feichang FCT-081206 list management capabilities such as WEB and SNMP and online upgrade, which can serve as an entry point for checking the management path. However, counter granularity, reset behavior, log retention, and rollback mechanisms not explained on the page must still be verified according to the model manual or the supplier’s answer. One cannot infer from the management protocol name that all states can be obtained.

Acceptance records include test time, channel, valid request, raw response, counter values before and after, and result; maintenance records additionally save the reason and version for reboot, reset, or upgrade. Prove network reachability, byte visibility, and business validity separately, and maintenance personnel can then handle it section by section based on evidence, rather than continuously clearing configuration in an unknown state.

Verification materials: Feichang FCT-081206 product details ; Modbus official specification and implementation guide ; TCP specification RFC 9293 . Product functions come from public descriptions on the official website; general diagrams, test steps, and assumptions are not certifications or performance guarantees.

Translated from the Chinese technical article. Source first published: 2022-12-08. Source last revised: 2026-10-13T11:01:30+08:00. Read the Chinese source

Common practical questions

How can one failing instrument be isolated when shared server counters keep increasing?

Identify the counter scope and channel mapping, then correlate before-and-after readings with one approved read-only request and its raw response. Separate other client traffic and heartbeats where possible. Record missing per-channel visibility instead of treating a rising server-wide total as proof for that instrument.

Should an uncertain write command be sent again automatically after reconnection?

Only if the application protocol and approved process make that retry safe. A lost reply can leave execution uncertain, so a blind resend may duplicate the action; use supported transaction matching or real-state feedback and preserve an unknown result when necessary.

What should be saved before resetting a serial server to factory settings?

Save the configuration, address and rediscovery method, channel parameters, protocol mapping, logs and relevant versions. Confirm downtime and the recovery owner, then follow the model procedure; default values from another product are not a usable restoration plan.

Sources and applicable boundaries

These additions explain general mechanisms. Supported features, connection details and acceptance limits must be verified for the actual equipment, software and operating conditions; the diagrams are not measurements or certification evidence.

Share this article