www.balluff.com
42
9
Configuration of IO-Link devices
General
IO-Link devices can be configured via the web server, function modules
and the IO-Link device tool.
When using the device tool and the web server, most of the parameters that are required
are taken over by the software.
Function block
The function block "IOL_Call" generates a telegram, which is sent via DPV1 functions to the
master. Therefore the following settings are used:
Diagnosis address
The diagnosis address from slot 0 is used
CAP
255
The sample project with the IOL_Call function module from Siemens AG can be downloaded
on the Balluff homepage.
The telegram has the following structure:
Area
Size in bytes
Value
Definition
Call header
1
08h
08h for "CALL", fixed
1
0
1…63
64…255
IOL master
Port number
Reserved
2
65098
FI_Index, IO-Link header is following
IO-Link header
1
0…255
Task
2 = write
3 = read
2
0…3276
7
65535
IO-Link index
Port function
1
0…255
IO-Link subindex
Data range
232
Range of the data to be written or
read
Reading
To read out data, the master must be given a reading task for the corresponding
slot/index/subindex.
The telegram must be adapted accordingly for this purpose (slot, index),
and 0x03 for reading must be entered under "Task".
The telegram can then be sent by write instruction to the corresponding module.
The module reads the data from the IO-Link device.
The data can be retrieved by reading with the same telegram.
Writing
To write data, the master must be given a writing task for the corresponding
slot/index/subindex.
The telegram must be adapted accordingly for this purpose (slot, index),
and 0x02 for writing must be entered under "Task".
The telegram can then be sent by write instruction to the corresponding module.