beautypg.com

2 report adapter configuration û 21, Host command set reference, Figure 5–8 dipswitch values bit map – Siemens SIMATIC TIWAY 1 User Manual

Page 134

background image

HOST COMMAND SET REFERENCE

UNILINK HOST ADAPTER

5–49

USER MANUAL

5.5.2

Report Adapter Configuration — 21

The REPORT ADAPTER CONFIGURATION command returns the values
specified in the CONFIGURE ADAPTER command. All parameters will be
returned, even the defaults.

Command:

21

Response:

21 dddddddd ff 01 vvvv 02 vvvv 03 vvvv 04 vvvv

Usage:

PERFORMANCE

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–8. A bit set to one indicates the corresponding switch is
up (off).

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–8 Dipswitch Values Bit Map

ff

A flag, that when set to one, indicates that the CONFIGURE
ADAPTER command has been processed. In multiprocessing
environments, the tasks can check the value of this flag to
determine if they can issue initiation, operation, and termination
commands.

vvvv

The parameters described in the CONFIGURE ADAPTER
command.