beautypg.com

EUCHNER AS-i 3.0 Command Interface User Manual

Page 87

background image

AS-i 3.0 Command Interface

Command Interface Examples

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

87

Setting the toggle bit:

The flag NA has to be set before the application is started. In case it is not set, the
flags have to be read out until this flag has been set to 1.

The flag NA indicates that the master is in normal operation mode.

Normal operation mode is necessary to run the application safely.

The flag NA indicates that the master is in the normal operating mode which is nec-
essary for the application to run safely.

Request: GET_FLAGS

Byte 1

47

hex

(GET_FLAGS)

Byte 2

00

hex

(T = 0, master 1, single master)

Byte 3

00

hex

Byte 4

00

hex

Byte 12

00

hex

Response

Byte 1

47

hex

Byte 2

80

hex

(T = 1, result = 0)

Byte 3

-

-

-

-

-

-

-

POK

Byte 4

OR

APF

NA

CA

AAv

AAs

S0

COK

Byte 5

AAe

OL

DX

Byte 6

00

hex

Byte 12

00

hex

PROFIBUS:

If a command of the command interface is used via PROFIBUS DP V1, it is
not necessary to use the toggle bit.