IO-Link master with EtherCAT interface DataLine 4 ports IP 65 / IP 66 / IP 67
59
9.2.20
Gateway: Setting the application tag
59791
Substructure:
devicetag
Available data points:
Name
Description
Access
../applicationtag
Name of the IO-Link master (application tag)
rw
rw ... read and write
For the storage of the applicationtag 32 bytes are available on the IO-Link master. If the
memory area is exceeded during writing with setdata, the IoT core aborts the write process
and returns the diagnostics code 400.
When writing the application tag, note the different memory requirements of the individual
UTF-8 characters:
•
characters 0-127: 1 byte per character
•
characters >127: more than 1 byte per character
>
Example: Change name of the IO-Link master
a33823
Task:
Set the name of the IO-Link master to AL1330 for the representation in the
LR SMARTOBSERVER.
Solution:
Change the parameter [Application Tag] with the setdata service to the value [AL1330].
The data point of the parameter [Application Tag] in the device description object is
/devicetag/applicationtag.
•
Request:
{
"code":"request",
"cid":4711,
"adr":"/devicetag/applicationtag/setdata",
"data":{"newvalue":"AL1330"}
}
•
Response:
{"cid":4711,"code":200}