TransCore 05716 Manuel D’Utilisation

Page de 210
Multiprotocol Rail Reader System Guide
5-4
Command Response Conventions
Like the MPRR commands, responses are preceded by the # character. Many MPRR 
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 MPRR with serial number SN97001P running version X.XX software is con-
nected to a PC running a terminal emulation software package such as Windows 
Hyper Terminal or Procomm Plus. The command sequence verifies that communica-
tions are working correctly.
In command discussions, MPRR 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 discussion, the 
response is shown as:
#PWRB <0-1>
with actual MPRR 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 MPRR. 
In this example, one space is between the letter B and the number. 
Operating Parameters
The MPRRs maintain their operating parameters in non-volatile memory (NVRAM) 
so that the parameters are preserved after a power-down sequence.
Table 5-2  Sample Command Sequence
Entry
MPRR Response
Notes
#01 <CR>
#Done <CR/LF>
Switches MPRR to 
command mode.
#505 <CR> #Model E4 Series Ver X.XX 
SN08001P <CR/LF>
Reports the software 
version and serial number.
#00 <CR>
#Done <CR/LF>
Returns MPRR to data 
mode.