User manual
Transferring Data Using Communication Blocks
168
33002479 06 07/2008
Clear Local Statistics
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 (see Operational Function Codes, p. 151).
Network
Implementation
A clear local statistics operation can be performed on Modbus Plus and TCP/IP
Ethernet networks (see TCP/IP Ethernet Network Statistics, p. 174).
Control Block
Usage for
Modbus Plus
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] 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.
Register Meaning
CONTROL[1] 4 = clear local statistics
CONTROL[2] Indicates the error status
CONTROL[3] Reserved
CONTROL[4] Reserved
CONTROL[5] Routing register
Most significant byte: network adapter module slot
CONTROL[6]
...
CONTROL[9]
Reserved