Iβm working on implementing Modbus RTU communication with a Carel controller (CPCO). I want to use the front RS485 interface through the DB9 connector. The issue is that I canβt get the communication working correctly.
Below are the steps Iβve done so far:
Connected pins 3 and 8 from the DB9 connector to the +/- RX/TX terminals on the Carel side.
In the PLC shell, I set serialmode to RS485.
In WBM under Administration > Serial Interface > Assign owner of serial interface, I set the port to unassigned.
In the device tree, I created Modbus_COM with the following settings:
COM port: 1
Baud rate: 19200
Parity: None
Stop bits: 1
Created a Modbus client on this COM interface in RTU mode. Under the status tab, I can see it is in running state.
On the client, I created a Modbus server and set the Modbus address of my unit to 1.
Defined a few channels as FC03 to read holding registers according to the Carel register map.
I checked the communication with the Carel controller using a USB-to-RS485 converter connected to my PC, and communication works correctly there.
In the status tab, I can see that the Modbus server is polling, but there is no response from the controller. I also tried multiple times swapping A/B lines on the Carel side, but it did not help.
Do you have any suggestions on what else I should check?
Hello,
Iβm working on implementing Modbus RTU communication with a Carel controller (CPCO). I want to use the front RS485 interface through the DB9 connector. The issue is that I canβt get the communication working correctly.
Below are the steps Iβve done so far:
serialmodetoRS485.Administration > Serial Interface > Assign owner of serial interface, I set the port tounassigned.In the device tree, I created
Modbus_COMwith the following settings:COM port: 1
runningstate.1.I checked the communication with the Carel controller using a USB-to-RS485 converter connected to my PC, and communication works correctly there.
In the status tab, I can see that the Modbus server is polling, but there is no response from the controller. I also tried multiple times swapping A/B lines on the Carel side, but it did not help.
Do you have any suggestions on what else I should check?