42
ifm
Device Manual AS-i IO-Link-Gateway (AC5225) Firmware V1.16
2017-11-20
IO-Link services
Device group services
>
5.3.8
Exchange device parameters
6187
>
Write device parameters
5273
Requirement:
The AS-i parameter P2 = 0.
The call described here ensures direct writing access to parameters up to a length of 25 bytes with
one single AS-i command.
Request write IO-Link device parameters
Byte no.
Exchange requirement
0
command code 30 = device group data exchange
1
indices 51 / 52 = parameter ports1 / 2
2
reading length = 1
3
writing length = 4...28
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)
7…31
up to 25 parameter bytes
Reply write IO-Link device parameters
Byte no.
Exchange reply
0
command code 94 = device group data exchange OK
1
status code
(
→ page
) (= 0, if service was executed correctly)
>
Status code IO-Link device parameters
6094
Status
Definition
0x00
Service reply:
- OK, data is valid
- done
- transfer stopped
0x02
Service is still active in IO-Link.
► Resend command.
0x80
Service PDU transferred, but not processed due to a device fault.
→ Error details in the additional code
Summary of Contents for AC5225
Page 64: ......