IFM AL1332 Operating Instructions Manual

IFM AL1332 Operating Instructions Manual

Io-link master with ethercat interface dataline 8 ports ip 65 / ip 66 / ip 67
Table of Contents

Advertisement

>
>
Operating Instructions
IO-Link Master with EtherCAT Interface
DataLine
8 Ports
IP 65 / IP 66 / IP 67
AL1332
HW Revision: AB
Firmware: 2.3.x
LR DEVICE: 1.5.0.x
English

Advertisement

Table of Contents
loading

Summary of Contents for IFM AL1332

  • Page 1 > > Operating Instructions IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 AL1332 HW Revision: AB Firmware: 2.3.x LR DEVICE: 1.5.0.x English...
  • Page 2: Table Of Contents

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Contents Preliminary note Legal and copyright information ................... 5 Purpose of the document ..................... 5 Explanation of Symbols ....................... 6 Modification history ......................6 Safety instructions General ..........................
  • Page 3 Read / write cyclic process data ....................50 9.2.10 Control IO-Link master ....................... 51 9.2.11 Read diagnostic data of the AL1332 ..................53 9.2.12 Read device information of the IO-Link master ................54 9.2.13 Read information about IO-Link devices ..................54 9.2.14...
  • Page 4 Parameter data ........................... 84 13.2.2 Cyclic data ..........................85 13.2.3 Acyclic data ..........................86 13.2.4 Events ............................96 13.3 ifm IoT Core ........................100 13.3.1 Overview: IoT profile ........................ 101 13.3.2 Overview: IoT types ........................106 13.3.3 Overview: IoT services ......................107 Index...
  • Page 5: Preliminary Note

    Legal and copyright information 33117 © 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: ...
  • Page 6: Explanation Of Symbols

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Explanation of Symbols 34171 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...
  • Page 7: Safety Instructions

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Safety instructions Content General ..............................7 Required background knowledge ......................7 Safety symbols on the device ........................7 IT safety ..............................8 Tampering with the unit ..........................8 28333 >...
  • Page 8: It Safety

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 IT safety 54678 NOTICE! If the device is operated in an unprotected network environment. > Unauthorised read or write access to data is possible. >...
  • Page 9: Intended Use

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Intended use Content Permitted use ............................9 Prohibited use ............................9 34079 > Permitted use 34209 The IO-Link master serves as a gateway between intelligent IO-Link devices and the EtherCAT network.
  • Page 10: Function

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Function Content Communication, parameter setting, evaluation ..................11 Digital inputs ............................12 IO-Link supply ............................12 33836...
  • Page 11: Communication, Parameter Setting, Evaluation

    IO-Link master (IO-Link revision 1.0 and 1.1)  8 IO-Link ports for connection of IO-Link devices  Provision of process data of the connected IO-Link devices for LR SMARTOBSERVER monitoring software (→ www.ifm.com) > 4.1.2 EtherCAT 33676 The device offers the following EtherCAT functions: ...
  • Page 12: Parameter Setting

    34210 The device provides the following configuration options:  Parameter setting of the IO-Link master of the AL1332 with LR DEVICE parameter setting software, EtherCAT projection software or ifm IoT-Core services.  Parameter setting of the connected IO-Link devices (sensors, actuators) with LR DEVICE parameter setting software, EtherCAT projection software or ifm IoT-Core services ...
  • Page 13: Mounting

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Mounting Content Mount the device ............................13 34058 > Mount the device 34059 ► Disconnect the system from power before installation. ► For installation choose a flat mounting surface. ►...
  • Page 14: Notes

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Electrical connection Content Notes ..............................14 EtherCAT ports ............................15 IoT port ..............................16 IO-Link ports ............................17 Connect the device ..........................19 33805 > Notes 51957 A qualified electrician must connect the unit. ►...
  • Page 15: Ethercat Ports

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 EtherCAT ports 33671 ► Connect the device via the M12 socket X21 and/or X22 to the EtherCAT network (e.g. EtherCAT PLC, additional EtherCAT device) ...
  • Page 16: Iot Port

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > IoT port 34044 ► Connect the device via the M12 socket X23 to the IT network (e.g. laptop/PC with LR DEVICE parameter setting software, laptop/PC with LR SMARTOBSERVER monitoring software, laptop/PC with software capable of processing http requests).
  • Page 17: Io-Link Ports

    > IO-Link ports 51958 The IO-Link ports of the AL1332 meet the requirements of the IO-Link specifications 1.0 to 1.1.2. ► Please note the information concerning IO-Link wiring! ► Cover unused sockets with M12 protective caps (art. no.: E73004). ...
  • Page 18: Connect Io-Link Devices For Class B Operation

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 6.4.2 Connect IO-Link devices for Class B operation 51960 Notes on wiring:  For Class B operation, the IO-Link device must be supplied with an additional auxiliary voltage UA using a Y connection cable.
  • Page 19: Connect The Device

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Connect the device 33882 ► Disconnect power. ► Connect the IO-Link Master via M12 socket X31 to 24 V DC (20...30 V SELV/PELV; according to EN61010-1, secondary circuit with maximum 30 V DC supplied by mains circuit up to 300 V of overvoltage category II).
  • Page 20: Operating And Display Elements

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Operating and display elements Content Overview ..............................20 LED indicators ............................21 34063 > Overview 34052 RDY, RUN and ERR status LEDs → Status LEDs (→ S. 21) Status LEDs L/A of the EtherCAT interfaces 1 (X21) and 2 (X22) →...
  • Page 21: Led Indicators

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > LED indicators 34047 The device only has the following LED indicators: > 7.2.1 Status LEDs 34198 The RDY LED indicates the status of the gateway. The RUN LED indicates the current state of the EtherCAT state machine.
  • Page 22: Ethercat Interface

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 7.2.2 EtherCAT interface 33682 Each EtherCAT interface (X21, X22) has 1 L/A LED. The LED indicates the status of the Ethernet connection. Status LED Description green Ethernet connection established...
  • Page 23: Io-Link Ports (Class A)

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 7.2.5 IO-Link ports (Class A) 34074 Each IO-Link port Class A has 2 LEDs marked as IOL and DI. The LEDs indicate the status of the IO-Link port.
  • Page 24: Set-Up

    (→ Operating and display elements (→ S. 20)). To enable parameter setting of the AL1332, the IoT interface and / or the fieldbus interface must be configured according to the network environment. ► Configure fieldbus interface (→...
  • Page 25: Read Device And Diagnostic Information

    ► Connect laptop/PC and AL1332 via the Ethernet internet. ► Start web browser. ► Enter the IP address of the AL1332 into the address field of the browser and press [ENTER] to confirm. > Web browser shows the web interface of the device.
  • Page 26: Configuration

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Configuration Content LR DEVICE .............................27 ifm IoT Core ............................38 EtherCAT ..............................63 33858...
  • Page 27: Lr Device

    Firmware: Reset device to factory settings ....................36 Firmware: Reboot the device........................36 Configure IO-Link devices ........................37 33692 On delivery, the AL1332 is configured with the factory settings (→ Factory settings (→ S. 76)). Required software: LR DEVICE (1.5.0.x or higher) (art.-no.: QA0011/QA0012)
  • Page 28: Remarks

    IO-Link master and the connected IO-Link devices without being connected to the AL1332 (OFFLINE mode). The configuration created in this way can be stored as a file (*.lrp) and loaded to the AL1332 and activated at a later date.
  • Page 29: Iot: Configure Ip Settings

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.1.2 IoT: Configure IP settings 34049 For access to the IO-Link master via the IT infrastructure the user has to set the IP settings of the IoT port.
  • Page 30: Iot: Configure Security Mode

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.1.3 IoT: Configure security mode 54680 The IoT interface of the IO-Link offers a security mode. It enables secure data transmission via transport encryption and restriction of the access to IO-Link masters and IO-Link devices via user authentication.
  • Page 31: Iot: Configure Access Rights

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.1.4 IoT: Configure access rights 34046 The access rights define which instance may read and / or write the parameter data, process data and event/diagnostic messages.
  • Page 32: Iot: Configure The Interface To Lr Agent Or Lr Smartobserver

    2147483647 2147483647 ms [Application Tag] Source identifier of the IO-Link master in the Factory setting: AL1332 structure of LR AGENT or LR SMARTOBSERVER (String32) After changing the parameter [Port LR Agent or SMARTOBSERVER] or [Application Tag], it may take 120 seconds before the device establishes a new TCP connection.
  • Page 33: Io-Link Ports: Activate Data Transfer To Lr Agent Or Lr Smartobserver

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 9.1.7 IO-Link ports: Activate data transfer to LR AGENT or LR SMARTOBSERVER 33690 The user can decide separately for each IO-Link port whether the process data of the connected IO-Link devices should be transferred to LR AGENT or LR SMARTOBSERVER.
  • Page 34: Io-Link Ports: Configure Operating Mode

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.1.8 IO-Link ports: Configure operating mode 33694 The IO-Link ports X01...X08 of the device support the following operating modes:  Digital input (DI): binary input signal at pin 4 (C/Q) of the IO-Link port ...
  • Page 35: Io-Link Ports: Set The Device Validation And Data Storage

    Restore] [Vendor ID] ID of the manufacturer that is to be validated 0...65535 Factory setting: 0# ifm electronic: 310 [Device ID] ID of the IO-Link device that is to be validated 0...16777215 Factory setting: 0 ► Save changed values on the device.
  • Page 36: Info: Show Device Information

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.1.10 Info: Show device information 34065 To read the general information of the ifm IO-Link master: ► Select [Info] menu. > The menu page shows the current settings. Name...
  • Page 37: Configure Io-Link Devices

    ► 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). Configure IO-Link device ► Mouse click on the port to which the IO-Link device is connected.
  • Page 38: First Steps

    9.2.1 First steps 52245 To read the device description of the AL1332: ► Send the following POST request to the AL1332: {"code":"request","cid":-1,"adr":"gettree"} > AL1332 returns the device description as structured JSON object. ► Identify all substructures and the data points contained therein in the tree structure of the JSON object.
  • Page 39: General Functions

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.2.2 General functions 52246 The AL1332 is of type device (→ Overview: IoT types (→ S. 106)). Besides gettree, the following services can be applied to the root element of type device. Service Description ../getidentity...
  • Page 40: Configure Iot Interface

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.2.3 Configure IoT interface 33888 Via the IoT interface the AL1332 wil be integrated in the IT network. Substructure: iotsetup Avalable data points: Name Description Access ../accessrights...
  • Page 41: Iot Interface: Configure Security Mode

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.2.4 IoT interface: Configure security mode 54683 The access to the IoT interface of the IO-Link master can be protected with a security mode: Sub-structure: iotsetup Available data points: Name...
  • Page 42 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Example: Activate security mode 54701 Task: Activate the security mode of the IO-Link interface of the IO-Link master. Set the password "password" (Base64 coded: cGFzc3dvcmQ=) Solution: The activation sonsists of 2 steps: Activate security mode Use service setdata with datapoint iotsetup/security/securitymode to activate the security mode.
  • Page 43 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Example: Request with authentication 54685 Task: The temperature of the IO-Link master is to be read. The security function is enabled (current password: password). Solution: Read the data point processdatamaster/temperature with the getdata service.
  • Page 44: Configure The Fieldbus Port

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.2.5 Configure the fieldbus port 33892 Via the fieldbus interface (ports X21 / X22) the AL1332 will be integrated in the EtherCAT network. Substructure: fieldbussetup Available data points: Name Description Access ../hostname...
  • Page 45: Configure Io-Link Ports

    Start sequential transmission of several data segments > Fail-safe values of the IO-Link ports 52521 The AL1332 has no failsafe function for the outputs of the IO-Link ports. If the fieldbus connection is interrupted, the last used output values are written and marked as invalid.
  • Page 46 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Example: Clone the Data Storage of an IO-Link port 52344 Task: Save the Data Storage of IO-Link port X02 of IO-Link master 1 and restore the data at IO-Link master 2.
  • Page 47: Configure Io-Link Devices

    9.2.7 Configure IO-Link devices 52249 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). Substructure: iolinkmaster/port[n]/iolinkdevice (n = 1...8) Applicable services:...
  • Page 48 Example: Change the parameter value of an IO-Link device 33844 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.
  • Page 49: Set Application Identification

    > Example: Change name of the IO-Link master a33823 Task: Set the name of the IO-Link master to AL1332 for the representation in the LR SMARTOBSERVER. Solution: Change the parameter [Application Tag] with the setdata service to the value [AL1332].
  • Page 50: Read / Write Cyclic Process Data

    Example: Read process data of an IO-Link device 33842 Task: Read the current measured value of the ifm temperature sensor TN2531 at IO-Link port X02 Solution: Read the data point for the process input data with the getdata service. ...
  • Page 51: Control Io-Link Master

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.2.10 Control IO-Link master 52251 Different services and management functions can be carried out on the IO-Link master. Substructure: firmware Available data points: Name Description Access...
  • Page 52 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Example: Update firmware 52252 Task: Update the firmware of the device; size of the firmware file: 356676 bytes Solution: The firmware is transferred to the device in fragments (chunks). The size of the fragments depends on the size of the flash memory of the IO-Link master.
  • Page 53: Read Diagnostic Data Of The Al1332

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.2.11 Read diagnostic data of the AL1332 52253 The user can read diagnostic data of the status of the IO-Link masters. Substructure: processdatamaster...
  • Page 54: Read Device Information Of The Io-Link Master

    ../bootloaderrevision Bootloader version ../extensionrevisions Firmware and bootloader version ../fieldbustype Fieldbus r ... read only Additional information about the AL1332 can be read with the getidentity service (→ Service: getidentity (→ S. 110)). > 9.2.13 Read information about IO-Link devices 52339 The user can obtain information about the IO-Link devices connected to the IO-Link ports.
  • Page 55: Subscribe To Events

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.2.14 Subscribe to events 52255 If a data point has the subelement datachanged, the user can subscribe to events. Available data points: Name Description Access timer[n]/counter...
  • Page 56 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Example: Subscribe to event 33853 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.
  • Page 57: Mqtt Support

    9.2.15 MQTT support 54699 The AL1332 can operate as a client in a MQTT-based communication environment. By using the subscribe service it is possible to send messages to a MQTT broker (PUBLISH). > Example: Publish the temperature to an MQTT broker...
  • Page 58: Programmers' Notes

    IoT Core: General information 52256 The DataLine device family has an IoT Core. The IoT Core allows the user to address the AL1332 from IT networks via a REST API and to integrate it into Internet-of-Things applications. A device description is stored on the AL1332. This device description is a structured, machine-readable data object in JSON format.
  • Page 59 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Access the ifm IoT Core 52257 The user can access the ifm IoT Core via HTTP requests. The following request methods are available. > GET request 33804 Using the GET method the user has read access to a data point.
  • Page 60 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > POST request 54700 Using a POST request the user has read and write access to a data point. The syntax of the request to the IoT Core is: "code":"code_id", "cid":id, "adr":"data_point/service",...
  • Page 61 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Example: POST request 54035 Request: "code":"request", "cid":4711, "adr":"devicetag/applicationtag/getdata" Response: "cid":4711, "data":{"value":"AL1332"}, "code":200...
  • Page 62 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > IoT Core: Diagnostic codes 54688 Code Text Description Request successfully processed OK but needs reboot Request successfully processed; IO-Link master must be restarted OK but block request not finished Request successfully processed;...
  • Page 63: Install Esi File

    9.3.1 Install ESI file 34067 To represent the AL1332 in a field bus projection software ifm electronic provides an ESI file (→ www.ifm.com). In the ESI file, all parameters, process data and their valid value ranges are defined. To integrate the ESI file into EtherCAT projection software TwinCAT 3.1: ►...
  • Page 64: Integrate The Io-Link Master Into The Twincat Project

    ► In the context menu: Select [Add new item...]. > Window [Insert EtherCAT Device] appears. ► Select the AL1332 in the device tree under [ifm electronic] > [ifm IO-Link master]. ► Click on [OK] to add the selected device to the project. >...
  • Page 65: Configure Io-Link Master

    Manufacturer-specific settings of the IO-Link Port Configuration (0x8000) (→ S. 91) ports X01...X08 The AL1332 has no failsafe function for the outputs of the IO-Link ports. If the fieldbus connection is interrupted, the last used output values are written and marked as invalid.
  • Page 66: Configure Cyclic Process Data

    (→ S. 64)). Integrate the IO-Link master into the TwinCAT project Open the device editor ► In the Solution Explorer: Double-click on the node of the AL1332. > The window shows the available configuration options. ► Select the tab [Slots].
  • Page 67: Read And Write Cyclic Process Data

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.3.6 Read and write cyclic process data 34217 ► To check the validity of the cyclic process data, evaluate the PQI byte (→ Mapping: Port Qualifier (0xF101) (→...
  • Page 68: Read Diagnostic And Status Information

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.3.7 Read diagnostic and status information 34222 Diagnostic and status information is accessible via the following index groups: Name (Index) Description Reference  →...
  • Page 69: Read Io-Link Events

    Diagnosis History (0x10F3) (→ S. 96)). The IO-Link Master stores a maxiumum of 64 events. The single events will be stored in a ring buffer. The AL1332 supports the following operation modes for writing the ring buffer:  Overwrite Mode: If the buffer memory is full, the oldest event will be overwritten by new incoming events.
  • Page 70: Ethercat: Programmers' Notes

    Content Use acyclic services ..........................70 33665 > Use acyclic services 34187 The AL1332 supports following services for acyclic read and write processes:  AoE - ADS over EtherCAT (→ Use ADS over EtherCAT (→ S. 70)  CoE - CANopen over EtherCAT (→...
  • Page 71 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Use CANopen over EtherCAT 34193 CoE is suited for acyclic access to the IO-Link master and the connected IO-Link devices. CoE uses the fieldbus objects "IO-Link acyclic command" (→ IO-Link Acyclic Command (0x3100) (→...
  • Page 72 The request channel is unlocked. > Next command processing can be initiated. The AL1332 can only process one CoE request at a time. If during an active request another CoE request is started, the device answers with an error (SDO abort code: 0x06090030).
  • Page 73: Maintenance, Repair And Disposal

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Maintenance, repair and disposal Content Cleaning process ............................73 Update firmware .............................74 Replace IO-Link device ..........................75 51990 The operation of the unit is maintenance-free. ► Dispose of the unit in an environmentally friendly way in accordance with the applicable national regulations when it is no longer used.
  • Page 74: Update Firmware

    ► Enter the following into the address field of the browser and confirm with [ENTER]: http://<IP address of the device>/web/update > Web browser shows the [Firmware Update] page. Load new firmware to AL1332 ► Click on [Select file]. > Dialogue window appears.
  • Page 75: Replace Io-Link Device

    ► Save changes. Replace IO-Link device ► Disconnect old IO-Link device from IO-Link master. ► Connect new IO-Link device with the same IO-Link port of the AL1332. > IO-Link master copies parameter values from the data memory to the new IO-Link device.
  • Page 76: Factory Settings

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Factory settings 33849 In the factory settings, the device has the following parameter settings: Parameter Factory setting [IP address] (IoT interface) 169.254.X.X [Subnet mask] (IoT interface) 255.255.0.0 [IP gateway address] (IoT interface) 0.0.0.0...
  • Page 77: Accessories

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Accessories 33870 List of accessories of AL1332: → www.ifm.com > Product page > Accessories...
  • Page 78: Appendix

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Appendix Content Technical data ............................79 EtherCAT ..............................83 ifm IoT Core ............................100 33879...
  • Page 79: Application

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.1 Technical data Content Application ..............................79 Electrical data ............................79 Inputs / outputs ............................79 Inputs ..............................80 Outputs ..............................80 Interfaces ..............................80 Operating conditions ..........................81 Approvals / tests .............................81 Mechanical data ............................81 Electrical connection ..........................82 34188...
  • Page 80: Inputs

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.1.4 Inputs 34069 Inputs Number of digital inputs 16; (IO-Link Port Class A: 8 x 2) Switching level high [V] 11...30 Switching level low [V] 0...5 Digital inputs protected against short circuits >...
  • Page 81: Operating Conditions

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 13.1.7 Operating conditions 34062 Operating conditions Applications Indoor use Ambient temperature [°C] -25...60 Storage temperature [°C] -25...85 Max. perm. relative air humidity [%] Max. height above sea level [m] 2000 Protection rating IP 65;...
  • Page 82: 13.1.10 Electrical Connection

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.1.10 Electrical connection 33806 Voltage supply IN X31 Plug and socket connection Wiring + 24 V DC (US) GND (US) Ethernet IN / OUT X21, X22 Plug and socket connection Wiring TX +...
  • Page 83: Ethercat

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.2 EtherCAT Content Parameter data ............................84 Cyclic data ..............................85 Acyclic data ............................86 Events ..............................96 33674...
  • Page 84: Ethercat

    ESI file 33810 To represent the AL1332 in a field bus projection software ifm electronic provides an ESI file. The EDS file can be downloaded from ifm's website. In the ESI file, all parameters, process data and their valid value ranges are defined.
  • Page 85: Cyclic Data

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.2.2 Cyclic data Content Process Data Objects (PDO) .........................85 33814 > Process Data Objects (PDO) 34204 Selection of IO-Link Port via n (n = 0: Port X01, n = 1: Port X02,...) Data type / Index Name...
  • Page 86: Acyclic Data

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.2.3 Acyclic data Content Note ................................86 MDP Standard Information (0x1000) ......................87 Manufacturer Specific Index (0x2000) ....................88 IO-Link Acyclic Command (0x3100) .......................89 IO-Link Inputs (0x6000) ..........................90 IO-Link Outputs (0x7000) ........................90 Port Configuration (0x8000) ........................91 Port Mode (0x9000) ..........................92...
  • Page 87: Mdp Standard Information (0X1000)

    Manufacturer Software Version STRING/ r 0x1018 Identity Object  Vendor ID 0x622 UINT32 / r  Product Code "AL1332" UINT32 / r  Revision Number: UINT32 / r  Serial Number UINT32 / r 0x10F8 Timestamp (value in ns) UINT64 / r r ...
  • Page 88: Manufacturer Specific Index (0X2000)

    Index Description Possible values index Access 0x2001 Component Name "EtherCAT IO-Link Gateway" STRING / r 0x2002 Vendor Name "ifm electronic" STRING / r 0x2003 Vendor URL "www.ifm.com" STRING / r 0x2004 Order Number "AL1332" STRING / r 0x2005 Manufacturing Date...
  • Page 89: Io-Link Acyclic Command (0X3100)

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 IO-Link Acyclic Command (0x3100) 33664 Selection of the IO-Link port via n (n = 0: port X01, n = 1: port X02,...) Index Sub- Description Possible values Data type /...
  • Page 90: Io-Link Inputs (0X6000)

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > IO-Link Inputs (0x6000) 33669 Input data of the IO-Link ports X01...X08 Selection of the IO-Link port via n (n = 0: port X01, n = 1: port X02,...) Index Sub- Description...
  • Page 91: Port Configuration (0X8000)

    0x04 Device ID 0x000000 UINT32 / rw 0xFFFFFF  0x05 Vendor ID 0x0000 UINT32 / rw 0xFFFF 0x136: ifm electronic  0x20 IO-Link Revision 0x10: IO-Link Revision 1.0 UINT8 / rw 0x11: IO-Link Revision 1.1  0x22 Cycle Time UINT32 / rw ...
  • Page 92: Port Mode (0X9000)

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Port Mode (0x9000) 34213 Current value of the connected IO-Link devices Selection of the IO-Link port via n (n = 0: port X01, n = 1: port X02,...) Index Sub- Description...
  • Page 93: Diagnostics Data (0Xa000)

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Diagnostics Data (0xA000) 33821 The device provides the following diagnostic data for each port: Selection of the IO-Link port via n (n = 0: port X01, n = 1: port X02,...) Index Sub- Description...
  • Page 94 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Mapping: Device Status (0xF100) 34039 Error Code Port State Legend:  [Error Code] Error code of the IO-Link Device No error Note If more than one error occure at the same time. Invalid Device ID only one error will be shown.
  • Page 95 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Mapping: Port Qualifier (0xF101) 34041 Port Qualifier Information (PQI) contains diagnostic information about the IO-Link port. In addition to the process data, the IO-Link master sends the PQI to the EtherCAT controller. DACT Legend: ...
  • Page 96: Events

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.2.4 Events Content Diagnosis History (0x10F3) ........................96 33809 > Diagnosis History (0x10F3) 33815 Index Sub- Description Possible values Datentyp / index Zugriff 0x10F3 Diagnosis History 0x01 Maximum Messages...
  • Page 97 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Index Sub- Description Possible values Datentyp / index Zugriff default if device does not support Emergency sending new diagnosis messages shall be sent as Emergency message Bit 1: Disable info messages Info messages are stored in the...
  • Page 98 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Mapping: Diagnosis Message SYS_OBJECTID> Parameter Content Possible values Data type / Access Diag Code Diagnostic code Bit 0...15: 0x0000 - not used UINT32 / r 0xDFFF 0xE000 - Bit 16...31: Manufacturer...
  • Page 99 IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Parameter Content Possible values Data type / Access 0x08 Port X08 Flags Parameter 2 Data type Parameter 2 0x0006 UINT16 UINT16 / r Parameter 2 Event Code geräteabhängig (→...
  • Page 100: Ifm Iot Core

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.3 ifm IoT Core Content Overview: IoT profile ..........................101 Overview: IoT types ..........................106 Overview: IoT services .........................107 33803...
  • Page 101: Profile: Blob

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.3.1 Overview: IoT profile Content Profile: blob ............................101 Profile: deviceinfo ..........................102 Profile: devicetag ..........................102 Profile: iolinkdevice_full ........................103 Profile: iolinkmaster ..........................103 Profile: network .............................104 Profile: parameter ..........................104 Profile: processdata ..........................104 Profile: service ............................104...
  • Page 102: Profile: Deviceinfo

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Profile: deviceinfo 34207 Element (identifier) Properties mandatory Comments  deviceinfo type = structure characterises the element as device information  profile = deviceinfo ../devicename type = data optional...
  • Page 103: Profile: Iolinkdevice_Full

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Profile: iolinkdevice_full 52265 Element (identifier) Characteristics Mandatory Comments  iolinkdevice type = structure Structure of an IO-Link device  profile = iolinkdevice_full ../vendorid type = data mandatory ../deviceid type = data...
  • Page 104: Profile: Network

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Profile: network 52266 Element (identifier) Characteristics Mandatory Comments  network type = structure Characterises the element as device information  profiles = deviceinfo  ../macaddress type = data mandatory...
  • Page 105: Profile: Software

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Profile: software 34223 Element (identifier) Properties mandatory Comments  software type = structure characterises the element as software  profile = software ../version type = data mandatory ../type type = data...
  • Page 106: Overview: Iot Types

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.3.2 Overview: IoT types 34055 The ifm IoT Core uses the following element types: Name Description structure Element is a structure element (like a folder in a file system)
  • Page 107: Service: Factoryreset

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.3.3 Overview: IoT services Content Service: factoryreset ..........................107 Service: gettree ............................108 Service: getdata ............................108 Service: getdatamulti ..........................109 Service: getidentity ..........................110 Service: getsubscriptioninfo........................111 Service: iolreadacyclic ..........................112 Service: iolwriteacyclic ..........................112 Service: reboot .............................112 Service: setblock ..........................113...
  • Page 108: Service: Gettree

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Service: gettree 34175 Name: gettree Description: The service reads the complete device description of the AL1332 and provides it as JSON object. Request data (field "data"): none Response data (field "data"): Data field...
  • Page 109: Service: Getdatamulti

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Service: getdatamulti 34174 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. Request data (field "data"): Data field Required field...
  • Page 110: Service: Getidentity

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Service: getidentity 54690 Name: getidentity Description: The service reads the device information of the AL1332 and issues it. Request data ("data" field): none Return data ("data" field): Data field Required...
  • Page 111: Service: Getsubscriptioninfo

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Service: getsubscriptioninfo 34172 Name: getsubscriptioninfo Description: The service provides information about an existing subscription (subscribe). Request data (field "data"): Data field Required field Data type Description callback...
  • Page 112: Service: Iolreadacyclic

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Service: iolreadacyclic 34178 Name: iolreadacyclic Description: The service acyclically reads the parameter value of an IO-Link device. The parameter is accessed via IO-Link index and subindex. Request data (field "data"): Data field Required field...
  • Page 113: Service: Setblock

    Description: The service sets the value of the data point. Request data (field "data"): Data field Required field Data type Description newvalue mandatory STRING New value of the element/data point Response data (field "data"): none Example: "code":"request", "cid":4711, "adr":"devicetag/applicationtag/setdata", "data":{"newvalue":"ifm IO-Link master"}...
  • Page 114: Service: Setelementinfo

    JSON array hash optional STRING > Service: signal 33819 Name: signal Description: The service starts the flashing of the status LEDs of the AL1332. Request data (field "data"): none Return data (field "data"): none Example: "code":"request", "cid":4711, "adr":"firmware/signal"...
  • Page 115: Service: Subscribe

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Service: subscribe 34194 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. Request data (field "data"): Data field Required field...
  • Page 116: Index

    IO-Link Master with EtherCAT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Index Factory settings ..................76 Fail-safe values of the IO-Link ports ..........28, 45 Fieldbus Access the ifm IoT Core ................ 59 Configure EtherCAT interface ............... 32 Accessories ................... 77 Fieldbus parameters ................84 Acyclic data .................... 86 Firmware Appendix ....................
  • Page 117 Read device and diagnostic information ..........25 Read device information of the IO-Link master ........54 Read diagnostic and status information ..........68 Read diagnostic data of the AL1332 ............. 53 Read information about IO-Link devices ..........54 Read IO-Link events ................69...

Table of Contents