Engee documentation

Working with Modbus TCP block library

Page in progress.

To familiarise yourself with the basic features of the library it is recommended to use slave simulators such as:

Features of working with ModRSsim2 simulator

It is strictly recommended to recreate sockets after a session with the simulator. The reason is that after closing the connection the socket remains active for some time, which leads to the impossibility of connection.

Features of working with ModbusPal simulator

The simulator supports working only with Holding Registers and Coils.

Peculiarities of library operation

Offset map

The block library uses the following offset map:

  • Coil Outputs - 00000;

  • Digital Inputs - 10000;

  • Analog Inputs - 30000;

  • Holding Registers - 40000.

Getting started

Minimum required software

  • ModRSsim2 (For Windows):

    modbus tcp 1

    The demonstration requires ModRSSim2 to be started and station 1 to be switched on for correct operation.
  • ModbusPal (cross-platform simulator, requires Java):

    modbus tcp 2

    For a quick start, it is recommended to enter the learning mode before pressing the Run button. To do this, press the Learn button.