Clear Local Statistics
Original instructions
Description
A clear local statistics operation clears the values from words 13 ... 22 in the statistics table of the local node. The operation is carried out in one cycle and does not require a master transaction path. To program an MBP_MSTR block to clear local statistics, use function code 4.
Network Implementation
A clear local statistics operation can be performed on Modbus Plus and TCP/IP Ethernet networks.
Control Block Usage for Modbus Plus
Register
Meaning
CONTROL[1]
4 = clear local statistics
CONTROL[2]
Indicates the error status
CONTROL[3]
Reserved
CONTROL[4]
Reserved
CONTROL[5]
Routing register 1 is used to specify the address (routing path address 1 of 5) of the 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]
4 = clear local 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]
Reserved