beautypg.com

12 report hiu status b, Host command set reference – Siemens SIMATIC TIWAY 1 User Manual

Page 125

background image

HOST COMMAND SET REFERENCE

UNILINK HOST ADAPTER

5–40

USER MANUAL

5.4.12

Report HIU Status — 1B

The REPORT HIU STATUS command returns the status of the HIU and
statistics on network performance. The statistics for the HIU are those
associated with the Network Manager to HIU communication. The counters are
not incremented after reaching their maximum value and must be explicitly
reset.

Command:

1B (rr)

Response:

1B (jj kk bbbbbbbb cccccccc dddd eeee ffff gggg hh ii)

Usage:

PERFORMANCE

Modes:

MHIU, HIU

Parameters:

rr

The reset counters code.

00 = Do not reset the statistics counters.

01 = Reset the statistics counters, but do not return any statistics.

jj

The online status flag. When set to 01, it indicates that the HIU
has been logically connected to the network.

kk

The number of Network Manager buffers allocated to the HIU at
initialization.

bbbb

The number of directives solicited by the Network Manager.

cccc

The number of directive responses returned by the Network
Manager.

dddd

The number of network errors, including CRC errors, timeouts,
aborts, and the loss of RS–232–C/RS–423–A control signals and
RS–232–C timeouts.

eeee

The number of HDLC errors, including command rejects
(FRMR), invalid HDLC responses, and sequence errors. This
number may reflect errors logged because a BROADCAST
NETWORK DATA TRANSFER command was issued in a
network that contains Intelligent Tank Transmitters (ITTs) as
secondary devices. These errors are logged because the ITT
returned a REJ even though the information was received.