Printronix SL5000e manual PPI1 EPC Programming Examples

Page 43

PPI1 EPC Programming Examples

PPI1 EPC Programming Examples

IMPORTANT For all examples make sure Label Length in the QUICK SETUP menu matches the physical length of the installed media.

Example 1

This programming example programs data into an

RFID tag and prints the encodation onto a smart label.

^XA

//Begin ZPL form.

^WT0^FH^FD_87_D0_03_45_67_AB_CD_EF^FS //Write Tag with data = “87D0034567ABCDEF” //(hex format).

^RT1,0,1,1^FS

//Read Tag into data element 1, 8–byte (16 characters) //long (hex format).

^FO100,100^A0N,60^FN1^FS //Print data in element 1.

^XZ

//End and print label.

Example 2

Same as Example 1, except an alternative PPI1 syntax that does not require underscores between the hex characters is used.

^XA

//Begin ZPL form.

^WT0,,,,1FDN^FD87D0034567ABCDEF^FS

//Write Tag with data = “87D0034567ABCDEF” //(hex format).

^RT1,0,1,1^FS

//Read Tag into data element 1, 8–byte (16 characters) //long (hex format).

^FO100,100^A0N,60^FN1^FS //Print data in element 1.

^XZ

//End and print label.

43

Image 43
Contents Rfid Labeling Reference Manual Printronix Customer Support Center contact information Rfid Labeling Reference Manual Trademark Acknowledgements Table of Contents Table of Contents Overview Rfid Smart Label Application Reference NotesOverview Factors Affecting Smart Label Performance What To Expect When Running Your Rfid ApplicationFactors Affecting Smart Label Performance Overstruck Smart LabelsWhat To Expect When Running Your Rfid Application Smart Label CharacteristicsHow It Works How Printronix Makes It EasyHow Printronix Makes It Easy Contact Information How To Order More Smart LabelsPrintronix Professional Services What We Can DoContact Information Hardware/Infrastructure ConsiderationsReference Material Useful Industry Web LinksUseful Industry Web Links Smart Label Development Rfid Control Menu Rfid Control MenuCont. from previous Rfid Control Menu Items Error HandlingRfid Control Menu Items Tag Write CntPage Admin User Menu Items Admin User Menu ItemsRfid Test This Test Reads a Tag Custom Tag Len Rfid PGL Commands Rfid PGL CommandsIDFn LengthIDFnformatLength DFnRSTn IdirStep RPTn~CREATESGTIN-64432 RFWTAG64 ExampleStop END ~EXECUTESGTIN-641 ~NORMAL Stop END ~EXECUTESGTIN-64 Rfid PGL Commands ExampleSGTIN-64 ~CREATESGTIN-64432 RFWTAG64 Stop AlphaStop END ~EXECUTESGTIN-64ICNT1500 ~NORMAL ~NORMAL ~EXECUTESGTIN-64Length DFn format Format RFRTAGsizeDF n Stop RFTAG64 FormatStop Format VERIFYfieldformatDASCIIheaderD END ~EXECUTESGTIN-64ICNT1500 ~IDF1STEP+1*0* ~IAF1DF2 ~NORMALASCIIheader Verify~CREATEREADONLY432 RFRTAG64 ~CREATEVERIFY432NOMOTION RFRTAG64Stop RFRTAG64 64DF2H END ~EXECUTEVERIFY1 ~NORMALEND ~EXECUTESIMPLEICNT2000 ~NORMAL ~EXECUTEREADONLY1500 ~NORMAL~CREATESIMPLE432NOMOTION RFWTAG64 Stop Rfrtag 64 64DF1HHEX Write TagFormat RfwriteLock Write TagPosition Read TagFormat RDIposition,length,format RDIGet Tag Unique ID Rfid PPI1 CommandsSet Tag Type Format RT x, start, length, hex, retries, motion, reserved Rfid PPI1 CommandsLCD StartMotion Format HVx,yASCII Host VerificationPPI1 EPC Programming Examples PPI1 EPC Programming ExamplesTools List Software Migration Tools SMTSoftware Migration Tools SMT Tools List Selecting The Tools Rfid MAX Retry Error MessagesControl Panel Error Messages Explanation Solution Selecting The ToolsSetup Guide TroubleshootingTroubleshooting Troubleshooting the Rfid Encoder Symptom SolutionTroubleshooting Troubleshooting Page 178835-001