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
115
No result because toggle bit = 0.
Set the toggle bit:
The master is now in configuration mode.
Result: See chapter 8.2.1 "Values for results".
2. Write single configuration to master
Writing a configuration of an AS-i slave to the master.
For example:
16-bit input 4 CH at address 4 (Slave datasheet)
ID: 3
hex
ID2: E
hex
IO: 7
hex
ID1: F
hex
Response
Byte 1 00
hex
 (or old values)
Byte 2 00
hex
 (or old values)
Byte 3 00
hex
 (or old values)
Byte 4 00
hex
 (or old values)
……
Byte 12 00
hex
 (or old values)
Request: SET_OP_MODE
Byte 1 0C
hex
 (SET_OP_MODE)
Byte 2 80
hex
 (T = 1, master 1, single master)
Byte 3 01
hex
 (= config mode)
Byte 4 00
hex
……
Byte 12 00
hex
Response
Byte 1 0C
hex
Byte 2 80
hex
 (T = 1, result = 0)
Byte 3 00
hex
 (or old values)
Byte 4 00
hex
 (or old values)
……
Byte 12 00
hex
 (or old values)