
RML-1
PROGRAMING GUIDELINE
- 4 -
2;Command Format
2-1;Description
Commands are made up of letters and some symbols, and parameters are or a combination
of the two. Parameters are made up of numerals, which may be signed. Commands and
parameters are separated by delimiters and terminators.
Also, commands and parameters are eight bits, and have significance as character strings
when the most significant bit is zero. When this is not zero, the character string is neither a
command nor a parameter.
Each of these is described below.
2-2;Format for Mode 1
Format example * D ** 5000 ** [,] ** 5000 ** [terminator]
[Delimiter]
"*" indicates a character whose ASCII code is for the space or lower, or the ";"
character. One or more may be used, without restriction.
"**" indicates either the space or the tab character. One or more may be used,
without restriction.
[,] indicates the "," (comma) character. Only one may be used.
[Command]
The location shown by "D" is the command. It appears as a single letter or,
depending on the model, as "@", "!", "^", or "_". If D is preceded by a numeral or by
"+", "-", or ".", it is read and discarded with error 2. All other characters at 0x20 or
lower, and ";", are ignored.
When a single letter is recognized, a case-insensitive comparison is performed
against the list of valid commands for the model, and if the character string does not
match it is discarded with error 1. If a match is made, the corresponding command
is executed. Get parameters as required.
[Parameter]
The location shown by "5000" is the parameter. [,] is used as the delimiter for
parameters. Details are similar to parameters for mode 2.
[Terminator]
This is formally "CR + LF".
Unless specially noted otherwise, this can be omitted when followed by the next
command.