Intermec IF2 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 85
WRITEGPO, Example 7, Purpose, Syntax, Command Shortcut, Parameters, Bitwise Outputs
View all Intermec IF2 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 85 highlights
Chapter 4 - BRI Commands Example 7: WRITE STRING(3:18,4)="TEST" TAGTYPE=EPCC1G2 PASSWORD=H9F5BE634 This WRITE command writes EPC Class1 Gen2 User Memory bank that was previously locked. Example 8: WRITE EPCID=H300300FB9600000010260090 PASSWORD=H9F5BE634 This WRITE command writes EPCglobal Gen 2 the EPCID memory bank 1 that was previously locked. It assumes that there is mechanism in place that restricts just one tag in the field of view of the reader to insure that multiple tags are not created with the same EPCID. Example 9: WRITE HEX(3:0,2)=h0000 BLOCK HEX(3:2,2)=H0000 HEX(3:4,2)=H0000 STANDARD HEX(3:6,2)=H0000 This WRITE uses a standard EPCC1G2 write command to write to location (3:0,2). It uses an EPCC1G2 block-write command to write to (3:2,2) and (3:4,2) and then switches back to a standard write for (3:6,2). WRITEGPO Purpose: This command sets the state of all the GP output lines available on a specific reader. Each reader has a unique set of GP output lines that are described in the documentation shipped with the reader. The WRITEGPIO command is the same as the WRITEGPO command, and has been included to maintain backwards compatibility with previous versions of the BRI. Syntax: Command Shortcut: Parameters: OK> WRITEGPO | [PIN ]> WRGPI = This parameter specifies a number between 0 and 15, assuming a maximum number of four GP output lines. A value of 0 turns all lines ON, and a value of 15 turns all lines OFF. Bitwise Outputs The parameter is an integral representation of the bit field corresponding to the output pins available on the reader device. Note that regardless of hardware, the BRI will enable all of the outputs with the following command is entered: WRITEGPO=0 Direct Pin Outputs When an output pin is specified, the BRI is capable of modifying the state of an individual output without an application having to calculate the bit mask (this calculation is impossible to do when multiple applications are modifying the output, as it is not possible to read the output state). Basic Reader Interface Programmer Reference Manual 73