Zebra® Radio Frequency Identification (RFID) Programming Guide 58978L-008
© 2008 ZIH Corp. The copyrights in this manual and the software and/or firmware in the printer described therein are owned by ZIH Corp. Unauthorized reproduction of this manual or the software and/or firmware in the printer may result in imprisonment of up to one year and fines of up to $10,000 (17 U.S.C.506). Copyright violators may be subject to civil liability. This product may contain ZPL®, ZPL II®, and ZebraLink™ programs; Element Energy Equalizer® Circuit; E3®; and Monotype Imaging fonts.
Contents About This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Who Should Use This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 How This Document Is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Contacts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents 4 • Creating Basic RFID Label Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Create and Send an RFID Label Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sample RFID Label Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RFID Label Format 1—Encode a Gen 2 Tag in Hexadecimal . . . . . . . . . . . . . . . . . . RFID Label Format 2—Encode a Gen 2 Tag in ASCII . . . . . . . . . . . . . .
Contents ^RI ^RM ^RN ~RO ^RQ ^RR ^RS ^RT ~RV ^RW ^RZ ^WF ^WT ^WV Get RFID Tag ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Enable RFID Motion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Detect Multiple RFID Tags in Encoding Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Reset Advanced Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ _______________________________________________
About This Document This section provides you with contact information, document structure and organization, and additional reference documents. Contents Who Should Use This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 How This Document Is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Contacts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About This Document Who Should Use This Document Who Should Use This Document This Programming Guide is intended for use by the label format developer or printer integrator to create label formats that will encode RFID tags.
About This Document How This Document Is Organized Section Description Transponder Characteristics on page 43 This section describes the different characteristics of some common transponder types. RFID Applicator Signals on page 149 This section applies to printers that have applicator ports and that are being used in a print and apply system. Included are timing diagrams for good and bad RFID tags and the pin configuration for the applicator port.
About This Document Contacts Contacts Technical Support via the Internet is available 24 hours per day, 365 days per year. Web Site: www.zebra.com E-mail Back Technical Library: E-mail address: emb@zebra.com Subject line: Emaillist Self Service Knowledge Base: www.zebra.com/knowledgebase Online Case Registration: www.zebra.com/techrequest Which Department Do You Need? Regional Headquarters The Americas Zebra Technologies International, LLC 333 Corporate Woods Parkway Vernon Hills, IL 60061-3109 U.S.
About This Document Document Conventions Document Conventions The following conventions are used throughout this document to convey certain information. Alternate Color (online only) Cross-references contain hot links to other sections in this guide. If you are viewing this guide online in .pdf format, you can click the cross-reference (blue text) to jump directly to its location. LCD Display Examples Text from a printer’s Liquid Crystal Display (LCD) appears in Bubbledot ICG font.
About This Document Document Conventions Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ ______________
1 Introduction to RFID This section describes the basic concepts of Radio Frequency Identification (RFID) and how RFID works with your printer. Contents RFID Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RFID Label Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Considering RFID Transponder (Tag) Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction to RFID RFID Overview RFID Overview An RFID printer encodes (writes) information on ultra-thin HF or UHF RFID transponders that are embedded in “smart” labels, tickets, and tags. The printer encodes the information; verifies proper encoding; and prints bar codes, graphics, and/or text on the label’s surface. The RFID transponder is sometimes called the RFID tag or an inlay. The transponder is usually made of an antenna that is bonded to an integrated circuit (IC) chip.
Introduction to RFID RFID Label Selection Accounting for Transponder Inlay Placement Communication between the RFID label and the printer is established when the label’s transponder inlay lines up with the printer’s antenna. The optimal transponder programming position varies with the transponder size, its configuration, and the type of RFID IC chip used. For transponder inlay placement information, go to http://www.zebra.com/rfid_transponders.
Introduction to RFID Radio Frequency Interference Radio Frequency Interference Radio Frequency (RF) interference can be caused by many sources. This interference can affect RFID performance by limiting the range of the RFID tags or preventing reading/writing to the tags. • Foil and metal-based media should not be used for RFID applications. Metal reflects radio frequency signals and is a leading source of RF interference. • Water and other liquids can absorb RF signals.
2 RFID Printer Setup and Operation How you set up your printer for RFID applications is determined in part by the transponder that you select. This section guides you through some tasks that you may need to perform on your printer to make RFID reading and encoding possible. When you have completed this section, you will be ready to program your RFID label formats. Contents Set Tag Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
RFID Printer Setup and Operation Set Tag Type Set Tag Type After you select a transponder type and purchase labels, set the transponder (tag) type on the printer. Do this through the control panel menu (see Specify RFID Tag Type on page 27) or through the ^RS ZPL command (see ^RS on page 108).
RFID Printer Setup and Operation Download Latest Firmware Download Latest Firmware Zebra may update printer and reader firmware periodically to add new functionality or to fix any known issues with older firmware. At any time, you may download the most recent firmware for your RFID printer. For the firmware files and the downloading instructions, go to http://www.zebra.com/firmware. Important • Download only the firmware designed for your printer and for your region or country.
RFID Printer Setup and Operation Download Latest Firmware Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ ________________________________________________________________________
3 RFID Control Panel Parameters This section shows the control panel parameters that appear on most Zebra RFID printers that have a graphic display. Note • The RP4T does not display these parameters. The parameters shown in Table 2 on page 22 display only if you have an RFID reader and antenna installed. Depending on which type of printer you have and which version of firmware that you are using, not all parameters or options for the parameters may display.
RFID Control Panel Parameters Table 2 • RFID Parameters (Page 1 of 7) Parameter PRINT MODE - RFID Action/Explanation + Select Print Mode Print mode settings tell the printer the method of media delivery to use. Make sure that your printer can support the selected option. Use RFID mode when printing batches of RFID labels to increase throughput time. Default: (R110PAX4) APPLICATOR Default: (all other RFID printers) RFID Selections: vary by printer To change the value shown: 1.
RFID Control Panel Parameters Table 2 • RFID Parameters (Page 2 of 7) Parameter RFID TAG CALIB RESTORE RUN Action/Explanation Calibrate RFID Tag This parameter sets the RFID programming position through a tag calibration, or it restores the programming position back to the printer default. RESTORE Selecting this option resets the RFID programming position to the printer default. Note • With some printers and firmware versions, no label movement or changes to the control panel occur.
RFID Control Panel Parameters Table 2 • RFID Parameters (Page 3 of 7) Parameter RFID VALID CTR 956 RESET Action/Explanation View Valid RFID Label Counter This parameter displays the total number of valid RFID labels that have been printed/encoded. You can use this parameter or odometer.rfid.valid_resettable on page 132 to reset the counter to zero. To reset the counter to zero: 1. Press the right oval/PLUS (+) to select RESET.
RFID Control Panel Parameters Table 2 • RFID Parameters (Page 4 of 7) Parameter RFID WRITE PWR 16 Action/Explanation View or Change RFID Write Power This parameter displays the current value for RFID write power. Note • · This parameter does not appear on the R110Xi HF printer. · On some printers, the options vary based on the reader. Check the printer configuration label for the RFID_HW_VER line or perform the RFID SLOW test (see Perform RFID Test on page 22) to determine the reader type.
RFID Control Panel Parameters Table 2 • RFID Parameters (Page 5 of 7) Parameter RFID ANTENNA ANTENNA PORT 1 Action/Explanation Select the RFID Antenna Port Note • This parameter appears only for the R110Xi HF printer. This parameter displays the current antenna port. Default: ANTENNA PORT 1 Selections: ANTENNA PORT 1, ANTENNA PORT 2 To change the value shown: 1. Press the left oval/MINUS (-) or the right oval/PLUS (+) to scroll through the options. RFID ERR STATUS 58978L-008 Rev.
RFID Control Panel Parameters Table 2 • RFID Parameters (Page 6 of 7) Parameter RFID TAG TYPE CLASS 1 96-BIT Action/Explanation Specify RFID Tag Type Select the RFID tag type that you are using. See Table 9, Supported Tag Types and Default Values on page 111 for tag types that your printer supports. If a tag type is supported but does not appear on your printer’s control panel, you may need to upgrade the printer’s firmware (see http://www.zebra.com/firmware).
RFID Control Panel Parameters Table 2 • RFID Parameters (Page 7 of 7) Parameter RFID TAG DATA Action/Explanation Read and Display RFID Tag Data When this option is selected, the reader attempts to read a tag over the RFID antenna, even if the printhead is open. Results are displayed in hexadecimal format. The printer rereads the tag every 2 seconds, so if the tag changes, data is displayed for the current tag over the antenna. No printer movement occurs while tag data is read.
4 Creating Basic RFID Label Formats After you have selected a transponder type and set your printer appropriately, use the ZPL samples in this section as a base for programming your own RFID label formats. For specific information about individual ZPL commands, see ZPL II Commands for RFID on page 79. Contents Create and Send an RFID Label Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Sample RFID Label Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Creating Basic RFID Label Formats Create and Send an RFID Label Format Create and Send an RFID Label Format The following pages contain sample RFID label formats that you can modify to create your own RFID label formats. To create an RFID label based on a sample label, complete these steps: 1. Using any word processor or text editor that is capable of creating ASCII-only files (for example, use Microsoft® Word and save as a .txt file), type in the label format exactly as shown in the desired sample.
Creating Basic RFID Label Formats Sample RFID Label Formats Sample RFID Label Formats Use the formats in this section to assist you in creating your own RFID label formats. RFID Label Format 1—Encode a Gen 2 Tag in Hexadecimal Line Number Type This ZPL Code Function of ZPL Code 1 ^XA Indicates start of label format. 2 ^RS8 Sets tag type to Gen 2 3 ^FO50,50 ^A0N,65 ^FDSimple write example ^FS Prints “Simple write example” on the label at location 50,50.
Creating Basic RFID Label Formats Sample RFID Label Formats RFID Label Format 2—Encode a Gen 2 Tag in ASCII This label format is different in what shows on the control panel. The control panel always displays RFID data in hexadecimal. Line Number Type This ZPL Code Function of ZPL Code 1 ^XA Indicates start of label format. 2 ^RS8 Sets tag type to Gen 2 3 ^FO50,50 ^A0N,65 ^FDSimple write example ^FS Prints “Simple write example” on the label at location 50,50.
Creating Basic RFID Label Formats Sample RFID Label Formats RFID Label Format 3—Read Data from Tag and Print Data on Label This example assumes that the tag created using RFID Label Format 1—Encode a Gen 2 Tag in Hexadecimal on page 31 is being read. Line Number Type This ZPL Code Function of ZPL Code 1 ^XA Indicates start of label format. 2 ^RS8 Sets tag type to Gen 2 3 ^FO50,50 ^A0N,40 ^FN0 ^FS ^FN0 is a placeholder field variable for the tag data that will be read in the following line.
Creating Basic RFID Label Formats Sample RFID Label Formats RFID Label Format 4—Encode Tag, Read Tag, and Print Data on Label Line Number Type This ZPL Code Function of ZPL Code 1 ^XA Indicates start of label format. 2 ^RS8 Sets tag type to Gen 2 3 ^FO60,60 ^A0N,40 ^FN7 ^FS When the label prints, the data read from the tag at field variable 7 (^FN7) will be printed at location 60,60.
Creating Basic RFID Label Formats Sample RFID Label Formats Control Panel Display (toggles between these two) RFID TAG DATA 3064617461000000 RFID TAG DATA 00000000 11/14/2008 RFID Programming Guide 58978L-008 Rev.
Creating Basic RFID Label Formats Sample RFID Label Formats RFID Label Format 5—Encode a Class 1 64-bit Tag in Hexadecimal Line Number Type This ZPL Code Function of ZPL Code 1 ^XA Indicates start of label format. 2 ^RS3 Sets tag type to EPC Class 1 64-bit. 3 ^FO50,50 ^A0N,65 ^FDSimple write example ^FS Prints “Simple write example” on the label at location 50,50. 4 ^RFW,H ^FD1122334455667788 ^FS W,H = write hex Encodes the 8 bytes of data (64 bits) to the tag.
Creating Basic RFID Label Formats Sample RFID Label Formats RFID Label Format 6—Encode Tag, Read Tag, and Return Results to Host Line Number Type This ZPL Code Function of ZPL Code 1 ^XA Indicates start of label format. 2 ^RS8 Sets tag type to Gen 2 3 ^FO50,50 ^A0N,65 ^FN3 ^FS When the label prints, the data read from the tag at field variable 3 (^FN3) will be printed at location 50,50.
Creating Basic RFID Label Formats Sample RFID Label Formats Control Panel Display (toggles between these two) RFID TAG DATA 0102030405000000 RFID TAG DATA 00000000 Sent to Host Computer 010203040500000000000000 58978L-008 Rev.
5 RFID Antenna Location Operations to test the RFID functions and display RFID tag data require you to place an RFID label over the RFID antenna area. This section shows the location of the RFID antenna in the various Zebra RFID printers. Contents RXi and RXi HF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RZ400 and RZ600 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . R110PAX4 .
RFID Antenna Location RXi and RXi HF RXi and RXi HF Figure 2 • RXi and RXi HF Antenna Location 1 RZ400 and RZ600 Figure 3 • RZ400 and RZ600 Antenna Location 1 58978L-008 Rev.
RFID Antenna Location R110PAX4 R110PAX4 Figure 4 • R110PAX4 Antenna Location 1 RP4T Figure 5 • RP4T Antenna Location 1 11/14/2008 RFID Programming Guide 58978L-008 Rev.
RFID Antenna Location R4Mplus R4Mplus Figure 6 • R4Mplus Antenna Location 1 58978L-008 Rev.
6 Transponder Characteristics This section describes the different characteristics of some common transponder types. Contents Basic Transponder Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Electronic Product Code (EPC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EPC Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transponder Characteristics Basic Transponder Characteristics Basic Transponder Characteristics Table 3 shows some of the basic characteristics of common transponder types. Table 3 • Characteristics of Transponder Types Read Write Class 0 Yes No 96 bits Class 0+ Yes Yes 96 bit (TID) 104 bit (USER) Class 1 64 bits Yes Yes 64 bits Class 1 96 bits Yes Yes 96 bits ISO18000-6A Yes Yes Varies ISO18000-6B Yes Yes Varies Gen 2 Yes Yes Varies by manufacturer and tag.
Transponder Characteristics Electronic Product Code (EPC) Electronic Product Code (EPC) EPC is a product numbering standard that can be used to identify a variety of items by using RFID technology. The 96-bit EPC code links to an online database, providing a secure way of sharing product-specific information along the supply chain. Note • The information in this section is provided for your convenience only and is subject to change. Go to http://www.epcglobalinc.org for the latest EPC information.
Transponder Characteristics EPC Class 1, Generation 2 (Gen 2) EPC Class 1, Generation 2 (Gen 2) EPC Gen 2 tags offer advantages over other tag types. The tag identification (TID) memory in a Gen 2 tag includes the chip manufacturer and model number information, which can be used to identify which optional features are present on the tag. These optional features include those for data content and security.
Transponder Characteristics EPC Class 1, Generation 2 (Gen 2) Table 4 • Gen 2 Tag Logical Memory Map (Continued) Memory Bank 0 Reserved Memory Contents … Bank access password (15:0) access password (31:16) kill password (15:0) kill password (31:16) 11/14/2008 RFID Programming Guide 58978L-008 Rev.
Transponder Characteristics EPC Class 1, Generation 2 (Gen 2) Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ ____________________________________________________________________
7 Troubleshooting This section provides information about RFID operational errors that you might need to troubleshoot. For other types of problems, consult the user guide for your printer. Contents RFID Problems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RFID Error Codes and Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Error and Status Messages . . . . . . . . . . . . . . . . . . . . . . .
Troubleshooting RFID Problems RFID Problems Table 5 identifies problems that may occur with RFID printers, the possible causes, and the recommended solutions. Table 5 • RFID Problems Problem Possible Cause Recommended Solution The RFID-enabled printer voids every label. The printer is not calibrated for the RFID label being used. Refer to the User Guide for your printer for instructions. The printer is set for the wrong tag type. Set the correct tag type using Specify RFID Tag Type on page 27.
Troubleshooting RFID Problems Table 5 • RFID Problems (Continued) Problem Possible Cause Recommended Solution Low yields. Too many RFID tags per roll are voided. The RFID labels are not within specifications for the printer, which means that the transponder is not in an area that can be programmed consistently. Make sure that the labels meet transponder placement specifications for your printer. See http://www.zebra.com/id/zebra/na/en/index/ products/supplies/rfid_supplies/ rfid_transponder_inlay.
Troubleshooting RFID Problems Table 5 • RFID Problems (Continued) Problem Possible Cause Recommended Solution The printer stops at the RFID inlay. The printer calibrated the label length only to the RFID inlay instead of to the interlabel gap. 1. 2. The DATA light flashes indefinitely after you attempt to download printer or reader firmware. The download was not successful. For best results, cycle power on the printer before downloading any firmware. 1. 2. 3. 4. 5.
Troubleshooting RFID Error Codes and Messages RFID Error Codes and Messages In the event of an RFID error, the printer does the following: • displays an RFID error or status message on the second line of the RFID ERR STATUS control panel parameter • returns RFID error codes to the RFID data log (see ^HL or ~HL on page 84 for more information about the RFID data log) Table 6 provides the possible problems sorted by the error message, while Table 7 on page 66 provides these problems sorted by the error code.
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 0004 BAD CRC The last valid message string had a bad Cyclic Redundancy Check (CRC). An integrity check of the reader firmware failed. If the problem persists, contact Technical Support. 0005 BAD DATA The reader received bad data from the printer. If the problem persists, contact Technical Support.
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 0100 DATA AMOUNT ERR Two situations can result in this error: • The data length in a message to the RFID reader from the printer is less than the number of arguments in the message. • The data length is greater than the number of arguments.
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 0048 FPGA OLD The FPGA code is out of date. This would typically happen during a reader firmware upgrade. Make sure you download the appropriate version of reader firmware. If the problem persists, contact Technical Support. 0423 GEN2 BAD PC Internal problem with the reader.
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code RFID Error or Status Message 800F INVALID AUTH KEY The key number does not exist or is invalid for authentication with a specific reader or tag. 010A INVALID BAUD Internal problem with the reader. If the problem persists, contact Technical Support. 0109 INVALID CMD The command does not exist or is invalid for the reader. Internal problem with the reader.
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 0402 INVALID PROTOC The RFID reader received a command for a protocol value that is not supported with the current version of reader firmware. Make sure you have the right tag type selected and that you are using a tag that is supported by your printer.
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 0003 MESSAGE SYNCH Point-to-point only. Current message head or “}” character interrupted a previous message. Turn the printer power off (O). Wait ten seconds, and then turn the printer power on (I). If the problem persists, contact Technical Support. 8405 MOD FILE SET ERR Internal problem with the reader.
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code 0400 RFID Error or Status Message NO TAG NO TAG FOUND Description/Action Required Note • This error message varies by reader type. No RFID tag was detected in the RF field. Several things can cause this error: • No acceptable RFID tag is in the RF field.
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 0102 OPCODE UNAVAIL The opCode received by the RFID reader is invalid or not supported with the current version of reader firmware. 1. Make sure you download the appropriate version of reader firmware. 2. Turn the printer power off (O). Wait ten seconds, and then turn the printer power on (I).
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 9201 READ SYS ERR There was a problem reading a parameter from the non-volatile memory of the reader. If the problem persists, contact Technical Support. 0602 REPEATED ID One of the protocols is trying to add an existing tag ID to the buffer. Internal problem with the reader.
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 8101 SELECT TAG ERR The reader failed to select a specified tag in the RF field. Verify that a tag is within the field and that the current tag type is valid with the printer firmware (see Table 9, Supported Tag Types and Default Values, on page 111). 002F SELF TST ERR Self-test error. Internal problem with the reader.
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 0600 TAG ID FAULT The reader received a command to get a certain number of tag IDs from the tag ID buffer. The reader contains less tag IDs stored in its tag ID buffer than the number the host sent. Internal problem with the reader. If the problem persists, contact Technical Support.
Troubleshooting RFID Error Codes and Messages Table 6 • RFID Error and Status Message Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 8506 WRITE DSFID ERR There was an error writing to the DSFID byte. Verify that the tag that you are using supports this feature and that they byte is unlocked. If the problem persists, contact Technical Support. 0406 WRITE FAILED This can occur when one of a number of RFID operations fails.
Troubleshooting RFID Error Codes and Messages Error Codes Table 7 shows the possible error codes, the corresponding error or status message, and the action required (if any). Table 7 • RFID Error Code Definitions Error Code RFID Error or Status Message Description/Action Required RDR ERR xxxx Internal problem with the reader. If the problem persists, contact Technical Support. 0000 RFID OK Normal operation. 0001 BAD MESSAGE Internal communications problem with the reader.
Troubleshooting RFID Error Codes and Messages Table 7 • RFID Error Code Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 000F SERIAL ERROR 2 High level serial error 2. Internal problem with the reader. If the problem persists, contact Technical Support. 0021 TEMP ERROR Temperature sensor error. Internal problem with the reader. If the problem persists, contact Technical Support. 0022 RAM ERROR Internal problem with the reader.
Troubleshooting RFID Error Codes and Messages Table 7 • RFID Error Code Definitions (Continued) Error Code 0036 RFID Error or Status Message NO TAG NO TAG FOUND Description/Action Required Note • This error message varies by reader type. No RFID tag was detected in the RF field. Several things can cause this error: • No acceptable RFID tag is in the RF field. This can happen if an RFID label is present but the transponder is not placed correctly within the label or if the wrong tag type is used.
Troubleshooting RFID Error Codes and Messages Table 7 • RFID Error Code Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 0045 INVALID VAR. Invalid configuration variable. Internal problem with the reader. If the problem persists, contact Technical Support. 0046 HARDWARE ERR If the problem persists, contact Technical Support. 0048 FPGA OLD The FPGA code is out of date. This would typically happen during a reader firmware upgrade.
Troubleshooting RFID Error Codes and Messages Table 7 • RFID Error Code Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 0103 POWER TOO HI The RFID reader received a command to set the read or write power to a level that is higher than the RFID reader supports. Check the versions of the reader firmware and printer firmware. You may need to download different versions.
Troubleshooting RFID Error Codes and Messages Table 7 • RFID Error Code Definitions (Continued) Error Code 0400 RFID Error or Status Message NO TAG NO TAG FOUND Description/Action Required Note • This error message varies by reader type. No RFID tag was detected in the RF field. Several things can cause this error: • No acceptable RFID tag is in the RF field. This can happen if an RFID label is present but the transponder is not placed correctly within the label or if the wrong tag type is used.
Troubleshooting RFID Error Codes and Messages Table 7 • RFID Error Code Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 0408 INVALID WR DATA In EPC 0+, the first two bits determine the tag ID length. If the first two bits are 0b00, then the tag ID must be 96 bits. Otherwise, the tag ID is 64 bits. Make sure that the first two bits have the correct values, depending on the tag ID length.
Troubleshooting RFID Error Codes and Messages Table 7 • RFID Error Code Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 1234 RDR COM TIMEOUT The printer was not able to communicate with the reader. If the problem persists, contact Technical Support. 1236 VERIFY FAIL Internal problem with the reader. If the problem persists, contact Technical Support. 1237 MULTIPLE TAGS More than one RFID tag was detected in the RF field.
Troubleshooting RFID Error Codes and Messages Table 7 • RFID Error Code Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 800D DECRYPT TAG ERR The data read from the tag was not decrypted properly or was corrupted. 800E INVALD SIGNATURE The HMAC written to the tag did not match the data and the key. 800F INVALID AUTH KEY The key number does not exist or is invalid for authentication with a specific reader or tag.
Troubleshooting RFID Error Codes and Messages Table 7 • RFID Error Code Definitions (Continued) Error Code RFID Error or Status Message 8202 SEND PASSWRD ERR Internal problem with the reader. If the problem persists, contact Technical Support. 8301 GET APPLI ID ERR Internal problem with the reader. If the problem persists, contact Technical Support. 8302 SELECT APPLI ERR Internal problem with the reader. If the problem persists, contact Technical Support.
Troubleshooting RFID Error Codes and Messages Table 7 • RFID Error Code Definitions (Continued) Error Code RFID Error or Status Message Description/Action Required 8504 WRITE AFI ERR There was an error writing to the AFI byte. Verify that the tag that you are using supports this feature and that they byte is unlocked. If the problem persists, contact Technical Support. 8505 READ AFI ERR There was an error reading the AFI byte. Verify that the tag that you are using supports this feature.
Troubleshooting RFID Error Codes and Messages Table 7 • RFID Error Code Definitions (Continued) Error Code RFID Error or Status Message 9009 INVALID DATA LEN The length of the data specified in the request was invalid for the command specified. If the problem persists, contact Technical Support. 9101 LOAD DEFAULT ERR The reader was unable to successfully load its default parameters. If the problem persists, contact Technical Support.
Troubleshooting RFID Error Codes and Messages Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ _________
8 ZPL II Commands for RFID This section contains the ZPL II commands for RFID-specific applications. For non-RFID ZPL commands, refer to the ZPL II Programming Guide. A copy is available on the User CD provided with your printer and online at http://www.zebra.com/manuals. Contents ZPL Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Printer and Firmware Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ZPL II Commands for RFID Contents (Continued) ^WT Write (Encode) RFID Tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 ^WV Verify RFID Encoding Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 58978L-008 Rev.
ZPL II Commands for RFID ZPL Overview ZPL Overview In addition to reading or encoding RFID tags, the RFID ZPL commands also provide for RFID exception handling, such as setting the number of read/write retries before declaring a transponder defective (set with ^RR, ^RT, and ^WT) or setting the number of labels that will be attempted if an error occurs (set with ^RS).
RFID Programming Guide Host Verification Read AFI or DSFID Byte Define EPC Data Structure Enable/Disable E.A.S. Bit Read or Write RFID Format Get RFID Tag ID Enable RFID Motion Detect Multiple RFID Tags in Encoding Field ^HV on page 88 ^RA on page 91 ^RB on page 93 ^RE on page 95 ^RF on page 96 ^RI on page 100 ^RM on page 101 ^RN on page 102 * * (R60.13.0.3 or later) * * * * * * * * (R60.13.0.13ZD or later) * — * — — — * * * * R110Xi and R170Xi all * RZ400 and RZ600 R53.
58978L-008 Rev.
ZPL II Commands for RFID ^HL or ~HL ^HL or ~HL Return RFID Data Log to Host Description The printer continually logs RFID data and stores it in the printer’s RAM. Use this command to request that the RFID data log be returned to the host computer, to clear the current data log, and to restart data recording. The data returned show the status of the RFID read, write, and lock commands and show any resulting error codes.
ZPL II Commands for RFID ^HR ^HR Calibrate RFID Transponder Position Important • Consider the following before using this command: • • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Do not perform transponder calibration for RFID media that meets the transponder placement specifications for your printer. Doing so will slow the printer’s throughput unnecessarily.
ZPL II Commands for RFID ^HR Comments • Based on the recommended transponder placement position for most RFID labels, the printer’s default RFID programming position is zero for the R110PAX4. For other RFID printers, the default programming position is the label length minus 1 mm (0.04 in.). To return to the default programming position at any time, use the RESTORE option in the RFID TAG CALIB control panel parameter (see Calibrate RFID Tag on page 23).
ZPL II Commands for RFID ^HR Example • If the following command is sent to the printer: ^XA^HR^XZ The printer starts the transponder calibration and returns a results table such as the following: start position=480 82, , 80, , 79, , . . . 56,R, 55,R,W 54,R,W 53,R,W 52,R,W 51,R,W 50,R,W 49,R,W 48,R,W 47,R,W 46,R,W 45,R,W 44,R,W 43,R,W 42,R,W 41,R,W 40,R,W <---**** 480 dots 39,R,W 38,R,W 37,R,W 36,R,W 35,R,W 34,R,W 33,R,W 32,R,W 31,R,W 30,R,W 29,R,W 28,R,W 27,R,W 26,R,W 25,R,W 24,R,W 23,R, 22, , 21, , . .
ZPL II Commands for RFID ^HV ^HV Host Verification Description Use this command to return data from specified fields, along with an optional ASCII header, to the host computer. You can use this command with any field that has been assigned a number with the ^RT command or the ^FN and ^RF commands.
ZPL II Commands for RFID ^MM ^MM Print Mode Description The ^MM command determines the action the printer takes after a label or group of labels has printed.
ZPL II Commands for RFID ^MM • Peel-off — after printing, the label moves forward and activates a Label Available Sensor. Printing stops until the label is manually removed from the printer. Power Peel – liner automatically rewinds using an optional internal rewind spindle. Value Peel – liner feeds down the front of the printer and is manually removed.
ZPL II Commands for RFID ^RA ^RA Read AFI or DSFID Byte Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to read the AFI or DSFID byte. The data can be returned to the host via the ^HV command. Format ^RA#,f,r,m,b This table identifies the parameters for this format.
ZPL II Commands for RFID ^RA Example 2 •This example reads the DSFID byte in ASCII format and returns DSFID Byte:x to the host. The printer will retry the command three times if necessary. A voided label is generated if the read is unsuccessful after these retries. The data read will go into the ^FN1 location of the recalled format. ^XA ^FO20,120^A0N,60^FN1^FS ^RA1,0,3,0,D^FS ^HV1,,DSFID Byte:^FS ^XZ 58978L-008 Rev.
ZPL II Commands for RFID ^RB ^RB Define EPC Data Structure Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to define the structure of EPC data, which can be read from or written to an RFID transponder. For more information about EPC specifications, refer to the EPC Global web site.
ZPL II Commands for RFID ^RB Example 2 •The following command specifies that there are 64 bits used with eight 8-bit fields. ^RB64,8,8,8,8,8,8,8,8^FS The ZPL code to encode a tag with this format would look like this: ^RFW,E^FD1.123.160.200.249.6.1.0^FS When writing to the tag, each set of data is written in its respective 8-bit field.
ZPL II Commands for RFID ^RE ^RE Enable/Disable E.A.S. Bit Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to enable or disable the Electronic Article Surveillance (E.A.S.) bit that is available in some ISO15693 tags (such as Philips).
ZPL II Commands for RFID ^RF ^RF Read or Write RFID Format Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to read or write to (encode) an RFID tag. When using this command to read a tag, you may use a field variable to print the tag data on the label or to return the data to the host.
ZPL II Commands for RFID ^RF 11/14/2008 Parameters Details b = starting block number For tag types other Gen 2: Specifies the starting block number. Accepted Values: 0 to n, where n is the maximum number of blocks for the tag. Default Value: 0 For Gen 2 tag type only: What you specify for this parameter depends on what you entered for the operation parameter. • When W, L, or R are specified for the operation parameter, this parameter specifies a 16-bit word block number.
ZPL II Commands for RFID ^RF Parameters m = memory bank Details Note • This parameter applies to Gen 2 tags only. Specifies the Gen 2 memory bank. See Gen 2 Memory Map on page 46 for more information about Gen 2 memory. Accepted Values: E = EPC 96-bit (command automatically performs operation on Gen 2 bit address 20h and accesses 12 bytes of the EPC memory bank) 0 = Reserved 1 = EPC 2 = TID (Tag ID) 3 = User Default Value: E Example 1 •This example encodes 96-bit data in ASCII format.
ZPL II Commands for RFID ^RF Example 5 •This example reads the extended Gen 2 tag ID (TID), which is not read by the ^RI command, and returns the results to the host computer. The results are labeled with the header “8-byte Tag ID Data.” ^XA ^RS8 ^RFR,H,0,8,2^FN1^FS^HV1,,8-byte Tag ID Data:^FS ^XZ 11/14/2008 RFID Programming Guide 58978L-008 Rev.
ZPL II Commands for RFID ^RI ^RI Get RFID Tag ID Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to get the unique serial number of the tag and return it in hexadecimal format. The data can be sent back to the host via the ^HV command. For Gen 2 tag types, this command will return the 32-bit tag ID (TID) for the tag.
ZPL II Commands for RFID ^RM ^RM Enable RFID Motion Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to enable or disable RFID motion. By default, labels automatically print at the end of the format.
ZPL II Commands for RFID ^RN ^RN Detect Multiple RFID Tags in Encoding Field Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to enable or disable detection of multiple RFID tags in the encoding field. By default, the printer checks for more than one tag in the field before attempting to read or write.
ZPL II Commands for RFID ~RO ~RO Reset Advanced Counters Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description The ~RO command resets the advanced counters used by the printer to monitor label generation in inches, centimeters, and number of labels.
ZPL II Commands for RFID ~RO Example 2 • This example shows how the counter portion of the printer configuration labels looks when the RFID counters are reset by sending ~RO3 and ~RO4. Before After 58978L-008 Rev.
ZPL II Commands for RFID ^RQ ^RQ Quick Write EPC Data and Passwords Important • This command is not supported by all RFID tags, printers, or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command with an Alien Higgs RFID tag and appropriate firmware to write the EPC data, access password, and kill password with one command. Doing so reduces the encoding time.
ZPL II Commands for RFID ^RQ Example 1 • This example writes the EPC data to the tag in hexadecimal format. The unspecified access and kill passwords are written as zeroes (0x00000000). ^XA^RQ^FD112233445566778899001122^XZ Example 2 • This example writes the EPC data to the tag in hexadecimal format. The access password is written as 0xAAAAAAAA, and the kill password is written as 0xBBBBBBBB.
ZPL II Commands for RFID ^RR ^RR Specify RFID Retries for a Block Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to change the number of times that the printer attempts to read or write to a particular block of a single RFID tag. By default, the printer will attempt six retries.
ZPL II Commands for RFID ^RS ^RS Set Up RFID Parameters Description Use this command to set up RFID parameters including tag type, read/write position of the transponder, and error handling. Important • Use care when using this command in combination with ^RT or ^RF for reading tag data. Problems can occur if the data read from the tag is going to be printed on the label. Any data read from the transponder must be positioned to be printed above the read/write position.
ZPL II Commands for RFID ^RS 11/14/2008 Parameters Details p = read/write position of the transponder Sets the read/write position of the transponder in vertical (Y axis) dot rows from the top of the label. Set to 0 (no movement) if the transponder is already in the effective area without moving the media.
ZPL II Commands for RFID ^RS Parameters Details a = signals on applicator Note • This parameter does not apply to the R2844-Z. For the R4Mplus, this parameter applies only to printers with firmware version SP994X (R4Mplus European version). When the value for parameter p (read/write position of the transponder) is nonzero, this parameter changes the number of start and stop print signals required for printing. In Single mode, one start print command is required.
ZPL II Commands for RFID ^RS Supported Tag Types Table 9 shows the tag types supported by different RFID printers/print engines and firmware versions. Depending on your country or on the firmware version that you are using, your printer may not support all of the tag types listed. If you specify an unsupported tag type, the printer uses the default value. If a tag type is shown as supported but does not work with your printer, you may need to upgrade the printer’s firmware (see http://www.zebra.
ZPL II Commands for RFID ^RS Table 9 • Supported Tag Types and Default Values (Continued) R62.15.X and later R63.13.X R63.15.X and later SP994O, SP999E, SP1027E, SP1082E, and earlier SP994P, SP999F, SP1027F, SP1082F, and later SP1056D and earlier SP1056E and later R53.16.X and later all R65.13.X R65.15.X and later all R2844-Z R110Xi HF R62.13.X RP4T R60.16.5Z and later R4Mplus R60.15.8Z and R60.16.4Z R110Xi R170Xi R110PAX4 Printer HF Printers RZ400/ RZ600 UHF Printers R60.13.
ZPL II Commands for RFID ^RS Example 1 • This example sets the printer to move the media to 800 dots from the top of the media [or label length minus 800 from the bottom (leading edge) of the media] and voids the rest of the media in case of an error. The printer will try to print two labels and then will pause if printing and encoding fail. ^XA ^RS,800,,2,P^FS ^XZ Figure 7 shows the resulting voided label. Note where the void starts.
ZPL II Commands for RFID ^RS Example 2 • This example sets the printer to move the media to 800 dots from the top of the media [or label length - 500 from the bottom (leading edge) of the media] and prints “VOID” 500 dots in vertical length (Y axis) in case of an error. ^XA ^RS,800,500,2,P^FS ^XZ Figure 8 shows the resulting voided label. Note where the void starts.
ZPL II Commands for RFID ^RT ^RT Read RFID Tag Note • The ^RT command is provided only for backward-compatibility with label formats that were developed for older Zebra RFID printers. Use ^RF on page 96 instead whenever possible. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to tell the printer to read the current RFID tag data. The data can be returned to the host via the ^HV command.
ZPL II Commands for RFID ^RT Parameters Details m = motion Enables or disables RFID motion for the current field. Accepted values: 0 = Feed label after writing. 1 = No feed after writing. Other ZPL may cause a feed. Default value: 0 s = special mode Note • This parameter is used only for the printers referenced here. For R110Xi HF and R2844-Z printers: Specify data order.
ZPL II Commands for RFID ~RV ~RV Report RFID Encoding Results Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to tell the printer to send RFID encoding success or failure results to the host computer after each label completes.
ZPL II Commands for RFID ^RW ^RW Set RF Power Levels for Read and Write Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to set the RFID read and write power levels. This function is useful when using different tag types or transponders that require different power levels to obtain the best read and write abilities.
ZPL II Commands for RFID ^RW Parameters Details w = write power Sets the power level to match the desired output as calibrated in the factory. Note • · This parameter is ignored on the R110Xi HF printer because read and write powers cannot be specified separately. The printer uses the value that you specified for read power for both the read and write power settings. · On some printers, the options vary based on the reader.
ZPL II Commands for RFID ^RZ ^RZ Set RFID Tag Password and Lock Tag Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to define a password for a tag during writing. With Gen 2 tags, you can lock a tag’s memory bank with an access password or define a kill password that can be used to permanently disable the tag.
ZPL II Commands for RFID ^RZ Parameters Details m = memory bank Specifies the memory bank to perform the lock style. If K is specified, the p parameter is written to the kill password. Otherwise, the p parameter is written to the access password. Note • This parameter applies to Gen 2 tags only. Accepted Values: K = kill password A = access password E = EPC T = tag identifier (TID) U = user Default Value: none l = lock style Specifies the lock style to perform on the memory bank.
ZPL II Commands for RFID ^RZ Example 3 • On a Gen 2 tag, this example encodes EPC data 112233445566778899001122 to the tag in Hex format, write protects the tag’s EPC data with password 1234ABCD, and makes the tag’s access password unreadable.
ZPL II Commands for RFID ^WF ^WF Encode AFI or DSFID Byte Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to encode the AFI or DSFID byte to a tag. Error handling is set by the ^RS command. Format ^WFr,m,w,f,b The following table identifies the parameters for this format.
ZPL II Commands for RFID ^WF Example 2 •This example encodes data hex 66 as the AFI byte. The printer will try the command up to three times, if necessary. ^XA ^WF3,,,1^FD66 ^XZ Example 3 •This example encodes data hex 77 as the DSFID byte. The printer will try the command up to four times, if necessary. ^XA ^WF4,,,1,D^FD77 ^XZ 58978L-008 Rev.
ZPL II Commands for RFID ^WT ^WT Write (Encode) RFID Tag Note • The ^WT command is provided only for backward-compatibility with label formats that were developed for older Zebra RFID printers. Use ^RF on page 96 instead whenever possible. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to encode the current RFID tag. Check the amount of data memory available for the tag that you will be using.
ZPL II Commands for RFID ^WT Parameters Details f = data format Accepted values: 0 = ASCII 1 = Hexadecimal Default value: 0 For the R110Xi HF and R2844-Z: For the R110Xi HF and R2844-Z: Reverses the data order. v = reverse the data order Accepted values: N = Do not reverse the data order (Most significant byte first for Tag*It and PicoTag.
ZPL II Commands for RFID ^WV ^WV Verify RFID Encoding Operation Important • This command is not supported by all printers or firmware. See Printer and Firmware Compatibility on page 82 for the list of printers and firmware with which you can use this command. Description Use this command to enable or disable the write verify function.
ZPL II Commands for RFID ^WV Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ _________________________
9 SGD Commands for RFID This section contains the Set/Get/Do (SGD) commands for RFID-specific applications. For non-RFID SGD commands, refer to the ZPL II Programming Guide. A copy is available on the User CD provided with your printer and online at http://www.zebra.com/manuals. Contents Printer and Firmware Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . odometer.rfid.valid_resettable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SGD Commands for RFID Printer and Firmware Compatibility Printer and Firmware Compatibility Table 10 shows the minimum firmware versions required to use specific RFID SGD commands. Table 10 • SGD RFID Printer and Firmware Compatibility R110Xi (UHF) and R170Xi RZ400 and RZ600 odometer.rfid.valid_resettable R60.16.4Z odometer.rfid.void_resettable SGD Commands R110PAX4 R4Mplus RP4T R110Xi HF R53.16.4Z R62.16.4Z R63.16.4Z SP994Q SP999G SP1027G SP1056F SP1082G all R65.16.4Z R60.16.4Z R53.
SGD Commands for RFID Printer and Firmware Compatibility Table 10 • SGD RFID Printer and Firmware Compatibility (Continued) R110Xi (UHF) and R170Xi RZ400 and RZ600 rfid.tag.data R60.16.4Z rfid.tag.test rfid.tag.type SGD Commands 11/14/2008 R110PAX4 R4Mplus RP4T R110Xi HF R53.16.4Z R62.16.4Z R63.16.4Z SP994Q SP999G SP1027G SP1056F SP1082G all R65.16.4Z — — — — all — R60.16.4Z R53.16.4Z R62.16.4Z R63.16.4Z SP994Q SP999G SP1027G SP1056F SP1082G all R65.16.
SGD Commands for RFID odometer.rfid.valid_resettable odometer.rfid.valid_resettable Description This command gets the RFID valid label counter value or resets the counter to zero. Type getvar; setvar This table identifies the command for this format: Commands Details getvar This command instructs the printer to respond with the current RFID valid counter value. Format: ! U1 getvar "odometer.rfid.valid_resettable" setvar This command instructs the printer to set the RFID valid counter to zero.
SGD Commands for RFID odometer.rfid.void_resettable odometer.rfid.void_resettable Description This command gets the RFID void label counter value or resets the counter to zero. Type getvar; setvar This table identifies the command for this format: Commands Details getvar This command instructs the printer to respond with the current RFID void counter value. Format: ! U1 getvar "odometer.rfid.void_resettable" setvar This command instructs the printer to set the RFID void counter to zero.
SGD Commands for RFID rfid.error.response rfid.error.response Description During an error condition, an error message shows on the second line of the display. This command can be used to retrieve that error message. See Table 6 on page 53 in the RFID Troubleshooting section for descriptions of the error messages. Type getvar This table identifies the command for this format: \ Commands Details getvar This command instructs the printer to respond with any active RFID error messages.
SGD Commands for RFID rfid.position.program rfid.position.program Description This command gets the read/write position of the transponder or sets the read/write position in vertical (Y axis) dot rows from the top of the label. Set to 0 (no movement) if the transponder is already in the effective area without moving the media.
SGD Commands for RFID rfid.reader_1.antenna_port rfid.reader_1.antenna_port Description This command sets or gets the RFID antenna port. Type getvar; setvar This table identifies the command for this format: Commands Details getvar This command instructs the printer to respond with the current antenna port. Format: ! U1 getvar "rfid.reader_1.antenna_port" setvar This command instructs the printer to set the antenna port. Format: ! U1 setvar "rfid.reader_1.
SGD Commands for RFID rfid.reader_1.power.read rfid.reader_1.power.read Description This command sets or gets the RFID reader power level for reading RFID tags. Note • This parameter is ignored on the R110Xi HF printer because read and write powers cannot be specified separately. See rfid.reader_1.power.single_power on page 138 to set the power level for the R110Xi HF printer.
SGD Commands for RFID rfid.reader_1.power.single_power rfid.reader_1.power.single_power Description This command sets or gets the RFID reader power level for reading and writing to RFID tags for readers with a single power level. Note • This command applies only to the R110Xi HF printer, firmware version R65.X. Type getvar; setvar This table identifies the command for this format: Commands Details getvar This command instructs the printer to respond with the current power level.
SGD Commands for RFID rfid.reader_1.power.write rfid.reader_1.power.write Description This command sets or gets the RFID reader power level for writing to RFID tags. Note • This parameter is ignored on the R110Xi HF printer because read and write powers cannot be specified separately. See rfid.reader_1.power.single_power on page 138 to set the power level for the R110Xi HF printer.
SGD Commands for RFID rfid.reader_1.power.write Example • This setvar example sets the reader to high power for writing to RFID tags. ! U1 setvar "rfid.reader_1.power.write" "high" When the setvar value is set to "high", the getvar result is "high". 58978L-008 Rev.
SGD Commands for RFID rfid.tag.calibrate rfid.tag.calibrate Description This command sets the RFID programming position through a tag calibration, or it restores the programming position back to the printer default. Before running this command, load the printer with RFID media, and close the printhead. For more information about this option, see Calibrate RFID Tag on page 23.
SGD Commands for RFID rfid.tag.data rfid.tag.data Description This command tells the RFID reader to attempt to read a tag over the RFID antenna, even if the printhead is open. Results are returned to the host. Before running this command, position an RFID label over the printer’s RFID antenna. To locate the RFID antenna on your printer, see RFID Antenna Location on page 39.
SGD Commands for RFID rfid.tag.test rfid.tag.test Description This command performs an RFID test. In the RFID test, the printer attempts to read and write to a transponder that you place over the RFID antenna. Results are displayed on the printer’s control panel display. To locate the RFID antenna on your printer, see RFID Antenna Location on page 39. In the slow version of the RFID test, the printer first displays the hardware version, the reader firmware version, and the program position.
SGD Commands for RFID rfid.tag.type rfid.tag.type Description This command sets or gets the reader’s RFID tag type. Type getvar; setvar This table identifies the command for this format: Commands Details getvar This command instructs the printer to respond with the reader’s current tag type. Format: ! U1 getvar "rfid.tag.type" setvar This command instructs the printer to set the reader’s tag type. For the supported tag types, see Table 11 on page 145. Format: ! U1 setvar "rfid.tag.
SGD Commands for RFID rfid.tag.type Supported Tag Types Table 11 shows the tag types supported by different RFID printers/print engines and firmware versions. Depending on your country or on the firmware version that you are using, your printer may not support all of the tag types listed. If you specify an unsupported tag type, the printer uses the default value. If a tag type is shown as supported but does not work with your printer, you may need to upgrade the printer’s firmware (see http://www.zebra.
SGD Commands for RFID rfid.tag.type Table 11 • Supported Tag Types and Default Values (Continued) R62.15.X and later R63.13.X R63.15.X and later SP994O, SP999E, SP1027E, SP1082E, and earlier SP994P, SP999F, SP1027F, SP1082F, and later SP1056D and earlier SP1056E and later R53.16.X and later all R65.13.X R65.15.X and later all R2844-Z R110Xi HF R62.13.X RP4T R60.16.5Z and later R4Mplus R60.15.8Z and R60.16.4Z R110Xi R170Xi R110PAX4 Printer HF Printers RZ400/ RZ600 UHF Printers R60.
10 RFID Applicator Signals This section applies to printers that have applicator ports and that are being used in a print and apply system. Included are timing diagrams for good and bad RFID tags and the pin configuration for the applicator port. For basic timing diagrams, see the User Guide for your printer. Contents Timing Diagrams for RFID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Single Signal Mode . . . . . . . . . . . . . . . . . . . . . . . . . .
150 RFID Applicator Signals Timing Diagrams for RFID Timing Diagrams for RFID The following timing diagrams show how applicator signals function while an RFID label is printing and being programmed in Mode 1. For more information about Single and Double signal modes, see ^RS on page 108. Single Signal Mode Figure 9 and Figure 10 show the applicator signals for label formats using programming positions other than zero.
RFID Applicator Signals Timing Diagrams for RFID Figure 11 and Figure 12 show the applicator signals for label formats using zero for their programming position. Figure 11 • Single Signal Mode, Good RFID Tag Void (pin 15) End Print (pin 11) Start Print (pin 3) Data Ready (pin 14) 1 2 3 1 2 3 Encode RFID tag. Check void signal (high means good tag). Label ready for printing. After receiving start print signal, print label.
152 RFID Applicator Signals Timing Diagrams for RFID Double Signal Mode Figure 13 and Figure 14 show the applicator signals for good and bad tags using double signal mode. Figure 13 • Double Signal Mode, Good RFID Tag Void (pin 15) End Print (pin 11) Start Print (pin 3) Data Ready (pin 14) 1 2 3 4 5 6 1 2 3 4 5 6 Label ready for printing. After receiving start print signal, print first part of label. When program position is reached, stop and encode RFID tag.
RFID Applicator Signals Applicator Interface Connector Pin Configuration Applicator Interface Connector Pin Configuration The Applicator Interface Assembly is available in two versions: a +5 V I/O and a +24–28 V I/O. Table 12 lists the pin configurations and functions of the applicator interface connector for both +5 V and +24–28 V operation. Table 12 • Applicator Interface Connector Pin Configuration Pin No.
154 RFID Applicator Signals Applicator Interface Connector Pin Configuration Table 12 • Applicator Interface Connector Pin Configuration (Continued) Pin No. Signal Name Signal Type Description 5 PAUSE Input To toggle the current Pause state, this input must be asserted LOW for 200 milliseconds, or until the SERVICE REQUIRED output (pin 10) changes state. 6 REPRINT Input • If the Reprint feature is enabled, this input must be asserted LOW to cause the printer to reprint the last label.
RFID Applicator Signals Applicator Interface Connector Pin Configuration Table 12 • Applicator Interface Connector Pin Configuration (Continued) Pin No. Signal Name Signal Type Description 11 END PRINT Output • MODE 0—The applicator port is OFF. • MODE 1—Asserted LOW only while the printer is moving the label forward; otherwise deasserted HIGH. • MODE 2—Asserted HIGH only while the printer is moving the label forward; otherwise deasserted LOW.
156 RFID Applicator Signals Applicator Interface Connector Pin Configuration Jumper Configurations and Pinouts for +5 V I/O Operation Jumpers are used to produce isolated or non-isolated modes of operation for applicator input and output control signals. RPAX4 printers use J4 and J5 while RXi printers user JP1 and JP2. J4/JP1 configures the +5 V source for the optoisolator circuits, and J5/JP2 configures the ground.
RFID Applicator Signals Applicator Interface Connector Pin Configuration Pinouts for +24-28 V I/O Operation Table 14 describes the pin configurations for +24–28 V I/O operation. There are no jumpers to configure for this mode. Table 14 • Non-Isolated and Isolated Modes for +24–28V Operation Isolated (External Power) Non-Isolated (Internal Printer Power) Pin 1 External Ground +24-28V I/O ground must be connected to an external ground. (Required for the 110XiIIIPlus.
158 RFID Applicator Signals Applicator Interface Connector Pin Configuration Notes • ___________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ __________________________________________________________________________ ________________________________________________________
Index A D access password set via ^RQ, 105 set via ^RZ, 120 advanced counter reset, 103 AFI byte read command (^RA), 91 write command (^WF), 123 antenna location, 39 antenna port select through control panel, 26 select using ZPL, 119 applicator +24-28V isolated and non-isolated modes, 157 +5V isolated and non-isolated modes, 156 interface pin configuration, 153 timing diagrams for RFID, 150 data log for RFID, 84 define EPC data structure (^RB), 93 detect multiple RFID tags (^RN), 102 display RFID tag da
160 Index F M firmware supported tag types for each version, 111, , 145 upgrades, 19 ZPL command compatibility, 82 media ordering, 10 media (purchasing RFID labels), 15 memory map for Gen 2 tags, 46 motion in RFID label, 101 G Gen 2 memory map, 46 overview, 46 printers and firmware that support Gen 2, 111, 145 setting password or locking tag, 120 specify tag type using SGD, 144 specify tag type using ZPL, 108 write EPC data to tag via ^RQ, 105 write EPC data to tag via ^RZ, 120 H I inlays, 15 isolate
Index RFID antenna location, 39 antenna port selection, 26 calibrate RFID tag from control panel, 23 calibrate RFID tag using SGD, 141 calibrate RFID tag using ZPL (^HR), 85 change read power through control panel, 24, 25 change read power using ZPL, 118 change write power through control panel, 25 change write power using ZPL, 118 create label formats, 30 detect multiple tags (^RN), 102 display tag data LCD, 28 SGD, 142 enable motion (^RM), 101 error codes and messages, 53 error status, 26 number of retri
162 Index W Z write AFI byte command (^WF), 123 write data to tag via ^RQ, 105 via ^RZ, 120 write power change through control panel, 25 change using ZPL, 118 write RFID format (^RF), 96 write RFID tag (^WT), 125 Zebra Programming Language (ZPL II) command compatibility with printers and firmware, 82 ^HL or ~HL, Return RFID Data Log to Host (^HL or ~HL), 84 ^HR, Calibrate RFID Transponder, 85 overview, 81 ^RA, Read AFI Byte, 91 ^RB, Define EPC Data Structure, 93 ^RE, Enable/Disable E.A.S.
Zebra Technologies International, LLC 333 Corporate Woods Parkway Vernon Hills, Illinois 60061.3109 U.S.A T: +1 847 793 2600 Toll-free +1 800 423 0422 F: +1 847 913 8766 Zebra Technologies Europe Limited Dukes Meadow Millboard Road Bourne End Buckinghamshire, SL8 5XF, UK T: +44 (0)1628 556000 F: +44 (0)1628 556001 Zebra Technologies Asia Pacific, LLC 120 Robinson Road #06-01 Parakou Building Singapore 068913 T: +65 6858 0722 F: +65 6885 0838 http://www.zebra.com © 2008 ZIH Corp.