User manual
Transferring Data Using Communication Blocks
33002479 06 07/2008 167
Get Local Statistics
Description A get local statistics operation reads the data from the local node in one cycle and 
does not require a master transaction path.To program an MBP_MSTR block to get 
local statistics, use function code 3 (see Operational Function Codes, p. 151).
Network 
implementation
A get 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]  3 = read local statistics
CONTROL[2]  indicates the error status.
CONTROL[3]  Number of addresses to be read from local statistics (0...53)
CONTROL[4] First address from which the statistics table must be read (Reg1=0)
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]  3 = read local statistics
CONTROL[2]  indicates the error status.
CONTROL[3]  Number of addresses to be read from local statistics (0...37)
CONTROL[4] First address from which the statistics table must be read (Reg1=0)
CONTROL[5] Routing register
Most significant byte: Network adapter module slot
CONTROL[6] 
 ...
CONTROL[9] 
Not used










