MB_CLIENT Modbus function (PLC S7 1200)

Опубликовано: 15 Октябрь 2024
на канале: PLC&5 Technology
21,848
84

MB_CLIENT
Modbus function
Send several requests via a TCP connection
Several requests of the Modbus Client can be sent via a TCP connection. To do this, use the same instance DB, the same connection ID and the same port number.

Only one client can be active at any one time. After processing of a client has been completed, the next client is processed. The order of execution must be defined in the program.

In the following sample program, the value of the STATUS output parameter is also copied.