IFM AL1950 Device Manual

IFM AL1950 Device Manual

Io-link master with iot interface cabinetline 8 ports ip 20
Hide thumbs Also See for AL1950:
Table of Contents

Advertisement

Quick Links

>
>
Device manual
IO-Link master with IoT interface
CabinetLine
8 ports
IP 20
AL1950
Firmware: 3.1.x
English

Advertisement

Table of Contents
loading

Summary of Contents for IFM AL1950

  • Page 1 > > Device manual IO-Link master with IoT interface CabinetLine 8 ports IP 20 AL1950 Firmware: 3.1.x English...
  • Page 2 IO-Link master with IoT interface CabinetLine 8 ports IP 20 Contents Preliminary note Legal and copyright information ................... 5 Purpose of the document ..................... 5 Explanation of Symbols ....................... 5 Change history ........................6 Safety instructions General ..........................7 Required background knowledge ..................7 Safety symbols on the device ....................
  • Page 3 9.1.10 Firmware: Reset device to factory settings ................. 33 9.1.11 Firmware: Reboot the device ...................... 33 9.1.12 Configure IO-Link devices ......................33 ifm IoT Core ........................35 9.2.1 Programmers' notes ........................36 9.2.2 First steps ........................... 40 9.2.3 General functions ........................40 9.2.4...
  • Page 4: Table Of Contents

    14.1.8 Approvals / tests ......................... 84 14.1.9 Mechanical data ......................... 84 14.1.10 Electrical connection ........................85 14.2 ifm IoT Core ........................86 14.2.1 Overview: IoT profile ........................87 14.2.2 Overview: IoT types ........................94 14.2.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 IoT interface CabinetLine 8 ports IP 20 CAUTION Warning of personaly injury. Slight reversible injuries may result. NOTICE Warning of damage to property Important note Non-compliance can result in malfunction or interference Information Supplementary note ► ... Request for action >...
  • Page 7 IO-Link master with IoT interface CabinetLine 8 ports IP 20 Safety instructions Content General ..............................7 Required background knowledge ......................7 Safety symbols on the device ........................7 IT security ..............................8 28333 > General 58525 • The device described is a subcomponent for integration into a system. The manufacturer is responsible for the safety of the system.
  • Page 8 IO-Link master with IoT interface CabinetLine 8 ports IP 20 IT security 54678 NOTICE! If the device is operated in an unprotected network environment. > Unauthorised read or write access to data is possible. > Unauthorised manipulation of the device function is possible. ►...
  • Page 9 IO-Link master with IoT interface CabinetLine 8 ports IP 20 Intended use 34594 The IO-Link master serves as a gateway between intelligent IO-Link devices and the IoT core network. The device is designed for use as cabinet module in plant construction. ►...
  • Page 10 IO-Link master with IoT interface CabinetLine 8 ports IP 20 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 AL1950 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 CabinetLine 8 ports IP 20 • Status, error and short circuit/overload indication of the IO-Link ports > Digital inputs 33817 The device has 8 additional digital inputs (type 2 according to EN 61131-2). The digital inputs are on clamp 2 of the ports X01...X04. All inputs refer to the potential of the device supply (clamp 3).
  • Page 13 IO-Link master with IoT interface CabinetLine 8 ports IP 20 Mounting Content Install the device .............................13 34058 > Install the device 34070 ► Disconnect power before installation. The device contains components that can be damaged or destroyed by electrostatic discharge. ►...
  • Page 14: Notes

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 Electrical connection Content Notes ..............................14 Connecting the IoT ports ........................15 IO-Link ports ............................16 Connect the device ..........................18 33805 > Notes 34181 The unit must be connected by a qualified electrician. ►...
  • Page 15: Connecting The Iot Ports

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Connecting the IoT ports 33678 ► Connect the unit via the sockets X21 and/or X22 to the IoT core network. ► To connect the devices, use connectors with protection rating IP 20 or higher (→...
  • Page 16: Io-Link Ports

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > IO-Link ports 52232 The IO-Link ports of the device meet the requirements of the IO-Link specification 1.0 to 1.1.2. ► Please note the information concerning IO-Link wiring! WARNING Supply of energy to the IO-Link ports of the IO-Link master >...
  • Page 17 IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 6.3.2 Connect IO-Link devices for Class B operation 52234 Wiring information: • For the Class B operation, the IO-Link device must be supplied with an additional auxiliary voltage • Wiring diagram: +24 V +24 V...
  • Page 18: Connect The Device

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Connect the device 33890 ► Disconnect power. ► Connect the IO-Link master via port X31 to 24 V DC (20...30 V SELV/PELV). ▪ Recommended maximum cable length: 25 m ►...
  • Page 19 IO-Link master with IoT interface CabinetLine 8 ports IP 20...
  • Page 20 IO-Link master with IoT interface CabinetLine 8 ports IP 20 Operating and display elements Content Overview ..............................20 LED indicators ............................21 34063 > Overview 52236 IOL and DI status-LEDs of the IO-Link port (X01...X08 (→ IO-Link Ports (Class A) (→ S. 21)) PWR status LED of the voltage supply (X31) (→...
  • Page 21 IO-Link master with IoT interface CabinetLine 8 ports IP 20 > LED indicators 34047 The device only has the following LED indicators: > 7.2.1 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 22 IO-Link master with IoT interface CabinetLine 8 ports IP 20 7.2.4 IoT ports 52238 Each IoT port has the 2 L/A and 10/100 MBits/s LEDs. The LEDs indicate the status of the Ethernet connection. Status LED Description green Ethernet connection established flashes Data is transmitted via the Ethernet interface.
  • Page 23 Operating and display elements (→ S. 20)). To enable parameter setting of the AL1950 via the IoT core network, the IoT interface must be configured according to the network environment. ► Connect AL1950 via the ports X21/X22 to the IoT core network.
  • Page 24 IO-Link master with IoT interface CabinetLine 8 ports IP 20 Configuration Content LR DEVICE .............................25 ifm IoT Core ............................35 33858...
  • Page 25 Firmware: Reset device to factory settings ....................33 Firmware: Reboot the device........................33 Configure IO-Link devices ........................33 33692 On delivery, the AL1950 is configured with the factory settings (→ Factory settings (→ S. 79)). Required software: LR DEVICE (1.5.0.x or higher) (art.-no.: QA0011/QA0012)
  • Page 26: Remarks

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

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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. To configure the IP settings with DHCP, a DHCP server has to be active in the IT network. If no DHCP server can be reached in the IT network, an IP address is automatically assigned to the IoT port with the Zeroconfig protocol (address range: →...
  • Page 28: Iot: Configure Security Mode

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 29: 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: AL1950 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 30: Io-Link Ports: Configure Operating Mode

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 9.1.6 IO-Link ports: Configure operating mode 33694 The IO-Link ports X01...X08 of the device support the following operating modes: • Disabled: no data transfer at clamp 4 (C/Q) of the IO-Link port •...
  • Page 31: 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 32: 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 33: 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 34 IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 35 Gateway: Updating the firmware ......................57 Gateway: Setting the application tag ....................59 Subscribing to notifications ........................60 Using Web Socket ..........................64 MQTT support ............................66 Using the IoT-Core Visualizer.........................70 52244 General notes on the ifm IoT Core: → Programmers' notes (→ S. 36)
  • Page 36: Programmers' Notes

    IoT Core: General information 52256 The CabinetLine device family has an IoT Core. The IoT Core allows the user to address the AL1950 from IT networks via a REST API and to integrate it into Internet-of-Things applications. A device description is stored on the AL1950. This device description is a structured, machine-readable data object in JSON format.
  • Page 37 IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 38 IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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", "data":{req_data},...
  • Page 39 IO-Link master with IoT interface CabinetLine 8 ports IP 20 Response: "cid":4711, "data":{"value":"AL1950"}, "code":200 > 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 40: First Steps

    9.2.2 First steps 52245 To read the device description of the AL1950: ► Send the following POST request to the AL1950: {"code":"request","cid":-1,"adr":"gettree"} > AL1950 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 41 IO-Link master with IoT interface CabinetLine 8 ports IP 20 "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 42 IO-Link master with IoT interface CabinetLine 8 ports IP 20 "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 43 IO-Link master with IoT interface CabinetLine 8 ports IP 20 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 44 IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Setting the storage duration 61153 The IoT Core offers the possibility to set the storage duration of data and notifications. The Services Service: setdata (→ S. 105) and Service: subscribe (→...
  • Page 45: Iot: Configuring Access Rights

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 ... read and write If in IoT and IoT core projection software the parameter [Access Rights] is = [IoT core + IoT], the parameter values set in the IoT core projection software will always apply.
  • Page 46: Iot: Configuring The Lr Agent Or Lr Smartobserver Interface

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 ../smobinterval Cycle time for data transmission to LR SMARTOBERVER (value in milliseconds)
  • Page 47 IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 48 IO-Link master with IoT interface CabinetLine 8 ports IP 20 "cid":-1, "data":{"value":37}, "code":200 > Example: reset password 54686 Task: The existing password is to be reset. Solution: To reset a password, disable the security mode. To disable it, enter the user name and the password (the fields "user"...
  • Page 49: Io-Link Ports: Setting The Operating Mode Of Pin 4 (Us)

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 9.2.8 IO-Link ports: Setting the operating mode of pin 4 (US) 59793 Substructure: iolinkmaster/port[n] (n = 1...8). Available data points: Name Description Access ../mode Operating mode of the IO-Link port ../mastercycletime_preset Cycle time of the data transfer at the IO-Link port (value in ms) ../mastercycletime_actual...
  • Page 50: Io-Link Ports: Configuring Data Transfer To Lr Agent Or Lr Smartobserver

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 51: Io-Link Ports: Reading / Writing Process Data

    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 52 IO-Link master with IoT interface CabinetLine 8 ports IP 20 2. Set bit 40 of the read value to 1. 3. Write the process value to the IO-Link device. Example: Read process value: 0x0000 0000 004D = 0b0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0100 1101 New process value: 0b0000 0001 0000 0000 0000 0000 0000 0000 0000 0000 0100 1101 = 0x0100 0000 004D •...
  • Page 53 IO-Link master with IoT interface CabinetLine 8 ports IP 20 "adr":"iolinkmaster/port[5]/iolinkdevice/pdin/getdata" • Response: "cid":10, "data":{"value":"00"}, "code":200...
  • Page 54: 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...8)
  • Page 55: Io-Link Devices: Reading An Writing Device Information

    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 56: Io-Link Devices: Indicating Io-Link Events

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

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 Name Description Access ../temperature Temperature of the IO-Link master (value in °C) ../voltage Present voltage value of the supply voltage US (value in mV) ../current Present current value of the sensor supply US (value in mA) ../supervisionstatus Status of the device supply US r ...
  • Page 58 IO-Link master with IoT interface CabinetLine 8 ports IP 20 {"code": "request", "cid": -1, "adr": "/firmware/container/stream_set", "cid": -1, "data": {"value": "aWZtfgIAAABBTDF4NXhfY25faXRfdDIuMi43Nw..."} ► Repeat step 3 until all fragments of the firmware file have been sent to the IO-Link master. > IO-Link master stores the segments received in the container area.
  • Page 59: Gateway: Setting The Application Tag

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

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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. Notifications can be triggered by the expiration of a timer or an event. The IoT Core supports the output of notifications in CSV or JSON format.
  • Page 61 IO-Link master with IoT interface CabinetLine 8 ports IP 20 "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. • Request: "code":"request", "cid":4712, "adr":"/timer[1]/interval/setdata", "data":{"newvalue":500} •...
  • Page 62 IO-Link master with IoT interface CabinetLine 8 ports IP 20 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 63 IO-Link master with IoT interface CabinetLine 8 ports IP 20 Example: Checking subscriptions 61164 Task: Information about the existing subscription (Example: Subscribing to notifications (→ S. 60)Show Example: Subscribing to notifications (→ S. 60)). Solution: Use the service getsubscriptioninfo and the parameter values cid, "adr" and "callback" of the existing subscription to retrieve the information.
  • Page 64: Using Web Socket

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 65 IO-Link master with IoT interface CabinetLine 8 ports IP 20 "/iolinkmaster/port[2]/iolinkdevice/productname", "/iolinkmaster/port[2]/iolinkdevice/pdin", "/processdatamaster/temperature"]}...
  • Page 66: Mqtt Support

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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. The IoT Core can publish data via the MQTT connection.
  • Page 67 IO-Link master with IoT interface CabinetLine 8 ports IP 20 Notes on the states of an MQTT connection: Note: Connection states (→ S. 67) 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 68 IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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: ► Check whether MQTT broker can be reached and the port has been released. ►...
  • Page 69 IO-Link master with IoT interface CabinetLine 8 ports IP 20 "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 70: Using The Iot-Core Visualizer

    Reading and writing process data ......................75 Updating the firmware ..........................76 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 71: Managing Notifications

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Managing notifications 61174 The menu page allows you to perform the following functions • Creating notifications • Showing active notifications • Deleting notifications (single, all) Requirements: • Iot-Core Visualizer has been started. ►...
  • Page 72 IO-Link master with IoT interface CabinetLine 8 ports IP 20 ► 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 73: Searching For Elements In The Device Tree

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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. Requirements: •...
  • Page 74: Configuring Io-Link The Master

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 • Backup and restore the current configuration of the machine. Requirements: •...
  • Page 75: Reading And Writing Process Data

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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. Requirements: • Iot-Core Visualizer has been started.
  • Page 76: Updating The Firmware

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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. ► Click on [Update]. >...
  • Page 77: Operation

    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 78: Maintenance, Repair And Disposal

    ► 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 AL1950. > IO-Link master copies parameter values from the data memory to the new IO-Link device.
  • Page 79: Factory Settings

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 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 [Host name] blank...
  • Page 80: Accessories

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 Accessories 33870 List of accessories of AL1950: → www.ifm.com > Product page > Accessories...
  • Page 81: Appendix

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 Appendix Content Technical data ............................82 ifm IoT Core ............................86 33879...
  • Page 82: Technical Data

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 14.1 Technical data Content Application ..............................82 Electrical data ............................82 Inputs / outputs ............................82 Inputs ..............................83 Outputs ..............................83 Interfaces ..............................83 Environmental conditions ........................84 Approvals / tests .............................84 Mechanical data ............................84 Electrical connection ..........................85 34188 >...
  • Page 83: Inputs

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 14.1.4 Inputs 34069 Inputs Number of digital inputs 16; (IO-Link Port Class A) Switching level high [V] 11...30 Switching level low [V] 0...5 Digital inputs protected against short circuits >...
  • Page 84: Environmental Conditions

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 14.1.7 Environmental conditions 33811 Environmental conditions Applications Control cabinet Ambient temperature [°C] -25...65 Storage temperature [°C] -25...85 Max. perm. relative air humidity [%] 90, linearly decreasing to 50 % (40 °C) Max.
  • Page 85: 14.1.10 Electrical Connection

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 14.1.10 Electrical connection 52350 Power supply IN X31 Plug and socket connection COMBICON Wiring GND (US) GND (US) + 24 V DC (US) + 24 V DC (US) Process connection IO-Link ports class A X01...X08 Plug and socket connection COMBICON Wiring...
  • Page 86: Ifm Iot Core

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 14.2 ifm IoT Core Content Overview: IoT profile ..........................87 Overview: IoT types ..........................94 Overview: IoT services ...........................95 33803...
  • Page 87: Overview: Iot Profile

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 14.2.1 Overview: IoT profile Content Profile: blob .............................87 Profile: deviceinfo ...........................88 Profile: devicetag ............................88 Profile: iolinkdevice_full ..........................89 Profile: iolinkmaster ..........................89 Profile: mqttCmdChannel ........................90 Profile: mqttCmdChannelSetup ......................90 Profile: mqttConnection ..........................90 Profile: mqttSetup ...........................91 Profile: network ............................91 Profile: parameter ...........................92...
  • Page 88: Profile: Deviceinfo

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Profile: deviceinfo 34207 Element (identifier) Properties mandatory Comments ▪ deviceinfo type = structure characterises the element as device information ▪ profile = deviceinfo ../devicename type = data optional ../devicefamiliy type = data optional ../devicevariant...
  • Page 89: Profile: Iolinkdevice_Full

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 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 mandatory ../productname type = data...
  • Page 90: Profile: Mqttcmdchannel

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 Profile: mqttCmdChannel 61186 Element (identifier) Properties Mandatory Comment ▪ mqttCmdChannel type = structure Profile of the MQTT command channel ▪ profile = commChannel ▪ ../type type = data mandatory Protocol type of the interface ▪...
  • Page 91: Profile: Mqttsetup

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 Profile: mqttSetup 61189 Element (identifier) Properties Mandatory Comment ▪ mqttSetup type = structure Settings of the MQTT command channel ▪ profile = mqttSetup ▪ ../QoS type = data mandatory Quality of Service of the MQTT connection ▪...
  • Page 92: Profile: Parameter

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Profile: parameter 34215 The profile is used to mark the elements of type data as parameters (acyclic data). The profile defines no substructure. > Profile: processdata 34225 The profile is used to mark the elements of type data as process data (cyclic data). The profile does not define a substructure.
  • Page 93: Profile: Software/Uploadedablesoftware

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Profile: software/uploadedablesoftware 52267 Element (identifier) Characteristics Mandatory Comments ▪ software type = structure Software that can be loaded to the device via the IoT Core ▪ profiles = software/uploadablesoft ware ../lastinstall type = data...
  • Page 94: Overview: Iot Types

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 95: Overview: Iot Services

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 14.2.3 Overview: IoT services Content Service: factoryreset ..........................95 Service: getblobdata ..........................96 Service: getdata ............................96 Service: getdatamulti ..........................97 Service: getelementinfo ..........................97 Servicet: getidentity ..........................98 Service: getsubscriberlist ........................99 Service: getsubscriptioninfo........................100 Service: gettree ............................101 Service: install ............................102 Service: iolreadacyclic ..........................102 Service: iolwriteacyclic ..........................102...
  • Page 96: Service: Getblobdata

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 Default Description field mandatory number Byte position...
  • Page 97: Service: Getdatamulti

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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: Servicet: Getidentity

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Servicet: getidentity 54690 Name: getidentity Description: The service reads the device information of the AL1950 and issues it. Request data ("data" field): none Return data ("data" field): Data field Required...
  • Page 99: Service: Getsubscriberlist

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Service: getsubscriberlist 61191 Name: getsubscriberlist Description: The service provides a list of all active subscriptions. Request data ("data" field): none Return data ("data" field): Array with the following data Data field Mandatory Data type...
  • Page 100: Service: Getsubscriptioninfo

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 101: Service: Gettree

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Service: gettree 61193 Name: gettree Description: The service reads the device description of the IO-Link master and outputs it as a JSON object. The output can be limited to a subtree of the device description. Request data ("data"...
  • Page 102: Service: Install

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 103: Service: Querytree

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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. At least one of the search criteria must be specified. The service can only be executed on the root node of the machine.
  • Page 104: Service: Setblock

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > 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 Description datatoset mandatory...
  • Page 105: Service: Setdata

    "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 AL1950. Request data (field "data"): none Return data (field "data"): none Example: "code":"request", "cid":4711, "adr":"firmware/signal"...
  • Page 106: Service: Start

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Service: start 61196 Name: start Description: The service starts a connection. Request data ("data" field): none Return data ("data" field): none Example: "code":"request", "cid":4711, "adr":"/connections/mqttConnection/MQTTSetup/mqttCmdChannel/status/start" > Service: start_stream_set 52342 Name: start_stream_set Description: The service starts the sequential transfer of multiple data segments.
  • Page 107: Service: Stream_Set

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 > Service: stream_set 52341 Name: stream_set Description: The service transfers a data segment. Applicable to: Objects of type data Request data (data): Data field Required Data type Default Description field value mandatory BIN (BASE64)
  • Page 108: Service: Unsubscribe

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 "eventno":"EventNo", "srcurl":"SrcURL", "payload":{ "eventurl":{"code":EventStatus,"data":EventData}, "datapointurl_1":{"code":DataStatus_1,"data":DataValue_1}, "datapointurl_2":{"code":DataStatus_2,"data":DataValue_2}, ...}} Notification: CSV SrcURL,EventNo,EventStatus,EventData,DataStatus_1,DataValue_1,DataStatus_2,DataVal ue_2,... • SrcURL: Source of the event (data point on which subscribe command was listed) • EventNo: Event number • EventStatus: Status code of the event •...
  • Page 109: Index

    IO-Link master with IoT interface CabinetLine 8 ports IP 20 Index Factory settings ..................79 Firmware Reboot the device ..................33 Access the ifm IoT Core ................ 37 Reset device to factory settings ..............33 Accessories ................... 80 First steps ....................40 Appendix ....................81 Function ....................
  • Page 110 IO-Link master with IoT interface CabinetLine 8 ports IP 20 Legal and copyright information .............. 5 Security mode ..................11 LR DEVICE .................... 25 Service factoryreset ....................95 getblobdata ....................96 getdata ......................96 Maintenance, repair and disposal ............78 getdatamulti ....................

Table of Contents