8 read adapter diagnostics, Host command set reference – Siemens SIMATIC TIWAY 1 User Manual
Page 102
HOST COMMAND SET REFERENCE
UNILINK HOST ADAPTER
5–17
USER MANUAL
5.3.8
Read Adapter Diagnostics — 08
The READ ADAPTER DIAGNOSTICS command returns statistics for the
entire network related to the issuing HIU. With the exception of the number of
I–Frames transmitted to and from the secondaries and the number of various
commands issued to the HIU, the statistics counters do not represent an exact
count of the events and are intended only to show trends that may indicate
problems. These counters are not updated when they reach their maximum
value of FFFF. The host computer must issue this command with the reset
counter code set to reset these counters.
Command: 08 (rr)
Response: 08 (aaaa bbbb cccc dddd eeee ffff gggg hhhh iiii jjjj kkkk
llll mmmm nnnn oooo pppp qqqq rrrr ssssssss)
Usage:
PERFORMANCE
Modes:
MHIU/EHA, HIU/EHA, MHIU, HIU
Parameters:
rr
The reset statistics counters code. This parameter was added to
the original TIWAY I Host Adapter command to allow the
counters to be reset.
00 = Return the statistics counters, but do not reset them.
01 = Reset the statistics counters and do not return any counts.
aaaa
The number of invalid commands received from the host
computer. Invalid commands do not include commands that are
rejected due to transmission errors, such as a bad checksum.
bbbb
The number of valid SEND NETWORK DATA commands
processed.
cccc
The number of valid BROADCAST NETWORK DATA commands
processed.
dddd
The number of valid POLL SECONDARY commands processed.
eeee
The number of valid CONNECT SECONDARIES commands
processed.
ffff
The number of valid DISCONNECT SECONDARIES commands
processed.
gggg
The number of valid READ SECONDARY LOG commands
processed.
hhhh
The number of valid READ SECONDARY DIAGNOSTICS
commands processed.
iiii
The number of valid READ ADAPTER DIAGNOSTICS
commands processed.