43
ifm
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16
2017-11-20
IO-Link services
Device group services
>
Read device parameters
5276
The call enables direct reading access to parameters up to a length of 30 bytes using one single AS-i
command.
NOTE
If the IO-Link service of the IO-Link device provides more bytes than indicated in the reading length,
the data length is shortened to the requested number of bytes (surplus bytes will be ignored).
If the IO-Link service of the IO-Link device provides fewer bytes than indicated in the reading length,
the requested data length is returned with the surplus bytes being filled with 0.
Request read IO-Link device parameters
Byte no.
Exchange requirement
0
command code 30 = write device group data exchange
1
indices 61 / 62 = parameter page ports 1 / 2
2
reading length = 2...31
3
writing length = 3
4, 5
index = 16 bits IO-Link index (8-bit services use only byte 5)
6
subindex = 8 bits IO-Link subindex (use only with special services)
Reply read IO-Link device parameters
Byte no.
Read reply
0
command code 94 = device group data exchange OK
1
Status code IO-Link device parameters
(
→ page
) (= 0, if service was executed correctly)
2…31
up to 30 parameter bytes
>
Summary of Contents for AC5225
Page 64: ......