An intermittent communication fault is hard to pin down in one go. Record it the same way every time, though, and by the third occurrence a pattern tends to appear — «always while line 2's conveyor runs», «on rainy days», «the day after a PC update». Without records, every new person starts the same attempts from scratch.
1. What to write — one line per event
| Column | Example |
|---|---|
| When (start, end) | 10-31 14:05 to 14:20, about 15 min. Which clock (PC or PLC) |
| Where | Line 2 panel, RS-485 bus 2, ID 5 drive |
| Symptom | HMI «communication fault» alarm, only ID 5 times out, other IDs read |
| Machine state at the time | Conveyor running, welder active, raining |
| Readings | A–B 60 Ω, idle B − A 0.26 V, panel 41 °C, 37 errors per 1000 requests |
| Action taken | Re-tightened terminals → 0 errors, watched for 30 min |
| Result, follow-up | Check the same terminals at the next inspection; if it recurs, check shield grounding |
| Files kept | Names of log files, pcaps and photos |
Rather than a single «cause» column, write «possible causes» and «what was checked / not checked». Even if the symptom went away after an action, it may be coincidence, so also note how long you watched for a recurrence.
2. Readings as numbers
«37 timeouts and 5 CRC errors per 1000 requests» is more useful to the next person than «communication unstable». Write meter readings, temperatures and error counts with units and where they were measured (which device's terminals). If the same items are measured the same way at routine checks, fault-time values compare directly.
3. Keep the communication records
- Serial: turn on «log to file» in the master or comms program and the bytes sent and received are kept with timestamps. Cutting out the minutes around the fault is enough.
- Ethernet: capture traffic (pcap) from a mirror port or the PC. Captures grow large, so keep a few minutes either side of the fault.
- Put date, time, machine and bus in the file name, matching the «files kept» column.
- Records use the PC clock, so note the difference from the PLC and HMI clocks in the log.
- Captures contain the machine's values as they are; follow site rules before sending them outside.
4. Compare what changed
«It worked yesterday» usually means something changed. When a fault happens, compare the last records with now.
- Network: the device list (IP, MAC, open ports) saved at commissioning or the last check against now — missing devices, new devices, IPs whose MAC changed.
- PC: the PC check results saved last time against now — driver versions, COM numbers, power settings, updates, shutdown history.
- Devices: the last parameter backup against current values.
- Site: recent construction, additions, replacements, cleaning, new power equipment, moved cables.
5. The maintenance log
Keep routine checks, additions, replacements and removals in the same log as faults, one line each. «What changed when» has to be in one place for comparison to work. Date, person, machine, type (check, fault, addition, replacement, removal), details, readings and files kept are enough columns. Paper or spreadsheet, keep it where anyone on site can find it.
In PortDock
- Modbus Master: «Log to file» keeps the bytes sent and received with timestamps; copy per-table statistics (requests, timeouts, CRC) into the log as readings. (From 0.10.0) «Possible causes…» shows possible causes and checks from recent request results.
- Serial: log received bytes in HEX — keep the times when garbage bytes or broken frames appeared.
- Net Scan: save the device list as CSV as a baseline, and scan again at fault time to compare. (Comparison against a saved baseline arrives in 0.10.0.)
- Port Inspector: save the equipment PC's check results and read again at fault time to compare. (Comparing check results arrives in 0.10.0.)
- «Field Troubleshooting Wizard» web tool: narrow down possible causes from a symptom by yes/no, and copy the result as text into the log.
Sources
- Microsoft — Packet Monitor (Pktmon) — built-in packet capture in Windows
- Wireshark Wiki — CaptureSetup/Ethernet — where to capture on a switched network
- Microsoft Learn — Windows Time service tools and settings — time sync so record timestamps line up
Published 2026-10-31