8 Set-up 22
9 Configuration 23
9.1 LR DEVICE ........................................................................................................................ 24
9.1.1 Remarks ..................................................................................................................................... 25
9.1.2 IoT: Configure IP settings ........................................................................................................... 25
9.1.3 IoT: Configure security mode ..................................................................................................... 26
9.1.4 IoT: Configuring access rights .................................................................................................... 27
9.1.5 IoT: Configure the interface to LR AGENT or LR SMARTOBSERVER ...................................... 28
9.1.6 Fieldbus: Configure EtherCAT interface ..................................................................................... 28
9.1.7 IO-Link ports: Activate data transfer to LR AGENT or LR SMARTOBSERVER ......................... 29
9.1.8 IO-Link ports: Configure operating mode.................................................................................... 30
9.1.9 IO-Link ports: Set the device validation and data storage .......................................................... 31
9.1.10 Info: Show device information .................................................................................................... 32
9.1.11 Firmware: Reset device to factory settings ................................................................................. 32
9.1.12 Firmware: Reboot the device ...................................................................................................... 32
9.1.13 Configure IO-Link devices .......................................................................................................... 33
9.2 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 IoT: Configuring access rights .................................................................................................... 43
9.2.5 IoT: Configuring IP settings ........................................................................................................ 43
9.2.6 IoT: Configuring security mode ................................................................................................... 44
9.2.7 Fieldbus: Configuring the fieldbus interface ................................................................................ 46
9.2.8 IO-Link ports: Setting the operating mode of pin 4 (US) ............................................................. 46
9.2.9 IO-Link ports: Configuring device validation and data storage ................................................... 47
9.2.10 IO-Link ports: Configuring data transfer to LR AGENT or LR SMARTOBSERVER .................... 49
9.2.11 IO-Link ports: Reading / writing process data ............................................................................. 49
9.2.12 IO-Link ports: Indicating port events ........................................................................................... 52
9.2.13 IO-Link devices: Accessing parameters ..................................................................................... 52
9.2.14 IO-Link devices: Reading an writing device information ............................................................. 54
9.2.15 IO-Link devices: Indicating IO-Link events ................................................................................. 54
9.2.16 Gateway: Resetting, rebooting and localising the device ........................................................... 54
9.2.17 Gateway: Reading device information ........................................................................................ 55
9.2.18 Gateway: Reading status and diagnostic information ................................................................. 55
9.2.19 Gateway: Updating the firmware ................................................................................................ 56
9.2.20 Gateway: Setting the application tag .......................................................................................... 57
9.2.21 Subscribing to notifications ......................................................................................................... 58
9.2.22 Using Web Socket ...................................................................................................................... 62
9.2.23 MQTT support ............................................................................................................................ 64
9.2.24 Using the IoT-Core Visualizer ..................................................................................................... 68
9.3 EtherCAT ........................................................................................................................... 75
9.3.1 Install ESI file .............................................................................................................................. 75
9.3.2 Integrate the IO-Link master into the TwinCAT project ............................................................... 75
9.3.3 Configure IO-Link master ........................................................................................................... 76
9.3.4 Configure IO-Link ports .............................................................................................................. 76
9.3.5 Configure cyclic process data ..................................................................................................... 77
9.3.6 Read and write cyclic process data ............................................................................................ 78
9.3.7 Read diagnostic and status information ..................................................................................... 79
9.3.8 Read IO-Link events ................................................................................................................... 80
9.3.9 Configure IO-Link devices .......................................................................................................... 80
9.3.10 EtherCAT: Programmers' notes .................................................................................................. 81