![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Jun 2015
Location: Atlanta
Posts: 15
|
Modbus TCP Connections - S7 1500 (TIA14)
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! |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Implement Modbus TCP Protocol Using VBA with Excel | gclshortt | LIVE PLC Questions And Answers | 35 | October 17th, 2022 01:44 PM |
Modbus TCP Master Simulator | Chuck Hoyt | LIVE PLC Questions And Answers | 7 | August 31st, 2015 03:25 PM |
CP341 to Kepware OPC : Modbus TCP | jeffy | LIVE PLC Questions And Answers | 2 | July 2nd, 2015 08:23 AM |
Modbus TCP - ControlLogix <> S7 | sthompson | LIVE PLC Questions And Answers | 2 | August 10th, 2012 02:06 PM |
MODBUS TCP gurus | cjh | LIVE PLC Questions And Answers | 1 | August 19th, 2004 08:18 AM |