Go to documentation repository
The Modbus device is configured as follows:
- Go to the settings panel of the Modbus Device object that is created on the basis of the Modbus Wrapper object.
- From the Protocol drop-down list (1), select the type of device connection to the ACFA PSIM Server.
- TCP—connecting via Ethernet.
- RTU—connecting via COM port.
- In the Device ID field (2), enter the device identification number, which is specified in the device settings (Slave ID or Unit ID).
- If you select the TCP protocol, enter the IP address and device port in the IP address (3) and Port (4) fields, respectively.
- In the Request interval field (5), enter the polling period and new data reading from the device registers in milliseconds.
In the Timeout ms. field (6), enter the time period in milliseconds during which the Modbus device must be polled and the data from its registers must be read. Otherwise the connection will be lost. The default value is 300. If the connection is lost regularly, it is recommended to increase the value of the Timeout ms. field. The value is selected experimentally.
- Click the Load configuration button (7) to build the hardware and registers tree if there is a file of the Modbus register map in the .mbmap format. After you click this button, you must select the corresponding file in the Windows window. You can see how a configuration file looks like on the page Example of a Modbus configuration file in MBMAP format.
- Click the Apply button (8) to save the changes.
The Modbus device is now configured.
Overview
Content Tools