IMDHMIControls LibraryShop main store

Explainer

Why a SCADAPack simulator may expose no Modbus TCP server

SCADA and data logging Published 8 min read

Short answer

A RemoteConnect x70 Logic Editor simulation executes your IEC 61131-3 program but exposes a Modbus TCP server only where the documentation names an endpoint: an address, a listening port and a server enable. The x70 simulation documents none, so keep the simulator for logic testing, point the SCADA client at a physical SCADAPack 575 for communications tests, and read a refusal as a missing listener and a timeout as a path problem.

On this page
  1. Why does a running simulation not answer Modbus TCP requests?
  2. How do you check whether the simulation documents a Modbus TCP endpoint?
  3. What is the difference between a refused connection and a timeout?
  4. Example: which register does a SCADA tag at 40011 read?
  5. When do you move Modbus TCP testing to a physical controller?
  6. How do you prove a Modbus TCP link end to end?
  7. Questions asked

The short answer: a RemoteConnect x70 Logic Editor simulation runs your IEC 61131-3 program, and it serves Modbus TCP only if the documentation for your installed version names a simulator endpoint — an address, a listening port and a server enable. For the x70 simulation that endpoint is not documented, so the working setup is to keep the simulator for logic testing and point the SCADA client at a physical SCADAPack 575 for every communications test. Logic execution and Ethernet service are separate capabilities, and a software simulator does not automatically inherit the hardware's network services. Below: the endpoint check, the refusal-versus-timeout readings, the register arithmetic that decides a wrong value once a link opens, and the bench decision for each case.

Why does a running simulation not answer Modbus TCP requests? #

Because executing logic and serving Ethernet are separate capabilities: the simulation runs your IEC 61131-3 program without hardware, and a Modbus TCP server exists in a simulation only where the vendor documents an endpoint with an address, a listening port and a server enable.

A controller's Modbus TCP service lives in its communications stack: a server enable, a listening port, a register map and connection limits, all device-specific and all documented for the hardware. A logic simulator reproduces the program executor, the scan and the IEC 61131-3 semantics — the language standard that defines how ladder, structured text and function blocks behave. It reproduces the network services only where the vendor built and documented that into the simulation mode. RemoteConnect's x70 Logic Editor is built on the Control Expert IEC 61131-3 environment, which is why the programming workflow feels familiar; that heritage covers editing and simulating logic, and it does not carry another product's simulation networking with it.

Modbus TCP itself is a client-server protocol: the client opens a TCP connection and transmits function codes against a register map; the server listens, answers reads and writes, or returns an exception. The role the simulator would have to fill is the server's, and a status reporting the logic running fills the executor's only. The remote-access service the x70 documentation does describe is the Logic Debugger Service, which enables remote access to the logic application for debugging; a debugging session consuming logic values is not a SCADA client opening Modbus transactions, and planning a test as if the two were the same thing costs a day.

Copying connection settings from any other simulator creates no listener here. Simulator architecture decides what a client can reach, and a dialog filled with another product's address and port describes that product's software, not this one.

How do you check whether the simulation documents a Modbus TCP endpoint? #

Open the documentation that ships with your installed RemoteConnect version and look for four things: a simulator network address, a listening port, a server enable, and the supported access method — if any one of the four is missing, the endpoint is not documented.

Work the items in order. An address: does the documentation name a hostname or interface the simulator binds? A port: is a listening port stated? An enable: is there a setting or service that turns external access on? An access method: does the text say which client operations the endpoint accepts? The x70 simulation feature is documented for running IEC 61131-3 programs without hardware, and nothing in that documented scope names an external Modbus TCP endpoint. That absence is the finding: the feature is real, its documented purpose is logic execution, and a server is not part of what is promised.

If your installed help does name all four items for your version and target, configure exactly that endpoint and use the rest of this article as the test plan. If it names none and a project needs certainty, put one question to the vendor's support channel — does this simulation mode accept external Modbus TCP connections — and check any answer against the four items above.

What is the difference between a refused connection and a timeout? #

A refusal means something at the destination address answered and rejected the TCP open — that points at a missing or disabled listener on the port; a timeout means nothing answered, and that points at the address, the route or a firewall rule.

Read the client's own connection diagnostic rather than a ping result. Ping proves IP reachability of the host; it proves nothing about any process listening on TCP 502, and a host that answers ping can refuse or drop every Modbus open. Branch on the client's actual error:

  • Refused. Something answered and rejected the open. Confirm the documented service is running and enabled, then confirm from the operating system's listening-socket listing that a process owns the intended interface and port. Register addresses, unit identifiers and data types are irrelevant at this reading; the listener is absent or actively rejecting.
  • Timeout. Nothing answered. Confirm the destination address is the interface that actually hosts the server — an endpoint bound only to localhost is invisible from another computer — then the route, then the firewall, where a narrowly scoped rule for the required port beats a disabled firewall every time.

And one reading deserves its own line: when the endpoint is undocumented and your Modbus open to port 502 comes back refused, that refusal is the expected result of the architecture described above. Stop reconfiguring the client at this stage; there is no server to reach.

Example: which register does a SCADA tag at 40011 read? #

With the Modicon five-digit convention, reference 40001 is the first holding register and maps to protocol address 0, so a tag entered as 40011 is transmitted as a function 03 read of register 40011 - 40001 = 10 — offset 10 is what the server map must hold.

