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
31
If a slave address is to remain unused, either FF
hex
, FF
hex
or 256
dec
, 256
dec
has
to be entered.
The configuration of the DP-slave has to be adjusted accordingly (see below).
• user memory statement (4 bytes)
The user memory statement always has to be stated.
Byte 0:Start address of the user memory window in the input data telegram
(read user memory)
Byte 1:Length of the user memory window in the input data telegram
Byte 2:Start address of the user memory window in the output data telegram
(write user memory)
Byte 3:Length of the user memory window in the output data telegram
If user memory bytes shall only to be read or written, the appurtenant length byte
has to be set to 0.
If no user memory bytes shall be transmitted it is recommended to set the user
memory statement to FF
hex
FF
hex
FF
hex
FF
hex
.
The maximum length of the user memory window is 128 bytes.
Example: Parameter telegram for the advanced mode:
3 AS-i slaves and transmission of user memory, all slaves AS-i ID 0
Slave 1: 4 inputs
Slave 2: 4 outputs
Slave 3: 2 inputs, 2 outputs
from user memory byte 0 read 4 bytes of user memory
no writing of user memory
(all data stated in hexadecimal code)
Configuration of the Profibus-DP slave
In contrast to the easy mode, the size of the I/O window can be matched to the exten-
sion of the AS-i network. Its size in bytes amounts:
(highest AS-i slave a 1) / 2
Any non-integer value has to be rounded up to a full byte. Extra bytes have to be add-
ed for possible AS-i (startup) parameters, user memory or AS-i Control code.
The highest slave address used determines the size of the
window for input and output data in the DP-data telegram.
El.
slave 1
slave 2
slave 3
slave 4
slave 31
user mem. st.
conf
ID,IO
par
conf
ID,IO
par
conf
ID,IO
par
conf
ID,IO
par
conf
ID,IO
par
C2 00
0F
08
0F
03
0F
FF
FF
...
FF
FF
00
04
00
00