IMDHMIControls LibraryShop main store

Troubleshooting

Why Citect sends no Modbus TCP requests to a PLC

SCADA and data logging Published 6 min read

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
  1. Split the fault at the first frame
  2. Working the comparison on the Citect 2016 Update 38 project
  3. The four checks that restore request generation
  4. Prove the fix, then return to the PLC
  5. Once frames flow, the usual suspects return
  6. Questions asked

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 #

  1. 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.

  2. 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.

  3. 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.

  4. 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.

Keep reading

  • Troubleshooting

    Replacing a KoyoNet Citect link with Do-more Modbus TCP

    Use the H2-DM1E as a Modbus TCP server and point Citect's ModNet driver at it, mapping measurements into MIR, setpoints into MHR, and status and command bits into MI and MC. The working KoyoNet link stays only as a temporary read bridge, because its octal addressing, integer-only V-memory and reported 768-word window are exactly what you are leaving.

    SCADA and data logging

  • How-to

    Setting the Modbus slave ID for a Citect I/O device

    The Modbus slave ID is the Address field of the I/O Device, set in Plant SCADA Studio under Topology. Boards define the server's interface and Ports carry the communication settings; neither holds the station number. Enter the station the device itself is configured to, then compile and deploy, and the #Bad tags clear when the transport already matches.

    SCADA and data logging

  • How-to

    Connecting Citect SCADA to a Modbus RTU gateway over MODNET

    Yes — MODNET is Citect's driver for Modbus over TCP/IP, and a true RTU-to-TCP converter presents standard Modbus TCP on its Ethernet side, so the combination works. Success then rides on two things: the gateway's operating mode, and carrying the RTU slave address and register offsets into Citect correctly, proved by reading one register whose value you can see at the device.

    SCADA and data logging