8 Set-up 21
9 Configuration 22
9.1 LR DEVICE ........................................................................................................................ 23
9.1.1 Remarks ..................................................................................................................................... 24
9.1.2 IoT: Configure IP settings ........................................................................................................... 24
9.1.3 IoT: Configure security mode ..................................................................................................... 25
9.1.4 IoT: Configuring access rights .................................................................................................... 26
9.1.5 IoT: Configure the interface to LR AGENT or LR SMARTOBSERVER ...................................... 27
9.1.6 Fieldbus: Configure IP settings ................................................................................................... 28
9.1.7 Fieldbus: set the length of the process data ............................................................................... 29
9.1.8 IO-Link ports: Activate data transfer to LR AGENT or LR SMARTOBSERVER ......................... 29
9.1.9 IO-Link ports: Configure operating mode.................................................................................... 30
9.1.10 IO-Link ports: Set the device validation and data storage .......................................................... 31
9.1.11 IO-Link ports: set fail-safe values ............................................................................................... 32
9.1.12 Info: Show device information .................................................................................................... 32
9.1.13 Firmware: Reset device to factory settings ................................................................................. 33
9.1.14 Firmware: Reboot the device ...................................................................................................... 33
9.1.15 Configure IO-Link devices .......................................................................................................... 34
9.2 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 IoT: Configuring access rights .................................................................................................... 44
9.2.5 IoT: Configuring IP settings ........................................................................................................ 44
9.2.6 IoT: Configuring the LR AGENT or LR SMARTOBSERVER interface ....................................... 45
9.2.7 IoT: Configuring security mode ................................................................................................... 45
9.2.8 Fieldbus: Configuring the IP settings .......................................................................................... 47
9.2.9 Fieldbus: Confguring the fieldbus interface ................................................................................ 48
9.2.10 Fieldbus: Setting fail-safe values ................................................................................................ 48
9.2.11 IO-Link ports: Setting the operating mode of pin 4 (US) ............................................................. 48
9.2.12 IO-Link ports: Configuring device validation and data storage ................................................... 49
9.2.13 IO-Link ports: Configuring data transfer to LR AGENT or LR SMARTOBSERVER .................... 51
9.2.14 IO-Link ports: Reading / writing process data ............................................................................. 51
9.2.15 IO-Link ports: Indicating port events ........................................................................................... 54
9.2.16 IO-Link devices: Accessing parameters ..................................................................................... 54
9.2.17 IO-Link devices: Reading an writing device information ............................................................. 56
9.2.18 IO-Link devices: Indicating IO-Link events ................................................................................. 56
9.2.19 Gateway: Resetting, rebooting and localising the device ........................................................... 56
9.2.20 Gateway: Reading device information ........................................................................................ 57
9.2.21 Gateway: Reading status and diagnostic information ................................................................. 57
9.2.22 Gateway: Updating the firmware ................................................................................................ 58
9.2.23 Gateway: Setting the application tag .......................................................................................... 59
9.2.24 Subscribing to notifications ......................................................................................................... 60
9.2.25 Using Web Socket ...................................................................................................................... 64
9.2.26 MQTT support ............................................................................................................................ 66
9.2.27 Using the IoT-Core Visualizer ..................................................................................................... 70
9.3 Modbus TCP ...................................................................................................................... 77
9.3.1 Integrate the AL1343 into the Modbus project ............................................................................ 77
9.3.2 Set IO-Link master ..................................................................................................................... 79
9.3.3 Set IO-Link ports ........................................................................................................................ 80
9.3.4 Read input data of several IO-Link ports .................................................................................... 81
9.3.5 Read input data of individual IO-Link ports ................................................................................. 82
9.3.6 Write output data of several IO-Link ports .................................................................................. 83
9.3.7 Write output data of individual IO-Link ports ............................................................................... 84
9.3.8 Read diagnostic information and events .................................................................................... 85
9.3.9 Read device information ............................................................................................................. 86
9.3.10 Control IO-Link master ............................................................................................................... 86
9.3.11 Configure IO-Link devices .......................................................................................................... 86
9.3.12 Modbus TCP: Programmers' notes ............................................................................................ 87