AS-i/PROFIBUS Gateway PROFIBUS-DP
Subject to reasonable modifications due to technical advances Copyright Bihl+Wiedemann, Printed in Germany
Bihl+Wiedemann GmbH · D-68199 Mannheim · Phone +49-621-339960 · Fax +49-621-3392239 · Internet http://www.bihl-wiedemann.de
issue date 7.1.2002
59
8.2 DP V1
To exchange data between the PROFIBUS master and the AS-i/PROFIBUS gate-
way via PROFIBUS-DP V1 only one data block is used - slot 1, index 16. Within
this data block a mailbox is installed like the one used in the DP telegram.
The DP V1-mailboxes are processed every time they are called. Therefore it is
possible, to execute the same command several times without changing "com-
mand" or "circuit".
8.3 Mailbox
8.3.1 Construction
If an AS-i slave is addressed in a command or in a response, the address is struc-
tured as shown below:
Command byte and T-bit are always part of the response. The T-bit is necessary
to operate the mailbox via a MSC1 connection (PROFIBUS-DP V0). In that way
the same mailbox command can be used two times directly one command after
the other with different parameters.
The execution of a mailbox command is declined, if the number of the transfered
parameters is too small, that means the mailbox in the cyclic channel is too small
or the DP V1-telegram is too short.
The mailbox commands are valid as well for PROFIBUS DP V0 as PROFIBUS DP
V1.
Circuit = 0 If AS-i gateway with one AS-i master or the master 1 of an AS-i gate-
way with 2 masters is choosen.
Circuit = 1 If AS-i gateway with 2 masters and the master 2 is choosen.
The commands for reading and wrtinig exist in 2 variants. By the first variant the
bits in the slave lists are arranged as by Bihl+Wiedemann usually, so that the data
Request
byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1command
2T – circuit
3 request parameter byte 1
……
36 request parameter byte 34
Response
byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1command
2T result
3 response parameter byte 1
……
34 response parameter byte 32