5.3.4Verifying the Parameters of All Phrases Starting with the Lowest-Numbered Phrase.....54
5.3.5Deleting a Phrase..................................................................................................................... 55
AR-3000 RS-232C Reference
r
female
Section1 Introduction
This manual explains how to control the AR-3000 using RS-232C. For details on the operation of
the AR-3000 itself, refer to the AR-3000 owner's manual. This manual assumes that you have a
basic understanding of computers. For explanations of computer terminology or operation, please
refer to commercially available manuals.
The contents of this manual are subject to change without notice.
1.1 If You Have Been Using the AR-2000
The AR-3000's command set, which employs RS-232C, is designed to be backwardly compatible
with the AR-2000. This means it is possible for you to continue using the control system you have
used with the AR-2000. However, since the AR-3000 and AR-2000 are not functionally identical in
every respect, some functions cannot be used. For more information, check the included
specifications.
Section2 Setup
2.1 About the RS-232C Interface
RS-232C is a standardized type of serial interface. The connections which are used by the AR-3000
are discussed below.
2.1.1 Connector and Cable
Connector specificationsCable specifications
* The AR-3000 is equipped with a D-sub 9-pin type
connector. In the case of connecting by female –
female crossing cable, use gender changer.
*1
*1
*1 This is already connected in inside of the
AR-3000. (4 – 6, 7 - 8 )
*2 At least three line(RXD, TXD, GND) should be
connected as shown in a figure.
*2
2.2 Handshaking
If the AR-3000's processing speed is slower than the speed at which data is transmitted from the
computer, measures must be taken to avoid data loss. Conversely, data loss will also occur if data is
transmitted from the AR-3000 faster than the computer can process it.
For these reasons, the AR-3000 uses “Xon/Xoff” handshaking.
The external computer can control transmission from the AR-3000 in the same way.
The ASCII code signal name for Xon is DC1, which is 11H.
The ASCII code signal name for Xoff is DC3, which is 13H.
AR-3000 RS-232C Reference -1
r
2.3 Setup Procedure
Here is the procedure for setting up the external computer and the AR-3000.
1) Connections with the computer
Use an RS-232C cable to connect the two devices. Refer to “2.4 Connections with the computer.”
2) Turn on the power for the AR-3000 and the computer
3) Computer settings
Set the communication parameters. Refer to “2.5 Computer settings.”
4) AR-3000 settings
Set the communication parameters. Refer to “2.6 AR-3000 settings.”
5) Operate the AR-3000
Transmit data between the external computer and the AR-3000.
2.4 Connections with the Computer
1) Turn off the power of the AR-3000 and the computer.
2) Use the appropriate cable to connect the RS-232C -compatible connector of the computer to the
RS-232C connector located on the rear panel of the AR-3000. Refer to “2.1.1 Connector and
Cable” for the appropriate cable to use.
2.5 Computer Settings
1) Communication parameters for the computer
Communication methodstart - stop system (asynchronous) full duplex
Baud rate4800 / 9600 / 19200 BPS
38400 BPS (for compatibility with legacy models : AR-2000 / AR-1)
Paritynone
Data length8 bits
Stop bit1 bit
Code setASCII
Xon Xoffon
If you are using MS-DOS, the above settings can be made using the “SPEED” and “SWITCH”
commands. For details on these settings, refer to your MS-DOS owner's manual.
2.6 AR-3000 Settings
When using the AR-3000 via RS-232C, the baud rate must be specified.
Also, in order for it to be controlled via RS-232C, the AR-3000 must not be in the Mode menu
(the MODE indicator must not be lit).
2.6.1 Baud Rate
If the AR-3000's power is turned on when a card is not inserted, the baud rate will default to 9600
bps. If a card is then inserted, the settings will change to the settings which are contained in the
card. However this will occur only for the first-inserted card, and subsequently inserted cards will
be ignored. If you wish to modify the baud rate during operation, use the following procedure on the
AR-3000 to change it.
AR-3000 RS-232C Reference -2
r
Baud Rate Settings
Set the baud rate to the desired value. (Refer to owner's manual p.118)
1) Press the MODE button.
2) Rotate the SELECT knob to select “7.1 Baud rate.”
3) Press the SELECT knob.
4) Rotate the SELECT knob to select the baud rate.
Baud rate = 4800, 9600, 19200, 38400 bps
Select the same setting as on the computer.
5) Press the SELECT knob. Rotate the SELECT knob to select “Yes”
Press the ENTER button to set the baud rate.
6) Press the MODE button.
Section3 Overview of Commands
The AR-3000 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-3000. 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-3000 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
COMPUTERAR-3000
b. ack or stx ER command
a. The command is sent from the computer to the AR-3000.
b. If the command is received correctly, the AR-3000 will transmit an ACK command. If not, it
will transmit an ER command.
2) To verify the settings of the AR-3000
This is done using the 4.2.4 Request command explained in chapter 4. The command to check
the setting status of the AR-3000 uses the following procedure.
a. stx + command
COMPUTERAR-3000
b. ack or stx ER command
c. ack or stx ER command
AR-3000 RS-232C Reference -3
r
a. The command is sent from the computer to the AR-3000.
b. If the command was received correctly, the AR-3000 will transmit its settings as the Setting
output command. If the command was received incorrectly, the AR-3000 will transmit an
ER command.
c. If the output from the AR-3000 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-3000. The AR-3000 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-3000
Some commands are transmitted automatically from the AR-3000. 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
COMPUTERAR-3000
a. The AR-3000 will automatically transmit the command.
There is no need to return an ACK, etc.
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
COMPUTERAR-3000
b. ack or stx ER command
c. stx + Edit command
d. stx + Edit command ( same as step “c” )
e. ack or stx ER command
a. Transmit the DM command. The AR-3000 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-3000 will automatically exit Delete mode.
c. If no error has occurred, transmit the command you wish to execute.
d. To confirm, the AR-3000 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-3000 will automatically exit Delete mode. If the
command is an error, you can send an ER command “ER:1;”. The command will be canceled,
and the AR-3000 will exit Delete mode.
AR-3000 RS-232C Reference -4
r
3.1.2 Command Format
Commands (control signals) have several formats.
Type 0: Those consisting only of a control code.
' ; ' etc. is not attached. These consist only of a control code.
Example) ACK
Type 1: Commands with no parameters
These commands end in ' ; '
Example) stxST;
Type 2: Commands with parameters.
Command : parameter, parameter . . . ;
Command and parameter are separated by a colon ' : '
Parameter and parameter are separated by a comma ' , '
A semicolon ' ; ' is placed at the end of the parameter.
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.
3.1.4 About Output Parameters
1) Generally, parameters use decimal notation, and are variable length.
But phrase name and time are fixed length.
Example) phrase name( A1 – A999 , B1 – B999 ) : A001 , A020 , A300 , _.
Example) phrase name( A1000 , B1000 ) : A1000 , B1000
Example) Time : 00H00M06S14F7S / 05M40S / 00S04F / 30S0 _.
3.2 Precautions
1) After you make settings, erase, or copy, we recommend that you call up the AR-3000 internal
memory data and check the contents.
2) While the computer and the AR-3000 are communicating, please avoid the following actions,
which could result in destruction of the data in the card.
- Inserting or removing the memory card.
- Moving the protect switch of the card.
- Disconnecting the RS-232C cable. ...etc.
AR-3000 RS-232C Reference -5
r
Section4 Details of each Command
4.1 Commands Transmitted from the External Device (Computer) to the AR-3000
The following 5 types of command are transmitted from the external device to the AR-3000.
“External” in these explanations refers to the computer. “AR” refers to the AR-3000.
1) Control (execute) commands
These command signals cause the AR-3000 to operate; e.g., playback or record.
The player functions use mostly these commands.
2) Editing commands
To prevent accidental erasure of data, edit commands are executed after entering Delete mode.
Commands are executed using the following procedure.
1. External to ARThe DM command is sent, and the AR-3000 enters Delete mode.
2. AR to ExternalWhen the command is received correctly, an ACK is returned.
If the command is not correct, an error code is returned, and Delete
mode is automatically exited.
* When no command is received for two minutes, the Delete mode is
automatically exited.
3. External to ARIf no error has occurred, transmit the command to be executed.
4. AR to ExternalThe command transmitted in step 3 will be re-transmitted for
confirmation.
5. External to ARIf the command is correct, transmit an ACK command.
The command will be executed, and Delete mode will be exited
automatically. If the command is an error, transmit an ER command
“ER:1;”. Delete mode will be exited automatically.
Commands valid when in Delete mode
External to AR
CD: Delete CardCP: Copy Card
CO: Convert CardFM: Format Card
LS: Recorded phrase protect modeLW: Recorded phrase protect mode
SP: System copyPC: Copy Phrase
PD: Delete PhraseRC: Convert recording type
PT: Delete the silent portions (Truncate)
PV: Divide Phrase
PM: Combine phraseTS: Time Stretch
RC: RDAC-Mode ConvertPI: Seek and set playback points at the
locations of silent portions
In Delete mode, when a command other than an Edit command is received by the AR-3000, it
will automatically exit Delete mode, and execute that command. If the AR-3000 receives an
Edit command when not in Delete mode, it will transmit an ER command, and ignore the Edit
command that was received.
AR-3000 RS-232C Reference -6
r
3) Setting commands
These commands are used to set AR-3000 parameters from the external device.
4) Request commands
This command causes the AR-3000 to output the status of its current settings. When a Request
command is transmitted to the AR-3000, the AR-3000 will transmit the requested contents as
the Setting output command. In this case, an ACK will not be returned. However for the AC and
AQ commands, an ACK will be output. If the command was not correct, an ER command will be
returned.
5) Reply commands
Reply commands are necessary for communication control, for example to notify that a
command was received correctly.
4.2 Details of Commands Sent from the External Device (Computer) to the AR-3000
Commands compatible with the AR-2000 are marked as shown below (relevant symbol appears
before name).
= Commands for the AR-2000/AR-3000 (those common to both the AR-2000 and AR-3000)
> Commands for the AR-3000 (commands newly added with the AR-3000)
< Commands for the AR-2000 (for the AR-2000; includes items that cannot be used with the
AR-3000)
4.2.1 Control Commands
Playback Commands
= PA(PhrAse)
Function:Specifying the playback phrase
Syntax:stxPA: ****, ****, ....., **** ;
aaa
a Phrase number
Example) PA:A1,A3,B5;
Specify A0001 and A0003 and B0005 as the playback phrases.
The specified phrases are consecutively played back from the left.
Note:A maximum of 100 phrases can be specified in one line.
Be sure that the phrase numbers are registered (i.e., for which data exists).
Note:When this command is sent during phrase playback, the AR-3000 stops playback and
enters the paused state. Sending the PE command again releases the pause, and
playback resumes from where it was paused. When operation is paused with the PE
command, the AR-3000 outputs the elapsed time from the start of the phrase to the
point where paused. (Refer to AE command 4 . 4 . 1 )
Caution:The command is not compatible with the Dual Mono.
Phrases other than audio phrases cannot be specified.
AR-3000 RS-232C Reference -7
r
= PL (PLay)
Function:Playback start
Syntax:stxPL;
Note:If the playback phrase has not been specified, the minimum default value
(normally A001) will be used. The phrases specified by the PA command will be
played back consecutively.
* If Dual Mono Mode is ON
Since phrases will be played back from the L or the R output depending on whether
they are odd or even numbered phrases, phrases specified by the PA command will
automatically be assigned to the playback memory; odd-numbered phrases will be
played back from the L output, and even-numbered phrases will be played back from
the R output. It is not possible to playback the L and R channels independently.
= RL ( Relative time pLay )
Function:Playback from the Middle of a Phrase
Syntax:stxRL: * , **H**M**S**F ;
- After specifying a phrase: Playback begins 10 minutes 59 seconds from the beginning
of the phrase of the specified number.
- While playback is paused: Playback begins from the point that is 10 minutes 59
seconds after the point where the pause was initiated.
Note:The number of digits for **F (frame) increases according to the value of MTC type.
The range in which the offset time can be specified is valid only within a single phrase.
An offset time that exceeds the recording time for the phrase cannot be specified.
(The AR-3000 outputs an ER command.) You can play back a phrase from a point offset
by a specified time before or after a paused point by sending this command while
playback is paused (see the PE command).
* When “Return Specified” is issued with an offset time longer than elapsed time:
The phrase is played back from the beginning.
* When “Forward Specified” is issued with an offset time longer than the remaining
time: An ER command is output and playback is not carried out. (The paused state
remains in effect, so specify a new offset time and send an RL command again.)
Caution: The command is not compatible with the Dual Mono.
Phrases other than audio phrases cannot be specified.
abcd efg h i
a year ( 1998 – 2050 )h RDAC-Mode
b month ( 1 – 12 )0 Linear
c day ( 1 – 31 )1 Mode 1
d hour ( 0 – 23 )2 Mode 2
e minutes ( 0 – 59 )3 Mode 3
fsecond ( 0 – 59 )4 H – Linear
g RDAC-GradeI Recording Type
0 Announce0 Mono
1 Long 21 Stereo
2 Long 1
3 Standard
4 High
5 S-High
Example) stxAE:2001,3,1,8,59,0,0,1,0;
Add a time stamp for “2001” “March” “1” “8:59:00” and start recording with “Announce”
“Mode1” “Mono.”
Note:The time information given in the command can be stored in the recorded phrase as a
time stamp.
The AR-3000 starts recording immediately when it receives an AE command. (It is not
necessary to send an RE command.)
The phrase number is automatically assigned to a free number where nothing is recorded.
Use the ST command to stop recording.
Also, the AR-3000 automatically returns the total number of phrases recorded on the
card when it receives an AE command. (Refer to AE command 4 . 4 . 1 )
= RE (REc start)
Function: Start recording
Syntax:stxRE;
Note:When using the RE command, you must first use the RM command to put the unit in
Record ready mode. To stop recording, use the ST command.
Recording starts when audio higher than the trigger level is input.
the following four types of trigger recording setteings are available.
OFF: Trigger recording is not performed.
LOW: Recording starts when audio higher than -45dB.
MID: Recording starts when audio higher than -36dB.
HIGH: Recording starts when audio higher than -27dB.
0 Announce
1 Long 2
2 Long 1
3 Standard
4 High
5 S-High
c RDAC-Mode
0 Linear
1 Mode1
2 Mode2
3 Mode3
4 H-Linear
d Recording type
0 Mono
1 Stereo
e Trigger recording
0 Off
1 Low
2 Mid
3 High
fRecording Source
0 LINE - IN
1 MIDI - IN
2 LINE + MIC - IN
3 DIGITAL - IN
g Time base
0 192
1 240
Example) RM:A1,3,2,1,0,1,1;
This sets as follows; phrase “A0001”, RDAC-Grade “STANDARD”, RDAC-Mode
“MODE2”,
Recording type “STEREO”, Trigger recording “OFF”, recording source”MIDI-IN”,
and Time base “240”.
Note:MIDI recording refers to the recording of MIDI messages .
If recording source is “MIDI-IN”, it will enter Record ready mode for a MIDI phrase.
Caution: It is not possible to specify a phrase number which has already been recorded.
If you wish to re-record a phrase that is already recorded, use the PD command to
delete the phrase, and then transmit the RM command.
AR-3000 RS-232C Reference -10
r
4.2.2 Editing Commands
= DM (Delete Mode)
Function:Enable execution of editing commands.
Syntax:stxDM;
Note:In order for editing commands to be executed, the DM command must be used to put
the unit into Delete mode. For the communication protocol, refer to 4.1 2) Editing
commands.
Caution: When Delete mode is exited, the AR-3000 will automatically output a CC command.
The AR-3000 automatically escapes from the Delete mode two minutes after the DM
command is issued. To run editing commands, send a DM command again to enter
the Delete mode
Card Editing
= CD (Card Delete)
Function:Delete Card
Syntax:stxDM;
stxCD: * ;
a Card in slot
0 Card in slot A
1 Card in slot B
Example) CD:0;
Erase all phrases from a PC card in slot A.
.
a
= CP (Card coPy)
Function:Copy Card
Syntax:stxDM;
stxCP;
Note:This copies the contents of the card in slot A to the card in slot B.
> CO ( Card cOnvert for AR-3000 )
Function:Convert Card
Syntax:stxDM;
stxCO: * , * ;
a b
a Convert type
0 AR-3000 to AR-2000
1 AR-2000 to AR-3000
b Select card
0 Card in slot A to Card in slot A
1 Card in slot A to Card in slot B
AR-3000 RS-232C Reference -11
r
= FM (ForMat)
Function:Format Card
Syntax:stxDM;
stxFM: * , * , * ;
a bc
a Card in slot
0 Card in slot A
1 Card in slot B
b Maximum number of phrase
0 250
1 500
2 1000
c Reserved ( 0 or 1 )
Example) FM:0,1,0;
The card in slot A is formatted as follows; the maximum number of phrases “500”.
Note: The type and capacity of the card is detected automatically.