Close Connection Request
Original instructions
At a Glance
Use MBP_MSTR operation 16 to close a Modbus TCP/IP connection on the network.
NOTE: This operation is not available on Modbus Plus ports (embedded port on CPU or NOM modules).
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:
Control Block
The format of the CONTROL block is described below:
Register
Function
Description
CONTROL[1]
Operation
16 = close connection
CONTROL[2]
Error status
Indicates detected error status (read only)
CONTROL[3]
(not used)
CONTROL[4]
(not used)
CONTROL[5]
Routing Register
High byte = Ethernet communication module slot
Low byte = MBP on Ethernet transporter (MET) mapping index (also known as Unit ID)
CONTROL[6]
IP Address
Byte 4 of the IP address (MSB)
CONTROL[7]
Byte 3 of the IP address
CONTROL[8]
Byte 2 of the IP address
CONTROL[9]
Byte 1 of the IP address (LSB)