IFM AL1921 handleiding
Handleiding
Je bekijkt pagina 49 van 135

IO-Link master with EtherNet/IP interface AL1921
49
u Read total size of the data storage (g = number of bytes)
{
"code":"request",
"cid":-1,
"adr": "/iolinkmaster/port[2]/datastorage/size/getdata"
}
Example: g = 550
u Calculate the number of reading steps n: n = first integer value for which applies: g < n*h
Example: n= 3, da 550 < 3*256
u Read the data storage segment by segment ("pos" indicates the byte offset at which the read
process starts with the length "length").
{
"code":"request",
"cid":-1,
"adr":"/iolinkmaster/port[2]/datastorage/getblobdata",
"data":{"pos":0,"length":h}
}
{
"code":"request",
"cid":-1,
"adr":"/iolinkmaster/port[2]/datastorage/getblobdata",
"data":{"pos":h,"length":h}
}
{
"code":"request",
"cid":-1,
"adr":"/iolinkmaster/port[2]/datastorage/getblobdata",
"data":{"pos":2*h,"length":h}
}
...
{
"code":"request",
"cid":-1,
"adr":"/iolinkmaster/port[2]/datastorage/getblobdata",
"data":{"pos":n*h,"length":h}
}
Example:
1st read command: pos = 0, length = 256
2nd read command: pos = 256, length =256
3rd read command: pos = 512, length = 256
Each segment is returned as a BASE64-encoded string.
u Connect segments (concatenate).
Restore data memory
u Determine the size of the backed-up data storage content (n = number of bytes).
Example: n = 550
u Read segment size (s = number of bytes)
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 |







