Alesis ADAT-M20 RS422 User Manual

ALESIS M20
RS-422
Implementation
Second Revision
August 5, 1999
INTRODUCTION
This document contains information outlining the implementation of the Sony 9-Pin Protocol in the Alesis M20. This is not an official Sony 9-pin protocol document and should not be viewed as such. It is for reference purposes only. To obtain official Sony 9­pin protocol documents, contact Sony directly.
INTERFACE SYSTEM OVERVIEW
Conforming to EIA RS-422A
Four-wire communications channel is utilized
Data is transmitted asynchronously, bit serial, word serial with data transmissions between
devices being digital
Standard transmission rate on the interface bus is 38.4 kilobits per second (kb/s)
The data utilized by the interface system shall be as follows:
1 START Bit + 8 DATA Bits + 1 PARITY Bit + 1 STOP Bit
START
BIT
D0
(LSB)
Odd Parity means that the sum of D0 + D1 + … + D7 + PARITY equals an odd number.
D1
D2 D3 D4 D5 D6
D7
(MSB)
PARITY
(ODD)
STOP
BIT
MARK
SPACE
Alesis M20 RS-422 Document ……………………………….........………………………………Page 2
COMMAND BLOCK FORMAT
The definition of CONTROLLER and DEVICE throughout this document shall be as follows:
“CONTROLLER” refers to the unit which controls the VTR. “DEVICE” refers to the unit (VTR) which is controlled.
The communication between the CONTROLLER and DEVICE is composed of the following:
MSD LSD Data
Cmd 1 Count Cmd 2 Data -1 Data-n Checksum
1 Byte 1 Byte 1 Byte 1 Byte 1 Byte
When the Data Count is zero, the Data is not transmitted. When it is not zero, the Data corresponding to the value is inserted between Cmd 2 and Checksum.
Cmd 1
Cmd 1 classifies the COMMAND into main groups which indicate the Function and Direction of the data to follow.
(n = max 15)
CMD 1
0 1
System Control Return 2 4
Preset & Select Control 6 7
Data Count
Data Count indicates the number of data bytes added following Cmd 2. It ranges from 0 to F.
Cmd 2 Cmd 2 is the designated COMMAND sent to the DEVICE or returned from the DEVICE.
Data
The number of data bytes and the content is defined by the specific Cmd 2.
FUNCTION
CONTROLLER DEVICE
System Control
Transport Control
Sense Request
Sense Return
DIRECTION
Checksum
The Checksum is the sum of all bytes in the message, from Cmd 1/Data Count to the last byte before the Checksum. The Checksum is used to verify data accuracy and reject communication sequences that contain bit errors.
Alesis M20 RS-422 Document ……………………………….........………………………………Page 3
CONNECTOR PIN ASSIGNMENT
The interface connector is a 9-pin D-subminiature female connector. The pin assignment for the CONTROLLER and DEVICE is as shown in the following table:
PIN CONTROLLER DEVICE
1 Ground Ground 2 Receive A Transmit A 3 Transmit B Receive B 4 Transmit Common Receive Common 5 Spare Spare 6 Receive Common Transmit Common 7 Receive B Transmit B 8 Transmit A Receive A 9 Ground Ground
COMMUNICATION PROTOCOL
All communication between CONTROLLER and DEVICE are under the direct supervision of the CONTROLLER.
The CONTROLLER shall not transmit additional Command Blocks to the DEVICE prior to receiving an appropriate response to the previous Command Block.
The CONTROLLER shall not interrupt transmission of a byte in a Command Block for more than 10 milliseconds. A DEVICE detecting the interruption of a byte in a Command Block that exceeds 10 ms shall execute a Time-Out error sequence. A DEVICE shall void the receiving Command Block and transmit a NAK (Time-Out).
The DEVICE, following the receipt of a Command Block from the CONTROLLER shall transmit a response within 9 milliseconds.
The DEVICE, upon detection of an error, shall immediately transmit a NAK to the CONTROLLER, with the appropriate error code. The CONTROLLER, upon receipt of the NAK, shall immediately stop transmission of the Command Block
The M20 is a DEVICE (i.e. it only responds to and does not generate Sony 9-Pin commands). In general, the M20 responds to commands in the following manner:
1) Recognized/supported command:
• Return an ACK as response to command not requiring data.
• Return appropriate data requested.
2) Checksum mis-match:
• Return a NAK (with data=checksum error) and take no action.
3) Unrecognized/unsupported command:
• Return a NAK (with data=undefined error) and take no action.
4) Number of data bytes is less than expected (e.g. Data byte count < # of bytes needed)
• Return a NAK (with data=undefined error) and take no action.
5) If more than 10 milliseconds lapses between bytes in a command block:
• Return a NAK (with data=timeout error) and take no action.
Alesis M20 RS-422 Document ……………………………….........………………………………Page 4
COMMAND/RESPONSE CHART
The marks shown in the tables mean the following:
O
* indicates that the appropriate status bits are set, but the M20 does nothing;
X indicates that this command is not supported; returns a NAK Undefined (11.12.01)
COMMAND M20 RESPONSE
00.0C Local Disable O
00.1D Local Enable O
00.11 Device Type Request O
01.80 Memory Area Number Preset X
00.81 Memory Area Number Sense X
04.82 Memory Area Length Preset X
00.83 Memory Area Length Sense X
01.84 Memory Area Select X
00.85 Memory Area Select Sense X
01.86 Mem Area Output Select X
00.87 Mem Area Output Select Sense X
indicates that response to this command is supported; returns appropriate response
returns an ACK (10.01)
20.00 Stop O
20.01 Play O
20.02 Record O
20.04 Standby Off O
20.05 Standby On O
20.0F Eject O
20.10 Fast Forward O 2X.11 Jog Fwd O 2X.12 Var Fwd O 2X.13 Shuttle Fwd O
20.20 Rewind O 2X.21 Jog Rev O 2X.22 Var Rev O 2X.23 Shuttle Rev O
Alesis M20 RS-422 Document ……………………………….........………………………………Page 5
COMMAND M20 RESPONSE
20.30 Preroll O
24.31 Cue With Data O 2X.37 Chase O
21.38 Prog Speed + O
21.39 Prog Speed - O
20.40 Preview O
20.41 Review O
20.42 Auto Edit O
20.54 Anti-Clog Timer Disable O
20.55 Anti-Clog Timer Enable O
20.60 Full EE Off O
20.61 Full EE On O
20.63 Select EE On O
20.64 Edit Off O
20.65 Edit On O
20.6A Freeze Off *
20.6B Freeze On *
20.80 Memory Stop X
20.81 Memory Play X
20.82 Memory Write Start X
20.93 Memory Read Fwd X
22.A3 Memory Red Rev X
26.B1 Memory Rd-Pointer Preset X
44.00 Timer-1 Preset X
44.04 TimeCode Gen Preset O
44.05 TimeCode Gen UBit Preset O
40.08 Timer-1 Reset O
40.10 In Entry O
40.11 Out Entry O
40.12 A In Entry O
40.13 A Out Entry O
44.14 In Data Preset O
44.15 Out Data Preset O
Alesis M20 RS-422 Document ……………………………….........………………………………Page 6
Loading...
+ 11 hidden pages