128
_____________________________________________________________________________________________
9.3 Command Transfer Methods
______________________________________________________________________________________________
Response format
When a command is sent to 3159 processes the command. When processing
is completed, 3159 always returns a response.
(1) When there is no information from 3159
OK
( + delimiter )
(2) When there is information from 3159 (measurement values, etc.),
Response character string related to the command ( +delimiter )
(3) When the command contained an error,
CMD ERR
( +delimiter ) : Command error
EXEC ERR
( +delimiter ) : Execution error
(4) When the command contained an Transmission error,
TIME OUT ERR
( +delimiter ) : Time out error
(When the delimiter is not transmitted for approximately 10 seconds)
SI0 ERR
: Serial Transmission error
Parameters
The 3159 uses parameters composed of decimal numbers. There are three
different formats for decimal data: NR1, NR2, and NR3. Each has two
values: one with a code and one without it. A value without a code is
regarded as a positive number. If a number exceeds the accuracy resolution
of the 3159, the value is rounded up or down.
NR1 format: Integer data
+12, -23, 34
NR2 format: Fixed point numbers
+1.23, -23.45, 3.456
In the 3159, a format is specified for each command. (See Section 9.5)
Delimiter
Depending on transmission direction, the delimiter is as follows.
From computer to 3159: CR or CR + LF
From 3159 to computer: CR + LF