beautypg.com

5 read output data image (read_odi), 6 set offline mode (set_offline), Read output data image (read_odi) – EUCHNER AS-i 3.0 Command Interface User Manual

Page 55: Set offline mode (set_offline)

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

55

4.6.5

Read output data image (READ_ODI)

With this call, the output data values of all AS-i slaves is being read out of the AS-
i Master.

4.6.6

Set offline mode (SET_OFFLINE)

This call switches between online and offline mode.

The online mode is the normal operating state for the AS-i master. The following
jobs are processed cyclically:

• During the data exchange phase, the fields of the output data are transferred to

the slave outputs for all AS-i slaves in the LAS. The addressed AS-i slaves sub-
mit the values of the slave inputs to the master when the transfer was free of
errors.

• This is followed by the inclusion phase in which existing AS-i slaves are

searched and newly added AS-i slaves are entered in the LDS or LAS.

• In the management phase, jobs by the user such as writing parameters are ex-

ecuted.

In the offline mode, the AS-i Master processes jobs by the user only. (Jobs that
involve the immediate addressing of an AS-i slave are rejected with an error).
There is no cyclic data exchange with the AS-i slaves.

When offline, the AS-i circuit is in a safe state.

Response

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

42

16

2

T

result

Request

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

56

16

2

T

circuit

Response

byte

2

7

2

6

2

5

2

4

2

3

2

2

2

1

2

0

1

56

16

2

T

result

3

slave 1A

slave 2A

slave 3A

34

slave 30B

slave 31B