I'm struggling to get my S7-1200 to communicate via modbus using a CM1241 module over RS485. I've followed a few tutorials but don't seem to be getting anyway.
Are there any good resources to guide me in the right direction?
The Siemens resources at the following link has a lot of good information, including a sample program:
The easiest way to integrate Modbus into your project is to use the Modbus library and communication blocks that are available in TIA Portal v14 and v15.
The document available at the above link named "47756141_Description.pdf" is a great step-by-step guide. Good luck and let us know how it's working out!