IO-Link Master with IoT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67
38
>
Example: Activate security mode
54701
Task:
Activate the security mode of the IO-Link interface of the IO-Link master. Set the password
"password" (Base64 coded: cGFzc3dvcmQ=)
Solution:
The activation sonsists of 2 steps:
1 Activate security mode
Use service setdata with datapoint iotsetup/security/securitymode to activate the security mode.
Request:
{
"code":"request",
"cid":-1,
"adr":"/iotsetup/security/securitymode/setdata",
"data":{"newvalue":"1"}
}
Response:
{
"cid":-1,
"code":200
}
2 Set required password
Use service setdata with data point iotsetup/security/password to set the required password.
Request:
{
"code":"request",
"cid":-1,
"adr":"/iotsetup/security/password/setdata",
"data":{"newvalue":"cGFzc3dvcmQ="}
}
Response:
{
"cid":-1,
"code":200
}