Intermec IP2L Basic Reader Interface Programmer's Reference Manual (BRI versio - Page 84
HEXmemory_bank:address, length on Example 6
View all Intermec IP2L manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 84 highlights
Chapter 4 - BRI Commands Here are two example responses to this WRITE command. In this example, both fields were correctly written: WROK WROK OK> In this example, the second write (writing FINE starting at address 30) failed: WROK WRERR OK> Example 6: WRITE TAGID STRING(18,4)="GOOD",STRING(30,4)="FINE" This WRITE command presents two command parameters that can be used with the WRITE command. Normally, TAGID is associated with the READ command or a . However, you might want to know which tags have been written. Specifying TAGID on the command line causes the BRI response to return the tag identifier for each tag that is written. The BRI command shown above writes the data GOOD starting at address 18 and FINE starting at address 30 and responds with the tag identifier of any tags written, followed by WROK for the successfully written fields, followed by OK> when the last write has completed. If an error occurs during the write command, the BRI returns WRERR for the field that was not successfully written. If no tags are seen matching the data condition, the BRI returns NOTAGOK> In this example response, there was an error writing FINE to the tag: H1234567890ABCDEF WROK WRERR OK> In the this example response, a privilege error was encountered and no data was written to the tag: H1234567890ABCDEF PVERR PVERR OK> Note: The INT, HEX, and STRING data types in the [WRITE FIELD] parameters in the some of the previous examples do not include the optional memory_bank parameter that applies only to EPCglobal Class 1 Gen 2 tags. For help understanding the memory bank, see the description of the memory_bank parameter on "HEX(memory_bank:address, length)" on page 24. 72 Basic Reader Interface Programmer Reference Manual