At a Glance
Use MBP_MSTR operation 16 to close a Modbus TCP/IP connection
on the network.
Block Operation
The MBP_MSTR block can send requests and receive responses up to 253 bytes long. For block operation, refer to the block description:
When the ENABLE input pin is turned ON, operation 15 begins.
If the ABORT input pin is turned ON or if the ENABLE input pin is turned OFF, the operation ends.
The
ACTIVEoutput pin is ON during the operation.The
ERRORoutput pin turns ON if the operation aborts without success.The
SUCCESSoutput pin turns ON if the operation completes with success.The
CONTROLandDATABUFoutput pins define the operation.ENandENOcan be configured as additional parameters.
Control Block
The format of the CONTROL block is described below:
Register |
Function |
Description |
|---|---|---|
|
Operation |
16 = close connection |
|
Error status |
Indicates detected error status (read only) |
|
(not used) |
– |
|
(not used) |
– |
|
Routing Register |
High byte = Ethernet communication module slot |
Low byte = MBP on Ethernet transporter (MET) mapping index (also known as Unit ID) |
||
|
IP Address |
Byte 4 of the IP address (MSB) |
|
Byte 3 of the IP address |
|
|
Byte 2 of the IP address |
|
|
Byte 1 of the IP address (LSB) |

