Clear Remote Statistics
Original instructions
Description
A clear remote statistics operation clears remote-node values from words 13 ... 22 in the statistics table of the local node. It uses a master transaction path and may require several cycles to complete. To program an MBP_MSTR block to perform a clear remote statistics operation, use function code 8.
Network Implementation
A clear remote statistics operation can be performed on Modbus Plus and TCP/IP Ethernet networks.
Control Block Usage for Modbus Plus
Register
Meaning
CONTROL[1]
8 = clear remote statistics
CONTROL[2]
Indicates the error status
CONTROL[3]
Reserved
CONTROL[4]
Reserved
CONTROL[5]
...
CONTROL[9]
Routing register 1 is used to specify the address (routing path address 1 of 5) of the destination node during a network transfer.
The last byte in the routing path that is not 0 is the destination mode.
Control Block Usage for TCP/IP Ethernet
Register
Meaning
CONTROL[1]
8 = clear remote statistics
CONTROL[2]
Indicates the error status
CONTROL[3]
Reserved
CONTROL[4]
Reserved
CONTROL[5]
Most significant byte: network adapter module slot
CONTROL[6]
...
CONTROL[9]
Each address contains one byte of the 32-bit IP address, where the MSB is in CONTROL[6] and the LSB is in CONTROL[9].