Technical information

10/29/2014
Page 10 of 72
© 2014 The Code Corporation
12393 South Gateway Park Place Suite 600, Draper, UT 84020
(801) 495-2200
FAX (801) 495-0280
For example, to send the Reader commands by typing commands in HyperTerminal:
;>PA1
P(xx)yy
P(xx)yy
W
PA8
Where ;>PA1 enables text commands with echo and command responses, P%xxyy can be any desired
commands, W saves the settings just sent by the P command, and PA8 turns text commands back off
(except for the initial sequence). (Note: ‘A’ is the ASCII character that corresponds to 41 hex, thus
P%418 would be equivalent.)
Note: ;>PA1 is used for interactive text commands. If the commands are to be saved in a file and sent
non-interactively, use ;>PA7 instead; this enables text commands but disables echo and command
responses. (See Section 6.3, Section 8, and Section 9 for additional information.)
With text commands enabled, the following two examples can be sent to a Reader in RS232 mode
from HyperTerminal by just typing the example text.
Example 1 - Make the Reader beep/vibrate 3 times (Note: Readers with a vibration motor are the
CR1400, CR2600, CR3600 and CR6000.):
#%03 Expected output: should make Reader beep/vibrate 3 times
Example 2 - Set Reader to continuous-read, High Density field (FOI 0) only:
P(C4)5 Expected output: should set Reader to continuous-read, High Density field (FOI 0) only
6.2 Packetized Commands
Packetized commands consist of packetized data sent from Host to Reader to configure and cause the
Reader to perform certain functionalities (e.g. CodeXML
®
rules, and settings). Packetized commands
are always enabled, unlike text commands. In addition, they include error detection data, making them
more robust than text commands.
normal-command: prefix command-type data-size data
opt
reserved crc14
prefix: 0xEE 0xEE 0xEE 0xEE
command-type: Single ASCII character in the set defined in section 6.3
data-size: byte value in range [0,240], which indicates size of data (in bytes)
data: datum
| data datum
datum: any byte value in the range [0,255]
reserved: 0x00
crc14: two consecutive bytes, each in range [0,127], representing the crc16 value &
with the value 0x7F7F, most significant byte first. The packet crc16 is calculated over the entire packet,
excluding the prefix and the crc14 itself. (See source files Appendices B and C for details on the crc16
algorithm and polynomials to be used, as well as how to implement appropriately for crc14
transmission.)