^HL or ~HL
^HL or ~HL

^HL or ~HL

The printer can log RFID data and store it in the printer’s RAM. These commands request that the RFID data log be returned to the host computer. The
~HL
command is processed immediately, while the
^HL
command is processed after all of the previous formats (
^XA
...
^XZ
) have been processed.

Return RFID Data Log to Host

The firmware version determines the way that these commands function:
  • In firmware X.20.16Z and later, for security, logging is disabled by default. The
    ^HL
    command clears the current data log and restarts data recording. The
    ~HL
    command does not automatically clear the data log. The RFID host logs can be enabled or disabled by the "rfid.log.enabled" SGD command (see rfid.log.entries).
  • In firmware X.20.15Z and earlier, logging is enabled by default. Both commands clear the current data log and restart data recording.
Format:
^HL
or
~HL
In the log, RFID data displays in this format:
[date&time][RFID operation],[program position],[antenna element], [read or write power], [RFID status],[data]
where
  • [date&time]*
    a time stamp for the log entry * With some older versions of firmware, this parameter does not display.
  • [RFID operation]
    B
    = a
    ^RLB
    command was issued (see ^RLB – Permanently Lock Specified Memory Sections)
    E
    = log file reset
    L
    = lock
    M
    = a
    ^RLM
    command was issued (see ^RLM – Lock/Unlock the Specified Memory Bank)
    R
    = read
    S
    = RFID settings
    W
    = write
  • [program position],[antenna element],[read or write power]
    *
    Additional information about the program position, the antenna, and the read or write power follows the RFID operation.
    Such as:
R,F1,D3,27,00000000,DATA
where
F1
= the program position,
D3
= the antenna, and
27
is the write power. * With some older versions of firmware, these parameters do not display.
  • [RFID status]
    ####
    or
    ########
    = an RFID error code (See the RFID Programming Guide for your printer for more information on error codes. You can download a copy from www.zebra.com/manuals.)
    RPWR
    = read power
    WPWR
    = write power
    ANT
    = antenna
    PPOS
    = program position
    FFFFFFFF
    (or limited to length
    FFFF
    for some printers) = indicates that the log file was reset
  • [data]
    the data read or written
Comments:
  • Data is shown in the format specified by the
    ^RFW
    command (ASCII, Hex, or EPC).
  • If the RFID data log exceeds the maximum size, the following occurs:
    • In firmware X.20.16Z and later, when the data log reaches 1500K, one or more older entries are deleted to make room for the newest entry.
    • In firmware X.20.15Z and earlier, when the data log reaches 64K, the RFID data log is cleared automatically, and data recording restarts. When this happens, the following appears in the log:
      E,FFFFFFFF,Logfile automatically reset
  • In firmware X.20.15Z and earlier, If the printer loses power, the log is lost. If the log results are important to you, retrieve the information frequently.