Mapping Of The As-I Data In The Profibus-Dp Telegram - Pepperl+Fuchs VAG-PB-KF-R4 Manual

As-interface/profibus gateway p20
Table of Contents

Advertisement

For the programming of AS-i Control, the I/O field is further enlarged by 5-17 addition-
al bytes. They contain an identification byte (read/write/start/stop), the base address
and 2-14 bytes user data. It is not possible to read and write at the same time.
Transmission of user memory
User memory can be transmitted in the I/O field by adding bytes for the memory loca-
tions to be written (O-field) or to be read (I-field). The amount of user memory to be
written or read can be different.

8.2.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 individual parts of the DP-telegram are coded as follows:
N bytes
AS-i I/O data
slave 1 AS-i flags
with
K =
(instead of slave 0 the AS-i flags are transmitted)
N =
M =
L =
(calculated out of value in element selection of the user-parameter telegram)
Subject to reasonable modifications due to technical advances.
30
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
2 bytes
AS-i parameter
AS-i slave address, AS-i parameter
byte 0.
..
...
number of AS-i slaves + 1
K/2
number of user memory bytes up to 128 bytes
number of bytes of AS-i Control code
5-17 bytes
M bytes
AS-i Control
user memory
code
high address, control byte
low-address, L bytes data
byte N-1
slave (K-1) slave (K-2)
AS-Interface
Profibus-DP
user memory 0..
user memory M-1
Copyright Pepperl+Fuchs, Printed in Germany

Advertisement

Table of Contents
loading

Table of Contents