![background image](http://html1.mh-extra.com/html/ifm/ecomat-300-ac1421/ecomat-300-ac1421_device-manual_3914776147.webp)
147
ifm
Device Manual SmartSPS AC14 with EtherNet/IP interface (AC1421, AC1422), Firmware 3.1.2
2015-11-30
Appendix
AS-i slaves
>
Structure of the slave profile
5347
The slave profile has the following structure: S-[IO code].[ID code].[ext. ID code2]
Bits 15...12
Bits 11...8
Bits 7...4
Bits 3...0
XID2
extended ID code 2
3rd figure in the slave profile
(AS-i slave v2.0 = 0xF *)
XID1
extended ID code 1
is no part of the slave profile
can be changed by the user
(AS-i slave v2.0 = 0xF *)
ID code
ID code
2nd figure in the slave profile
IO code
I/O configuration
1st figure in the slave profile
Example:
AC2255
4 digital inputs, 2 digital outputs
AS-i profile = S-7.A.E
This results in the following configuration data of the slave:
0b1110 = 0xE
(e.g.) 0b0111 = 0x7
0b1010 = 0xA
0b0111 = 0x7
The corresponding CDI data word is: 11100111 10100111 = 0xE7A7
*) AS-i slaves according to the AS-i specification 2.0 and older do not support the extended ID codes 1
and 2. In the master 0xF is stored for this configuration data.
>
Description of the IO code for digital slaves
5349
Structure slave profile = S-[IO-Code].x.x
IO code
[hex]
IO code
(bits
3…0)
Function of the periphery bit
D3
D2
D1
D0
0
0000
input
input
input
input
1
0001
output
input
input
input
2
0010
input / output
input
input
input
3
0011
output
output
input
input
4
0100
input / output
input / output
input
input
5
0101
output
output
output
input
6
0110
input / output
input / output
input / output
input
7
0111
input / output
input / output
input / output
input / output
8
1000
output
output
output
output
9
1001
input
output
output
output
A
1010
input / output
output
output
output
B
1011
input
input
output
output
C
1100
input / output
input / output
output
output
D
1101
input
input
input
output
E
1110
input / output
input / output
input / output
output
F
1111
not allowed