IFM AL1351 Operating Instructions Manual
IFM AL1351 Operating Instructions Manual

IFM AL1351 Operating Instructions Manual

Io-link master with iot interface dataline 4 ports ip 65 / ip 66 / ip 67 / ip 69k
Table of Contents

Advertisement

Quick Links

>
>
Operating instructions
IO-Link master with IoT interface
DataLine
4 ports
IP 65 / IP 66 / IP 67 / IP 69K
AL1351
Firmware: 3.1.x
English

Advertisement

Table of Contents
loading

Summary of Contents for IFM AL1351

  • Page 1 > > Operating instructions IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K AL1351 Firmware: 3.1.x English...
  • Page 2 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Contents Preliminary note Legal and copyright information ................... 5 Purpose of the document ..................... 5 Explanation of Symbols ....................... 6 Change history ........................6 Safety instructions General ..........................
  • Page 3 9.1.10 Firmware: Reset device to factory settings ................. 32 9.1.11 Firmware: Reboot the device ...................... 32 9.1.12 Configure IO-Link devices ......................32 ifm IoT Core ........................34 9.2.1 Programmers' notes ........................35 9.2.2 First steps ........................... 39 9.2.3 General functions ........................39 9.2.4...
  • Page 4 14.1.8 Approvals / tests ......................... 83 14.1.9 Mechanical data ......................... 83 14.1.10 Electrical connection ........................84 14.2 ifm IoT Core ........................85 14.2.1 Overview: IoT profile ........................86 14.2.2 Overview: IoT types ........................93 14.2.3 Overview: IoT services ....................... 94 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 IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Explanation of Symbols 34171 WARNING Warning of serious personal injury. Death or serious irreversible injuries may result. CAUTION Warning of personaly injury. Slight reversible injuries may result.
  • Page 7 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Safety instructions Content General ..............................7 Required background knowledge ......................7 Safety symbols on the device ........................7 IT security ..............................8 28333 >...
  • Page 8 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K IT security 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 IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Functions and features 58284 The device may only be used for the following purposes: • as IO-Link master for configuration, management and operation of IO-Link devices •...
  • Page 10 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Function Content Communication, parameter setting, evaluation ..................11 Digital inputs ............................12 IO-Link supply ............................12 33836...
  • Page 11 34210 The device provides the following configuration options: • Parameter setting of the IO-Link master of the AL1351 with LR DEVICE parameter setting software, IoT core projection software or ifm IoT-Core services. • Parameter setting of the connected IO-Link devices (sensors, actuators) with LR DEVICE parameter setting software, IoT core projection software or ifm IoT-Core services •...
  • Page 12 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K • Status, error and short circuit/overload indication of the IO-Link ports > Digital inputs 33817 The device has 4 additional digital inputs (type 2 according to EN 61131-2). The digital inputs are on pin 2 of the ports X01...X04.
  • Page 13 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K 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 IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Electrical connection Content Notes ..............................14 Connecting the IoT ports ........................15 IO-Link ports ............................16 Connecting the device ..........................17 33805 > Notes 51957 A qualified electrician must connect the unit.
  • Page 15: Connecting The Iot Ports

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Connecting the IoT ports 52272 ► Connect the unit via the M12 socket X21 and/or X22 with the IoT core network (e.g. laptop/PC with LR DEVICE parameter setting software, laptop/PC with LR SMARTOBSERVER monitoring software, PC/laptop with http request compatible software) ►...
  • Page 16: Io-Link Ports

    > IO-Link ports 51958 The IO-Link ports of the AL1351 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.: E12542). >...
  • Page 17: Connecting The Device

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Connecting the device 33882 ► Disconnect power. ► Connect the IO-Link Master via M12 socket X31 to 24 V DC (20...28 V SELV/PELV;...
  • Page 18 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Operating and display elements Content Overview ..............................18 LED indicators ............................19 34063 > Overview 52274 Status LEDs RDY and IoT → Status LEDs (→...
  • Page 19 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > LED indicators 34047 The device only has the following LED indicators: > 7.2.1 Status LEDs 52237 The RDY LED indicates the status of the gateway. The IoT LED indicates the status of the connection to the LR SMARTOBSERVER.
  • Page 20 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 7.2.3 IO-Link Ports (Class A) 34074 Each IO-Link Port Class A has 2 LEDs labelled IOL and DI. The LEDs indicate the status of the IO-Link port.
  • Page 21 Operating and display elements (→ S. 18)). To enable parameter setting of the AL1351 via the IoT core network, the IoT interface must be configured according to the network environment. ► Connect AL1351 via the ports X21/X22 to the IoT core network.
  • Page 22 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Configuration Content LR DEVICE .............................23 ifm IoT Core ............................34 33858...
  • Page 23: Table Of Contents

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

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

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 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 26: Iot: Configure Security Mode

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 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 27: Iot: Configure The Interface To Lr Agent Or Lr Smartobserver

    2147483647 2147483647 ms Source identifier of the IO-Link master in the [Application Tag] Factory setting: AL1351 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 28: Io-Link Ports: Activate Data Transfer To Lr Agent Or Lr Smartobserver

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 9.1.5 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 29: Io-Link Ports: Configure Operating Mode

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 9.1.6 IO-Link ports: Configure operating mode 33694 The IO-Link ports X01...X04 of the device support the following operating modes: • Disabled: no data transfer at pin 4 (C/Q) of the IO-Link port •...
  • Page 30: 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 31: Io-Link Ports: Configuration Of Fail-Safe Values

    * ... parameter can only be changed if the IoT core controller is disconnected ► Save changed values on the device. > 9.1.9 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 Description...
  • Page 32: Firmware: Reset Device To Factory Settings

    ► 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 33 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > LR DEVICE reads and shows the current parameter values of the IO-Link device. ► Configure IO-Link device. Information about the available parameters of the IO-Link device: → IO Device Description (IODD) of the IO-Link device ►...
  • Page 34 Gateway: Updating the firmware ......................57 Gateway: Setting the application tag ....................58 Subscribing to notifications ........................59 Using Web Socket ..........................63 MQTT support ............................65 Using the IoT-Core Visualizer.........................69 52244 General notes on the ifm IoT Core: → Programmers' notes (→ S. 35)
  • Page 35: Programmers' Notes

    IoT Core: General information 52256 The DataLine device family has an IoT Core. The IoT Core allows the user to address the AL1351 from IT networks via a REST API and to integrate it into Internet-of-Things applications. A device description is stored on the AL1351. This device description is a structured, machine-readable data object in JSON format.
  • Page 36 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 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 37 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 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 38 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Example: POST request 54035 Request: "code":"request", "cid":4711, "adr":"devicetag/applicationtag/getdata" Response: "cid":4711, "data":{"value":"AL1351"}, "code":200 > IoT Core: Diagnostic codes 54688 Code Text Description Request successfully processed OK but needs reboot Request successfully processed;...
  • Page 39: First Steps

    9.2.2 First steps 52245 To read the device description of the AL1351: ► Send the following POST request to the AL1351: {"code":"request","cid":-1,"adr":"gettree"} > AL1351 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 40 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K "type":"data", "uid":null, "profiles":["parameter"], "format":{ "type":"enum", "namespace":"json", "encoding":"integer", "valuation":{ "valuelist":{ "0":"Fieldbus + IoT", "1":"Fieldbus + IoT (read-only)", "3":"IoT only"}}}}, "code":200 The accessrights parameter has the data type ENUM with the valid values "Fieldbus + IoT", "Fieldbus + IoT (read only)"...
  • Page 41 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K "identifier":"reboot","type":"service"}] "code":200 > Example: Read several parameter values of the IO-Link master simultaneously 33840 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/temperature;...
  • Page 42 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > DNS support 61151 The IoT Core supports the Domain Name System (DNS) service. Instead of the concrete IP address, the corresponding host name can be used in requests. DNS can be used both for addressing the IoT core and for addressing network participants.
  • Page 43 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Setting the storage duration 61153 The IoT Core offers the possibility to set the storage duration of data and notifications. The Services Service: setdata (→...
  • Page 44: Iot: Configuring Access Rights

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 9.2.4 IoT: Configuring access rights 59785 Substructure: iotsetup Available data points: Name Description Access ../accessrights Access rights to the IO-Link master rw ...
  • Page 45: Iot: Configuring The Lr Agent Or Lr Smartobserver Interface

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 9.2.6 IoT: Configuring the LR AGENT or LR SMARTOBSERVER interface 59786 Substructure: iotsetup Avalable data points: Name Description Access ../smobip IP address of the LR SMARTOBSERVER ../smobport Port number of the LR SMARTOBSERVER...
  • Page 46 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Note: Security mode 54684 The security mode enables restricting access to the IO-Link master and the connected IO-Link devices from the IT network. In the activated security mode, the following restrictions apply: •...
  • Page 47 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K "data":{"newvalue":"cGFzc3dvcmQ="} • Response: "cid":-1, "code":200 > 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).
  • Page 48: Io-Link Ports: Setting The Operating Mode Of Pin 4 (Us)

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 9.2.8 IO-Link ports: Setting the operating mode of pin 4 (US) 59793 Substructure: iolinkmaster/port[n] (n = 1...4). Available data points: Name Description Access...
  • Page 49 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 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 50: Io-Link Ports: Configuring Data Transfer To Lr Agent Or Lr Smartobserver

    Example: Read IO-Link process data (operating mode "IO-Link") 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 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Solution: The IODD of the DV2500 shows the structure of the IO-Link process value (→ e.g. LED activity). The buzzer will be switched using bit 40 of the process value (OFF = 0, ON = 1). To switch the buzzer: 1.
  • Page 52 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K • Request: "code":"request", "cid":10, "adr":"iolinkmaster/port[5]/iolinkdevice/pdin/getdata" • Response: "cid":10, "data":{"value":"00"}, "code":200...
  • Page 53: Io-Link Ports: Indicating Port Events

    9.2.13 IO-Link devices: Accessing parameters 59800 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...4)
  • Page 54 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 55: Io-Link Devices: Reading An Writing Device Information

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 9.2.14 IO-Link devices: Reading an writing device information 59797 Substructure: iolinkmaster/port[n]/iolinkdevice (n = 1...4) Available data points: Name Description Access ../status Status of the connected IO-Link device ../vendorid...
  • Page 56: Gateway: Reading Device Information

    ../bootloaderrevision Bootloader version ../extensionrevisions Firmware and bootloader version ../fieldbustype Fieldbus r ... read only Additional information about the AL1351 can be read with the service getidentity (→ Servicet: getidentity (→ S. 97)). > 9.2.18 Gateway: Reading status and diagnostic information...
  • Page 57: Gateway: Updating The Firmware

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 9.2.19 Gateway: Updating the firmware 59789 Substructure: firmware Available data points: Name Description Access ../version Software version ../type Software type ../container Structure for updating the firmware ../container/maxsize...
  • Page 58: Gateway: Setting The Application Tag

    > Example: Change name of the IO-Link master a33823 Task: Set the name of the IO-Link master to AL1351 for the representation in the LR SMARTOBSERVER. Solution: Change the parameter [Application Tag] with the setdata service to the value [AL1351].
  • Page 59: Subscribing To Notifications

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 9.2.21 Subscribing to notifications 61159 If a data point has the sub-element datachanged, the user can subscribe to notifications on value and condition changes.
  • Page 60 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K "callback":"http://192.168.0.4:80/temp", "datatosend":[ "/iolinkmaster/port[2]/iolinkdevice/pdin", "/processdatamaster/temperature"] In addition, the time interval of the timer[1] must be set to a value between 500 ms and 2147483647 ms.
  • Page 61 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Example: Subscribing to notifications in CSV format 61162 Task: Every 2 seconds, the current values of the following parameters are to be sent to a network server with the IP address 192.168.0.4 •...
  • Page 62 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Example: Checking subscriptions 61164 Task: Information about the existing subscription (Example: Subscribing to notifications (→ S. 59)Show Example: Subscribing to notifications (→...
  • Page 63: Using Web Socket

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 9.2.22 Using Web Socket 61165 The IoT Core supports communication via WebSocket protocol. With Web Sockets, the user can establish a full-duplex communication channel via a TCP connection. WebSockets can be used for the following services: •...
  • Page 64 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K "/iolinkmaster/port[2]/iolinkdevice/productname", "/iolinkmaster/port[2]/iolinkdevice/pdin", "/processdatamaster/temperature"]}...
  • Page 65: Mqtt Support

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 9.2.23 MQTT support 61168 The IoT Core supports the MQTT protocol. The protocol allows an MQTT client to communicate with the IoT Core via an MQTT broker to request and receive data.
  • Page 66 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Notes on the states of an MQTT connection: Note: Connection states (→ S. 66) To create an MQTT connection, perform the following steps in sequence: Ensure that the MQTT broker can be reached and that the selected port of the MQTT broker is enabled for data transmission.
  • Page 67 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Example: Configuring the MQTT command channel 61171 Task: Configuring and activating the MQTT command channel (IP address MQTT broker: 192.168.82.100, port: 1883, topic: abc). Solution: ►...
  • Page 68 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K "code":"request", "cid":4716, "adr":"/connections/mqttConnection/MQTTSetup/QoS/setdata", "data":{"QoS2"} > Example: Publish the temperature to an MQTT broker 54687 Task: Publish the temperature of the IO-Link master to an MQTT broker (IP address MQTT broker: 192.168.82.100, port: 1883, topic: abc Solution: •...
  • Page 69: Using The Iot-Core Visualizer

    Reading and writing process data ......................74 Updating the firmware ..........................75 61173 The ifm-IoT Core Visualizer of the IO-Link master provides a graphical user interface for accessing functions of the ifm-IoT Core. To start the IoT Core Visualizer: ► Start web browser.
  • Page 70: Managing Notifications

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Managing notifications 61174 The menu page allows you to perform the following functions • Creating notifications • Showing active notifications •...
  • Page 71 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K ► Use the wizard to enter the required notification parameters step by step. > Created notification subscription is displayed in the table. For cyclical notifications via timer[1] or timer[2], the user also needs to set the interval time of the timer in question.
  • Page 72: Searching For Elements In The Device Tree

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Searching for elements in the device tree 61177 The [Elements] menu page allows you to search the device description for elements with specific properties (status, profile, name) and to output the results.
  • Page 73: Configuring Io-Link The Master

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Configuring IO-Link the master 61178 The [Parameter] menu page allows you to configure the IO-Link master. Available options: • Reading and writing individual parameters •...
  • Page 74: Reading And Writing Process Data

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Reading and writing process data 61179 The menu page allows the process data of the IO-Link master and the connected IO-Link devices to be read and written.
  • Page 75: Updating The Firmware

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Updating the firmware 61180 The [Update] menu page allows you to update the firmware of the IO-Link master: Requirements: • Iot-Core Visualizer has been started.
  • Page 76 The device has an integrated web server The web server generates a website with the following data: • Status information of the ports • Access to product page of connected IO-Link devices (only ifm devices) • Diagnostic information of the device •...
  • Page 77 ► 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 AL1351. > IO-Link master copies parameter values from the data memory to the new IO-Link device.
  • Page 78 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K 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...
  • Page 79 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Accessories 33870 List of accessories of AL1351: → www.ifm.com > Product page > Accessories...
  • Page 80 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Appendix Content Technical data ............................81 ifm IoT Core ............................85 33879...
  • Page 81: Application

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 14.1 Technical data Content Application ..............................81 Electrical data ............................81 Inputs / outputs ............................81 Inputs ..............................82 Outputs ..............................82 Interfaces ..............................82 Operating conditions ..........................83 Approvals / tests .............................83 Mechanical data ............................83 Electrical connection ..........................84...
  • Page 82: Inputs

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 14.1.4 Inputs 34069 Inputs Number of digital inputs 8; (IO-Link Port Class A: 4 x 2) Switching level high [V] 11...28 Switching level low [V] 0...5...
  • Page 83: Operating Conditions

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 14.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.
  • Page 84: 14.1.10 Electrical Connection

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 14.1.10 Electrical connection 52261 Voltage supply IN X31 Plug and socket connection Wiring + 24 V DC (US) GND (US) IoT port X21, X22 Plug and socket connection Wiring...
  • Page 85 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 14.2 ifm IoT Core Content Overview: IoT profile ..........................86 Overview: IoT types ..........................93 Overview: IoT services ...........................94 33803...
  • Page 86: Profile: Blob

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 14.2.1 Overview: IoT profile Content Profile: blob .............................86 Profile: deviceinfo ...........................87 Profile: devicetag ............................87 Profile: iolinkdevice_full ..........................88 Profile: iolinkmaster ..........................88 Profile: mqttCmdChannel ........................89 Profile: mqttCmdChannelSetup ......................89 Profile: mqttConnection ..........................89...
  • Page 87: Profile: Deviceinfo

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Profile: deviceinfo 34207 Element (identifier) Properties mandatory Comments ▪ deviceinfo type = structure characterises the element as device information ▪ profile = deviceinfo ../devicename type = data...
  • Page 88: Profile: Iolinkdevice_Full

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K 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...
  • Page 89: Profile: Mqttcmdchannel

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Profile: mqttCmdChannel 61186 Element (identifier) Properties Mandatory Comment ▪ mqttCmdChannel type = structure Profile of the MQTT command channel ▪ profile = commChannel ▪...
  • Page 90: Profile: Mqttsetup

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Profile: mqttSetup 61189 Element (identifier) Properties Mandatory Comment ▪ mqttSetup type = structure Settings of the MQTT command channel ▪ profile = mqttSetup ▪...
  • Page 91: Profile: Parameter

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Profile: parameter 34215 The profile is used to mark the elements of type data as parameters (acyclic data). The profile defines no substructure.
  • Page 92: Profile: Software/Uploadedablesoftware

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Profile: software/uploadedablesoftware 52267 Element (identifier) Characteristics Mandatory Comments ▪ software type = structure Software that can be loaded to the device via the IoT Core ▪...
  • Page 93 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 14.2.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 94: Service: Factoryreset

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 14.2.3 Overview: IoT services Content Service: factoryreset ..........................94 Service: getblobdata ..........................95 Service: getdata ............................95 Service: getdatamulti ..........................96 Service: getelementinfo ..........................96 Servicet: getidentity ..........................97 Service: getsubscriberlist ........................98 Service: getsubscriptioninfo........................99...
  • Page 95: Service: Getblobdata

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Service: getblobdata 52345 Name: getblobdata Description: The service reads a binary large object (blob). Applicable to: datastorage Request data (field "data"): Data field Required Data type...
  • Page 96: Service: Getdatamulti

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > 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.
  • Page 97: Servicet: Getidentity

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Servicet: getidentity 54690 Name: getidentity Description: The service reads the device information of the AL1351 and issues it. Request data ("data" field): none Return data ("data" field): Data field Required...
  • Page 98: Service: Getsubscriberlist

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Service: getsubscriberlist 61191 Name: getsubscriberlist Description: The service provides a list of all active subscriptions. Request data ("data" field): none Return data ("data"...
  • Page 99: Service: Getsubscriptioninfo

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Service: getsubscriptioninfo 61192 Name: getsubscriptioninfo Description: The service provides information about an existing subscription (subscribe). The following parameters of the existing subscription are to be used for the query: •...
  • Page 100: Service: Gettree

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Service: gettree 61193 Name: gettree Description: The service reads the device description of the IO-Link master and outputs it as a JSON object.
  • Page 101: Service: Install

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Service: install 52343 Name: install Description: The service installs the firmware stored in the container area of the device. Applicable to: container Request data (data): none Return data (data): none >...
  • Page 102: Service: Querytree

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Service: querytree 61194 Name: querytree Description: The service searches a device tree for the criteria profile, type and name and outputs a list with the URLs of the elements found.
  • Page 103: Service: Setblock

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Service: setblock 34186 Name: setblock Description: The service simultaneously sets the values of several data points of a structure. Request data (field "data"): Data field Required field Data type...
  • Page 104: Service: Signal

    "data":{ "newvalue": "ifm IO-Link master "duration": "lifetime"} > Service: signal 33819 Name: signal Description: The service starts the flashing of the status LEDs of the AL1351. Request data (field "data"): none Return data (field "data"): none Example: "code":"request", "cid":4711, "adr":"firmware/signal"...
  • Page 105: Service: Start_Stream_Set

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Service: start_stream_set 52342 Name: start_stream_set Description: The service starts the sequential transfer of multiple data segments. Applicable to: Objects of type data Request data (data): Data field Required...
  • Page 106: Service: Subscribe

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K > Service: subscribe 61198 Name: subscribe Description: The service subscribes to the values of data points. The data points to be subscribed are transferred as a list.
  • Page 107: Service: Unsubscribe

    IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K • EventStatus: Status code of the event • EventData: Event data • DataStatus_1: Status code of the 1st element in list datatosend •...
  • Page 108 Reboot the device ..................32 Reset device to factory settings ..............32 First steps ....................39 Function ....................10 Access the ifm IoT Core ................ 36 Functions and features ................9 Accessories ................... 79 Appendix ....................80 Application ..................... 81 Gateway Approvals / tests ..................
  • Page 109 IO-Link master with IoT interface DataLine 4 ports IP 65 / IP 66 / IP 67 / IP 69K Service factoryreset ....................94 getblobdata ....................95 Maintenance, repair and disposal ............77 getdata ......................95 Managing notifications ................70 getdatamulti ....................96 Mechanical data ..................

Table of Contents