IFM AL1921 handleiding
Handleiding
Je bekijkt pagina 44 van 135

AL1921 IO-Link master with EtherNet/IP interface
44
{
"cid":2,
"code":200
}
9.2.6.2 Example: Request with authentication
Task: The temperature of the IO-Link master is to be read. The security function is enabled (current
password: password).
Solution: Read the data point processdatamaster/temperature. The request must be sent using https.
The user name and the password are transferred as a Base64-coded character string ("administrator"
= "YWRtaW5pc3RyYXRvcg==", "password" = "cGFzc3dvcmQ=")
Request:
{
"code":"request",
"cid":1,
"adr":"processdatamaster/temperature/getdata",
"auth":{
"user":"YWRtaW5pc3RyYXRvcg==",
"passwd":"cGFzc3dvcmQ="
}
}
Response:
{
"cid":1,
"data":{"value":37},
"code":200
}
9.2.6.3 Example: Resetting the password
Task: The existing password is to be reset.
Solution: To reset a password, disable the security mode. To disable it, enter the user name and the
password (the fields "user" and "passwd").
Request:
{
"code":"request",
"cid":-1,
"adr":"iotsetup/security/securitymode/setdata",
"data":{"newvalue":0},
"auth":{
"user":"YWRtaW5pc3RyYXRvcg==",
"passwd":"SW9UNGlmbQ=="
}
}
Response:
Bekijk gratis de handleiding van IFM AL1921, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
| Merk | IFM |
| Model | AL1921 |
| Categorie | Niet gecategoriseerd |
| Taal | Nederlands |
| Grootte | 11184 MB |







