3 retrieving secondary statistics, Operation and application – Siemens SIMATIC TIWAY 1 User Manual

Page 38

Advertising
background image

OPERATION AND APPLICATION

UNILINK HOST ADAPTER

2–28

USER MANUAL

02 0002 11 00

02

03 01

03 01 0002 11 01

03 02

03 02 0002 11 01

03 03

Issue Broadcast command

Accepted response

Poll address #1

Address #1 response

Poll address #2

Address #2 response

Poll remaining addresses

Example 2–1

BROADCAST/POLL Example

2.9.3

Retrieving Secondary Statistics

The UNILINK Host Adapter maintains network statistics for the logically
connected secondaries on the network. This information is not essential for
normal operation, but can be useful for identifying problems.

The first statistical command is the READ SECONDARY LOG command, code
06. When this command is received, the UNILINK Host Adapter will respond
with the command code followed by the list of secondary device addresses that
are logically connected. If no secondaries are connected, the list will contain one
byte with a value of 00.

The second command is the READ SECONDARY DIAGNOSTICS command.
This command returns statistical counters for the network HDLC
transmissions and errors. Along with the command code and secondary
address, there is a reset statistics counters parameter. The counters are not
automatically reset when their maximum value is reached. The reset
parameter allows your applications software to reset the counters to start a
baseline measurement.

Advertising