TransCore 0596465PT15 Manuel D’Utilisation
Encompass 4H Reader System Guide
5-4
Command Response Conventions
Like the Encompass 4H Reader commands, responses are preceded by the # character.
Many Encompass 4H Reader commands respond with #Done or #Error indicating
the command was or was not recognized and completed. Other commands respond
with a four-character identifier followed by one or more values.
Many Encompass 4H Reader commands respond with #Done or #Error indicating
the command was or was not recognized and completed. Other commands respond
with a four-character identifier followed by one or more values.
shows an example of a command/reply sequence. This example assumes
that an Encompass 4H Reader with serial number SN97001P running version X.XX
software is connected to a PC running a terminal emulation software package such as
Windows Hyper Terminal or Procomm Plus. The command sequence verifies that
communications are working correctly.
software is connected to a PC running a terminal emulation software package such as
Windows Hyper Terminal or Procomm Plus. The command sequence verifies that
communications are working correctly.
Table 5-2 Sample Command Sequence
Entry
Encompass 4H Reader Response
Notes
#01 <CR>
#Done <CR/LF>
Switches Encompass 4H
Reader to command mode.
Reader to command mode.
#505 <CR> #Model E4 Series Ver X.XX
SN08001P <CR/LF>
Reports the software
version and serial number.
version and serial number.
#00 <CR>
#Done <CR/LF>
Returns Encompass 4H
Reader to data mode.
Reader to data mode.
In command discussions, Encompass 4H Reader response characters may be shown in
brackets < >. The use of brackets indicates that the response is a value in the range of
characters. The brackets are not part of the response. For example, the response to
command #520 Display Power Fail Bit is either a 0 or a 1. In the command discus-
sion, the response is shown as:
brackets < >. The use of brackets indicates that the response is a value in the range of
characters. The brackets are not part of the response. For example, the response to
command #520 Display Power Fail Bit is either a 0 or a 1. In the command discus-
sion, the response is shown as:
#PWRB <0-1>
with actual Encompass 4H Reader response being one of the following:
#PWRB 0
#PWRB 1
In this example, PWRB is the four-character identifier for power fail bit, and the 0 or 1
is the value. All spaces shown in the response are actual spaces sent from the Encom-
pass 4H Reader. In this example, one space is between the letter B and the number.
is the value. All spaces shown in the response are actual spaces sent from the Encom-
pass 4H Reader. In this example, one space is between the letter B and the number.
5
Indicates the setting. Normally this is a variable and is usually a
hexadecimal value from 0 through F. In this example, 5 sets the baud
rate to 9600, the factory setting. In some commands, this digit may be
a four-place hexadecimal string or a character string.
hexadecimal value from 0 through F. In this example, 5 sets the baud
rate to 9600, the factory setting. In some commands, this digit may be
a four-place hexadecimal string or a character string.
Table 5-1 Four-Character Command Structure (continued)
#1005
Set Baud Rate To 9600 Baud