Documentation Home Page HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Modbus Slave | Connections

Once the I/O interface has been configured as desired, the user will have to connect points in the model to points in the driver by using the designated HYPERSIM sensors. The driver's connectable points depend on the number of analog and digital inputs and outputs that the slave has.

The connection points are classified in the following categories:

Coils

Connection point

Direction

Description

User-defined nameFrom driver to modelData value

Discrete Inputs

Connection point

Direction

Description

User-defined nameFrom model to driverData value

Holding Registers

Connection point

Direction

Description

User-defined nameFrom driver to modelData value

Input Registers

Connection point

Direction

Description

User-defined nameFrom model to driverData value


Under each category, the configured operations will show-up with the names that have been given by the user. Take note that if a slave output is configured to be controlled From Both, there will be two connection points instantiated. One will be From Master and the other one will be From Model . The data point From Master is always directly mapped to the real slave outputs (holding register or coil) and this output will be overwritten by the From Model data point at a time interval determined by the Cycle output rate (ms).

In TCP mode, an additional "Connected" connection point is available and can be used in the model to indicate if the Modbus slave is connected to a Modbus master or not. It represents the number of Modbus masters currently connected to the Modbus slave. This value will be the same for all slaves sharing an IP address and TCP port combination.
In RTU mode, an additional "Bus Activity" connection point is available and can be used in the model to indicate if the Modbus slave is receiving requests from a Modbus master.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter