IFM AL1302 Operating Instructions Manual
IFM AL1302 Operating Instructions Manual

IFM AL1302 Operating Instructions Manual

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

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading

Summary of Contents for IFM AL1302

  • Page 1 > > Operating Instructions IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 AL1302 HW Revision: AB Firmware: 2.3.x LR DEVICE: 1.5.0.x English...
  • Page 2 IO-Link Master with PROFINET 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 ....................49 9.2.10 Control IO-Link master ....................... 50 9.2.11 Read diagnostic data of the AL1302 ..................52 9.2.12 Read device information of the IO-Link master ................53 9.2.13 Read information about IO-Link devices ..................53 9.2.14...
  • Page 4 PROFINET .........................79 13.2.1 Parameter data ........................... 79 13.2.2 Cyclic data ..........................83 13.2.3 Acyclic data ..........................85 13.3 ifm IoT Core ........................88 13.3.1 Overview: IoT profile ........................89 13.3.2 Overview: IoT types ........................94 13.3.3 Overview: IoT services ....................... 95 Index...
  • Page 5 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 IO-Link Master with PROFINET 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 IO-Link Master with PROFINET 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 IO-Link Master with PROFINET 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 IO-Link Master with PROFINET 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 PROFINET network.
  • Page 10 IO-Link Master with PROFINET 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 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 PROFINET 52555 The device offers the following PROFINET functions: ...
  • Page 12 34210 The device provides the following configuration options:  Parameter setting of the IO-Link master of the AL1302 with LR DEVICE parameter setting software, PROFINET projection software or ifm IoT-Core services.  Parameter setting of the connected IO-Link devices (sensors, actuators) with LR DEVICE parameter setting software, PROFINET projection software or ifm IoT-Core services ...
  • Page 13 IO-Link Master with PROFINET 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: Table Of Contents

    IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Electrical connection Content Notes ..............................14 PROFINET 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: Profinet Ports

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

    IO-Link Master with PROFINET 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 AL1302 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 IO-Link Master with PROFINET 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 PROFINET 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 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Operating and display elements Content Overview ..............................20 LED indicators ............................21 34063 > Overview 34356 RDY, BF and SF status LEDs → Status LEDs (→ S. 21) LNK and ACT status LEDs of the PROFINET interfaces 1 (X21) and 2 (X22) →...
  • Page 21 IO-Link Master with PROFINET 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 34549 The RDY LED shows the status of the gateway. The BF LED (Bus Failure) shows the status of the PROFINET connection.
  • Page 22 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 7.2.3 IoT port 34043 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.
  • Page 23 (→ Operating and display elements (→ S. 20)). To enable parameter setting of the AL1302, the IoT interface and / or the fieldbus interface must be configured according to the network environment. ► Configure IoT interface (LR DEVICE: →...
  • Page 24 ► Connect laptop/PC and AL1302 via the Ethernet internet. ► Start web browser. ► Enter the IP address of the AL1302 into the address field of the browser and press [ENTER] to confirm. > Web browser shows the web interface of the device.
  • Page 25 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Configuration Content LR DEVICE .............................26 ifm IoT Core ............................37 PROFINET..............................62 33858...
  • Page 26 Firmware: Reset device to factory settings ....................35 Firmware: Reboot the device........................35 Configure IO-Link devices ........................36 33692 On delivery, the AL1302 is configured with the factory settings (→ Factory settings (→ S. 72)). Required software: LR DEVICE (1.5.0.x or higher) (art.-no.: QA0011/QA0012)
  • Page 27: Remarks

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

    IO-Link Master with PROFINET 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 29: Iot: Configure Security Mode

    IO-Link Master with PROFINET 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 30: Iot: Configure Access Rights

    IO-Link Master with PROFINET 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 31: 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: AL1302 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 32: Io-Link Ports: Activate Data Transfer To Lr Agent Or Lr Smartobserver

    IO-Link Master with PROFINET 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 33: Io-Link Ports: Configure Operating Mode

    IO-Link Master with PROFINET 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 34: Io-Link Ports: Set The Device Validation And Data Storage

    [Device ID] ID of the IO-Link device that is to be 0...16777215 Factory setting: 0 validated ► Save changed values on the device. > 9.1.10 Info: Show device information 34065 To read the general information of the ifm IO-Link master:...
  • Page 35: Firmware: Reset Device To Factory Settings

    When rebooting the device, all settings are kept. To restart the AL1302: ► Select [Firmware] menu. > The menu page shows the current settings. ► Click on [Reboot] to reboot the device. > LR DEVICE reboots the ifm IO-Link master.
  • Page 36: 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 37: First Steps

    9.2.1 First steps 52245 To read the device description of the AL1302: ► Send the following POST request to the AL1302: {"code":"request","cid":-1,"adr":"gettree"} > AL1302 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 38: General Functions

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

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

    IO-Link Master with PROFINET 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 41 IO-Link Master with PROFINET 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 42 IO-Link Master with PROFINET 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 43: Configure The Fieldbus Interface

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

    IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.2.6 Configure IO-Link ports 52248 The user can configure the IO-Link ports X01...X08 separately. Substructure: iolinkmaster/port[n] (n = 1...8). Available data points: Name Description Access ../senddatatosmob...
  • Page 45 IO-Link Master with PROFINET 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 46: 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 47 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 48: Set Application Identification

    > Example: Change name of the IO-Link master a33823 Task: Set the name of the IO-Link master to AL1302 for the representation in the LR SMARTOBSERVER. Solution: Change the parameter [Application Tag] with the setdata service to the value [AL1302].
  • Page 49: 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 50: Control Io-Link Master

    IO-Link Master with PROFINET 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 51 IO-Link Master with PROFINET 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 52: Read Diagnostic Data Of The Al1302

    IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.2.11 Read diagnostic data of the AL1302 52253 The user can read diagnostic data of the status of the IO-Link masters. Substructure: processdatamaster...
  • Page 53: 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 AL1302 can be read with the getidentity service (→ Service: getidentity (→ S. 98)). > 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 54: Subscribe To Events

    IO-Link Master with PROFINET 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 55 IO-Link Master with PROFINET 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 56: Mqtt Support

    9.2.15 MQTT support 54699 The AL1302 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 57: Programmers' Notes

    IoT Core: General information 52256 The DataLine device family has an IoT Core. The IoT Core allows the user to address the AL1302 from IT networks via a REST API and to integrate it into Internet-of-Things applications. A device description is stored on the AL1302. This device description is a structured, machine-readable data object in JSON format.
  • Page 58 IO-Link Master with PROFINET 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 59 IO-Link Master with PROFINET 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 60 IO-Link Master with PROFINET 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":"AL1302"}, "code":200...
  • Page 61 IO-Link Master with PROFINET 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 62 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > PROFINET Content Install GSD Files .............................63 Integrate the IO-Link master in the project .....................63 Configure the IO-Link master .........................64 Configure IO-Link ports ..........................65 Configure IO-Link devices ........................66 Read and write cyclic process data ......................67 Read I&M datasets ..........................68...
  • Page 63: Install Gsd Files

    ► Launch the PROFINET projection software. ► Install the GSD file of the AL1302. Once the GSD file is installed, the AL1302 is in the hardware catalogue in the following folder: > [PROFINET IO] > [Addiotional Field Devices] > [IO] > [ifm electronic]...
  • Page 64: Configure The Io-Link Master

    Configure the IO-Link master 52480 You can access the configuration of the IO-Link master via slot 1.1 of the AL1302. The parameter [Access Rights] determines which controller instance may have read and write access to the data of the IO-Link master.
  • Page 65: Configure Io-Link Ports

    IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.3.4 Configure IO-Link ports 52481 You can access the configuration of the IO-Link ports via the slots 1.2 ... 1.9 of the AL1302. The following assignment applies Slot IO-Link port of the AL1302 Port X01...
  • Page 66: Configure Io-Link Devices

    Configure IO-Link devices 52482 The AL1302 supports the configuration of the connected IO-Link devices via the PROFINET application. The configurable parameters depend on the IO-Link device that is used. Configurable parameters of the IO-Link devices: → IO Device Description (IODD) of the...
  • Page 67: Read And Write Cyclic Process Data

    IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.3.6 Read and write cyclic process data 52483 While the IO-Link ports are being configured, IEC addresses are generated automatically for inputs and outputs as well as the PQI byte. To enable access to the cyclic process data in the application, the user must couple the IEC addresses with symbolic variables.
  • Page 68: Read I&M Datasets

    IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 9.3.7 Read I&M datasets 52484 I&M0 provide the user with device-specific basic information. This ensures reliable identification of the device, the device's hardware and software components as well as the manufacturer. The datasets I&M1 to 3 offer the programmer the possibility to store project-specific information on the device.
  • Page 69 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Maintenance, repair and disposal Content Cleaning process ............................69 Update firmware .............................70 Replace IO-Link device ..........................71 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 70 ► 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 AL1302 ► Click on [Select file]. > Dialogue window appears.
  • Page 71 ► 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 AL1302. > IO-Link master copies parameter values from the data memory to the new IO-Link device.
  • Page 72 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Factory settings 34509 In the factory settings, the device has the following parameter settings: Parameter Factory setting [IP address] (PROFINET) 0.0.0.0 [Subnet mask] (PROFINET) 0.0.0.0 [IP gateway address] (PROFINET) 0.0.0.0...
  • Page 73 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Accessories 33870 List of accessories of AL1302: → www.ifm.com > Product page > Accessories...
  • Page 74 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Appendix Content Technical data ............................75 PROFINET..............................79 ifm IoT Core ............................88 33879...
  • Page 75: Application

    IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.1 Technical data Content Application ..............................75 Electrical data ............................75 Inputs / outputs ............................75 Inputs ..............................76 Outputs ..............................76 Interfaces ..............................76 Operating conditions ..........................77 Approvals / tests .............................77 Mechanical data ............................77 Electrical connection ..........................78 34188...
  • Page 76: Inputs

    IO-Link Master with PROFINET 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 77: Operating Conditions

    IO-Link Master with PROFINET 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 78: 13.1.10 Electrical Connection

    IO-Link Master with PROFINET 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 79 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.2 PROFINET Content Parameter data ............................79 Cyclic data ..............................83 Acyclic data ............................85 33674 > 13.2.1 Parameter data 34546 Slot Subslot Name Description Master Parameter data of the IO-Link master (→...
  • Page 80 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Parameter of the IO-Link master 34552 Parameter Description Possible values  [Access Rights] The access rights to the PROFINET + IoT PROFINET and LR DEVICE have read parameter data, process data and and write access rights to parameters events/diagnostic messages of...
  • Page 81 [Validation / Data Supported IO-Link standard and no check and clear no verification of the vendor ID and Storage] behaviour of the AL1302 when a new device ID IO-Link device is connected to the  no data storage IO-Link port ...
  • Page 82  The IO-Link master stores the parameter values of the connected IO-Link device once if the data memory of the AL1302 is empty.  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.
  • Page 83 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.2.2 Cyclic data Content PROFINET modules ..........................83 PQI (Port Qualifier Information) ......................84 33814 > PROFINET modules 34539 Module Description IO-Link 32I/32O + PQI 32 bytes input and output data and PQI IO-Link 16I/16O + PQI 16 bytes input and output data and PQI...
  • Page 84 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > PQI (Port Qualifier Information) 34530 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 PROFINET controller. Legend: ...
  • Page 85 13.2.3 Acyclic data Content I&M datasets ............................85 Diagnostic and alarms ..........................87 33868 > I&M datasets 34555 The AL1302 supports the following I&M datasets (I&M = Identification & Maintenance): > I&M0 (Slot 0) 34545 Variable Description Access* Size Vendor ID IO-Link ID of the manufacturer...
  • Page 86 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > I&M1 (Slot 0) 34543 Variable Description Access* Size TagFunction of submodule function of the device (ASCII, padded with spaces) TagLocation of submodule Location of the device in the plant (ASCII, padded with spaces) * ...
  • Page 87 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > Diagnostic and alarms 34533 Name Description Type code 0x02 EVNT_CODE_M_PDU_CHECK Receive frame with CRC error Alarm 0x1B EVNT_CODE_S_RETRY Repetitions detected Alarm 0x1E EVNT_CODE_P_SHORT Short circuit on C/Q cable detected Diagnostics 0x1F...
  • Page 88 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.3 ifm IoT Core Content Overview: IoT profile ..........................89 Overview: IoT types ..........................94 Overview: IoT services ...........................95 33803...
  • Page 89: Profile: Blob

    IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.3.1 Overview: IoT profile Content Profile: blob .............................89 Profile: deviceinfo ...........................90 Profile: devicetag ............................90 Profile: iolinkdevice_full ..........................91 Profile: iolinkmaster ..........................91 Profile: network ............................92 Profile: parameter ...........................92 Profile: processdata ..........................92 Profile: service ............................92...
  • Page 90: Profile: Deviceinfo

    IO-Link Master with PROFINET 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 91: Profile: Iolinkdevice_Full

    IO-Link Master with PROFINET 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 92: Profile: Network

    IO-Link Master with PROFINET 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 93: Profile: Software

    IO-Link Master with PROFINET 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 94 IO-Link Master with PROFINET 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 95: Service: Factoryreset

    IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 > 13.3.3 Overview: IoT services Content Service: factoryreset ..........................95 Service: gettree ............................96 Service: getdata ............................96 Service: getdatamulti ..........................97 Service: getidentity ..........................98 Service: getsubscriptioninfo........................99 Service: iolreadacyclic ..........................100 Service: iolwriteacyclic ..........................100 Service: reboot .............................100 Service: setblock ..........................101...
  • Page 96: Service: Gettree

    IO-Link Master with PROFINET 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 AL1302 and provides it as JSON object. Request data (field "data"): none Response data (field "data"): Data field...
  • Page 97: Service: Getdatamulti

    IO-Link Master with PROFINET 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 98: Service: Getidentity

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

    IO-Link Master with PROFINET 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 100: Service: Iolreadacyclic

    IO-Link Master with PROFINET 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 101: 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 102: Service: Setelementinfo

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

    IO-Link Master with PROFINET 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 104 IO-Link Master with PROFINET Interface DataLine 8 Ports IP 65 / IP 66 / IP 67 Index General ....................7 General functions................... 38 GET request ..................58 Access the ifm IoT Core ................ 58 Accessories ................... 73 Acyclic data .................... 85 I&M datasets ..................85 Appendix ....................74 I&M0 (Slot 0) ..................
  • Page 105 Read and write cyclic process data ............67 Read device and diagnostic information ..........24 Read device information of the IO-Link master ........53 Read diagnostic data of the AL1302 ............. 52 Read I&M datasets ................68 Read information about IO-Link devices ..........53 Remarks....................

Table of Contents