02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter —Program Instructions<br />

TAGWRITE<br />

Purpose Statement used to write to an RFID tag field.<br />

Syntax TAGWRITE|[,,,]<br />

is the numeric variable to be written. Only used with the "NUM"<br />

field in TAGFORMAT.<br />

is the string variable to be written. The number of arguments<br />

depends on TAGFORMAT.<br />

Remarks The TAGWRITE command writes the data from or to the<br />

field specified by the latest TAGFIELD command. The format of the data<br />

will be the one specified by the latest TAGFORMAT command. If the data<br />

written is shorter than the field, the field is padded with zeroes. The exception<br />

to this rule occurs in some EPC tag formats where the exact number<br />

of digits must be entered, even if it means adding non-significant digits<br />

(for example writing 00234 instead of 234), see Chapter 6. If the data is<br />

too long to fit in the specified field, an error is returned.<br />

Examples<br />

Related commands are FORMAT$, TAGFIELD, TAGFORMAT and<br />

TAGREAD.<br />

Writing an SGTIN-96 to a Gen 2 tag:<br />

10 TAGFIELD "@EPC"<br />

20 TAGFORMAT "SGTIN-96"<br />

30 TAGWRITE "3","0614141","100734","2"<br />

Two examples of writing the same SSCC-64 info to an ISO18000-6B tag:<br />

10 TAGFIELD "@DATA",10,8<br />

20 TAGFORMAT "SSCC-64"<br />

30 TAGWRITE "1","12345","123456"<br />

10 TAGFIELD "@DATA",10,8<br />

20 TAGFORMAT "EPC-URN"<br />

30 TAGWRITE<br />

"urn:epc:tag:sscc-64:1.12345.123456"<br />

7 <strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!