SmartPLC DataLine with Profinet device interface
123
>
Configuration data (CDI) of the slaves (slave profiles)
Content
Structure of the slave profile .................................................................................................................123
Description of the IO code for digital slaves .........................................................................................124
Description of the ID code (selection) ..................................................................................................124
Description of the extended ID code 1 .................................................................................................124
Description of the extended ID code 2 .................................................................................................125
Valid combinations IO code / ID code / extended ID code 2 ................................................................126
41591
The configuration data CDI (=
C
onfiguration
D
ata
I
mage) for single, A and B slaves is stored in a data
word. The structure is shown below and is the same for all slaves.
>
Structure of the slave profile
41709
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.