Page 2 of 2

Re: Setting up Connect+ with Modbus on CODESYS

Posted: 10 Jul 2020, 10:47
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 2149 times
CODESYSControl.zip
(758 Bytes) Downloaded 447 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/