AS-i/PROFIBUS Gateway
Command Interface
Subject to reasonable modifications due to technical advances. Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Issue date - 21.12.2005
81
4.Wait until master is in normal operation mode (and protected mode)
Reading out the flags until NA (Normal Operation Active) has been set.
No result because toggle bit = 0.
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.
Request: GET_FLAGS
Byte 1 47
hex
(GET_FLAGS)
Byte 2 00
hex
(T = 0, master 1, single master)
Byte 3 00
hex
… …
Byte 12 00
hex
Response
Byte 1 00
hex
(or old values)
Byte 2 00
hex
(or old values)
… …
Byte 12 00
hex
(or old values)
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