Intermec CV30 Intermec Terminal Emulator (ITE) Programmer's Reference Manual - Page 134
VT/ANSI Data Stream Control Character Method, Return Codes for the RFID (#W) Write Command, Example 1
View all Intermec CV30 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 134 highlights
Chapter 3 - Extended Commands Example 1: Write one 11-byte string and one integer to any tag: Use the SWTT mask once during the entire command. b#WXXXXXXXXXXXXS20001800011HELLO WORLD,I200029000041234# Example 2: To support variable length EPCIDs, the SWTT can start with a "V" character and terminate with a "V" character. EPC Class 1 Gen 2 tags do not support a wild card in the EPCID filter. If a wild card is part of the EPCID, then error #9 is returned from the #W command Set the reader to write EPC Class 1 Gen 2 tags which have an EPCID starting with 0001. Only to these tags write the string DATA to bank 3 (user data): b#WV0001VS30000000004DATA# Guidelines for using this command are as follows: • Since the TagID or EPCID is a setting of hex pairs, you need to ensure that you send an even number of characters. If not, then communications between the computer and the RFID reader generates an error and the reader state on the ITE toolbar is modified to show the new error state. • If the TagType is set to multiple types, then setting a filter on TagID or EPCID generates error #9. • If you write data to EPC Class 1 Gen 2 tags, then all data written to the tags must be in words. If you attempt to write data that is not in a word format, then a communication error occurs between the reader and the computer. The reader state on the ITE toolbar is modified to show the new error state. • The SWTT mask does not apply to Phillips U-Code v1.19 tags. VT/ANSI Data Stream Control Character Method This method uses the control characters APC (0x9f) and ST(0x9c) to encapsulate the extended command. This method is faster since it is not written to the display. You do not need to clear the screen or move the cursor because the encapsulated command executes in the background. The format is exactly the same as the conventional method within the APC and ST control characters. Example: This takes the previous example and uses the control character method. It writes the "Hello World" string to all tags starting at offset 18. At the 29th location in the tag, the "4660" data is written because the integer data is sent as hex data and hex "1234" is a decimal "4660." ^9F#WXXXXXXXXXXXXS20001800011HELLO WORLD,I200029000041234#^9C Return Codes for the RFID (#W) Write Command The return code is a status sent to the host computer in the \\x format indicating whether the extended command was successful. The return codes are listed in the following chart. Return Codes for RFID (#W) Write Command Code 0 1 Description Good status, transaction complete Incorrect setting for SWTT not '0' - '9' or 'A' - 'F' or 'X' or "V" 122 Intermec Terminal Emulator (ITE) Programmer's Reference Manual