Printronix T5000e setup guide EPC Programming Example, Alpha

Page 58

Chapter 3 RFID PGL Commands

length The decimal number that specifies the length of the data to be read.

format Replace the optional format parameter with any non-zero number to convert the data to hexadecimal format.

EPC Programming Example

This programming example shows reading and writing dynamic EPC data to a tag.

~CREATE;HEX;431

//Create a form named HEX.

RFWRITE;HEX;RF3;16;AT1;

//Write Tag with data from dynamic RFID element 3. //Length of data is 16, format is HEX.

ALPHA

//The following ALPHA element is defined below. //It will be used to print the contents of the tag.

RFREAD@;AF1;16;10;10;0;0

//Read Tag Indicator character is “@”. Incorporate read //data into Dynamic ALPHA field number 1. Length of //ALPHA field is 16 characters. Place ALPHA field at //dot position (10,10) on the form.

STOP

//Terminate the ALPHA element definition.

END

~EXECUTE;HEX

//Execute the form with dynamic data.

~RF3;“68656C6C6F746167”

//Dynamic data (in HEX) for Tag Write is //“68656C6C6F746167”.

~AF1;*@1,16,1;*

//Print the data in AF1.

~NORMAL

58

Image 58
Contents Printronix T5000eTM Series of Thermal Printers Printronix Customer Support Center contact information Printronix T5000e Series of Thermal Printers Software License Agreement Government Restricted Rights Communication NoticesTermination of License Agreement Acknowledgement of Terms and ConditionsEuropean Community EC Conformity Statement German Conformity StatementPage Trademark Acknowledgements Table of Contents Smart Label Development Rfid Smart Label Application Reference Notes OverviewWhat To Expect When Running Your Rfid Application What To Expect When Running Your Rfid ApplicationFactors Affecting Smart Label Performance Overstruck Smart Labels Smart Label CharacteristicsOverstruck Smart Labels How Printronix Makes It Easy How It WorksWhat We Can Do How To Order More Smart LabelsPrintronix Professional Services Contact InformationHardware/Infrastructure Considerations Hardware/Infrastructure ConsiderationsReference Material Useful Industry Web LinksReference Material Useful Industry Web Links Unpacking And Installing The Printer Unpacking The PrinterUnpacking And Installing The Printer Removing The Internal Packing MaterialInstallation InstallationControls And Indicators Controls And IndicatorsPower Switch Control PanelDisplay LCD Online StatusLiquid Crystal JobControl Panel Keys Control Panel Down Key in Menu mode Menu KeyEnter Key Loading Roll Media Loading Media And RibbonLoading Media And Ribbon Loading Roll Media Media Ribbon Loading Instructions Media Damper Antenna Lower Media Sensor Guard Fixed Guide Media Width Damper Media left edge Platen left edge Loading Ribbon Loading RibbonPrinthead Media Rear Ribbon Guide Roller Loading Ribbon Printhead Pressure Block Adjustments Printing AdjustmentsPrinthead Pressure Adjustment Left Pressure BlockPositioning The Media Sensors Positioning The Media SensorsRunning Auto Calibrate Running Auto CalibrateSaving The Configuration Run a Barcode Demo TestPrint Intensity Print Speed Print Mode Quick Setup MenuQuick Setup Menu Media HandlingPrint Intensity Quick Setup SubmenusQuick Setup Submenus SMT Status SMT Sel Toolset SMT Select ToolPrint Speed Print ModeMedia Handling Paper Feed Shift Label LengthHor Image Shift Label WidthVer Image Shift OrientationTopTheimagethe toparallelofedge ofedgeis leftthemedia.the Gap/Mark Sensor Save Config Auto CalibrateSMT Sel Toolset Power-Up ConfigSMT Status SMT Select ToolFor More Information For More Information Smart Label Development Rfid Reader Rfid Control MenuRfid Control Menu Version1Rfid Reader Error HandlingRfid Control Submenus Rfid Control SubmenusTag Write Cnt Max Retry ErrorLabel Retry Failed Tag CntPrecheck Tags Printed Overstrike Error MessagesError Message Explanation Overstrike StyleRfid Test This Test Reads a Tag Admin User Menu ItemsTag Type Auto RetryCustom Tag Len Admin User Menu ItemsCustom Pwr Set Custom Tag ClassWrite Tag Rfid PGL CommandsRfid PGL Commands FormatRead Tag Read TagEPC Programming Example AlphaAscii Programming Example Ascii Programming ExampleGet Tag Unique ID Rfid PPI1 CommandsSet Tag Type Read Tag Format RT x, start, length, hex, retries, motion, reservedFormat WT start, retries, motion, protect, reserved Host Verification Host VerificationFormat HVx,yASCII EPC Programming Example Tools List Software Migration Tools SMTTools List Software Migration Tools SMT Selecting The Tools Selecting The ToolsError Messages Error MessagesControl Panel Error Messages Explanation Solution Troubleshooting Troubleshooting the Rfid Encoder Symptom SolutionPage Index Index SMT Index Page 177393-001
Related manuals
Manual 36 pages 38.85 Kb