DLMUK
Member
Hi,
I have a Modbus TCP/IP connection on my S7-314 PLC, this connects to a Siemens RMC30 (TCP/IP>Serial convertor) and then to 46 serial RTUs.
The PLC can only handle 8 simultaneous connections so I cannot simply establish 46 connections. I need to cycle through.
The MODBUS_PN block I am using for comms has a "DB_PARAM" parameter - this parameter is set as the DB which contains all of your connection settings. What I would like to do is cycle though this DB one at a time.
So...
establish connection using settings in DB1
disconnect
establish connection using settings in DB2
disconnect
establish connection using settings in DB3
so on and so on...
But i am not sure how to do this, can anyone offer and suggestions?
Thanks
I have a Modbus TCP/IP connection on my S7-314 PLC, this connects to a Siemens RMC30 (TCP/IP>Serial convertor) and then to 46 serial RTUs.
The PLC can only handle 8 simultaneous connections so I cannot simply establish 46 connections. I need to cycle through.
The MODBUS_PN block I am using for comms has a "DB_PARAM" parameter - this parameter is set as the DB which contains all of your connection settings. What I would like to do is cycle though this DB one at a time.
So...
establish connection using settings in DB1
disconnect
establish connection using settings in DB2
disconnect
establish connection using settings in DB3
so on and so on...
But i am not sure how to do this, can anyone offer and suggestions?
Thanks