Content
First steps ..............................................................................................................................................38
General functions ...................................................................................................................................39
Configure IoT interface ...........................................................................................................................40
IoT interface: Configure security mode ..................................................................................................41
Configure the fieldbus interface ..............................................................................................................44
Configure IO-Link ports ..........................................................................................................................45
Configure IO-Link devices ......................................................................................................................47
Set application identification ...................................................................................................................49
Read / write cyclic process data ...........................................................................................................50
Control IO-Link master ...........................................................................................................................51
Read diagnostic data of the AL1340 ......................................................................................................53
Read device information of the IO-Link master ......................................................................................54
Read information about IO-Link devices ................................................................................................54
Subscribe to events ................................................................................................................................55
MQTT support .......................................................................................................................................57
Programmers' notes ...............................................................................................................................58
>
9.2.1 First steps
52245
To read the device description of the AL1340:
► Send the following POST request to the AL1340:
{"code":"request","cid":-1,"adr":"gettree"}
> AL1340 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.
► Identify the applicable services for the access to substructures and the data points contained
therein.