EasyManua.ls Logo

Siemens SIMATIC S7-1200 - 13.8.4.2 Example: Legacy MB_CLIENT 1: Multiple requests with common TCP connection

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication processor and Modbus TCP
13.8 Legacy Modbus TCP communication
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
1265
13.8.4.2
Example: Legacy MB_CLIENT 1: Multiple requests with common TCP connection
Multiple Modbus client requests can be sent over the same connection. To accomplish this,
use the same instance DB, connection ID, and port number.
Only 1 client can be active at any given time. Once a client completes its execution, the next
client begins execution. Your program is responsible for the order of execution.
The example shows both clients writing to the same memory area. Also, a returned error is
captured which is optional.
Network 1:
Modbus function 1 - Read 16 output image bits
Network 2:
Modbus function 2 - Read 32 input image bits

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals