Справочник для Printronix SL4M

Скачать
Страница из 112
ZGL EPC Programming Examples
81
Example 4
This example uses the ^RF command to write and read 
the tag with EPC format.
^XA
^RMY
^RB64,16,16,16,16
^RZ01^RR3^RFW,E^FD12594,13108,13622,14136^FS
^FO50,150^A0N,50^FN0^FS
^FN0^RR4^RFR,E^FS
^XZ
Example 5
On a Gen 2 tag, this example:
• writes EPC data “112233445566778899001122”
to the tag in hexadecimal format
• locks the tag’s EPC data with the password
“1234ABCD”
• renders the tag’s access password unreadable
^XA
^RFW,H^FD112233445566778899001122^FS
^RZ1234ABCD,E,L^FS
^RZ1234ABCD,A,L^FS
^XZ
This example:
• unlocks EPC data “112233445566778899001122”
using the password “1234ABCD”
• writes EPC data “newdata” to the tag in ASCII
format
• locks the tag’s new EPC data
Since the access password and its lock state are not 
changed, the access password remains unreadable.
^XA
^RZ1234ABCD,E,U^FS
^RFW,A^FDnewdata^FS
^RZ1234ABCD,E,L^FS
^XZ