Intermec IF2 Basic Reader Interface Programmer's Reference Manual (BRI version - Page 82
Error 2, Examples, This WRITE command with a [WRITE FIELD] parameter writes all tags found
View all Intermec IF2 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 82 highlights
Chapter 4 - BRI Commands Error 2: MEMOVRN OK> This error indicates that the address used in the WRITE command was not available on the tag. This is only returned when the TAGTYPE attribute contains EPCC1G2. Error 3: PVERR OK> This error indicates that an incorrect password has been provided when writing to an EPCglobal Gen 2 tag, or the address being written has previously been locked. Error 4: PWERR OK> This error indicates that the tag did not have enough power to complete the WRITE command when writing to an EPCglobal Gen 2 tag. Examples: These examples demonstrate how to use the WRITE command. Example 1: WRITE INT(10,2)=3 HEX(12,2)=H12CD TAGTYPE=G2 The data field parameters specified above will write at tag memory address 10, and a value of 3 will be written. The data 0x12 and 0xCD will be written to locations 12 and 13 respectively. Example 2: WRITE STRING(18,5)="HELLO" TAGTYPE=G2 This WRITE command with a [WRITE FIELD] parameter writes all tags found with the data HELLO starting at address 18 in the tag. Each tag written responds with the status of the WRITE command terminated with a . When all tags are written, the BRI returns WROKOK>. If no tags are written, the BRI returns NOTAGOK>. Here is an example response when a single tag is written: WROK OK> For an EPCglobal Class 1 Gen 2 tag, this example returns the ADERR error response because the data to be written does not have an even length: WRITE STRING(10,5)="HELLO" ADERR Here is a valid WRITE command for an EPCglobal Class 1 Gen 2 tag: WRITE STRING(10,4)="GOOD" WROK OK> Example 3: WRITE STRING(10,5)="HELLO" TAGTYPE=G2 WHERE TAGID=H1234567890ABCDEF 70 Basic Reader Interface Programmer Reference Manual