Beruflich Dokumente
Kultur Dokumente
Table of Contents:
1. Find the appropriate EDS file in the folder named “EDS files” in the
AL1x2x Startup Package.
Note: The EDS files can also be downloaded directly from the ifm global website.
a. Enter “<article_number> eds” in the text search and click the button
b. Click the button and use the prompts to save a zip file to the PC.
2. Add the .EDS file to RS Linx by navigating to Tools->EDS Hardware Installation Tool
3. Follow the prompts to add the EDS.
Configure Ethernet module
5
1. Right click on the “Ethernet” in the I/O configuration folder and choose “New module”
2. Search the article number of the IO-Link master (i.e. AL1122), Select the found module
and Click “Create” button
Configure Ethernet module
6
5. Under Connections select Exclusive Owner with IO-Link I/O + Status + Events
6. Change the Size type to INT
7. Verify the default size.
a. 8 port Modules Input=223 Output=151
b. 4 port Modules Input=123 Output=87
8. Click “OK” to complete the Module Setup
The installation of the EDS file results in the Controller Tags being populated with options for configuring the
AL1x2x module. The configuration settings can be found under the Controller Tags: <ModuleName>:C.
1. Double click on Controller Tags and expand the controller tag registered to the AL1x2x.
<ModuleName>:C
2. Configure each port’s function. By default all ports are designated to be IO-Link ports. See the
configuration of the port type at <ModuleName>:C.Port_Mode_Port_n (n=port number)
From section 8.4.4 of the AL1x2x
operating instructions
3. Download program
Input Data block
10
1. Expand the Controller Input Tag <ModuleName>.I:Data to view the input data.
2. Verify communication to the IO-Link module with the <ModuleName>:I.ConnectionFaulted bit
a.<ModuleName>:I.ConnectionFaulted = 0 Module Connection OK
b.<ModuleName>:I.ConnectionFaulted = 1 Module Connection not OK
3. Optional: Import the Tag Descriptions.
a. In the AL1x2x Allen Bradley folder open the folder named “6. AL1x2x Sample Program.” Find the CSV
file containing the tag descriptions by opening the folder named “Tag and Logic Comments.”
Input Data block
11
10. Enter a unique name for the Generic_nPORT_IOL, then right click on the name to
declare the new tag.
Generic IO-Link Add_On Instructions
14
12. In the Add_On Instruction fill the PLC_Input and PLC_Output with the
Input Data and Output Data of the AL1x2x Ethernet Module.
Generic IO-Link Add_On Instructions
15
13. Download the logic rung to the PLC and put the PLC in Run Mode
Generic IO-Link Add_On Instructions
16
14. Configure the Generic_nPort_IOL by entering the Port_Process_Data_Size and Port_Number values
a. By eds default the Port_Process_Data_Size = 4 indicating 32 bytes
b. Connect an IO-Link Device to a port on the AL1x2x and enter the port number in the
Add_On Instruction.
c. IOL_Mode is True
15. Find the values coming from the IO-Link device.
a. IN_Data1
b. Vendor_ID
c. Device ID
16. To interpret the input process data from a connected IO-Link device
use the “IO Device Description.”
a. For ifm devices go to the ifm global website, text search the IO-Link device’s article
number and click the button.
b. Click the article number in the search results to go to the datasheet.
d. Scroll down through the downloads to find and download the IO Device Description PDF
Generic IO-Link Add_On Instructions
19
17. View the TD2837’s IO Device Description File. The highlighted areas show the cyclic data
needed to interpret the Input Process Data.
Generic IO-Link Add_On Instructions
20
18. Reference previous page’s IO Device Description color codes to interpret the input data
Input Process Data from TD2837 is a 16 bit value
Interpreting the real process data from IO-Link devices will vary from device to device.
For ifm devices specific Add-On instruction have been created for the AL1x2x modules.
19. Open Folder 3 in the AL1x2x PLC Allen Bradley folder to find the Add_On Instructions.
a. Unzip the “AL1x2x AddOn Instruction.<date>.zip”
b. Open the Folder named “2. AddOn Instruction-ifm IOLink Devices” to find the
ifm specific 4 port and 8 port .L5X Add_On files.
ifm specific Add_On Instructions
22
Cyclic data can be viewed without Add_On Instructions in the Input Controller Tag of the AL1x2x Module.
1A. An IO-Link device is connected to port 1. The Device communication status and
information is mapped to <ModuleName>I.Data
IO-Link device Communication Status – Shown by expanding Data[23] for Port 1
IO-Link device Information – Reference the IO-Link device description of the connected IO-Link device
Example for ifm IO-Link device TD2837 connected to Port 1.
Viewing IO-Link Device Input Data from AL1x2x
24
2A. The IO-Link device’s process input data is mapped to <ModuleName>I.Data and
has a size of 32 bytes by default via the eds file.
8 port IO-Link modules
Process input data starts at Data[95] for Port 1
4 Port IO-Link modules
Process input data starts at Data[59] for Port 1
Example for ifm IO-Link device TD2837 connected to Port 1 on an 8 port IO-Link module.
Note: The process Data is 16 words (32 bytes). This is configured by the Process Data Size configuration tag.
From section 8.4.3
of the AL1x2x
operating
instructions
Viewing IO-Link Device Input Data from AL1x2x
25
3A. To interpret the input process data from a connected IO-Link device
use the “IO Device Description.”
a. For ifm devices go to the ifm global website, text search the IO-Link device’s article
number and click the button.
b. Click the article number in the search results to go to the datasheet.
d. Scroll down through the downloads to find and download the IO Device Description PDF
Viewing IO-Link Device Input Data from AL1x2x
27
4A. View the TD2837 IO Device Description File. The highlighted areas show the cyclic data
needed to interpret the Input Process Data.
Viewing IO-Link Device Input Data from AL1x2x
28
5A. Reference previous page’s IO Device Description color codes to interpret the input data