to trigger requests from IEC code.
https://faq.codesys.com/pages/viewpage.action?pageId=24510480
Error checking
To check the communication status of a specific slave use the name of the slave as in the project
tree and the option .ComState. In addition the .byModbusError will show more in detail the
cause of error.
Modbus_TCP_Slave.ComState
Modbus_TCP_Slave.byModbusError
Links
For more details of how to configure Modbus TCP with the X2 series use the following links.
X2 Series and BFI
https://www.beijerelectronics.se/sv-SE/Support/Help___online?docId=68118
X2 series and G-series I/O
https://www.beijerelectronics.se/sv-SE/Support/Help___online?docId=68107