AS-i EtherNet/IP Gateway
Command Interface
Subject to reasonable modifications due to technical advances. Copyright Pepperl+Fuchs, Printed in Germany
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
Issue date - 24.4.2007
55
8 Command Interface
8.1 Construction
Command interface call-instructions are described as follows:
Command byte and T-bit are always part of the response. The T-bit is necessary 
to operate the command interface. 
Circuit = 0 If an AS-i gateway with one AS-i master or the master 1 of an AS-i
gateway with 2 masters should be chosen.
Circuit = 1 If master 2 of an AS-i gateway with 2 masters should be chosen.
The commands for reading and writinig exist in two variations. At the first variation 
the bits in the slave lists are arranged as usually with Pepperl+Fuchs products: 
Data for slave with lower address appear in the lower bits. The second variation is 
compatible to Siemens masters: The sequence of the bits in the slave lists bytes 
are inverse.
Switching between the two variations can be done with bit 2
6
 in byte 2 of the re-
quest. If it is deleted, the Pepperl+Fuchs arrangement is selected, otherwise the 
Siemens compatible arrangement is selected.
The coding of requests for commands to reading and writing is following therefore:
Request
byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1 command
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
1 command
2T result
3 response parameter byte 1
……
36 response parameter byte 34
Request
byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1 command
2T 0 circuit
3 Request parameter byte 1
……