EasyManua.ls Logo

TransCore MPRX Series - Chapter 3 General Software Information; Command Entry Conventions; Command Response Conventions; Table 10 Four-Character Command Structure

TransCore MPRX Series
138 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter3 General Software Information
Command Entry Conventions
All MPRX commands are preceded by the start-of-message character (#). The end-of-message sequence
expected from the host is a carriage return (CR). The MPRX terminates messages with a return and a line-
feed (CR/LF). For example, the command #01 Switch To Command Mode is typed as follows:
#01<ENTER>
where
<ENTER> is the Enter or Return key.
Some command characters may be represented by the letter N. This letter indicates you are to supply a
value. Maximum valid entries are the numbers 0 through 9 and the uppercase letters A through F. These
letters allow for as many as 16 available user responses and are based on the hexadecimal numbering
system.
Commands have at least two characters following the # character. Table 10 shows the basic structure of a
four-character command.
Table 10 Four-Character Command Structure
#1005 Set Baud Rate To 9600 Baud
# All commands are preceded by the # character.
1
Indicates the command group. This command is in Group 1 –
Communications Port Control.
0
Indicates the command subgroup. In this example, all commands
with a second digit of 0 apply to the main port.
0
The command digit. In this example, the 0 indicates that this
command aects the baud rate.
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.
Command Response Conventions
Like the MPRX commands, responses are preceded by the # character. Many MPRX 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.
Table 11 shows an example of a command/reply sequence. This example assumes that an MPRX with
serial number SN97001P running version X.XX software is connected to a PC running a terminal emulation
software package. The command sequence verifies that communications are working correctly.
MPRX User Guide
TransCore Proprietary
3–38

Table of Contents

Related product manuals