beautypg.com

2 store current configuration to the as-i master, Store current configuration to the as-i master – EUCHNER AS-i 3.0 Command Interface User Manual

Page 76

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

76

Result: See chapter 4 "Commands of the Command Interface"

To get the input data again, the T-bit has to be reset again.

5.2

Store current configuration to the AS-i master

1. Switch master to configuration mode

2. Write the current slave configuration to the master

3. Switch master to protected mode

4. Wait until master is in normal (protected) operation mode

12-byte management

1. Switch master to config mode

Response

Byte 1

50

hex

Byte 2

80

hex

(toggle bit, master1)

Byte 3

16-bit channel 1 high byte

hex

Byte 4

16-bit channel 1 low byte

hex

Byte 5

16-bit channel 2 high byte

hex

Byte 6

16-bit channel 2 low byte

hex

Byte 7

16-bit channel 3 high byte

hex

Byte 8

16-bit channel 3 low byte

hex

Byte 9

16-bit channel 4 high byte

hex

Byte 10

16-bit channel 4 low byte

hex

Byte 11

00

hex

not used

Byte 12

00

hex

not used

PROFIBUS:

If a command of the command interface with DP V1 is being carried out, set-
ting the toggle bit is not necessary

Request: SET_OP_MODE

Byte 1

0C

hex

(SET_OP_MODE)

Byte 2

00

hex

(T = 0, master 1, single master)

Byte 3

01

hex

(= config mode)

Byte 4

00

hex

Byte 12

00

hex