Modbus TCP over Ethernet
Standard port 502, concurrent client connections, transaction ID tracking and unit identifier support.
ExampleHave the client application and a separate diagnostic tool read from the same virtual TCP device.
Simulate Modbus TCP and RTU devices with the register maps and responses you need to test before the physical equipment is available.
Modbus Digital Twin responds as a virtual Modbus device over TCP or RTU. Set its unit ID, data areas and initial values to match the register map your client needs. Then test addressing, data interpretation and writes before the equipment arrives.
Change values while the simulation runs and repeat normal responses, boundary cases, exceptions and timeouts. Use the setup for development, regression testing or training. Still verify the register map, timing and behaviour on the physical device before commissioning.
TodayThe first protocol-level reads and writes have to wait for the physical device.
With Modbus Digital TwinConnect the client to a simulated register map and check protocol handling and data interpretation while the equipment is being procured.
TodayFaults rarely occur in the order you need and can be hard to reproduce on the bench.
With Modbus Digital TwinExercise a successful response, a Modbus exception and a timeout separately. Check how the client responds and whether it resumes polling.
TodayThe job needs an available physical device whose state may depend on the previous test.
With Modbus Digital TwinStart a virtual device with known values in the test job and run the same read and write sequence on each change.
TodayA client configuration exercise needs access to a test bench or production equipment.
With Modbus Digital TwinPractise diagnosing an incorrect unit ID or register offset against a known setup without changing production equipment.
Standard port 502, concurrent client connections, transaction ID tracking and unit identifier support.
ExampleHave the client application and a separate diagnostic tool read from the same virtual TCP device.
Set baud rate, parity and stop bits. The simulator handles CRC-16 calculation and inter-frame timing.
ExampleTest unit ID 2 at 9600 baud, with 8 data bits, no parity and 1 stop bit.
Set the size and initial values of coils, discrete inputs, holding registers and input registers. Each area supports up to 65,536 addresses.
ExampleStart with holding register 0 set to 1234 and coil 0 set to 1. They share an offset but belong to separate data areas.
Read bits or registers and write to coils or holding registers. The simulator also supports Modbus exception responses.
ExampleWrite a single coil with 0x05 and read it back with 0x01 in a regression test.
Update registers and coils during simulation. Use custom simulation logic when several signals need to track the same process value.
ExampleUse a holding register for temperature in tenths of a degree and a coil to indicate whether the alarm threshold has been crossed.
Test your client with Modbus exceptions and with responses that do not arrive before the client’s timeout.
ExampleCheck that your client distinguishes an address exception from a missing response. They are different failure modes.
You are writing a client for a pressure meter. Its documentation uses 40001 for the first holding register and specifies 0.1 kPa per count.
Outcome You exercise client addressing and scaling against a known raw value before repeating the test on the meter.
The client reads temperature in tenths of a degree from the input register at offset 12. It must raise an alarm above 30.0 °C and waits at most 500 ms for a reply.
Outcome The test shows that a valid alarm reading, an exception response and a missing reply are handled differently.
You want to check that a serial client can read a discrete input before connecting the physical I/O module.
Outcome The client has been exercised against a known unit ID, a known input and matching settings at both ends. Run the final test with the physical equipment.
You want to catch a client change that writes to the wrong coil or reads back the wrong value.
Outcome Every run starts from the same known state and checks both the protocol exchange and the address the client changes.
Performance figures are internal measurements and depend on the host and the simulation workload. Use your own request pattern to evaluate capacity and timing.
Start with one device. A register map and a sample response give us enough to discuss what to simulate and what to check on the physical equipment.