beautypg.com

3 report secondary link status, Host command set reference – Siemens SIMATIC TIWAY 1 User Manual

Page 143

background image

HOST COMMAND SET REFERENCE

UNILINK HOST ADAPTER

5–58

USER MANUAL

5.6.3

Report Secondary Link Status — 32

The REPORT SECONDARY LINK STATUS command returns the
communications link status and connect status for all secondary device
addresses up to the maximum secondary address specified during the adapter
configuration.

Command:

32

Response:

32 nnnn [ss]

Usage:

PERFORMANCE

Modes:

NM

Parameters:

nnnn

The number of times the Background Monitor has gone through
the list of secondary devices, from address 01 to the maximum
secondary address specified by the CONFIGURE ADAPTER
command, updating the link status. This count rolls over to one
after reaching its maximum value.

ss

The one byte link status information for each secondary, up to the
maximum secondary address specified by the CONFIGURE
ADAPTER command, where the relative position of the status
byte indicates the secondary address. In other words, the first
status byte corresponds to secondary address 01, the second
status byte to secondary address 02, and so on. The bit mapping
for this status byte is shown below.