RFID Commands: ~HL or ^HL - Diagnostic

Article ID: 99694437

Details


 

Topic or Information

Diagnostics and Logging Feature for RFID. Added (Firmware required: R60.13.0.13ZB or higher)

Applies To

All Zebra RFID Enabled Printers

Details

A. The printer is always logging RFID data. When the user sends either a ~HL or ^HL, the printer will return a log to the host. The data returned represents the status of the RFID read and write commands, and shows any respective error codes (see appendix for error codes).

B. When a machine is powered on, the log is empty. Send a ~HL will return the following:

 

The log, after RFID commands have been issued, will have the following format:

C,EEEE,DDDDDDDDDDDDDDDDDDDDDDDD .

C= Operation (R=Read, W=Write, L=Lock)

EEEE = Error code (see appendix for error codes) Read More>>

DDDDDDDDDDDDDDDDDDDDDDDD = Data read or written

For example:

W,0000,54888
W,0000,12345
W,0000,54888
W,0000,12345
W,0000,54888
W,0000,12345
W,0000,54888
W,0000,54888
W,0000,54888

Above shows nine write operations, the associated error status, and data written. The data is in the format sent by the ^RFW command. The data will either be in ASCII, Hex or EPC format.

Sending ~HL or ^HL will send the RFID log to the host. It will also clear the log and start logging new data.

The internal buffer that contains the data log is 64K in size. If the log goes beyond this size (~2000 operations), the log will clear itself, and restart recording automatically. If the log does automatically clear itself, the user will see this in the log:

E,FFFF, Logfile automatically reset

W,0000,54888
W,0000,12345
W,0000,54888
W,0000,12345
W,0000,54888
W,0000,54888
W,0000,54888

 

The data log is stored in RAM, so if power is lost, you will lose the log. If the results are important, it's recommend to frequently retrieve/clear the log.