Worked with real numbers: a tag named Tank level setpoint is entered in the SCADA client as 40011 and aimed at a server host. The entry convention decides the transmitted offset, and three conventions are in common use:

  • A client that subtracts the 40001 base transmits function 03 with address 40011 - 40001 = 10.
  • A client configured for raw offsets transmits address 40011 unchanged.
  • A client using one-based entry subtracts the base and adds one: 40011 - 40001 + 1 = 11.

One label, three transmitted offsets, three different registers in the server's map — which is why a value that reads validly but wrong is an addressing-convention problem before it is a logic problem. The decision: read the client's addressing documentation, enter the reference the way that client expects, and match the transmitted offset against the server map's own documentation instead of absorbing a mismatch as an unexplained offset in the tag. This arithmetic applies only after the TCP open succeeds; under a refusal there is no read to mis-address. Once the offset is proven, a 32-bit value spanning two registers makes word order the next suspect.

When do you move Modbus TCP testing to a physical controller? #

When the simulation documentation names no endpoint — the case for today's x70 Logic Editor documentation — point the SCADA client at a physical SCADAPack 575 on the bench for communications testing and keep the simulator for logic testing.

On the bench, the RTU is the server, and the client must aim at its documented endpoint. Before the first open, work through what has to be configured on the PLC side of a Modbus TCP server — server enable, listening port, register map — because a hardware endpoint that was never enabled produces exactly the refusal described above, now with a fixable cause. Keep those first tests off any machine that runs a process: use a bench RTU or one locked out, never a controller live on operating equipment.

The simulator keeps its job: logic development, scan-behavior checks and interlock testing stay in the simulation, and only communications verification moves to hardware. If the bench RTU is days away and the client side needs rehearsing, run the SCADA client against a documented Modbus TCP server on the same PC — the one-PC Modbus TCP SCADA simulation pattern exercises addressing, polling and connection diagnostics with no controller at all, and every client-side reading it teaches transfers straight to the hardware test.

Prove it in three steps: a completed TCP open to the configured address and port, one documented read of a single data item, and one write whose value survives the next scan — anything less confuses transport success with application success.

Step one, transport: the client reports the TCP open complete to the address and port you configured, and you record both with a timestamp. A completed open proves transport access only; it does not prove the service on that port is Modbus, or that your data sits behind it.

Step two, one read: pick a single documented data item, match its data area, function code, address convention and unit identifier to the server map, and read it. Three readings and their branches:

  • Connected, no Modbus response. Transport works and the transaction is not completing. Check what actually owns the port, then the request format, then the functions the server implements — some servers carry a narrow set, and a server lacking FC22 mask-write support is the documented case to compare against.
  • Exception returned. The server parsed the request and rejected it. Read the exception code; an illegal-data-address exception points at offsets the map does not cover, which routes you back to the arithmetic in the Example section.
  • Valid response, wrong value. Communication works and mapping or interpretation does not. Re-check the offset arithmetic and, for multi-register values, the data type and word order.

Step three, one write: write once to a register and read it back through the same path. If the value will not stick, the logic is rewriting that register every scan — the map working as written, not the link failing. When two clients write the shared map during testing, sequencing decides what remains, which is exactly the failure mode in two SCADA servers writing to one PLC over Modbus TCP.

Close every session by keeping the results with their destination, port and timestamp. On a bench that has hosted both a simulator attempt and a physical RTU, a green connection to the wrong server is the classic false pass; the record is what turns "something answered" into "this server answered, at this address, on this date".

Questions asked

Why does the Logic Editor not appear in RemoteConnect after I install it?

The vendor's FAQ on this exact symptom says the Logic Editor becomes available only when the full RemoteConnect version is installed together with Control Expert, because the x70 Logic Editor is built on the Control Expert IEC 61131-3 environment. If the editor is missing from your installation, check which components the installer actually put on the machine before troubleshooting anything about simulation or communications; an incomplete install explains both a missing editor and a missing simulation feature.

Which TCP port does a Modbus TCP server listen on?

The standard Modbus TCP port is 502, and a client given no port targets 502 by default. A server may be configured to listen on another port, in which case its documentation states the port alongside its address — an undocumented simulator endpoint has no promised port at all. When you test a documented endpoint, enter the port explicitly in the client rather than relying on the default, so the destination you record is the destination you actually reached.

Why does my write return success but the logic keeps its own value?

A positive write response proves the transport and the server accepted the transaction; it does not prove the value survives the application. If the program writes that register during each scan, the next cycle overwrites whatever you sent. Test on a register the program does not own, suspend the part of the logic that writes it while you test, or force values through the debugging service instead of writing over Modbus — then read the register back through the client to confirm what the scan actually sees.

What do I tell vendor support when I ask about the simulation feature?

Give the RemoteConnect version, the target RTU and its model, the simulation mode you ran, the client application and version, and the exact address and port you tried, then ask one question: does this simulation mode accept external Modbus TCP connections, and which documented configuration applies. That phrasing gets a capability answer about your version rather than general guidance, and the answer maps directly onto the four endpoint checks — address, port, enable, access method — so you can verify whatever you are told.

Keep reading

  • How-to

    How to simulate a Modbus TCP SCADA link on one PC

    Yes — one PC can run the SCADA client and a Modbus TCP server simulator at once. Decide which side you are proving, keep exactly one client and one server in the arrangement, prove the server exists with an independent Modbus client, then align object type, offset and word order before trusting any value; a connected link proves transport only.

    SCADA and data logging

  • Troubleshooting

    Why Citect sends no Modbus TCP requests to a PLC

    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.

    SCADA and data logging

  • 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