Section 3 Overview of Commands
The AR-3000R and the computer communicate using commands.
3.1 Command
Structure
Commands consist of STX (02H) + two uppercase characters.
However, the Type 0 commands listed later are exceptions to this.
3.1.1 Communication
Protocol
Depending on the command, four types of communication protocol are used between the computer and
the AR-3000R. As also explained in chapter 4, the ACK referred to in this document is ASCII code 06H
(ACK), and the ER command is a command that transmits/receives an error.
1) When telling the AR-3000R to perform an operation or make a setting.
This is done using the “4.2.1 Control” and “4.2.3 Setting commands” explained in chapter 4.
Commands use the following procedure.
a. stx + command
COMPUTER
AR-3000R
b. ack or stx ER command
a. The command is sent from the computer to the AR-3000R.
b. If the command is received correctly, the AR-3000R will transmit an ACK command. If not, it will
transmit an ER command.
2) To verify the settings of the AR-3000R
This is done using the “4.2.4 Request command” explained in chapter 4. The command to check the
setting status of the AR-3000R uses the following procedure.
a. stx + command
COMPUTER
AR-3000R
b. stx + command or stx ER command
c. ack or stx ER command
a. The command is sent from the computer to the AR-3000R.
b. If the command was received correctly, the AR-3000R will transmit its settings as the Setting
output command. If the command was received incorrectly, the AR-3000R will transmit an ER
command.
c. If the output from the AR-3000R is received correctly, send an ACK command. This ACK may be
omitted, and is not absolutely necessary. If not correctly, an ER command “stxER:0;” can be sent
to the AR-3000R. The AR-3000R will re-transmit the Setting output command that was output
instep “b”. This command may also be omitted, and is not absolutely necessary. You may instead
re-do the sequence from step “a”.
3) Commands originating automatically from the AR-3000R
Some commands are transmitted automatically from the AR-3000R. The two commands CC (card
insertion status output) and %% (completion status output when a card operation takes place) fall in
this category, and use the following procedure.
a. stx + command
COMPUTER
AR-3000R
a. The AR-3000R will automatically transmit the command.
There is no need to return an ACK, etc.
AR-3000
R Ver.2.01 R
S-232C Reference - 8