Modbus TCP Connections - S7 1500 (TIA14)

ahuberee

Member
Join Date
Jun 2015
Location
Atlanta
Posts
15
So, I have a PLC which will be communicating to a lot of devices using modbus TCP. I know how to instance the block to create connections. I am curious what the typical convention is for using it.

Here are the ways I'll be using it:
Pulling (not necessarily sequential) blocks of data from devices regularly
Writing (not necessarily sequential) blocks of data to devices regularly
Pulling data irregularly


I understand the different modes, and register ranges and such. However, the process of opening connections is confusing to me.

I believe I should open one connection per device and I shouldn't really have to close it presuming the ID is unique. Am I wrong? Is there benefit is disconnecting connections if I'm continuously trying to pull data?

Further, I'm trying to using Siemens S7 (TIA14). There is a MB_Client block which produces a bunch of status. I imagine it isn't a good idea to pull the target every scan of the PLC, so is there some convention for managing how the block is executed? ie, is there a waiting for data status / time out and an example program that may help demonstrate how to use this block conventionally? Or do you stick it in an interrupt block and cross your fingers? I found a few examples online, but I'm unable to convert from anything older than TIA13_SP1.

Thanks!
 

Similar Topics

Hello All, For S7-400H system, can we make this redundant PLC (connected to one uplink switch) to communicate simultaneously with 3rd party HMI...
Replies
2
Views
1,440
Hello gentlemen, Im working on a small project on TIA Portal, about establishing a Modbus TCP connection between my ET200SP plc and a socomec...
Replies
11
Views
253
If a device has Modbus RTU over serial and Modbus RTO over TCP and Modbus TCP then there is a difference between Modbus RTU over TCP vs Modbus TCP...
Replies
7
Views
450
Hi There. I have PC to get few tags from PLC into C# windows forms application. What is the best and fastest way? I could not find Omron in...
Replies
3
Views
245
I contacted Hach and bought a kit they recommended for a customer to add Modbus TCP capability to his Chlorine Analyzer with a SC4500 controller...
Replies
8
Views
218
Back
Top Bottom