AS-i/PROFIBUS Gateway
Profibus-DP
Subject to reasonable modifications due to technical advances.
Copyright Fuchs, Printed in Germany
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
is
s
u
e
d
a
te
1
2
.1
0
.1
9
9
9
33
If the same command byte shall be sent several times one after the other, the bit 7
(valence 2
7
) has to be toggled each repetition.
The bit 6 (valence 2
6
) of the command byte states the number of the AS-i Masters to
address to. If this bit is 0, AS-i Master 1 is addressed, otherwise AS-i Master 2. With
single masters this bit has to be 0, with double masters the AS-i circuit to address can
be selected. (e.g. command read AS-i Control Flags of AS-i circuit 2: 4D
hex
)
After execution of the command the command byte is mirrored. Illegal commands
(AS-i circuit number 2 with single masters, illegal command byte or a data field which
is too short) always return as mirrored command byte 00
hex
or 80
hex
, if the toggle bit
was set.
Commands that may fail return an error code (00
hex
: OK, FF
hex
: error) in data byte[0]
(status).
The possible commands are listed as follows:
AS-i function
command
byte
data
byte[0]
data
byte[1]
data
byte[2]
data
byte[3]
Idle
(no function)
output
00
hex
-
-
-
-
input
00
hex
-
-
-
-
write projected
parameter
output
01
hex
slave address
parameter
-
-
input
01
hex
status
-
-
-
read projected
parameter
output
02
hex
slave address
-
-
-
input
02
hex
status
parameter
-
-
write parameter
output
03
hex
slave address
parameter
-
-
input
03
hex
status
parameter
-
-
read actual
paramter
output
04
hex
slave address
-
-
-
input
04
hex
status
parameter
-
-
write (project)
actual parameter
output
05
hex
-
-
-
-
input
05
hex
status
-
-
-
write projected
coniguration
output
06
hex
slave address
conf.-daten
-
-
input
06
hex
status
-
-
-
read projected
coniguration
output
07
hex
slave address
-
-
-
input
07
hex
status
conf.-daten
-
-
write projected
coniguration
output
08
hex
-
-
-
-
input
08
hex
status
-
-
-
read actual con-
figuation
output
09
hex
slave address
-
-
-
input
09
hex
status
conf.-daten
-
-
address AS-i slave
output
0A
hex
old address
new address
-
-
input
0A
hex
status
-
-
-