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
37
04
The address to which the slave shall be addressed
is reserved by another slave
05
The slave could not be addressed to address 0.
06
The new operation address could not be assigned.
07
The new operation address could not be stored
in the EEPROM of the slave.
• AS-i command call :
The function of the execution control Execute_Command() is executed. The in-
formation part of the master request has to be stated in “data“. (see AS-i spec-
ification).
The AS-i Master stores the slave answer in the byte “answer“.
• LPS, LAS, LDS, LCS, LOS:
Structure of the AS-i slave lists see appendix, chapter 11.1.
• read communication errors:
For each slave there is one byte for the number of communication errors that
occurred since the last read access. With every read access only 4 bytes are
read simultaneously. Therefore you have to state the index for the data you
want to read:
index = slave address / 4 (integer)
data byte number = slave address - (4 * index)
Transmission of user memory
The user memory is transmitted in an own Profibus slot. The amount of user memory
to be written or read can be different.
8.3.1
Mapping of the AS-i Data in the Profibus-DP Telegram
The data in the DP telegram is always mapped in the same fixed order:
• AS-i I/O data
• AS-i parameters
• AS-i Control code
• user memory
If some elements are missing (e.g. no transfer of the AS-i Control code), subsequent
elements are added directly.
The AS-i data is represented in the DP-telegram as follows:
with
K =
number of AS-i 1
(instead of slave 0 the AS-i flags are transmitted)
N =
K/2
byte 0
byte 1
...
byte N-1
slave 1, AS-i flags
slave 2, slave 3
...
slave(K-1), slave(K-2)