IO-Link master with EtherCAT interface DataLine 4 ports IP 65 / IP 66 / IP 67
79
During the configuration of the fieldbus slots TwinCAT automatically creates variables for the cyclic
input and output data. They are found in groups in the folders under the respective fieldbus modules.
The user can link the variables directly with the elements of a global variable list (GVL).
The following variables are created:
Group > Variable Variable
Description
[TxPDO]
[input byte n]
Byte n of the cyclic input data of the fieldbus module
[RxPDO]
[output byte m]
Byte m of the cyclic output data of the fieldbus module
n = 0...(max. number of bytes on configured input data)-1
m = 0...(max. number of bytes on configured output data)-1
>
9.3.7
Read diagnostic and status information
34222
Diagnostic and status information is accessible via the following index groups:
Name (Index)
Description
Reference
MDP Standard Information (0x1000)
▪
Device information via IO-Link
master
▪
Identity Object
▪
Diagnostic history
→
MDP Standard Information (0x1000)
(
IO Info Data (0x9000)
Information about IO-Link devices at
IO-Link-Ports X01...X04
→
Port Mode (0x9000)
(
→ p.
IO Diag Data (0xA000)
Diagnostic data of the IO-Link ports
X01...X04
→
Diagnostics Data (0xA000)
(
→ p.
Device Status (0xF000)
▪
Status of the IO-Link devices at the
IO-Link port X01...X04
▪
Port qualifier
→
Device Status / Port Status (0xF000)
(
When the IO-Link master is integrated into a EtherCAT project, TwinCAT automatically creates
variables for diagnostic and status information in the Solution Explorer. They are grouped in folders
under the device node. The user can link the variables directly with the elements of a global variable
list (GVL).
The following variables are created:
Group > Variable
Description
[TxPDO IO-Link Device Status] > [State of IO-Link Ch.n]
Status of the IO-Link device at the IO-Link port X0n
[TxPDO IO-Link Port Qualifier] > [Qualifier of IO-Link Ch.n]
Port qualifier bits of the IO-Link port X0n
[TxPDO New Diagnosis Message available] > [New Message Available
Flag]
Notification of new diagnostic messages
n ... 1...4
>
9.3.8
Read IO-Link events
33662
IO-Link Events will be stored in the "Diagnosis History" (
→
Diagnosis History (0x10F3)
(
)).
The IO-Link Master stores a maxiumum of 32 events.
The single events will be stored in a ring buffer. The AL1330 supports the following operation modes
for writing the ring buffer:
•
Overwrite Mode: If the buffer memory is full, the oldest event will be overwritten by new incoming
events.