Owner`s manual

R
AR-200S RS-232C Reference -
4
Section3 Overview of Commands
The AR-200S 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-200S. 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-200S 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-200S
b. ack or stx ER command
a. The command is sent from the computer to the AR-200S.
b. If the command is received correctly, the AR-200S will transmit an ACK command. If not, it
will transmit an ER command.
2) To verify the settings of the AR-200S
This is done using the 4.2.4 Request command explained in chapter 4. The command to check
the setting status of the AR-200S uses the following procedure.
a. stx + command
COMPUTER AR-200S
b. stx + command or stx ER command
c. ack or stx ER command
a. The command is sent from the computer to the AR-200S.
b. If the command was received correctly, the AR-200S will transmit its settings as the Setting
output command. If the command was received incorrectly, the AR-200S will transmit an ER
command.
If the output from the AR-200S is received correctly, send an ACK command. This ACK may
be omitted, and is not absolutely necessary. If not correctly, an ER command “ER:0;” can be
sent to the AR-200S. The AR-200S 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”.