Setting up Connect+ with Modbus on CODESYS

Topics about the Software of Revolution Pi
User avatar
Amar
KUNBUS
Posts: 160
Joined: 15 Jul 2019, 12:58

Re: Setting up Connect+ with Modbus on CODESYS

Post by Amar »

Hi Nicolai,
You have to remove the MODBUS RTU master configured from piCtory when using the one from CODESYS ,otherwise there will be device conflict.Then check Codesys Serial port Configuration if it matches with your slave.Restart of the device will be needed for codeys to take the configured serial port from CODESYSControl.cfg.
2020-07-10 10_38_30-RevPiConnectCodesysTest.project - CODESYS.png
2020-07-10 10_38_30-RevPiConnectCodesysTest.project - CODESYS.png (7.23 KiB) Viewed 2349 times
CODESYSControl.zip
(758 Bytes) Downloaded 488 times
You can further check in codesys logs for possible errors and could also first simulate with MOdRSim2 Slave to check out further.
https://sourceforge.net/projects/modrssim2/
KUNBUS
Post Reply