beautypg.com

3 get flags (get_flags), Get flags (get_flags) – EUCHNER AS-i 3.0 Command Interface User Manual

Page 33

background image

AS-i 3.0 Command Interface

Commands of the Command Interface

Subject to reasonable modifications due to technical advances

Id.-No.: 102875 Issue date - 3.12.2007

EUCHNER GmbH + Co. KG

Kohlhammerstraße 16, D-70771 Leinfelden-Echterdingen

Tel. +49/711/7597-0, Fax +49/711/753316

33

4.4.3

Get Flags (GET_FLAGS)

With this call, the flags according to the AS-i slave specification can be read.

Pok Periphery_OK

This flag is set when no AS-i slave is signaling a peripheral fault.

S0

LDS.0

This flag is set when an AS-i slave with address 0 exists.

AAs Auto_Address_Assign

This flag is being set when the automatic address programming is possible
(in other words, AUTO_ADDR_ENABLE = 1; no "incorrect" slave connected
to the AS-i).

AAv Auto_Address_Available

This flag is set when the automatic address programming can be executed,
exactly one AS-i slave is currently out of operation.

CA

Configuration_Active

The flag is set in configuration mode and reset in protected mode.

NA

Normal_Operation_Active

This flag is set when the AS-i master is in normal operation.

APF AS-i Power Fail

This flag is set when the voltage on the AS-i cable is too low.

OR

Offline_Ready

The flag is set when the offline phase is active.

Cok Config_O

This flag is set when the desired (configured) and actual configuration
match.

AAe Auto_Address_Enable

This flag indicates whether the automatic address programming is enabled
(bit = 1) or disabled (bit = 0) by the user.

Request

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

47

16

2

T

circuit

Response

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

47

16

2

T

response

3

Pok

4

OR

APF

NA

CA

AAv

AAs

S0

Cok

5

AAe

OL

DX