MODPORT is a field I/O product with low price. It is possible to connect with CODESYS. MODPORT field I/O
Connect MODPORT to RS485 port of ComfilePi.
1. Add Modbus_COM, Modbus_Master, Modbus_Slave.
2. Edit properties.
3. Check Slave Address in Slave Setting.
4. Add channels. i use 8 DC input (DIDC8) and 8 Relay Output (DORL8).
Refer MODBUS address.
5. Edit Ladder diagram. Connect Variable to Direct Address.
Check the result as a video
Download project file: modportsample.zip