IO-Link master with EtherCAT interface DataLine 4 ports IP 65 / IP 66 / IP 67
78
9.3.5
Configure cyclic process data
33884
Type and number of cyclic input and output data on the IO-Link ports are defined via the fieldbus
modules (
→
EtherCAT modules
(
)). In the factory settings, all slots are configured with the
module "IOL_4/4_I/O".
To configure the cyclic process data:
Requirements
>
AL1330 is integrated (
→
Integrate the IO-Link master into the TwinCAT project
(
→
Example: Reading properties of an element
→
1 Open the device editor
►
In the Solution Explorer: Double-click on the node of the AL1330.
>
The window shows the available configuration options.
►
Select the tab [Slots].
>
The window shows the current configuration of the cyclic data.
2 Assign fieldbus modules
►
In the left half of the table: Select click on slot of the requested IO-Link port.
►
In the right half of the table: Click on the requested fieldbus module.
►
Click on [<] to assign the requested fieldbus module to the slot.
3 Configure more IO-Link ports
►
optional: repeat step 1 for further IO-Link ports.
>
Cyclic data is assigned to the fieldbus slots.
>
The Solution Explorer shows the configured modules as subelements of the device node.
4 Save the project
►
Save the project.
>
9.3.6
Read and write cyclic process data
34217
► To check the validity of the cyclic process data, evaluate the PQI byte (→
Mapping: Port
Qualifier (0xF101)
(
)).
Even with an interruption of the fieldbus connection the PQI byte indicates that the process
data is valid. This can have unintended impact on the control process.
► Take suitable measures to detect an interruption of the fieldbus connection.
They cyclic process data of the IO-Link-Ports X01...X04 is accessible via the following index groups:
Name (Index)
Description
Reference
IO-Link inputs (0x6000)
Cyclic input data at the IO-Link ports X01...X04
→
IO-Link Inputs (0x6000)
(
IO-Link outputs (0x7000)
Cyclic output data at the IO-Link ports
X01...X04
→
IO-Link Outputs (0x7000)
(
In operating mode "Digial Input (DI)" the digital process value of the IO-Link port will be
mapped to the first byte of the input data (sub-index 0x01).
In operating mode "Digial Output (DO)" the digital process value of the IO-Link port will be
mapped to the first byte of the output data (sub-index 0x01).
Valid values:
•
0x000 = OFF
•
0x001 = ON