62 of 135
3.1.4 Command / Response Format
Following shows syntax of command.
Command Code and Command Data format in Command Frame
* Commands are acceptable regardless of whether upper or lower case letters are used. Any command works
regardless the size combination of characters such as upper case letters, lower case letters, or mixed one.
Command Data Area
Parameter Area
Option Area
Command Code SP
PRM1 SP PRM2
・・・
PRMn
SP
OPT1 SP OPT2
・・・
OPTn
4
Bytes 1 n 1 n n n 1 n 1 n n n
Command Code Consists of four characters in ACSII format. This specifies one of the
commands described in the Command Code List of 3.1.2.
Space
(SP)
Between the elements (Parameters and Options), “ “ (space) has to be
entered for one or more character. Even if a two or more characters of “ ”
(space) are put in, they work same way as one-character “ ” (space).
Parameter
(PRMx x:1 to n)
Mandatory for each command. If there are multiple parameters in a single
command, they must be separated with some spaces and specified in the
specified order. Applicable parameter for each command is shown in the
table in 3.1.5.1.
Option
(OPTx x:1 to n)
Optional for each command. If there are multiple options in a single
command, they must be separated with some spaces. If it is not specified,
default value will be employed. If multiple option items are specified, they
shall be described continuously. Any order is acceptable.