29
ifm
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16
2017-11-20
IO-Link services
Device group services
>
Word process data assignment
5237
The word data assignment specifies the offset of the first word of the process data and the number of
words. The write access described below enables setting of the process data assignment via a
configuration software.
Request write IO-Link process data assignment
For the inputs and outputs the following applies:
Sum of the assigned words of both ports:
permissible = 0...4
Number of words for a port depends on the offset
permissible = 0...4
Overlapping of the areas configured for port 1 and port 2 is prohibited.
Byte no.
Description
0
Command code 21 = write device group
1
Index 3 = process data assignment for the ports 1 and 2
2
Length = 12
3
= 0
4
= 0 (content is not controlled)
5
= 0 (content is not controlled)
6
= 0
7
Word data assignment analogue inputs port 1
8
Word data assignment analogue outputs port 1
9
= 0
10
= 0 (content is not controlled)
11
= 0 (content is not controlled)
12
= 0
13
Word data assignment analogue inputs port 2
14
Word data assignment analogue outputs port 2
For bytes 7, 8, 13, 14 the following applies:
Bits 7...4 = number of words assigned to a port
Bits 3...0 = word offset, the first word corresponds to the respective port
Reply write IO-Link process data assignment
Byte no.
Description
0
Command code 85 = write device group OK
Содержание AC5225
Страница 64: ......