Troubleshooting
Why Citect sends no Modbus TCP requests to a PLC
Short answer
When Wireshark shows the SCADA host emits no Modbus TCP frame at all while an empty project with the same device, port and protocol reaches the same test server, the request-generation path in the original project is dead. Check I/O server startup, device-to-server ownership, variable acquisition and duplicate device definitions before touching the PLC or the network.
On this page
You already have the diagnosis in your captures. The SCADA host sends no Modbus TCP frame at all, the same PC test server answers an empty project built with the same device, port and protocol values, and the plant PLC answers a separate Modbus TCP client. Those three results put the fault inside the original project's request-generation path — not in the PLC, not in the network, not in the parameters. Work it in this order: confirm the I/O server actually starts, confirm a started server owns the device, confirm at least one variable on that device is acquired, then rule out a duplicate device definition. Leave the PLC alone until the original project emits its first frame, because a server cannot answer a request that never arrives.
Split the fault at the first frame #
One question divides this problem in half: does the SCADA host put a Modbus TCP frame on the wire during a full runtime start? Capture on the SCADA host or at the server, filtered to TCP port 502, and read the trace before touching any configuration.
- Zero frames from the SCADA host: the request-generation path is dead. The fault is in runtime execution, device ownership, variable acquisition or duplicate definitions inside the project.
- Frames out, nothing back: the fault is downstream — endpoint, transport or the request itself.
- Request and response both present but values wrong: the fault is in addressing or register interpretation, not connectivity.
The reported case sits squarely in the first branch: Wireshark showed no request to the plant PLC and none to a PC test server the SCADA could reach. Nothing downstream of the request path matters until that changes.
Working the comparison on the Citect 2016 Update 38 project #
This is the isolation test, worked with the results already in hand.
Inputs:
- Platform: Citect 2016 Update 38, original project with the plant PLC as a Modbus TCP device.
- Test server: one PC running a Modbus TCP server, reachable from the SCADA host.
- Empty project: exactly one I/O device, pointing at that test server, carrying the same device, port and protocol values as the test device added to the original project.
- Plant PLC: answered every poll from a Modbus TCP client run on a PC.
- Capture: Wireshark on the SCADA host, filtered to TCP port 502, spanning a full runtime start of each project.
Rule in words: hold the endpoint, the port and the network constant, and change only the project. Whichever project stops generating frames is the one holding the fault.
| Test | Path | Result | What it proves |
|---|---|---|---|
| 1 | Empty project to PC test server | Frames flow, responses return | Port, protocol, endpoint and network path are good |
| 2 | PC client to plant PLC | Every poll answered | The PLC's Modbus TCP service and the plant network are good |
| 3 | Original project to PC test server | 0 frames on port 502 | The only difference from Test 1 is the project |
One verified-good endpoint, one verified-good PLC, and a project that emits 0 frames: the fault is inside the original project's request generation. If you need to build the known-good server first, How to simulate a Modbus TCP SCADA link on one PC covers that setup.
Decision and threshold: 0 frames on TCP port 502 across a capture that spans a full runtime start — project startup through the initial connect phase — is conclusive. Stop debugging the PLC and the network, and run the four checks below. The moment 1 frame appears, the fault moves downstream and the PLC side becomes worth examining again.
The four checks that restore request generation #
-
The I/O server is not running. Confirm this from runtime startup messages, not from the project editor being open — the editor loads the database; the runtime is what starts servers. Two documented starters for this failure: a license dongle that has expired or been moved, which makes the I/O server refuse to start (confirm it in Citect License Manager on the cluster PC), and port blocking on a managed switch, which shuts the ports Citect services use to reach each other so the local I/O server never becomes available.
-
No running I/O server owns the device. The vendor's setup sequence treats attaching a device to an I/O server as its own step, and a device record that no running server owns is never serviced — it exists in the project data and generates nothing. In a project with more than one server or a cluster assignment, confirm which server owns this device and that the server runs on the machine you are capturing from.
-
No variable on the device is acquired. Citect polls to serve variables; a device with zero acquired variables gets zero requests. Confirm that at least one valid variable references the device, that its address uses the memory-area syntax the configured driver expects, and that acquisition is enabled. Identical device, port and protocol values in both projects prove nothing here — the empty project had a variable its runtime actually polled, and that may be the only real difference between the two.
-
A duplicate device definition. Two devices sharing one IP address can disturb ownership and scanning. In the reported case this was searched for and not found, so give it one search and move on: if the project data holds no duplicate, the fault lives in checks 1 through 3.
Prove the fix, then return to the PLC #
- Back up the project and edit a copy, in a window when this SCADA is not the only watch on the machine — the operators' picture goes stale the moment you restart the runtime.
- Change one thing only, restart the full runtime, and re-capture against the PC test server with the same port filter. Success is frames inside the startup window, with no manual client involved.
- Repoint the device to the plant PLC and run the acceptance test: one request from the original project's runtime, one response from the PLC, one variable updating on screen. Restart the runtime once more and confirm requests resume on their own.
Once frames flow, the usual suspects return #
With the project generating requests, PLC-side causes are back on the table for any target that stays silent, and two documented ones lead that list: the protocol service not enabled in the PLC — Modbus TCP not running — and the wrong port set in the PLC program. Match the unit identifier in the device definition to the target as well; Setting the Modbus slave ID for a Citect I/O device shows where that value lives. Finally, put a link-loss alarm on the device so a silent runtime is never discovered by absence again: How to create a SCADA PLC communication alarm for link loss.
Questions asked
Why does the empty project work with exactly the same parameters?
Because it has nothing left to get wrong. One device, one acquired variable, no cluster assignment to mismatch and no duplicate definitions remove exactly the failure modes that hide in a large project. The parameters were never the variable under test; the project built around them was.
Other Modbus TCP devices on this SCADA already work. What does that eliminate?
It eliminates the first check. If variables on other devices keep updating, an I/O server process is running and the driver is loaded, so the fault narrows to this device's ownership, its variable acquisition, or a duplicate definition. Capture while the runtime is up to confirm the silent device is the only one quiet.
Does the PLC answering a separate Modbus TCP client prove Citect is configured correctly?
No. It proves the PLC's Modbus TCP service and the plant network can serve a request. It says nothing about whether the Citect runtime generates one, and every PLC-side change you make while no frame is sent is a change to a component that has not failed.
Where should the capture run, on the SCADA host or at the server?
Either, as long as it sees the SCADA host's traffic to TCP port 502. A capture on the host shows what the runtime emits; a capture at the server shows only what arrives, which is exactly the question being asked. Filter to port 502 in both cases.
Is restarting the SCADA host worth a try?
A restart can mask a server that failed to start, so it is worth one clean restart while you watch the I/O server come up. But if the empty project works on the same host at the same time, the host is not the variable under test; fix the project instead of rebooting around it.