4) Commands accompanied by confirmation
The 4.2.2 Edit command explained in chapter 4 is of this type. To prevent accidental erasure of data,
edit commands are executed after entering Delete mode. Commands use the following procedure.
a. stx + DM command
COMPUTER
AR-3000R
b. ack or stx ER command
c. ack or stx ER command
d. stx + Edit command (same as step “c”)
e. ack or stx ER command
a. Transmit the DM command. The AR-3000R will enter Delete mode.
b. If the DM command is received correctly, an ACK will be returned. If there is a command error,
the ER command will be returned and the AR-3000R will automatically exit Delete mode.
c. If no error has occurred, transmit the command you wish to execute.
d. To confirm, the AR-3000R will send back the command that it received in step “c”.
e. If the command is correct, send an ACK. This will cause the command to be executed. Then, after
receiving the command, the AR-3000R will automatically exit Delete mode. If the command is an
error, you can send an ER command “stxER:1;”. The command will be canceled, and the
AR-3000R will exit Delete mode.
3.1.2 Command
Format
Commands (control signals) have several formats.
Type 0:
Those consisting only of a control code.
semicolon
‘
;
’ etc. is not attached. These consist only of a control code.
Example)
ACK
Type 1:
Commands with no parameters.
These commands end with a semicolon ‘
;
’.
Example)
stxST;
Type 2:
Commands with parameters.
Command: parameter, parameter . . . ;
Command and parameter are separated by a colon ‘
:
’.
Parameters are separated by comma ‘
,
’.
A semicolon ‘
;
’ is placed at the end of the parameters.
3.1.3
About Input Parameters
1) Generally, parameters use decimal notation, and are variable length.
Example)
stxDC:10; stxDC:5;
Example)
stxMP:A1,30; stxMP:A20,255;
2) Characters in a card name etc. are enclosed in double quotation marks (
"
).
Example)
stxCV:0,"ABCDEFGH",0;
3) The phrase and the card slot are specified together.
Example)
stxPA:A1;
(plays back phrase 1 of card A)
* A01, A001 or A0001 is the same as A1.
AR-3000
R Ver.2.01 R
S-232C Reference - 9