beautypg.com

3 report hiu configuration, Host command set reference, Figure 5–5 dipswitch values bit map – Siemens SIMATIC TIWAY 1 User Manual

Page 109

background image

HOST COMMAND SET REFERENCE

UNILINK HOST ADAPTER

5–24

USER MANUAL

5.4.3

Report HIU Configuration — 12

The REPORT HIU CONFIGURATION command reports the values for the
HIU options specified with the CONFIGURE HIU command.

Command:

12

Response:

12 dddddddd ff 01 vvvv 02 vvvv 03 vvvv

Usage:

CONFIGURATION

Modes:

MHIU, HIU

Parameters:

dddd

The current values for Dipswitch 1 and Dipswitch 2 in the most
significant word and least significant word respectively. The
position values are right-justified in each word as shown in
Figure 5–5. A bit set to one indicates the corresponding switch is
up.

1

2

3

4

5

6

7

8

9

10

U
P

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

MSB

LSB

1

2

3

4

5

6

7

8

9

10

U
P

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

MSB

LSB

WORD #1

WORD #2

Dipswitch 1

Dipswitch 2

Figure 5–5 Dipswitch Values Bit Map

ff

A flag indicating that the CONFIGURE HIU command has been
processed when set to one. In multiprocessing environments, the
tasks can check this flag to determine whether they can start
issuing initiation, operation, and termination commands or not.

oo

The option number ranging from 01 to 03. All four option/value
pairs will be returned.

vvvv

The parameter values described in the CONFIGURE HIU
command.