![background image](http://html.mh-extra.com/html/ifm/al1332/al1332_operating-instructions-manual_620806071.webp)
IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67
71
>
Use CANopen over EtherCAT
34193
CoE is suited for acyclic access to the IO-Link master and the connected IO-Link devices. CoE uses
the fieldbus objects "IO-Link acyclic command" (
→
IO-Link Acyclic Command (0x3100)
(
)).
A separate fieldbus object is provided for each IO-Link port.
To have acyclic access to the device via CoE the user can use the following function blocks:
FB_EcCoESdoRead: read SDO of an EtherCAT slave
FB_EcCoeSdoWrite: write SDO of an EtherCAT slave
The function blocks for using CoE are part of the
Tc2_EtherCAT.library
function library.
► Add Tc2_EtherCAT.library function block library to the project
Description of the function blocks:
→ Help function of TwinCAT
The following rules apply to the inputs of the CoE function blocks:
Input
Description
Possible values
sNetId
AMS net ID of the EtherCAT master to which the IO-Link
master is connected
depends on the project; e.g. 172.16.2.131.2.1
nSlaveAddr
EtherCAT address of the IO-Link port on the IO-Link
master =
IO-Link port number
0x1001
0x1002
...
0x1008
IO-Link port X01
IO-Link port X02
...
IO-Link port X08
nSubIndex
IO-Link subindex of the parameter
depends on the device;
→ IODD
nIndex
IO-Link index of the parameter
depends on the device;
→ IODD