8 Set-up 22
8.1 Read device and diagnostic information ............................................................................23
9 Configuration 24
9.1 LR DEVICE ........................................................................................................................25
9.1.1 Remarks ..................................................................................................................................... 26
9.1.2 IoT: Configure IP settings ........................................................................................................... 27
9.1.3 IoT: Configure security mode ..................................................................................................... 28
9.1.4 IoT: Configure access rights ....................................................................................................... 29
9.1.5 IoT: Configure the interface to LR AGENT or LR SMARTOBSERVER ...................................... 30
9.1.6 Fieldbus: Configure IP settings ................................................................................................... 31
9.1.7 Fieldbus: set the length of the process data ............................................................................... 32
9.1.8 IO-Link ports: Activate data transfer to LR AGENT or LR SMARTOBSERVER ......................... 32
9.1.9 IO-Link ports: Configure operating mode.................................................................................... 33
9.1.10 IO-Link ports: Set the device validation and data storage .......................................................... 34
9.1.11 IO-Link ports: set fail-safe values ............................................................................................... 35
9.1.12 Info: Show device information .................................................................................................... 35
9.1.13 Firmware: Reset device to factory settings ................................................................................. 36
9.1.14 Firmware: Reboot the device ...................................................................................................... 36
9.1.15 Configure IO-Link devices .......................................................................................................... 37
9.2 ifm IoT Core .......................................................................................................................38
9.2.1 First steps ................................................................................................................................... 38
9.2.2 General functions ....................................................................................................................... 39
9.2.3 Configure IoT interface ............................................................................................................... 40
9.2.4 IoT interface: Configure security mode ....................................................................................... 41
9.2.5 Configure the fieldbus interface .................................................................................................. 44
9.2.6 Configure IO-Link ports .............................................................................................................. 45
9.2.7 Configure IO-Link devices .......................................................................................................... 47
9.2.8 Set application identification ....................................................................................................... 49
9.2.9 Read / write cyclic process data ................................................................................................. 50
9.2.10 Control IO-Link master ............................................................................................................... 51
9.2.11 Read diagnostic data of the AL1340 .......................................................................................... 53
9.2.12 Read device information of the IO-Link master .......................................................................... 54
9.2.13 Read information about IO-Link devices .................................................................................... 54
9.2.14 Subscribe to events .................................................................................................................... 55
9.2.15 MQTT support ............................................................................................................................ 57
9.2.16 Programmers' notes ................................................................................................................... 58
9.3 Modbus TCP ......................................................................................................................63
9.3.1 Integrate the AL1340 into the Modbus project ............................................................................ 63
9.3.2 Set IO-Link master ..................................................................................................................... 65
9.3.3 Set IO-Link ports ........................................................................................................................ 66
9.3.4 Read input data of several IO-Link ports .................................................................................... 67
9.3.5 Read input data of individual IO-Link ports ................................................................................. 68
9.3.6 Write output data of several IO-Link ports .................................................................................. 69
9.3.7 Write output data of individual IO-Link ports ............................................................................... 70
9.3.8 Read diagnostic information and events..................................................................................... 71
9.3.9 Read device information ............................................................................................................. 72
9.3.10 Control IO-Link master ............................................................................................................... 72
9.3.11 Configure IO-Link devices .......................................................................................................... 72
9.3.12 Modbus TCP: Programmers' notes ............................................................................................ 73