Hi there,
I am using an S7-1516 cpu and need to create multiple instances of mb_client to read data from three modbus servers. I am running TIA pro V15.
Each server is basically an ethernet bridge with a serial connection (RS422/485) on the other side. Each bridge will have a unique IP address and the serial connection will be 19,200 8N1.
The max block read of the modbus slave (downsteam of the bridge) is 64 words. I need to read at least 6 blocks of 64 words of data. Most of the data is in holding registers, but there are some coils as well.
Each slave will have a default unit ID of 1. I presume this is ok because the ethernet bridges are independent? It's changeable anyway.
Can anyone advise my best approach here in terms of implementing the MB_Client block?
Can I use just one mb_clinet per server (ethernet bridge) and dynamically change the modbus addressing and pointer to where the data is stored? Or should I use multiple mb_clients for each modbus block read?
If I can use just one mb_client per server, can they operate in parallel? Do I need to change port numbers in this scenario?
What is the limit on the number of instances of mb_client I can use with an S7-1516 cpu?. The Siemens technical data isn't specific.
Which version of MB_Client is best suited to my application? I can choose from V3.1, V4.1 & V5.1
Any advice on best approach here would be appreciated.
Regards,
Justin
I am using an S7-1516 cpu and need to create multiple instances of mb_client to read data from three modbus servers. I am running TIA pro V15.
Each server is basically an ethernet bridge with a serial connection (RS422/485) on the other side. Each bridge will have a unique IP address and the serial connection will be 19,200 8N1.
The max block read of the modbus slave (downsteam of the bridge) is 64 words. I need to read at least 6 blocks of 64 words of data. Most of the data is in holding registers, but there are some coils as well.
Each slave will have a default unit ID of 1. I presume this is ok because the ethernet bridges are independent? It's changeable anyway.
Can anyone advise my best approach here in terms of implementing the MB_Client block?
Can I use just one mb_clinet per server (ethernet bridge) and dynamically change the modbus addressing and pointer to where the data is stored? Or should I use multiple mb_clients for each modbus block read?
If I can use just one mb_client per server, can they operate in parallel? Do I need to change port numbers in this scenario?
What is the limit on the number of instances of mb_client I can use with an S7-1516 cpu?. The Siemens technical data isn't specific.
Which version of MB_Client is best suited to my application? I can choose from V3.1, V4.1 & V5.1
Any advice on best approach here would be appreciated.
Regards,
Justin