1200 as MODBUS RTU Slave

C

Thread Starter

Catnip

I am trying to get Siemens 1214c dc/dc/dc cpu work as a Modbus RTU slave with RS232 communication module. As a master i have PC.

I tried to get the connection work according these instructions:

https://support.industry.siemens.co...ortal)-for-the-simatic-s7-1200?dti=0&lc=en-WW

I didn't create the mb_master-block, since I don't have two PLCs communicating. As i try to send data to PC I only get error signal from mb_slave bloc, announcing about invalid port id (code 8180). The port id is the same as it is in the port configuration, so I really don't understand this. Could someone please help me to understand why my connection is not working?
 
S
We have never used this combination, but have done MB comms with other Siemens PLCs. You must create the MB slave block. You should use some MB diagnostic tool on the PC. If your current PC program does not have it. let me know & I shall provide you with one. This is free. This will help you figure out where the problem is.

[email protected]
 
Top