Section 3 Overview of Commands
The AR-3000SD and the control PC communicate by means of commands. There are a number of
different types of commands. The commands used to control the AR-3000SD vary according to the
intended purpose.
3.1 Summary of Commands (RS-232C)
Commands consist of STX (02H) + two uppercase characters.
However, the Type 0 commands listed later are exceptions to this.
Depending on the command, four types of communication protocol are used between the computer and
the AR-3000SD. 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.
3.2 Summary of Commands (Telnet)
Commands are basically formed as strings of ASCII code consisting of two alphabetic characters followed
by a colon (“:”), a parameter (a numerical value), and a comma (“,”).
The two alphabetic characters represent the type of command. However, some commands may have
more than one forms (refer to “3.1.2 About Command Formats”).
Either uppercase or lowercase characters may be used in commands.
Example:
pl P
L
Example:
pe PE
3.3 Communication Protocol
Depending on the command, four types of communication protocol are used between the computer and
the AR-3000SD.
1) When telling the AR-3000SD 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 Section 4.
Commands use the following procedure.
a.
command
COMPUTER
AR-3000SD
b. ack/OK or ER command
a. The command is sent from the computer to the AR-3000SD.
b. If the command is received correctly, the AR-3000SD will transmit an ack/OK command. If not,
it will transmit an ER command.
2) To verify the settings of the AR-3000SD
This is done using the 4.2.4 Request command explained in Section 4. The command to check the setting
status of the AR-3000SD uses the following procedure.
a.
command
COMPUTER
AR-3000SD
b. command or ER command
c. ack/OK or ER command
a. The command is sent from the computer to the AR-3000SD.
b. If the command was received correctly, the AR-3000SD will transmit its settings as the Setting
output command. If the command was received incorrectly, the AR-3000SD will transmit an ER
command.
c. If the output from the AR-3000SD is received correctly, send an ack/OK command. This OK
may be omitted, and is not absolutely necessary. If not correctly, an ER command “ER:0” can be
sent to the AR-3000SD. The AR-3000SD will re-transmit the Setting output command that was
AR-3000SD (Ver.1.00) Command Reference - 28