Hi,
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?
Hi,
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:
https://support.industry.siemens.com/cs/document/47756141/how-do-you-establish-a-modbus-rtu-communication-with-step-7-(tia-portal)-for-the-simatic-s7-1200-?dti=0&lc=en-WW
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!