beautypg.com

7 report network bandwidth allocation, Host command set reference – Siemens SIMATIC TIWAY 1 User Manual

Page 148

background image

HOST COMMAND SET REFERENCE

UNILINK HOST ADAPTER

5–63

USER MANUAL

5.6.7

Report Network Bandwidth Allocation — 36

The REPORT NETWORK BANDWIDTH ALLOCATION command returns the
relative amount of network bandwidth being used by a specific HIU. The
counters stop incrementing when they reach their maximum value and must be
explicitly reset. The first set of counters corresponds to the counts for all HIUs
and the second set for the specified HIU. The ratio of the HIUs counts to the
counts for all HIUs gives a relative indication of the HIUs bandwidth.

Command:

36 aa (rr)

Response:

36 (aa iiiiiiii ssssssss rrrrrrrr mmmm iiiiiiii ssssssss

rrrrrrrr nnnn)

Usage:

PERFORMANCE

Modes:

NM

Parameters:

rr

= The reset counters code.

00 = Do not reset the counters.

01 = Reset all HIU counters and the sum HIU counters, but do not
return any data. Only the command code, 36, is returned.

aa

The HIU address.

iiii

The number of TIWAY I HDLC I–Frame pairs sent and received
by the HIU. The term I–Frame pair refers to the fact that every
Primitive has an I–Frame command and response pair. This
count does not include the I–Frames required for Network
Manager to HIU communication.

ssss

The number of TIWAY I HDLC I–Frame bytes sent by the HIU to
the secondaries. This count only contains the data bytes of the
I–Frame and not the HDLC overhead.

rrrr

The number of TIWAY I HDLC I–Frame bytes received by the
HIU from the secondaries. This count only contains the data
bytes of the I–Frame and not the HDLC overhead.

mmmm

The total number of NM buffers currently allocated to all HIUs.

nnnn

The number of NM buffers allocated to the specified HIU.