9 Configuration of IO-Link devices
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.
The function block "IOL_Call" generates a telegram, which is sent via DPV1 functions to the
master. Therefore the following settings are used:
The diagnosis address from slot 0 is used
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:
IOL master
Port number
Reserved
FI_Index, IO-Link header is following
IO-Link index
Port function
Range of the data to be written or
read
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.
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.