![background image](http://html1.mh-extra.com/html/ifm/al1950/al1950_device-manual_3900875038.webp)
IO-Link Master with IoT Interface CabinetLine 8 Ports IP 20
38
>
9.2.5
Configure IO-Link devices
52249
The ifm IoT Core supports the configuration of the connected IO-Link devices. A parameter is
accessed via IO-Link index and subindex (
→ IO Device Description (IODD) of the device).
Substructure:
iolinkmaster/port[n]/iolinkdevice
(n = 1...8)
Applicable services:
Service
Description
../iolreadacyclic
Read a parameter of an IO-Link device (acyclic)
../iolwriteacyclic
Write a parameter of an IO-Link device (acyclic)
>
Example: Read the parameter value of an IO-Link device
33847
Task:
Read the serial number of the ifm temperature sensor TN2531 at IO-Link port X02
Solution:
Read the serial number with the
iolreadacyclic
service from the IO-Link device (index:
21, subindex: 0)
Request object:
{
"code":"request",
"cid":4711,
"adr":"/iolinkmaster/port[2]/iolinkdevice/iolreadacyclic",
"data":{"index":21,"subindex":0}
}
Return object:
{
"cid":4711,
"data":{"value":"4730323134323830373130"},
"code":200
}
The returned value is given in hexadecimal format. The conversion of the HEX value in a STRING
value is: G0214280710