Setting Up Modbus Devices Using CODESYS Modbus Configurator:
1. In the Project window, right-click on your project’s device and select "Add Device".
2. In the "Add Device" dialog, search for “Modbus” and open the tree. Select “Modbus COM” and
“Add Device”.
3. After adding the Modbus_COM component, right-click on it and select " Add Device".
a. Double-Click Modbus_COM component to configure properties such as slave ID, baud
rate, parity, etc.
4. In the "Add Device" dialog, search for “Modbus Serial Master” and open the tree. Select
“Modbus Master, COM port” and “Add Device”.
5. After adding the Modbus_Master_COM_port component, right-click on it and select " Add
Device".
a. Double-Click Modbus_Master_COM_port component to configure properties such as
Response timeout.
6. In the "Add Device" dialog, search for “Modbus” and open the tree. Select “Modbus Slave, COM
port” and “Add Device”.
7. After adding the Modbus_Slave_COM_port component, double-click on it.
8. The Modbus Configurator will open in a new window. Here, you can define the slave address,
add Modbus channels, and map Modbus words to application variables.