if your plc hardware does have a serial com port - yes
Which device (and manufacturer) are you using?
In general you need to add in the device tree a com port, and below the RTU Master and Slave -
Modbus libraries are part of the CODESYS Developmentsystem. If you plc manufaturer does not support the modbus license you could at least use it in demo
mode for 30 minutes.
Add channels and then add a mapping to your variables, thats it... everthing is called implicit by CODESYS not needed to call the modbus fb's manually.
Last edited by HausSPSler; 22.07.2015 at 09:53.
3S-Smart Software Solutions GmbH