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

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:
byte 0
slave 1, AS-i flags
with
K =
(instead of slave 0 the AS-i flags are transmitted)
N =
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
slave 2, slave 3
number of AS-i slaves + 1
K/2
AS-i/PROFIBUS Gateway
byte 1
...
...
Copyright Pepperl+Fuchs, Printed in Germany
Profibus-DP
byte N-1
slave(K-1), slave(K-2)
37

Advertisement

Table of Contents
loading

Table of Contents