RS-232 IMPLEMENTATION OVERVIEW
TASCAM's 322 cassette deck has a standard RS232C port, capable of receiving commands and
sending status information. Commands are
included for transport functions, including CPS
(Compumatic Program Search), Counter Reset,
and Sync Reverse settings. Tally information
will include deck status, timer information and
record prohibit status.
322
RS-232 Specification
• Individual Control Over Each Deck
• Extensive Transport Control Command Set
(Includes CPS, RTZ, Sync Reverse and Dubbing)
• Transport Status Tallies
• Tape Counter Readout Information (MM:SS)
• Tape Counter Reset Command
• Tape Status (Record Prohibit/Enable)
• Empty Deck Indication
COMMAND STRUCTURE & BEHAVIOR
Basic Transport Commands:
Preamble
LF
0 0 0 11 11 LF
0Ah 30h 30h 30h31h 31h31h 31h 0Dh
Comma
nd
on
i
ct
re
eck
D
i
D
elimiter
D
CR
RS-232 Pin Assignment & Protocol Specification:
Connector:
Pin 2:
Pin 3:
Pin 5:
DB9
Rx Data
Tx Data
Ground
Rx Data
Tx Data
Ground
322 RS-232 Port External Unit
Data Transmission Speed:
Command Spacing:
Character Length:
Parity Bit:
Stop Bit:
2
3
5
Tx Data
Rx Data
Ground
Status Request Commands:
Preamble
0 0 CR5 10
0Ah 30h 30h 00h35h 31h30h
Command
Deck
9600 bps
>20msec
8 bit
None
1 bit
Delimiter
Preamble - All command strings for the 322 begin with an
identifying phrase of "Line Feed" (0Ah) and a "0" (30h).
Command - The command follows the preamble directly.
(For a complete list of all the commands, see Transport
Commands on the next page.)
Deck - This determines whether the command is targeted
at Deck 1 (30h 31h) or Deck 2 (30h 32h).
Direction - For commands which have directionality to it,
this determines whether the forward or reverse direction is
desired. Forward direction (30h 31h) and reverse direction
(30h 32h) are used for commands with direction. Transport
commands without direction use a "no direction" (30h 30h)
place holder.
SENSE MECHANISM STATUS, DECK 1PLAY, DECK 1, SIDE A
Status request commands will follow the same structure as
basic transport commands, except a direction is not
included in the command. (That information will be given
in the reply.)
The 322 does not automatically generate status commands
when mechanisms change, so the controller will need to
scan the 322 at some rate.
When setting a scanning cycle, it is important to recognize
that the 322 requires 20 milliseconds between commands.
Since there are 3 types of information per deck (time,
record prohibit, and mechanism status), it is easily possible
to scan each status every half second, and still only be
sending messages to the 322 every 83 milliseconds.
TASCAM USA has tested the 322, scanning each status type
Delimiter - All command strings for the 322 end with
every half second, and the 322 performed flawlessly.
"Carriage Return" (0Dh) as the delimiter.
7733 Telegraph Road • Montebello, CA 90640 • (323) 726-0303 • http://www.tascam.com
All features and specifications are subject to change without notice. Contact your local TASCAM representative for the latest information.
Page 1 of 5
322_RS-232_TECHDOC.pdf
030404
COMMAND STRUCTURE & BEHAVIOR (CONT)
When the 322 receives commands, the behavior mimics the
front panel controls. So, when PLAY DECK 1 SIDE A is
issued, the 322 may not be engaged directly into PLAY. (A
chart at right explains the actual behavior.)
These behaviors are fairly straight forward, since these
commands follow normal cassette logic that most end users
are already familiar with. This makes programming a touch
panel for standard remote control applications very easy.
But for unattended automation systems run completely by
computer, it might be wise to create a simple macro which
returns the 322 to a known state, like STOP on side A.
- If the 322 was recording on side B, then the machine
will flip to side A and continue recording on side A.
- If the 322 was recording on side A, then it will continue
recording on side A.
- If the 322 was in record pause on side A, then record is
engaged on side A.
- If the 322 was in record pause on side B, then the 322
will flip directions and remain in record pause on side A.
- If the 322 was in pause on side B, then the 322 will flip
directions and remain in pause on side A.
COMMAND LIST
322 RS-232 Specification
STOP, DECK 1 - CMND "10"
STOP, DECK 2
PLAY, DECK 1, SIDE A - CMND "11"
PLAY, DECK 1, SIDE B
PLAY, DECK 2, SIDE A
PLAY, DECK 2, SIDE B
PAUSE, DECK 1 - CMND "1C"
PAUSE, DECK 2
REC PAUSE, DECK 1 - CMND "14"
REC PAUSE, DECK 2
REC MUTE, DECK 1 - CMND "1B"
REC MUTE, DECK 2
FFWD, DECK 1 - CMND "1A"
REW, DECK 1
FFWD, DECK 2
REW, DECK 2
RESET COUNTER, DECK 1 - CMND "65"
RESET COUNTER, DECK 2
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
LF
0Ah
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
0
30h
1
31h
1
31h
1
31h
1
31h
1
31h
1
31h
1
31h
1
31h
1
31h
1
31h
1
31h
1
31h
1
31h
1
31h
1
31h
1
31h
6
36h
6
36h
0
30h030h
0
30h030h
1
31h030h
1
31h030h
1
31h030h
1
31h030h
C
43h030h
C
43h030h
4
34h030h
4
34h030h
B
42h030h
B
42h030h
A
41h030h
A
41h030h
A
41h030h
A
41h030h
5
35h030h
5
35h030h
1
0
31h
30h030hCR0Dh
2
0
32h
30h030hCR0Dh
1
0
31h
30h131hCR0Dh
1
0
31h
30h232hCR0Dh
2
0
32h
30h131hCR0Dh
2
0
32h
30h232hCR0Dh
1
0
31h
30h030hCR0Dh
2
0
32h
30h030hCR0Dh
1
0
31h
30h030hCR0Dh
2
0
32h
30h030hCR0Dh
1
0
31h
30h030hCR0Dh
2
0
32h
30h030hCR0Dh
1
0
31h
30h131hCR0Dh
1
0
31h
30h232hCR0Dh
2
0
32h
30h131hCR0Dh
2
0
32h
30h232hCR0Dh
1
0
31h
30h030hCR0Dh
2
0
32h
30h030hCR0Dh
Continued on next page.
7733 Telegraph Road • Montebello, CA 90640 • (323) 726-0303 • http://www.tascam.com
All features and specifications are subject to change without notice. Contact your local TASCAM representative for the latest information.
Page 2 of 5
322_RS-232_TECHDOC.pdf
030404