You are on page 1of 14

1

Automatic IO-Link Device Parameter Download with AL1x2x Modules


The Data Storage (Restore Mode) feature can be used to:
• Quickly and easily replace an IO-Link device
• Make the PLC the only device allowed to change IO-Link device parameters
• Configure multiple IO-Link devices with the same parameters by connecting the
IO-Link device to the port
Data Storage Explanation
2

2 Data Storage Modes are used in this document.

No Check and Clear: Restore:

From section 8.2.5 in the AL1x2x Operating Instructions


Overview of Automatic IO-Link Device Replacement Configuration Procedure
3

Prerequisite:
Verify and connect an IO-Link Version 1.1 Device to an IO-Link configured port on the AL1x2x.

Steps to configure the AL1x2x port(s) to Restore Mode:


The following steps can be done manually or through logic while online with the PLC. Both methods are
shown at each step in the following pages.
1. Inhibit the Ethernet Module
2. Hard Code the Vendor ID and Device ID to the IO-Link device(s)’ port
3. Verify the port is set to No Check and Clear mode
4. Uninhibit the Ethernet Module
5. Inhibit the Ethernet Module
6. Configure the port(s) to Restore mode
7. Uninhibit the Ethernet Module

The sample program in the setup package has a routine “ChangeAL1x2x_Config” that follows the above
steps.
Prerequisite
4

1. Verify that Data Storage is possible. The IO-Link device’s version must be Version 1.1.
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.
c. Click Technical Details and scroll through the datasheet to find the IO-Link information

Example: An ifm O5D100


datasheet shows the IO-Link
version under Interfaces
Prerequisite
5

2. Find the IO Device Description PDF for the IO-Link device from the ifm device’s datasheet
a. From the datasheet click Downloads

b. Scroll down through the datasheet to find, download and open the IO Device Description PDF
Prerequisite
6

3. Find the Vendor ID and Device ID of the IO-Link device in the IO Device Description PDF

4. Connect the IO-Link device to a port on the AL1x2x module.


Inhibit the Ethernet Module
7

1. Manually inhibit the AL1x2x module by right clicking the Ethernet module and open
Properties. Click to the Connection tab and check the Inhibit Module check box.
Click Apply and OK.

Indication that
module is inhibited.

1A. Inhibit the AL1x2x module through Logic:


a. Create a rung of logic with a Set System Value function.
b. Enter a value of 4 in the Source field to inhibit the module.
Hard Code VID and DID
8

2. Manually enter the connected IO-Link device’s VendorID and DeviceID in the configuration tags. Open
the Controller Tags and expand the configuration tags registered to the AL1x2x: <ModuleName>:C

Example: ifm O5D100 is connected to


Port 1. The VID and DID is known from
the IO Device Description on page 6

2A. Use logic to enter the connected IO-Link device’s VendorID and DeviceID by creating a MOV function
to move the values to the appropriate Controller Tags.
Verify Deactivated and Clear Mode
9

3. Verify the settings of the Port storage mode is deactivated and cleared using the
Validation_Data_Storage_Port_n Controller Tag
a. By default the eds port validation setting is deactivated and cleared: Value of 0

Validation_Data_Storage
Port_Mode Settings

From section 8.4.4 in the


AL1x2x Operating Instructions
Uninhibit the Ethernet Module
10

4. Manually uninhibit the AL1x2x module by right clicking the Ethernet Module and open
Properties. Click to the Connection tab and uncheck the Inhibit Module check box.
Click Apply and OK.

No errors indicating that


module is running

4A. Uninhibit the module through Logic:


a. Enter a value of 0 in the Source field to uninhibit the module.
Inhibit the Ethernet Module
11

Procedure to change AL1x2x module’s validation from Deactivated and Clear to Restore Mode
5. Manually inhibit the AL1x2x module by checking the Inhibit Module check box.
Click Apply and OK.

5A. Inhibit the module through Logic:


a. Enter a value of 4 in the Source field to inhibit the module.
Configure Restore
12

6. Manually enter a value of 4 in the Validation_Data_Storage_Port_n tag of the appropriate


AL1x2x port to set the AL1x2x to Restore mode.

Validation_Data_Storage
Port_Mode Settings

From section 8.4.4 in the


AL1x2x Operating Instructions

6A. Use logic by creating a MOV function to move the value to the appropriate Controller Tags.
Uninhibit the Ethernet Module
13

7. Manually uninhibit the AL1x2x module by unchecking the Inhibit Module check box.
Click Apply and OK.

7A. Uninhibit the module through Logic:


a. Enter a value of 0 in the Source field to uninhibit the module.
Restore Mode Features
14

While the port is in Restore Mode:

1. The last uploaded parameters are held at each configured port.


2. When a IO-Link device is connected to a port and it matches the set VendorID and
DeviceID the AL1x2x will immediately download the last updated parameters to the IO-
Link device automatically.
3. Changes to the IO-Link device’s parameters not done by the PLC are not taken by the
device because the port will automatically override the attempted changes.
4. Acyclic commands from the PLC to change parameters are allowed by the port in
Restore Mode. However, if a device is disconnected the last uploaded parameter set will
be sent to the IO-Link device. The acyclic command will have to be resent.

You might also like