AS-Interface
Profibus-DP
Subject to reasonable modifications due to technical advances. Copyright Pepperl+Fuchs, Printed in Germany
Pepperl+Fuchs Group · Tel.: Germany (621) 776-0 · USA (330) 4253555 · Singapore 7799091 · Internet http://www.pepperl-fuchs.com
issue date 12.10.1999
32
Parameterization of the Profibus-DP-Slave
The parameters needed by the gateway are coded in the user-parameters. They con-
tain one byte element selection, the AS-i configuration data and AS-i parameters for
all the AS-i slaves and the statements about user memory bytes to be read and to be
written.
The fields are constructed as follows:
• Element selection (1 byte)
Bit field for the selection of the data to be transmitted:
Bit 0 = 1 Transmission of AS-i parameters
= 0 No transmission of AS-i parameters
Bit 1 = 1 Transmission of user memory
= 0 No transmission of user memory
Bit 2 = 1 Transmission of 2 bytes of AS-i Control code additionally
Bit 3 = 1 Transmission of 4 bytes of AS-i Control code additionally
Bit 4 = 1 Transmission of 8 bytes of AS-i Control code additionally
Bit 5 = 0 (reserved, 0 cogently necessary)
Bit 6 = 1 Transmission of AS-i input data
= 0 AS-i input data field is left out
Bit 7 = 1 Transmission of AS-i output data
= 0 AS-i output data field is left out
If the ID-Byte is set to 00hex, the device will switch to the easy mode.
• AS-i configuration data and AS-i (startup) parameters (62 bytes)
For each AS-i slave 2 bytes are used. AS-i slave 0 is disregarded.
In the first byte, the AS-i configuration data is specified. The AS-i ID-code is cod-
ed in the byte's high nibble and the I/O-configuration in its low nibble.
In the second byte's low nibble, the AS-i (startup) parameters are transmitted.
The upper half of this byte is unused.
The default parameter for an AS-i slave is F
hex
, so that normally as second byte
0F
hex
is stated.
Element
selection
AS-i configuration data and
AS-i (startup-) parameters
user memory
statement
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
ID-code IO-configuration
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
0 0 0 0 P3 P2 P1 P0
unused (=0) AS-i parameter