5 get local statistics mstr operation, Control block utilization, Get local statistics mstr operation – Schneider Optics Web Embedded Server User Manual

Page 42

Advertising
background image

The MSTR Instruction

32

840 USE 115 00 Version 1.0

3.2.5

Get Local Statistics MSTR Operation

The Get Local Statistics operation (type 3 in the display register of the top node)
obtains information related to the local node where the MSTR has been
programmed. (See page page 40 for a listing of the TCP/IP Ethernet network
statistics).

Control Block
Utilization

The registers in the MSTR control block (the top node) contain the Get Local
Statistics information as described in the following table:

Register

Function

Content

Second implied

Length

Write = number of registers to be sent to slave.
Read = number of registers to be read from slave.

Third implied

Slave device data
area

Specifies starting 4x register in the slave to be
read from or written to (1 = 4001, 49 =40049).

Fourth implied

Low byte

Quantum backplane slot address of the NOE
module.

Fifth ... eighth
implied

Destination Each

register contains one byte of the 32-bit IP

address.

Register

Function

Content

Displayed

Operation Type

3

First implied

Error status

Displays a hex value indicating an MSTR error,
when relevant.

Second implied Length

Starting from offset, the number of words of
statistics from the local processor’s statistics
table; the length must be > 0 < data area.

Third implied

Offset

An offset value relative to the first available word
in the local processor’s statistics table. If the
offset is specified as 1, the function obtains
statistics starting with the second word in the
table.

Fourth implied

Low byte

Quantum backplane slot address of the NOE
module.

Fifth .. Eighth
implied

Not applicable

Advertising