Ifm BA IO-Link EtherNetIP DL 4P IP67 AL1320 V01 PDF
Ifm BA IO-Link EtherNetIP DL 4P IP67 AL1320 V01 PDF
Ifm BA IO-Link EtherNetIP DL 4P IP67 AL1320 V01 PDF
AL1320
IO-Link: 1.1.2
ifm firmware: 2.1.28 or higher
LR DEVICE: 1.3.1.x or higher
English
05 / 2018
7391156 / 01
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Content
Table of Contents
1 Preliminary note 5
1.1 Legal and copyright information ...........................................................................................5
1.2 Purpose of the document .....................................................................................................5
1.3 Symbols and styles used .....................................................................................................6
1.4 Modification history ..............................................................................................................6
2 Safety instructions 7
2.1 General ................................................................................................................................7
2.2 Required background knowledge ........................................................................................7
2.3 Safety symbols on the device ..............................................................................................7
2.4 Tampering with the unit ........................................................................................................8
3 Intended use 9
3.1 Permitted use .......................................................................................................................9
3.2 Prohibited use ......................................................................................................................9
4 Function 10
4.1 Communication, parameter setting, evaluation .................................................................11
4.1.1 IO-Link ........................................................................................................................................ 11
4.1.2 EtherNet/IP ................................................................................................................................. 11
4.1.3 Internet of Things (IoT) ............................................................................................................... 11
4.1.4 Parameter setting ....................................................................................................................... 11
4.1.5 Visual indication ......................................................................................................................... 12
4.2 Digital inputs .......................................................................................................................12
4.3 IO-Link supply ....................................................................................................................12
5 Mounting 13
5.1 Mount the device ................................................................................................................13
6 Electrical connection 14
6.1 Remarks .............................................................................................................................14
6.2 EtherNet/IP ports................................................................................................................15
6.3 IoT port ...............................................................................................................................15
6.4 IO-Link ports.......................................................................................................................16
6.4.1 Input circuit ................................................................................................................................. 17
6.4.2 IO-Link circuits ............................................................................................................................ 17
6.5 Connect the device ............................................................................................................18
2
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Content
8 Configuration 22
8.1 LR DEVICE ........................................................................................................................23
8.1.1 Remarks ..................................................................................................................................... 24
8.1.2 IoT: Configure access rights ....................................................................................................... 25
8.1.3 IoT: Configure IP settings ........................................................................................................... 26
8.1.4 IoT: Configure the interface to the LR SMARTOBSERVER ....................................................... 27
8.1.5 Fieldbus: Configure the EtherNet/IP port .................................................................................... 28
8.1.6 IO-Link ports: Activate data transfer to the LR SMARTOBSERVER .......................................... 29
8.1.7 IO-Link ports: Configure operating mode.................................................................................... 30
8.1.8 IO-Link ports: Set the device validation and data storage .......................................................... 31
8.1.9 IO-Link Ports: Set fails-safe values ............................................................................................ 32
8.1.10 Info: Show device information .................................................................................................... 32
8.1.11 Firmware: Reset device to factory settings ................................................................................. 33
8.1.12 Firmware: Reboot the device...................................................................................................... 33
8.1.13 Configure IO-Link devices .......................................................................................................... 34
8.2 IoT Core .............................................................................................................................35
8.2.1 Configure IoT interface ............................................................................................................... 36
8.2.2 Configure the fieldbus interface .................................................................................................. 37
8.2.3 Configure IO-Link ports .............................................................................................................. 38
8.2.4 Set application identification ....................................................................................................... 38
8.2.5 Read / write cyclic process data ................................................................................................. 38
8.2.6 Read diagnostic data .................................................................................................................. 39
8.2.7 Read device information ............................................................................................................. 39
8.2.8 Control IO-Link master ............................................................................................................... 40
8.2.9 Configure IO-Link devices .......................................................................................................... 40
8.2.10 Read information about IO-Link devices .................................................................................... 41
8.2.11 Examples.................................................................................................................................... 42
8.2.12 Programmers' notes ................................................................................................................... 46
8.3 EtherNet/IP.........................................................................................................................50
8.3.1 Registration of the EDS file ........................................................................................................ 50
8.3.2 Integrate the AL1320 into the EtherNet/IP project ...................................................................... 51
8.3.3 Set connection types .................................................................................................................. 52
8.3.4 Configure AL1320 ...................................................................................................................... 53
8.3.5 Configure IO-Link ports .............................................................................................................. 54
8.3.6 Configure IO-Link devices .......................................................................................................... 55
8.3.7 Read cyclic input data ................................................................................................................ 56
8.3.8 Write cyclic output data .............................................................................................................. 56
8.3.9 Read diagnostic information and events..................................................................................... 57
8.3.10 EtherNet/IP: Programmers' notes ............................................................................................... 58
9 Operation 62
9.1 Firmware update ................................................................................................................62
9.2 Web interface: Read device and diagnostic information....................................................63
9.3 Replace IO-Link device ......................................................................................................64
10 Maintenance 65
11 Factory settings 66
12 Accessories 67
13 Appendix 68
13.1 Technical data ....................................................................................................................69
13.1.1 Application .................................................................................................................................. 69
3
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Content
14 Index 130
4
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Preliminary note Legal and copyright information
1 Preliminary note
Legal and copyright information ...............................................................................................................5
Purpose of the document .........................................................................................................................5
Symbols and styles used ..........................................................................................................................6
Modification history ...................................................................................................................................6
14801
>
© All rights reserved by ifm electronic gmbh. No part of this manual may be reproduced and used
without the consent of ifm electronic gmbh.
All product names, pictures, companies or other brands used on our pages are the property of the
respective rights owners:
AS-i is the property of the AS-International Association, (→ www.as-interface.net)
CAN is the property of the CiA (CAN in Automation e.V.), Germany (→ www.can-cia.org)
CODESYS™ is the property of the 3S – Smart Software Solutions GmbH, Germany
(→ www.codesys.com)
DeviceNet™ is the property of the ODVA™ (Open DeviceNet Vendor Association), USA
(→ www.odva.org)
EtherNet/IP® is the property of the →ODVA™
EtherCAT® is a registered trade mark and patented technology, licensed by Beckhoff Automation
GmbH, Germany
IO-Link® (→ www.io-link.com) is the property of the →PROFIBUS Nutzerorganisation e.V.,
Germany
ISOBUS is the property of the AEF – Agricultural Industry Electronics Foundation e.V.,
Deutschland (→ www.aef-online.org)
Microsoft® is the property of the Microsoft Corporation, USA (→ www.microsoft.com)
PROFIBUS® is the property of the PROFIBUS Nutzerorganisation e.V., Germany
(→ www.profibus.com)
PROFINET® is the property of the →PROFIBUS Nutzerorganisation e.V., Germany
Windows® is the property of the →Microsoft Corporation, USA
>
This document is only for device types "IO-Link master - EtherNet/IP gateway (DataLine) 4 port IP 65 /
IP 66 / IP 67" (art. no.: AL1320).
It is part of the device and contains information about the correct handling of the product.
► Read this document before using the device.
► Keep this document during the service life of the device.
5
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Preliminary note Symbols and styles used
>
WARNING
Death or serious irreversible injuries may result.
CAUTION
Slight reversible injuries may result.
NOTICE
Property damage is to be expected or may result.
Important note
Non-compliance can result in malfunction or interference
Information
Supplementary note
► ... Request for action
> ... Reaction, result
→ ... "see"
abc Cross-reference
123 Decimal number
0x123 Hexadecimal number
0b010 Binary number
[...] Designation of pushbuttons, buttons or indications
>
6
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Safety instructions General
2 Safety instructions
General .....................................................................................................................................................7
Required background knowledge .............................................................................................................7
Safety symbols on the device ...................................................................................................................7
Tampering with the unit ............................................................................................................................8
213
>
2.1 General
22068
The plant manufacturer is responsible for the safety of the plant in which the device is
installed.
If the device is used in a way that is not intended by the manufacturer, the protection
supported by the device may be impaired.
Non-observance of the instructions, operation which is not in accordance with use as
prescribed below, wrong installation or incorrect handling can affect the safety of operators
and machinery.
► Observe these operating instructions.
► Adhere to the warning notes on the product.
>
This document is intended for specialists. Specialists are people who, based on their relevant training
and experience, are capable of identifying risks and avoiding potential hazards that may be caused
during operation or maintenance of the product.
The document contains information about the correct handling of the product.
>
General warning
Observe instructions in chapter "Electrical connection" (→ Electrical connection (→ p. 14))!
7
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Safety instructions Tampering with the unit
>
WARNING
Tampering with the units can affect the safety of operators and machinery!
Tampering with the units is not allowed.
In case of non-compliance our liability and warranty expire.
► Do not open the devices!
► Do not insert any objects into the devices!
► Prevent metal foreign bodies from penetrating!
8
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Intended use Permitted use
3 Intended use
Permitted use ...........................................................................................................................................9
Prohibited use ...........................................................................................................................................9
18761
>
The IO-Link master serves as a gateway between intelligent IO-Link devices and the fieldbus. The
device is designed for use without a control cabinet in the plant construction.
>
The device may not be used beyond the limits of the technical data (→ Technical data (→ p. 69))!
9
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Function Prohibited use
4 Function
Communication, parameter setting, evaluation ......................................................................................11
Digital inputs ...........................................................................................................................................12
IO-Link supply .........................................................................................................................................12
7482
10
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Function Communication, parameter setting, evaluation
>
IO-Link ....................................................................................................................................................11
EtherNet/IP .............................................................................................................................................11
Internet of Things (IoT) ...........................................................................................................................11
Parameter setting ...................................................................................................................................11
Visual indication ......................................................................................................................................12
7485
>
4.1.1 IO-Link
7773
4.1.2 EtherNet/IP
2259
The device has an Ethernet port (X23) for Internet-of-Things applications. The interface allows
separate access from IT networks to parameters, process and monitoring data of the IO-Link master
and the connected IO-Link devices. Different protocols (e.g. TCP/IP JSON) are supported.
>
11
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Function Digital inputs
>
12
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Mounting Mount the device
5 Mounting
Mount the device ....................................................................................................................................13
22016
>
► Fix the unit to the mounting surface using 2 M5 mounting screws and washers.
Tightening torque: 1.8 Nm
► Ground the unit via the two mounting screws of the upper mounting lugs.
13
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Electrical connection Remarks
6 Electrical connection
Remarks .................................................................................................................................................14
EtherNet/IP ports ....................................................................................................................................15
IoT port ...................................................................................................................................................15
IO-Link ports ...........................................................................................................................................16
Connect the device .................................................................................................................................18
22017
>
6.1 Remarks
18076
The communication interfaces are seperated from the device supply according to EN61010-1
considering basis isolation as secondary circuit with maximum 30 V DC derived from the
applied voltage up to 300 V of overvoltage category II. The communication interfaces are
designed for a network environment 0 according to IEC TR62102.
14
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Electrical connection EtherNet/IP ports
>
► Connect the device via the M12 socket X21 and/or X22 to the
EtherNet/IP network
(e.g. EtherNet/IP PLC, additional EtherNet/IP device)
Tightening torque: 0.6...0.8 Nm
► To connect the devices, use M12 connectors with protection rating
IP 65 / IP 66 / IP 67 or higher (→ Accessories (→ p. 67)).
► Cover the unused sockets with M12 protective caps (art no.
E73004).
Tightening torque 0.6...0.8 Nm
>
► Connect the device via the M12 socket X23 to the IT network (e.g.
laptop/PC with installed LR DEVICE parameter setting software,
laptop/PC with installed LR SMARTOBSERVER monitoring
software)
Tightening torque: 0.6...0.8 Nm
► To connect the devices, use M12 connectors with protection rating
IP 65 / IP 66 / IP 67 or higher (→ Accessories (→ p. 67)).
► Cover the unused sockets with M12 protective caps (art no.
E73004)
Tightening torque 0.6...0.8 Nm
15
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Electrical connection IO-Link ports
>
► Cover the unused sockets with M12 protective caps (art no.
E73004).
Tightening torque 0.6...0.8 Nm
16
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Electrical connection IO-Link ports
>
The inputs of the ports X01...X04 (pin 2) provide a type 2 behaviour according to standard EN61131-2,
the connected electronics must be rated for this electrically.
>
The IO-Link interfaces of the device meet the requirements of the IO-Link specification 1.0 to 1.1.2.
The connected IO-Link devices may only be supplied via the AL1320.
Exception: Connection of IO-Link devices to ports X01...X04 via suitable connection
technology for port class B operation (→ IO-Link ports (→ p. 16)):
The external supply for port class B operation must be galvanically separeted from the circuit
of the AL1320 by assuring basic isolation (according to EN61010-1, secondary circuit with
maximum 30 V DC derived from applied voltage up to 300 V of overvoltage category II)!
The isolation must be done both for IO-Link devices and for the connection technology.
NOTICE
Risk of material damage
If the requirements of galvanic separation of the circuits are not observed, the fire protection of the
device can not be assured.
► Observe the requirements of the electrical connection of IO-Link devices for port class B
operation!
17
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Electrical connection Connect the device
>
► Disconnect power.
► Connect the unit via M12 socket X31 to 24 V DC
(20...30 V SELV/PELV; according to EN61010-1, secondary circuit
with maximum 30 V DC derived from applied voltage up to 300 V
of overvoltage category II).
Tightening torque: 0.6...0.8 Nm
Maximum cable length: 25 m
► To connect the device , use M12 connectors with protection rating
IP 65 / IP 66 / IP 67 or higher (→ Accessories (→ p. 67)).
When using connectors longer than 25 m keep in mind the voltage drop as well as the
required minimum voltage supply of the AL1320.
18
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Operating and display elements Overview
7.1 Overview
17857
19
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Operating and display elements LED indicators
>
>
Each Ethernet interface (X21, X22) has 2 LEDs (LNK and ACT). The LEDs indicate the status of the
Ethernet connection.
20
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Operating and display elements LED indicators
>
The IoT port (X23) has the 3 LNK, ACT and IoT LEDs. The LEDs indicate the status of the Ethernet
connection and the device identification.
>
The interface for voltage supply (X31) has the LED that is marked as US. The LED indicates the status
of the voltage supply.
>
Each IO-Link port Class A (X01 ... X04) has 2 LEDs marked as IOL and DI. The LEDs indicate the
status of the IO-Link port.
21
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LED indicators
8 Configuration
LR DEVICE .............................................................................................................................................23
IoT Core ..................................................................................................................................................35
EtherNet/IP .............................................................................................................................................50
22367
22
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
>
8.1 LR DEVICE
Remarks .................................................................................................................................................24
IoT: Configure access rights ...................................................................................................................25
IoT: Configure IP settings .......................................................................................................................26
IoT: Configure the interface to the LR SMARTOBSERVER ..................................................................27
Fieldbus: Configure the EtherNet/IP port ...............................................................................................28
IO-Link ports: Activate data transfer to the LR SMARTOBSERVER .....................................................29
IO-Link ports: Configure operating mode ...............................................................................................30
IO-Link ports: Set the device validation and data storage ......................................................................31
IO-Link Ports: Set fails-safe values ........................................................................................................32
Info: Show device information ................................................................................................................32
Firmware: Reset device to factory settings ............................................................................................33
Firmware: Reboot the device..................................................................................................................33
Configure IO-Link devices ......................................................................................................................34
22822
On delivery, the AL1320 is configured with the factory settings (→ Factory settings (→ p. 66)).
Required software: LR DEVICE (1.3.1.x or higher) (art.-no.: QA0011/QA0012)
23
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
>
8.1.1 Remarks
The AL1320 supports the offline parameter setting. In this context, the user creates and stores a
configuration for the IO-Link master and the connected IO-Link devices without being connected to the
AL1320 (OFFLINE mode). The configuration created in this way can be stored as a file (*.lrp) and
loaded to the AL1320 and activated at a later date.
>
VPN connection
22762
An active VPN connection blocks the access of the parameter setting software LR DEVICE to
the EtherNet/IP interface of the AL1320.
► Deactivate the VPN connection in order to be able to access the AL1320 with the LR
DEVICE.
24
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
>
The access rights define which instance may read and / or write the parameter data, process data and
event/diagnostic messages.
In order to configure the access rights to the IO-Link master:
► Select [IoT] menu.
> The menu page shows the current settings.
► Set the following parameters as required:
Name Description Possible values
[Access Rights] The access rights to the [EtherNet/IP + IoT] EtherNet/IP and IoT Core have read
parameter data, process data and write access rights to parameters
and the event/diagnostic and process data
messages of the IO-Link master EtherNet/IP and <IoT Core> have read
as well as the connected IO-Link access rights to events/alarms
devices
[EtherNet/IP + IoT EtherNet/IP has read and write access
(read-only)] rights to parameters and process data
EtherNet/IP has read access rights to
events/alarms
IoT Core only has read access rights to
parameters, process data and
events/alarms
[IoT only] IoT Core has read and write access
rights to parameters and process data
IoT has read access rights to
events/alarms
EtherNet/IP has no access rights
Changes of the parameter [Access Rights] are only effective after restarting the device.
To activate the changed access rights:
► Firmware: Reboot the device (→ p. 33)
25
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
>
For access to the IO-Link master via the IT infrastructure the user has to set the IP settings of the IoT
port.
To configure the IP settings with DHCP, a DHCP server has to be active in the IT network. If
no DHCP server can be reached in the IT network, an IP address is automatically assigned to
the IoT port with the Zeroconfig protocol (address range: → Factory settings).
[DHCP] Activate/deactivate the DHCP client of the [Static IP] IP settings were set by the user
device
[DHCP] IP settings are set by a DHCP
server in the network.
[IP address]* IP address of the IoT port Factory setting: 169.254.X.X
[Subnet mask]* Subnet mask of the Ethernet network Factory setting: 255.255.0.0
[Default gateway IP address]* IP address of the network gateway Factory setting: 0.0.0.0
[MAC address] MAC address of the IoT port The value is firmly set.
* ... can only be edited if parameter [DHCP] = [Static IP]
26
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
>
To enable data transfer between the device and the LR SMARTOBSERVER monitoring software, the
LR SMARTOBSERVER monitoring software interface has to be configured.
► Select [IoT] menu.
> The menu page shows the current settings.
► Set the following parameters as required:
Name Description Possible values
After changing the parameter [Port LR SMARTOBSERVER] or [Application Tag], it may take
120 seconds before the device establishes a new TCP connection.
To prevent the delay:
► Reboot the device after the parameter change.
27
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
>
The EtherNet/IP ports X21/X22 have to be configured via the EtherNet/IP for access to the device.
To configure the fieldbus port:
► Select [Fieldbus] menu.
> The menu page shows the current settings.
► Set the following parameters as required:
Name Description Possible values
[DHCP] Enable /disable the DHCP client of the IO-Link [Static IP] The user sets the IP
master configuration
[DHCP] The network's DHCP server
sets the IP configuration
[BOOTP] The Bootstrap Protocol
(BOOTP) sets the IP
configuration
[IP address] IP address of the EtherNet/IP port Factory setting: 192.168.1.250
[Subnet mask] Subnet mask of the IP network Factory setting: 255.255.255.0
[Default gateway IP address] IP address of the gateway Factory setting: 0.0.0.0
[Host name] Name of the device in the EtherNet/IP network e.g. al1xxx
[MAC address] MAC address of the device The value is firmly set.
[Fieldbus firmware] e.g. 3.4.04 (EtherNet/IP Adapter)
[Configuration]** EtherNet/IP configuration mode Independent Top down
mode off
Independent Independent
mode on
[Process data length]** Process data length for each IO-Link port 2 Bytes Input 2 bytes input data,
2 Bytes Output 2 bytes output data
4 Bytes Input 4 bytes input data,
4 Bytes Output 4 bytes output data
8 Bytes Input 8 bytes input data,
8 Bytes Output 8 bytes output data
16 Bytes Input 16 bytes input data,
16 Bytes 16 bytes output data
Output
32 Bytes Input 32 bytes input data,
32 Bytes 32 bytes output data
Output
[Swap]** Byte order in data word off as Array of Bytes
28
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
>
The user can decide separately for each IO-Link port if the process data of the connected IO-Link
devices should be transferred to the LR SMARTOBSERVER.
29
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
>
The IO-Link ports X01...X04 of the device support the following operating modes:
Digital input (DI): binary input signal at pin 4 (C/Q) of the IO-Link port
Digital output (DO): binary output signal at pin 4 (C/Q) of the IO-Link port
IO-Link: IO-Link data transfer via pin 4 (C/Q) of the IO-Link port
The user can set the operating mode separately for each IO-Link port.
To set the operating mode of an IO-Link port:
► Select [Port x] menu (x = 1...4).
> The menu page shows the current settings.
► Set the following parameters as required:
Name Description Possible values
[Mode] Operating mode of the IO-Link port [Disabled] Port deactivated
30
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
>
8.1.8 IO-Link ports: Set the device validation and data storage
17945
In the operating mode "IO-Link" the user can set the behaviour of the IO-Link port with regard to
device validation and the storage / restoration of the parameter data of the connected IO-Link device.
To configure the device validation and the data storage:
► Select [Port x] menu (x = 1...4).
> The menu page shows the current settings.
► Set the following parameters as required:
Name Description Possible values
[Validation / Data Supported IO-Link standard and [No check and No verification of the vendor ID and device
Storage] behaviour of the device during clear] ID
connection of a new IO-Link No data storage
device on port x (x = 1...4)
[Type IO-Link device is compatible with the V1.0
compatible IO-Link standard
V1.0 device] Verification whether it is an IO-Link device of
the same type (validation via vendor ID and
device ID)
No data storage
[Type IO-Link device is compatible with the V1.1
compatible IO-Link standard
V1.1 device] Verification whether it is an IO-Link device of
the same type (validation via vendor ID and
device ID)
No data storage
[Type IO-Link device is compatible with the V1.1
compatible IO-Link standard
V1.1 device Verification whether it is an IO-Link device of
with Backup + the same type (validation via vendor ID and
Restore] device ID)
The IO-Link master saves the parameter
values of the connected IO-Link device;
modifications of the parameter values are
also saved (observe the note!)
When connecting an IO-Link device with
factory settings, the parameter values stored
in the IO-Link master are restored
automatically on the IO-Link device.
[Type IO-Link device is compatible with the V1.1
compatible IO-Link standard
V1.1 device Verification whether it is an IO-Link device of
with Restore] the same type (validation via vendor ID and
device ID)
The IO-Link master saves the parameter
values of the connected IO-Link device
once.
When connecting an IO-Link device with
factory settings, the parameter values stored
in the IO-Link master are restored
automatically on the IO-Link device.
[Vendor ID] ID of the manufacturer that is to 0 Factory setting: 0
be validated ... ifm electronic: 310
65535
[Device ID] ID of the IO-Link device that is to 0 Factory setting: 0
be validated ...
16777215
31
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
For the configuration mode "Independent" the user can set fail-safe values for the outputs of IO-Link
ports X01...X04. The fail-safe values will be activated in case of an interuption of the EtherNet/IP
conection.
To set the fail-safe values:
► Select [Port x] menu (x = 1...4).
> The menu page shows the current settings.
► Set the following parameters as required:
Name Description Possible values
[Fail-safe digital out]* Fail-safe value of the output for operating mode [Reset] OFF
"Digital Output (DO)"
[Old] old value
[Set] ON
[Fail-safe IO-Link]* Fail-safe value of the output for operating mode [Off] no Fail-safe
"IO-Link"
[Reset] Fail-safe: OFF
[Old Fail-safe: old value
[Pattern] Fail-safe: byte pattern
* ... Parameter only changeable, if the connection to the EtherNet/IP controller is closed
32
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
>
When the IO-Link master is reset, all parameters are set to the factory settings:
To reset the device to factory settings:
► Select [Firmware] menu.
> The menu page shows the current settings.
► Click on [Factory Reset] to reset the device.
> LR DEVICE sets the device to the factory settings.
>
33
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration LR DEVICE
>
To configure the IO-Link devices connected to the device with the LR DEVICE parameter setting
software:
Requirements:
> IO-Link master is correctly installed and connected to the LR DEVICE parameter setting software.
> The IO-Link device is correctly connected to the AL1320.
> Operating mode of the IO-Link port is "IO-Link" (→ IO-Link ports: Configure operating mode (→ p. 30)).
> IoT has write access rights to the IO-Link master (→ IoT: Configure access rights (→ p. 25)).
1 Select IO-Link master
► Start LR DEVICE.
► Update IODD file library
OR:
Import IODD file of the IO-Link device manually.
► Scan network for devices.
> LR DEVICE detects IO-Link master.
2 Add IO-Link device
► Under [ONLINE]: Click on the required IO-Link master.
> LR DEVICE automatically detects the IO-Link devices connected to the IO-Link master (e.g. ifm sensor KG5065).
Information about the available parameters of the IO-Link device: → IO Device Description
(IODD) of the IO-Link device
34
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
The user can request the available data points and services in the substructures with
gettree(→ Service: gettree (→ p. 123)). The service returns the device description as tree structure. It
shows the services supported by a data point: In the sub-element "subs" each data point lists all
services that can be applied to it.
>
35
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
The parameters of the IoT port X23 are saved in the iotsetup substructure. The user can access the
following data points:
36
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
The parameters of the fieldbus port X21/X22 are saved in the fieldbussetup substructure. The user
can access the following data points:
37
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
Parameters of the IO-Link ports of the IO-Link master are saved in the iolinkmaster/port[n]
substructure. There are the following data points for each IO-Link-Port X01...X04 :
The application name of the IO-Link master is saved in the devicetag substructure. The user can
access the following data points:
Cyclic process data of the IO-Link ports X01...X04 is saved in the iolinkmaster/port[n]
substructure. The user can access the following data points:
38
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
Diagnostic data is saved in the processdatamaster substructure. The user can access the following
data points:
Device information is saved in the deviceinfo substructure. The user can access the following data
points:
Additional information about the AL1320 can be read with the getidentity service (→ Service:
getidentity (→ p. 125)).
39
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
The ifm IoT Core supports the configuration of the connected IO-Link devices. A parameter is
accessed via IO-Link index and subindex (→ IO Device Description (IODD) of the device)
The user can use the following services:
40
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
Information about an IO-Link device connected via an IO-Link port is saved in the
iolinkmaster/port[n]/iolinkdevice/ substructure. The user can access the following data
points:
41
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
8.2.11 Examples
Task: Read the current measured value of the ifm temperature sensor TN2531 at IO-Link port X06
Solution: Read the data point for the process input data with the getdata service.
Request object:
{
"code":10,
"cid":4711,
"adr":"/iolinkmaster/port[6]/iolinkdevice/pdin/getdata"
}
Return object:
{
"cid":4711,
"data":{"value": "03C9"},
"code":200
}
The return value is given in hexadecimal format. Besides the temperature value the return value
comprises additional information (→ IO Device Description (IODD) of the sensor). The temperature
value is shown in bits 2 to 15.
0x03C9 = 0b1111001001
Temperature value: 0b11110010 = 242
Therefore: The current temperature value is 24.2 °C.
42
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
Task: The following current values are to be read by the IO-Link master. Temperature, serial number
Solution: Read the current parameter values using the getdatamulti service (data point temperature:
/processdatamaster/termperature; data point serial number: /deviceinfo/serialnumber)
Request object:
{
"code":10,
"cid":4711,
"adr":"/getdatamulti",
"data":{"datatosend":["/processdatamaster/temperature","/deviceinfo/serialnumber"]
}
}
Return object:
{
"cid":4711,
"data":{"processdatamaster/temperature":{"code":200,"data":44},
"deviceinfo/serialnumber":{"code":200,"data":"000174210147"}},
"code":200
}
>
Task: Set the name of the IO-Link master to AL1320 for the representation in the
LR SMARTOBSERVER.
Solution: Change the parameter [Application Tag] with the setdata service to the value [AL1320].
The data point of the parameter [Application Tag] in the device description object is
/devicetag/applicationtag.
Request object:
{
"code":10,
"cid":4711,
"adr":"/devicetag/applicationtag/setdata",
"data":{"newvalue":"AL1320"}
}
Return object:
{"cid":4711,"code":200}
43
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
Task: Read the serial number of the ifm temperature sensor TN2531 at IO-Link port X02
Solution: Read the serial number with the iolreadacyclic service from the IO-Link device (index:
21, subindex: 0)
Request object:
{
"code":10,
"cid":4711,
"adr":"/iolinkmaster/port[2]/iolinkdevice/iolreadacyclic",
"data":{"index":21,"subindex":0}
}
Return object:
{
"cid":4711,
"data":{"value":"4730323134323830373130"},
"code":200
}
The returned value is given in hexadecimal format. The conversion of the HEX value in a STRING
value is: G0214280710
>
Task: Set the output configuration OUT1 of the ifm temperature sensor TN2531 at IO-Link port X02 to
the value "Hnc / hysteresis function, normally closed".
Solution: Change the parameter [ou1] of the sensor to the value 4 using the iolwriteacyclicdata
service. The parameter can be accessed via IO-Link index 580, subindex 0 (→ IO-Link description of
the sensor).
Request object:
{
"code":10,
"cid":4711,
"adr":"/iolinkmaster/port[2]/iolinkdevice/iolwriteacyclic",
"data":{"index":580,"subindex":0,"value":"34"}
}
The value has to be given in hexadecimal format. The conversion of the STRING value in a HEX value
is: 34.
Response object:
{
"cid":4711,
"code":200
}
44
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
Task: The current values of the following parameters should be sent regularly to a network server with
IP address 192.168.0.4: product name of the IO-Link device at IO-Link port X02, cyclic input data of
the IO-Link device at IO-Link port X02 and the operating temperature of the IO-Link master.
Solution: Subscribe to the required data using the subscribe service.
Request object:
{
"code":80,
"cid":4711,
"adr":"/timer[1]/counter/datachanged/subscribe",
"data":{"callback":"http://192.168.0.44/temp",
"datatosend":[
"/iolinkmaster/port[2]/iolinkdevice/productname",
"/iolinkmaster/port[2]/iolinkdevice/pdin",
"/processdatamaster/temperature"]
}
}
Additionally the interval of the timer[1] has to be set to a value between 500 ms and 2147483647 ms.
Request object:
{
"code":10,
"cid":4712,
"adr":"/timer[1]/interval/setdata",
"data":{"newvalue":500}
}
Response object
{
"cid":4712,
"code":200
}
45
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
The DataLine device family has one IoT Core. This component allows the user to address the IO-Link
master from IT networks and to integrate it into Internet-of-Things applications.
The IoT Core provides the user with the following functions:
Control device
Monitoring of process data
Read / write parameters of the IO-Link master
Read / write parameters of the connected IO-Link devices
Collect diagnostic data
>
Device description
14411
The IoT Core creates a device description on the AL1320. This device description is a structured,
machine-readable data object in JSON format. All current values of parameters, diagnostic data and
device information are mapped in this data object. The user can access this data object from IT
networks.
The complete device description can be read using the gettree (→ service Service: gettree (→ p. 123)).
46
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
To activate the changes of the parameter values the IoT Core must have the respective write
access rights to the IO-Link master (→ Parameter [Access Rights]).
The ifm IoT Core supports HTTP requests. The following request methods are available.
>
GET method
21300
Using the GET method the user has read access to a data point.
The syntax of the request to the IoT Core is:
ip/datapoint/service
Description Description
ip IP address of the IoT port X23 of the IO-Link master
data_point Data point which is to be accessed
service Service
parameter Description
Example:
Request (via browser): 192.168.0.250/devicetag/applicationtag/getdata
Return: {"cid":-1,"data":{"value":"AL1320"}, "code":200}
47
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
POST method
16548
Using the POST method the user has read and write access to a data point. A form with the required
information is transferred to the IP address of the IO-Link master (IoT port X23).
The syntax of the request to the IoT Core is:
{
"code":code_id,
"cid":id,
"adr":"data_point/service",
"data":{req_data}
}
Parameter Description
Parameter Description
Example:
Request: {"code":10,"cid":4711, "adr":"devicetag/applicationtag/getdata"}
Return: {"cid":4711,"data":{"value":"AL1320"}, "code":200}
48
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration IoT Core
>
Code Description
200 OK
230 OK; but reboot required
231 OK, but block request not yet terminated
232 Data accepted but changed internally
233 IP settings changed; application has to reboot the device; Wait for min. 1 second before the device is rebooted
400 Invalid request
403 Unauthorised access
500 Internal server fault
503 Service not available
530 Requested data is invalid
531 IO-Link error
532 Error in PLC
49
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
>
8.3 EtherNet/IP
On the fieldbus side, the device can be configured with any EtherNet/IP compatible projection
software.
The information in the following sections refers to the EtherNet/IP projection software RSLogix 5000.
>
ifm provides an EDS file to integrate the AL1320 in a EtherNet/IP projection software. The user can
download the EDS file from the ifm website (→ www.ifm.com). In the EDS file, all parameters, process
data, and their valid value ranges are defined.
To add the AL1320 to the device catalogue of RSLogix5000:
► Download the EDS file of the AL1320 from the ifm website.
► Start RSLogix5000.
► Select [Tools] > [EDS Hardware Installation Tool].
> EDS Wizard appears.
► Register the downloaded EDS file of the AL1320 with the EDS Wizard.
> EDS Wizard installs the EDS file and adds the AL1320 to the device catalogue.
50
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
>
51
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
>
The IO-Link master supports different connection types (→ Supported connection types (→ p. 73)). The
user can choose which object instances of the input assembly and the output assembly are used. This
makes it possible to adapt the size of the transmitted and received data.
To set the connection type:
Requirements:
> AL1320 is correctly integrated into the EtherNet/IP project (→ Integrate the AL1320 into the EtherNet/IP project
(→ p. 51)).
Open the module settings
► In the Controller Organizer: Double-click on the IO-Link master node
> Dialogue window appears.
Set connection type
► Click on [Change...].
> The [Module Definition] dialogue window appears.
► Select the required connection type from the list [Connections].
► Click on [OK] to apply the changes.
52
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
>
53
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
>
The IO-Link ports are configured via the controller tags. The user can configure each IO-Link port
separately.
To configure the IO-Link ports:
Requirements:
> AL1320 is correctly integrated in the EtherNet/IP project (→ Integrate the AL1320 into the EtherNet/IP project
(→ p. 51)).
1 Open controller tags
► In the Controller Organizer: Double click on [Controller Name_of_Project] > [Controller Tags]
> [Controller Tags] window appears.
► In the tree view: Click on [AL1320:C].
> Controller tags for the configuration of the device appear.
2 Configure IO-Link ports
► Configure the following tags for each IO-Link port at will:
Name Description Possible values
54
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
The AL1320 supports the configuration of the connected IO-Link devices from the EtherNet/IP
projection software. For this, ifm offers the EtherNet/IP object "IO-Link Request" (→ IO-Link requests
(object class: 0x80) (→ p. 107)). The object enables direct read and write access to IO-Link objects of
the IO-Link device. The extent of the configurable parameters depends on the IO-Link device.
The following services are available:
Name Description Reference
Read request Send a request to read an IO-Link object → Read_ISDU (→ p. 108)
Write request Send a request to write an IO-Link object → Write_ISDU (→ p. 111)
Information for the execution of acyclic commands: → Use acyclic services (→ p. 59)
Available parameters of the IO-Link devices: → Operating instructions of the IO-Link device
55
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
>
The user can access the cyclic input data of the connected sensors and IO-Link devices via the
controller tags of the AL1320.
To check the validity of the cyclic process data, evaluate the PQI byte (→ Mapping: PQI
(→ p. 81)).
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.
Mapping of the inputs to the data structure [AL1320.I:Data]: → Cyclic data (→ p. 77))
>
The user can access the cyclic output data of the connected actuators and IO-Link devices via the
controller tags of the AL1320.
To check the validity of the cyclic process data, evaluate the PQI byte (→ Mapping: PQI
(→ p. 81)).
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.
Mapping of the outputs to the data structure [AL1320.C:O]: → Cyclic data (→ p. 77)).
56
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
>
Diagnostic and status information is a part of the cyclically transmitted process data. The input
assembly includes the following information:
Byte Content
Mapping of the diagnostic and status information on the data structure [AL1320.C:I]: → Cyclic
data (→ p. 77).
57
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
>
The programmer can access on the following data from the PLC application:
Read device information of the AL1320
Read diagnostics and alarms
Set parameters of the connected IO-Link devices
Further information about the functional/operational blocks: → Help function of the EtherNet/IP
projection software
>
58
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
>
Within the cyclic input and output data, special areas are available for the acyclic data transmission.
Both read and write access can be implemented via the areas.
>
59
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
>
For the acyclic access to the configuration of the IO-Link ports of the AL1320, the following commands
are available:
The port commands use the same mechanisms as the acyclic command channel (→ Acyclic command
channel (→ p. 87)).
>
Acyclic commands can be executed with the EtherNet/IP command Message (MSG).
Parameters of the available field bus objects: → Field bus objects (→ p. 98)
For detailed information about the Message (MSG) command: → Operating instructions
RSLogix 5000
60
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Configuration EtherNet/IP
>
61
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Operation Firmware update
9 Operation
Firmware update .....................................................................................................................................62
Web interface: Read device and diagnostic information ........................................................................63
Replace IO-Link device ..........................................................................................................................64
22368
>
If the firmware update is not successful, deactivate all connections to the EtherNet/IP PLC, LR
SMARTOBSERVER and LR DEVICE and repeat the process.
► Close connection to EtherNet/IP PLC.
► Set the parameter [IP address SmartObserver] to 255.255.255.255 or 0.0.0.0 (→ IoT:
Configure the interface to the LR SMARTOBSERVER (→ p. 27)).
► Stop the LRAgent.LRDevice service in the Windows task manager.
After the firmware update check the settings of the LR SMARTOBSERVER interface!
62
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Operation Web interface: Read device and diagnostic information
>
In order to read the diagnostic information about the current device status via the web interface:
► Connect laptop/PC and AL1320 via the Ethernet internet.
► Start web browser.
► Enter the IP address of the AL1320 into the address field of the browser and press [ENTER] to confirm.
> Web browser shows the web interface of the device.
> The page shows the following data:
Table with connected IO-Link devices
Name Description
63
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Operation Replace IO-Link device
>
64
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Maintenance Replace IO-Link device
10 Maintenance
21577
65
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Factory settings Replace IO-Link device
11 Factory settings
16557
In the factory settings, the device has the following parameter settings:
66
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Accessories Replace IO-Link device
12 Accessories
17853
67
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix Replace IO-Link device
13 Appendix
Technical data ........................................................................................................................................69
EtherNet/IP .............................................................................................................................................73
ifm IoT Core ..........................................................................................................................................118
7156
68
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix Technical data
>
Application ..............................................................................................................................................69
Electrical data .........................................................................................................................................69
Inputs / outputs .......................................................................................................................................69
Inputs ......................................................................................................................................................70
Outputs ...................................................................................................................................................70
Interfaces ................................................................................................................................................70
Operating conditions ...............................................................................................................................71
Approvals / tests .....................................................................................................................................71
Mechanical data .....................................................................................................................................71
Electrical connection ...............................................................................................................................72
9011
>
13.1.1 Application
23710
Application
>
Electrical data
Sensor supply US
Max. current load total [A] 3.6
>
Inputs / outputs
69
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix Technical data
>
13.1.4 Inputs
22820
Inputs
Number of digital inputs 8; (IO-Link Port Class A: 4 x 2)
Switching level high [V] 11...30 DC
Switching level low [V] 0...5 DC
Digital inputs protected against short circuits yes
>
13.1.5 Outputs
22821
Outputs (digital)
>
13.1.6 Interfaces
10921
Interfaces
Ethernet
Transmission standard 10Base-T; 100Base-TX
Transmission rate [MBit/s] 10; 100
Protocol TCP/IP; EtherNet/IP
Factory settings IP address: 192.168.1.250
Subnet mask: 255.255.255.0
Gateway IP address: 0.0.0.0
MAC address: see type label
IO-Link master
70
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix Technical data
>
Operating conditions
Applications Indoor use
Ambient temperature [°C] -25...60
Storage temperature [°C] -25...85
Max. perm. relative air humidity [%] 90
Max. height above sea level [m] 2000
Protection rating IP 65; IP 66; IP 67
Pollution Degree 2
>
Approval / tests
EMC EN 61000-6-2
EN 61000-6-4
MTTF [Years] 90
>
Mechanical data
71
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix Technical data
>
Wiring 1: TX +
2: RX +
3: TX -
4: RX -
5: -
72
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
13.2 EtherNet/IP
73
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
The values of the Configuration Assembly are set in RSLogix 5000 via the controller tags of
the EtherNet/IP project.
Byte Content
0 Access rights
1 Process data length
2...13 X01: Port configuration (→ Mapping: Port configuration (→ p. 75))
14...25 X02: Port configuration (→ Mapping: Port configuration (→ p. 75))
26...37 X03: Port configuration (→ Mapping: Port configuration (→ p. 75))
38...49 X04: Port configuration (→ Mapping: Port configuration (→ p. 75))
Legend:
[Access Rights] Access rights to parameter, 1 Byte 0x00 EtherNet/IP + IoT
process data and events /
diagnostics data of the IO-Link 0x01 EtherNet/IP + IoT (ro)
master and the connected 0x02 EtherNet/IP only
IO-Link devices
0x03 Keep setting (default)
[Process Data Length] Length of the process input data 1 Byte 0x00 2 Bytes Input / 2 Bytes Output Data
and process output data Input Assembly: 126 Bytes
Output Assembly: 54 Bytes
0x01 4 Bytes Input / 4 Bytes Output Data
Input Assembly: 134 Bytes
Output Assembly: 62 Bytes
0x02 8 Bytes Input / 8 Bytes Output Data
Input Assembly: 150 Bytes
Output Assembly: 78 Bytes
0x03 16 Bytes Input / 16 Bytes Output Data
Input Assembly: 182 Bytes
Output Assembly: 110 Bytes
0x04 32 Bytes Input / 32 Bytes Output Data
Input Assembly: 246 Bytes
Output Assembly: 174 Bytes
74
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Byte
Port Mode
Master Cycle Time
Byte Swap
Validation ID
Vendor ID (MSB)
Vendor ID (LSB)
Device ID (MSB)
Device ID
Device ID (LSB)
reserved
Failsafe Mode -- IO-Link
Failsafe Mode -- Pin 4 (DO)
Legend:
[Port Mode] Operating mode of the IO-Link port 1 byte 0x00 Interface deactivated
0x01 Operation as digital input (DI)
0x02 Operation as digital output (D=)
0x03 Operation as IO-Link port
[Master Cycle Cycle time of the data transmission 1 byte 0x00 As fast as possible
Time] between the IO-Link master and the
IO-Link device 0x01 2 milliseconds
0x02 4 milliseconds
0x03 8 milliseconds
0x04 16 milliseconds
0x05 32 milliseconds
0x06 64 milliseconds
0x07 128 milliseconds
[Byte Swap] Visualisation of the process data 1 byte 0x00 Byte swapping for IO-Link process data
(EtherNet/IP uses Little Endian Format deactivated
(Intel), IO-Link uses Big Endian Format
(Motorola)) 0x01 Byte swapping for IO-Link process data
activated
[Validation ID] Supported IO-Link standard and 1 byte 0x00 No validation
behaviour of the IO-Link master when
connecting new IO-Link devices to the 0x01 V1.0 device
IO-Link port 0x02 V1.1 device
0x03 V1.1 device with Backup + Restore
0x04 V1.1 device with Backup
75
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
[Vendor ID] Vendor ID of the manufacturer of the 2 Bytes pro Byte: 0x00...0xFF
device on the IO-Link port
Vendor ID = 0x1234
Vendor ID (MSB) = 0x12
Vendor ID (LSB) = 0x34
[Device ID] Device ID of the device on the IO-Link 3 bytes pro Byte: 0x00...0xFF
port
Device ID = 0x123456
Device ID (MSB) = 0x12
Device ID = 0x34
Device ID (LSB) = 0x56
[Failsafe Mode -- Fail-safe mode for output data when 1 byte 0x00 No Failsafe
IO-Link] the EtherNet/IP connection is
interrupted 0x01 Failsafe Reset Value
0x02 Failsafe Old Value
0x03 Failsafe with Pattern
[Failsafe Mode -- Fail-safe value for the operating mode 1 byte 0x00 Failsafe Reset Value
Pin 4 (DO)] "digital output (DO)"
0x01 Failsafe Old Value
0x02 Failsafe Set Value
76
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Input assembly (Instance 100): I/O data + acyclic data + diagnosis data ..............................................77
Input Assembly (Instance 101): I/O data + acyclic data .........................................................................78
Input Assembly (Instance 102): I/O data ................................................................................................79
Output assembly (Instance 150): I/O data + acyclic data.......................................................................84
Output Assembly (Instance 151): I/O data .............................................................................................85
22429
>
Input assembly (Instance 100): I/O data + acyclic data + diagnosis data
11135
Byte Content
0...1 Port X01...X04: Digital Input - pin 2 / 4 (DI) (→ Mapping: digital input data (DI) (→ p. 80))
2...3 Status information (→ Mapping: Status information (→ p. 80))
4...45 Acyclic command area: Response channel (→ Response channel (→ p. 89))
46...47 Port X01: PQI (→ Mapping: PQI (→ p. 81))
48...63 Port X01: Diagnostic, vendor ID, device ID, events (→ Mapping: IO-Link port information (→ p. 82))
64...65 Port X02: PQI (→ Mapping: PQI (→ p. 81))
66...81 Port X02: Diagnostic, vendor ID, device ID, results (→ Mapping: IO-Link port information (→ p. 82))
82...83 Port X03: PQI (→ Mapping: PQI (→ p. 81))
84...99 Port X03: Diagnostic, vendor ID, device ID, events (→ Mapping: IO-Link port information (→ p. 82))
100...101 Port X04: PQI (→ Mapping: PQI (→ p. 81))
102...117 Port X04: Diagnostic, vendor ID, device ID, events (→ Mapping: IO-Link port information (→ p. 82))
118 Port X01: Input data IO-Link (n bytes)
118+n Port X02: Input data IO-Link (n bytes)
118+2n Port X03: Input data IO-Link (n bytes)
118+3n Port X04: Input data IO-Link (n bytes)
Legend:
n = [2,4,8,16,32]; is determined by the parameter [Process_Data_Length] (→ Configuration Assembly (Instance 199) (→ p. 74))
77
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Byte Content
0...1 X01...X04: Digital Input - pin 2 / 4 (DI) (→ Mapping: digital input data (DI) (→ p. 80))
2...3 Status information (→ Mapping: Status information (→ p. 80))
4...45 Acyclic commando area: Response channel (→ Response channel (→ p. 89))
46...47 Port X01: PQI (→ Mapping: PQI (→ p. 81))
48...49 Port X02: PQI (→ Mapping: PQI (→ p. 81))
50...51 Port X03: PQI (→ Mapping: PQI (→ p. 81))
52...53 Port X04: PQI (→ Mapping: PQI (→ p. 81))
54 Port X01: Input data IO-Link (n bytes)
54+n Port X02: Input data IO-Link (n bytes)
54+2n Port X03: Input data IO-Link (n bytes)
54+3n Port X04: Input data IO-Link (n bytes)
Legend:
n = [2,4,8,16,32]; is determined by the parameter [Prozess Data Length] (→ Configuration Assembly (Instance 199) (→ p. 74))
78
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Byte Content
0...1 Port X01...X04: Digital input - <IOL_Klmme_Pin> 2 / 4 (DI) (→ Mapping: digital input data (DI) (→ p. 80))
2...3 Status information (→ Mapping: Status information (→ p. 80))
4...5 Port X01: PQI (→ Mapping: PQI (→ p. 81))
6...7 Port X02: PQI (→ Mapping: PQI (→ p. 81))
8...9 Port X03: PQI (→ Mapping: PQI (→ p. 81))
10...11 Port X04: PQI (→ Mapping: PQI (→ p. 81))
12 Port X01: Input data IO-Link (n bytes)
12+n Port X02: Input data IO-Link (n bytes)
12+2n Port X03: Input data IO-Link (n bytes)
12+3n Port X04: Input data IO-Link (n bytes)
Legend:
n = [2,4,8,16,32]; is determined by the parameter [Prozess Data Length] (→ Configuration Assembly (Instance 199) (→ p. 74))
79
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
reserved reserved reserved reserved X04: pin 4 X03: pin 4 X02: pin 4 X01: pin 4
reserved reserved reserved reserved X04: pin 2 X03: pin 2 X02: pin 2 X01: pin 2
Legend:
[pin 4] Signal level on pin 4 of the IO-Link port 1 bit 0x0 LOW
0x1 HIGH
[pin 2] Signal level on pin 2 of the IO-Link port 1 bit 0x0 LOW
0x1 HIGH
>
0x1 UA available
80
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Mapping: PQI
11015
reserved Wrong PD Wrong PD Wrong Wrong Invalid Data Device Conn IOL Mode
Output Length Input Length Cycle Time VID / DID Bit
reserved
Legend:
[IOL Mode] Operating mode of the IO-Link port 1 bit 0x0 else
0x1 IO-Link
[Dev Conn] Connection between IO-Link Device and 1 bit 0x0 not connected
IO-Link port
0x1 connected
[Invalid Data] Status of the process input data on the 1 bit 0x0 gültige Daten
IO-Link port
0x1 ungültige Daten
[Wrong VID/DID] Evaluation, whether actual and projected 1 bit 0x0 OK
Vendor ID and Device ID match
0x1 wrong VID and/or DID
[Wrong Cycle Time] Evaluation, whether actual and projected 1 bit 0x0 OK
cycle time match
0x1 wrong cycle time
[Wrong Length PD IN] Evaluation, whether actual and projected 1 bit 0x0 OK
input process data length match
0x1 projected length too small
[Wrong Length PD OUT] Evaluation, whether actal and projected 1 bit 0x0 OK
output process data length match
0x1 projected length too small
81
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
82
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
0x5... reserved
0x7
[Event m: Code] Code: Event code; device-dependent 2 Byte depends on device (→ IODD
Code = 0x1234 instructionsof the IO-Link device)
Code (MSB) = 0x12
Code (LSB) = 0x34
83
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Byte Content
0 Port X01...X04: Digital output pin 4 (DO) (→ Mapping: Digital output data (→ p. 86))
1 reserved
2 reserved
3 reserved
4...45 Acyclic command area: Request channel (→ Request channel (→ p. 88))
46 Port X01: Output data IO-Link (n bytes)
46+n Port X02: Output data IO-Link (n bytes)
46+2n Port X03: Output data IO-Link (n bytes)
46+3n Port X04: Output data IO-Link (n bytes)
Legend:
n = [2,4,8,16,32]; is determined by the parameter [Process_Data_Length] (→ Configuration Assembly (Instance 199) (→ p. 74))
84
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Byte Content
0 Port X01...X04: Digital Output - pin 4 (DO) (→ Mapping: Digital output data (→ p. 86))
1 reserved
2 Port X01: Output data IO-Link (n bytes)
2+n Port X02: Output data IO-Link (n bytes)
2+2n Port X03: Output data IO-Link (n bytes)
2+3n Port X04: Output data IO-Link (n bytes)
Legend:
n = [2,4,8,16,32]; is determined by the parameter [Process_Data_Length] (→ Configuration Assembly (Instance 199) (→ p. 74))
85
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
reserved reserved reserved reserved X04: pin 4 X03: pin 4 X02: pin 4 X01: pin 4
Legend:
[pin 4] Signal level on pin 4 of the IO-Link port 1 Bit 0x0 LOW
0x1 HIGH
86
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
In the cyclic process data, command channels for the transmission of acyclic data is available.
Output assembly Request channel (field bus PLC >>> IO-Link master) 4...45 r/w
→ Request channel (→ p. 88)
Input assembly Response channel (IO-Link master >>> fieldbus PLC) 4...45 r
→ Response channel (→ p. 89)
Legend:
r = only read access rights
r/w = read and write access rights
87
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Request channel
17657
Byte Content
88
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Response channel
8468
Byte Content
89
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
[Data (byte 0) or User data (byte 0) or error codes 1 byte User data: 0x00...0xFF
diagnostic data] Error codes: → Error codes (→ p. 90)
>
Error codes
15475
0x71 Service not available (unknown command has been sent to the IO-Link port)
0x72 Port blocked (another cyclic process accesses the IO-Link port)
0x74 Invalid data (wrong parameter has been sent in the command)
0x76 Wrong port (wrong port number)
0x77 Wrong port function (wrong port function or wrong parameter has been sent to the device)
0x78 Invalid length (set length is > 0x20)
0x80 Error in the device application; observe add. error codes (error codes: → description of IODD of the IO-Link
device)
90
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Acyclic commands
91
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
The command changes the operating mode of an IO-Link port of the AL1320.
>
Command request
22990
92
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Command response
8039
93
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
The command sets the behaviour of the IO-Link master when connecting a new IO-Link device to an
IO-Linkport of the device.
>
Command request
7337
94
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Command response
20764
95
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
The command sets the behaviour of the outputs when the EtherNet/IP connection and the
corresponding fail-safe values are interrupted.
>
Command request
23527
96
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Command response
23529
97
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
dec hex
01 01 Get Attribute All Read all attribute values of the class or instance
02 02 Set Attribute All Change all attribute values of the class or instance
05 05 Reset Reset
09 09 Delete Delete
14 0E Get Attribute Single Read single attribute value of the class or instance
16 10 Set Attribute Single Change single attribute value of the class or instance
75 4B Read ISDU Read ISDU
76 4C Write ISDU Write ISDU
78 4E Forward Close Close connection
84 54 Forward Open Open new connection
98
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
dec hex
99
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
The Identity Object contains the general information about the device.
>
Class attributes
23648
>
Instance attributes
23649
>
100
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
Supported services
23667
dec hex
If an Identity Object receives a reset request, it carries out the following actions:
It checks if it supports the requested reset type.
It responds to the request.
It tries to execute the requested reset type.
101
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
The Message Router Object provides an access with which an EtherNet/IP client can address a
service to any object class or instance in the physical device.
>
Class attributes
23695
>
Instance attributes
23696
Supported services
23697
dec hex
14 0E Get_Attribute_Single yes no Read single attribute value
102
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
The Assembly Object combines attributes of several objects to allow data to be sent to or received
from each object via one connection.
>
Class attributes
23691
>
Instance attributes
23692
>
Supported services
23693
dec hex
14 0E Get_Attribute_Single yes yes Read attribute value
16 10 Set_Attribute_Single no yes Change attribute value
103
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
The Connection Manager Object structures and manages the internal resources that are used for the
connection.
>
Class attributes
23699
>
Instance attributes
23696
Supported services
23701
dec hex
14 0E Get_Attribute_Single yes yes Read single attribute
16 10 Set_Attribute_Single no yes Change single attribute
78 4E Forward_Close yes no Close connection
84 54 Forward_Open yes no Open new connection
104
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
The Device Level Ring (DLR) Object represents the interface for configuration and status information.
>
Class attributes
23658
>
Instance attributes
23659
Supported services
23660
dec hex
105
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Quality of Service (QoS) enables prioritising of Ethernet frames. The priorities of the Ethernet frames
can be influenced with the attributes "Differentiate Service Code Points" (DSCP) or "802.1Q Tag".
>
Class attributes
23662
>
Instance attributes
23663
>
Supported services
23664
dec hex
106
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
The manufacturer-specific object "IO-Link Requests" enables read and write access to the IO-Link
objects of an IO-Link device connected to a AL1320 via ISDU (Index Service Data Unit). The object
projects the mechanisms of the CIP addressing on the IO-Link protocol.
>
Class attributes
23668
>
Instance attributes
23669
The required IO-Link port of the device is addressed via the instance attribute.
>
Supported services
23670
dec hex
107
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Read_ISDU
23118
Read Request
23702
Attribute determines the IO-Link port to which the IO-Link device is connected. The area "User
Specific Service Data" contains the IO-Link index and the IO-Link sub-index of the IO-Link object
whose value is to be read:
>
Read response
23114
Positive response
If the service has been executed successfully (Error Code = 0), the read data are returned bit by bit
(User Specific Service Data). The answer has the following format:
CIP format Data type MSG Config IO-Link mapping
Class ID UINT 0x80 IO-Link acyclic access
Instance ID UINT 0x01 IO-Link master
Attributes USINT 0x01...0x08 Port number
Service code ID USINT 0x4C Read response
Error code USINT 0x00 --
Extended error code USINT 0x00 --
User specific service data USINT e.g. 0xAB Data (byte 0)
USINT e.g. 0xCD Data (byte 1)
... ...
USINT e.g. 0xEF Data (byte n)
The read data is in the IO-Link format. If necessary, the user needs to adapt the byte
arrangement of the read data to the CIP format.
108
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
Negative response
If an error occurs while executing the service (Error Code <> 0), an extended error code is transmitted.
The answer has the following format:
CIP format Data type MSG Config IO-Link mapping
Class ID UINT 0x80 IO-Link acyclic access
Instance ID UINT 0x01 IO-Link master
Service code ID USINT 0x4B Read response
Attributes USINT 0x01...0x08 port number
Error code USINT <> 0x00 --
Extended error code USINT 0x00 --
User specific service data USINT IO-Link error code (if error code = 0x1E)
USINT Additional code (if error code = 0x1E)
Error code:
Code Description
0x02 Resource not available: The IO-Link port is busy processing another acyclic service.
0x05 Invalid class ID or instance ID
0x08 Wrong service ID: only service code 0x4B or 0x4C is permitted
0x09 Wrong attribute ID: wrong port number
0x20 Invalid parameter value (e.g. invalid length)
0x1E Embedded service, error: Error occurred during an IO-Link service. Byte 0 and byte 1 of the User Specific Service
Data contain the IO-Link error code and an additional code that are returned by the IO-Link master (see below).
109
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
From this, the following results for the configuration of the EtherNet/IP command Message (MSG):
CIP format Data type MSG Config Description
Class ID UINT 0x80 IO-Link acyclic access
Instance ID UINT 0x01 IO-Link master
Attributes USINT 0x02 Port number
Service code ID USINT 0x4B Service "ISDU_Read"
User specific service data UINT 0x005A IO-Link ISDU object index
USINT 0x03 IO-Link ISDU object sub-index
After successful execution of the request, the response area has the following content:
CIP format Data type MSG Config Description
Class ID UINT 0x80 Object class "IO-Link Requests"
Instance ID UINT 0x01 IO-Link master
Attributes USINT 0x02 Port number
Service code ID USINT 0x4B Service "ISDU_Read"
Error code USINT 0x00 Request processed successfully
Extended error code USINT 0x00 --
User specific service data USINT e.g. 0x12 Parameter value that has been read (byte 0)
USINT e.g. 0x34 Parameter value that has been read (byte 1)
If an error occurs while the request is executed, the response area has the following content:
CIP format Data type MSG Config Description
Class ID UINT 0x80 Object class "IO-Link Requests"
Instance ID UINT 0x01 IO-Link master
Attributes USINT 0x02 Port number
Service code ID USINT 0x4B Service "ISDU_Read"
Error code USINT 9x1E Error code: Embedded service error
Extended error code USINT 0x00 --
User specific service data USINT e.g. 0x04 IO-Link error code: wrong parameter
USINT e.g. 0x27 Additional code
110
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Write_ISDU
23111
Write Request
23703
Attribute determines the IO-Link port to which the IO-Link device is connected. The area "User
Specific Service Data" contains the IO-Link index, the IO-Link sub-index of the IO-Link object whose
value is to be changed. It is followed, bit by bit, by the value that is to be assigned to the parameter.
>
Write response
23115
Positive response
If the service has been executed successfully (Error Code = 0), the area "User Specific Data" stays
empty The answer has the following format:
CIP format Data type MSG Config IO-Link mapping
Class UINT 0x80 IO-Link acyclic access
Instance UINT 0x01 IO-Link master
Attribute USINT 0x01...0x08 Port number
Service code ID USINT 0x4C Service "ISDU_Write"
Error code USINT 0x00 --
Extended error code USINT 0x00 --
111
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
Negative response
If an error occurs while executing the service (Error Code <> 0), an extended error code is transmitted.
The answer has the following format:
Error code:
Code description
0x02 Resource not available: The IO-Link port is busy processing another acyclic service.
0x05 Invalid class ID or instance ID
0x08 Wrong service ID: only service code 0x4B or 0x4C is permitted
0x09 Wrong attribute ID: wrong port number
0x20 Invalid parameter value (e.g. invalid length)
0x1E Embedded service, error: Error occurred during an IO-Link service. Byte 0 and byte 1 of the User Specific Service
Data contain the IO-Link error code and an additional code that are returned by the IO-Link master (see below).
112
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
From this, the following results for the configuration of the EtherNet/IP command Message (MSG):
CIP format Data type MSG Config Description
Class ID UINT 0x80 IO-Link acyclic access
Instance ID UINT 0x01 IO-Link master
Attributes USINT 0x03 Port number
Service code ID USINT 0x4C Service "ISDU_Write"
User specific service data UINT 0x005B IO-Link ISDU object index
USINT 0x05 IO-Link ISDU object sub-index
USINT 0xAB New parameter value (MSB)
USINT 0xCD New parameter value (LSB)
After successful execution of the request, the response area has the following content:
CIP format Data type MSG Config Description
Class ID UINT 0x80 Object class "IO-Link Requests"
Instance ID UINT 0x01 IO-Link master
Attributes USINT 0x03 Port number
Service code ID USINT 0x4B Service "ISDU_Write"
Error code USINT 0x00 Request processed successfully
Extended error code USINT 0x00 --
If an error occurs while the request is executed, the response area has the following content:
CIP format Data type MSG Config Description
Class ID UINT 0x80 Object class "IO-Link Requests"
Instance ID UINT 0x01 IO-Link master
113
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
TCP/IP Interface Object enables the configuration of the physical network interface of the device.
>
Class attributes
23647
>
Instance attributes
23650
Attr.
ID Access Name Data type Description Preset
1 Get Status DWORD Status of the TCP/IP interface
Bit Configuration status of the
0...3 interface
Bit 4 Mcast pending (always 0)
Bit 5 Interface configuration pending
Bit 6 ACD Status
Bit 7 ACD Fault
Bit reserved
8...31
2 Get Configuration Capability DWORD Functions of the interface (flags) 0x95
(BOOTP,DHCP
Bit 0 BOOTP Client Client,TCP/IP
Bit 1 reserved configurable,
ACD capable)
Bit 2 DHCP Client
Bit 3 reserved
Bit 4 TCP/IP configurable via
EtherNet/IP
Bit 5 reserved
Bit 6 reserved
Bit 7 ACD Capable
Bit reserved
8...31
3 Get/Set Configuration Control DWORD Interface control (control flags): 0
Bit Start-up configuration
0...3
0 Static IP configuration
1 Configuration via BOOTP
2 Configuration via DHCP
Bit 4 reserved
Bit reserved
5...31
114
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
Attr.
ID Access Name Data type Description Preset
4 Get Physical Link Object path STRUCT: Logical path to the physical communication
interface: the Ethernet Link object
Path Size UINT Length (in Little Endian Format as WORD) 02 00
Path Padded Path 20 F6 24 01
EPATH
Class ID = 0xF6 Ethernet Link Object
Instance ID = 1
5 Get/Set Interface Configuration STRUCT: TCP/IP configuration
IP Address UDINT IP adress 192.168.1.250
Network mask UDINT Subnet mask 255.255.255.0
Gateway address UDINT Default gateway address 0.0.0.0
Name Server UDINT 1. Name Server 0.0.0.0
Name Server 2 UDINT 2. Name Server 0.0.0.0
Domain Name STRING Default domain name 0
6 Get, Host name STRING Host name 0
Set
0 no name configured
8 Get TTL value TTL value 1
9 Get Mcast Config 0
10 Get/Set SelectAcd BOOL activate ACD 1
0 deactivate
1 activate
11 Get/Set Last Conflict Detected STRUCT: Structure with information via the latest 0
detected conflict
USINT Condition of the ACD activity with the latest
detected conflict
0 Noconflictdetetcted
1 Probelpv4Address
2 OngoingDetection
3 SemiActiveProbe
ARRAY of MAC address
6 USINT
ARRAY of Copy of the data of the ARP PDU in which
28 USINT the conflict was detected
13 Get/Set Encapsulation Inactivity UINT Inactivity before the TCP connection is 120
Timeout deactivated (in seconds)
>
Supported services
23666
dec hex
01 01 Get_Attribute_All no yes Read all attributes
14 0E Get_Attribute_Single yes yes Read single attribute
16 10 Set_Attribute_Single no yes Change single attribute
>
115
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
The Ethernet Link Object contains status information of the Ethernet interface.
>
Class attributes
23645
>
Instance attributes
23646
116
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix EtherNet/IP
>
Supported services
23665
dec hex
117
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
>
118
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
>
Profile: deviceinfo
17135
>
119
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
Profile: devicetag
17438
>
Profile: iolinkmaster
14997
120
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
>
Profile: parameter
16545
The profile is used to mark the elements of type data as parameters (acyclic data). The profile defines
no substructure.
>
Profile: processdata
16569
The profile is used to mark the elements of type data as process data (cyclic data). The profile does
not define a substructure.
>
Profile: service
16575
>
Profile: software
10999
>
Profile: timer
10997
121
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
>
Name Description
structure Element is a structure element (like a folder in a file system)
service Element is a service that can be addressed from the network
event Element is an event that can be started by the firmware and sends messages.
data Element is a data point
device Root element a device represents
122
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
>
Service: factoryreset
12188
Name: factoryreset
Description: The service sets the parameters of the device to the factory settings.
Applicable to: different objects
Request data: none
Return data (data): none
>
Service: gettree
17435
Name: gettree
Description: The service reads the complete device description of the AL1320 and provides it as
JSON object.
Applicable to: Objects of the device type
Request data: none
Return data (data):
Data field Required Data type Default Description
field
123
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
>
Service: getdata
12223
Name: getdata
Description: Service reads the value of a data point and provides it.
Applicable to: Objects of the data type
Request data: none
Return data (data):
Data field Required Data type Default Description
field
Example: {"code":10,"cid":4711,"adr":"devicetag/applicationtag/getdata"}
>
Service: getdatamulti
17964
Name: getdatamulti
Description: The service sequentially reads the values of several data points and provides them. The
value and the diagnostic code are provided for each data point.
Applicable to: Objects of the data type
Request data:
Data field Required Data type Default Description
field
datatosend mandatory ARRAY List of data points to be requested; data points must support
OF the service getdata
STRINGS
consistent optional BOOL false
124
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
>
Service: getidentity
17134
Name: getidentity
Description: The service reads the complete device description of the AL1320 and provides it as
JSON object.
Applicable to: Objects of the device type
Request data: none
Return data (data):
Data field Required Data type Default Description
field
iot device Device description as JSON object
iot.name mandatory STRING
iot.uid optional STRING
iot.version mandatory STRING
>
Service: getsubscriptioninfo
17436
Name: getsubscriptioninfo
Description: The service provides information about an existing subscription (subscribe).
Applicable to: Objects of the event type
Request data:
Data field Required Data type Default Description
field
125
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
>
Service: iolreadacyclic
12222
Name: iolreadacyclic
Description: The service acyclically reads the parameter value of an IO-Link device. It is accessed via
IO-Link index and subindex.
Applicable to: IO-Link specific objects
Request data:
Data field Required Data type Default Description
field
>
Service: iolwriteacyclic
11035
Name: iolwriteacyclic
Description: The service acyclically writes the parameter value of an IO-Link device. It is accessed
via IO-Link index and subindex.
Applicable to: IO-Link specific objects
Request data:
Data field Required Data type Default Description
field
index mandatory NUMBER IO-Link index of the parameter
subindex mandatory NUMBER IO-Link subindex of the parameter
value mandatory STRING New value of the parameter; Value in hexadecimal format
Service: reboot
10986
Name: reboot
Description: The service reboots the device.
Applicable to: different objects
Request data: none
Return data (data): none
126
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
>
Service: setblock
12224
Name: setblock
Description: The service simultaneously sets the values of several data points of a structure.
Applicable to: Objects of the data type
Request data:
Data field Required Data type Default Description
field
datatosend mandatory ARRAY OF List of data points and their new values; data points must
(STRINGS) support the service setdata
consistent optional BOOL false
Example:
{
"code":10,
"cid":4711,
"adr":"/iotsetup/network/setblock",
"data":{"consistent":true,"datatosend":["ipaddresse":"192.168.0.6","ipdefaultgatew
ay":"192.168.0.250"]}
}
>
Service: setdata
11036
Name: setdata
Description: The service sets the value of the data point.
Applicable to: Objects of the data type
Request data:
Data field Required Data type Default Description
field
127
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
>
Service: setelementinfo
7159
Name: setelementinfo
Description: The service sets the uid of an element.
Applicable to: Objects of the device type
Request data:
Data field Required Data type Default Description
field
>
Service: signal
25406
Name: signal
Description: Der Dienst löst das Blinken der Status-LEDs des AL1320 aus.
Applicable to: various objects
Request data (data): none
Return data (data): none
128
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Appendix ifm IoT Core
>
Service: subscribe
10920
Name: subscribe
Description: The service subscribes to the values of data points. The data points to be subscribed are
transferred as a list. The IO-Link master sends changes to the data drain defined in callback.
Applicable to: Objects of the event type
Request data:
Data field Required Data type Default Description
field
callback mandatory STRING Address to which IoT Core event notifications are to be
sent; complete URL: http://ipaddress:port/path
datatosend mandatory ARRAY List from URLs of data elements; elements have to support
OF getdata
STRINGS
Service: unsubscribe
16567
Name: unsubscribe
Description: The service deletes an existing subscription. unsubcribe is successful if cid and the
callback address are registered for a subscription (subscribe). If the STRING "DELETE" is provided in
callback, the IO-Link master deletes all active subscriptions.
Applicable to: Objects of the event type
Request data:
Data field Required Data type Default Description
field
callback mandatory STRING Address to which IoT Core event notifications are to be
sent; complete URL: http://ipaddress:port/path
129
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Index
130
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Index
131
ifm Operating Instructions IO-Link Master with EtherNet/IP interface DataLine 4 Ports IP 65 / IP 66 / IP 67 (AL1320) 05 / 2018
Index
W
Web interface
Read device and diagnostic information....................................................... 63
Write cyclic output data .........................................................................56
Write Request ......................................................................................111
Write response.....................................................................................111
Write_ISDU ..........................................................................................111
132