Pepperl+Fuchs VAG-PB-KF-R4 Manual page 33

As-interface/profibus gateway p20
Table of Contents

Advertisement

If a slave address is to remain unused, either FF
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
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
El. slave 1
slave 2
conf
par
conf
ID,IO
ID,IO
C2 00
0F
08
(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:
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.
Subject to reasonable modifications due to technical advances.
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
The highest slave address used determines the size of the
window for input and output data in the DP-data telegram.
FF
hex
slave 3
slave 4
par
conf
par
conf
ID,IO
ID,IO
0F
03
0F
FF
(highest AS-i slave address + 1) / 2
AS-i/PROFIBUS Gateway
, FF
hex
FF
FF
.
hex
hex
hex
slave 31
par
conf
ID,IO
FF
...
FF
Copyright Pepperl+Fuchs, Printed in Germany
Profibus-DP
or 256
, 256
hex
dec
dec
user mem. st.
par
FF
00 04
00 00
has
33

Advertisement

Table of Contents
loading

Table of Contents