Page 1
MDS-E12/E11/E52 RS-232C INTERFACE MANUAL 2001 by Sony Sound Communications Inc.
Page 2
1 Outline 6.40 REC REMAIN REQ 6.41 NAME REMAIN REQ 2 Physical connection 6.42 DISC NAME WRITE 3 Communication conditions of RS-232C 6.43 TRACK NO. NAME WRITE 4 Communication packet format 7 Transmission data Structure of this section 5 Remote mode REMOTE MODE 6 Transmission data POWER...
Page 3
1 Outline This manual has the technical information necessary to control the MDS-E12/E11/E52 with the RS-232C. Section 2 Explanation about the connection between MDS and PC. Section 3 Explanation about the communication conditions to communicate between the RS-232C and MDS.
Page 4
Form of the connector for the RS-232C equipped with MDS, name of the pins and the cables for connection are mentioned in this section. Form of the connector and name of the pins D-Sub9 male pin is used in MDS-E12/E11/52 at the RS232C connector. The names of pins are shown as below. Pin number...
Page 5
3 Communication conditions of RS-232C Communication conditions of RS-232C are shown as follows. Baud rate : 9600 bps Character length : 8 bit Parity : No parity Stop bit : 1 bit Details of data format etc. are explained from section 4 onward.
Page 6
4 Communication packet format The packet used in communication between MDS and PC is mentioned in this section. Packet structure It is changeable data length and composed of the following factors. Header Packet length Format type Category Data Terminator The maximum packet length is 32 byte. 4-1-1 Header Header is different between the packet transmission directions, that is PC->MDS or MDS->PC.
Page 7
Summary When some data are sent from PC to MDS, packet structure is shown as follows. Header Packet length Format type Category Data Terminator Packet length Data..And besides, when PC receives some data from MDS, packet structure is shown as follows.
Page 8
5 Remote mode What is remote mode? In MDS, processing way for RS-232C is different between during remote ON and during remote OFF. To carry out the request from RS-232C, send off the remote ON command at first to set the MDS itself to remote ON mode.
Page 9
As for the command from RS-232C, only remote ON command is acceptable. When MDS receives a command other than remote ON, it sends back a message means impossible execution. Summary To control MDS with RS-232C, it is necessary to send remote ON command after turn- ing on the power to enter remote ON mode.
Page 10
6 Transmission data Structure of this section In this section, details about each command are mentioned. The commands are classified as function, data length, data, details of function and example of transmission packet. Function: General functions of commands are shown. Data length: Data length of commands are shown.
Page 11
On the other hand, parallel output and relay output are carried out. Change of INPUT switch is acceptable even when remote mode is ON. Refer also to section 5 about details of remote mode. Example of transmission packet: Set remote mode to ON. 7EH, 07H, 05H, 47H, 10H, 03H, FFH POWER [for MDS-E11/E52 only] Function:...
Page 12
When this command is sent in playback pause mode, MDS starts playback again from the point. When this command is sent in recording pause mode, MDS starts recording. Example of transmission packet: Start playback. 7EH, 07H, 05H, 47H, 02H, 01H, FFH STOP Function: To stop playback...
Page 13
It changes recording pause mode to recording mode, and recording mode to recording pause mode. When this command is sent in stop mode, MDS enters playback pause mode at the top of a disc. Example of transmission packet: Start playback again in playback pause mode. 7EH, 07H, 05H, 47H, 02H, 03H, FFH PAUSE ON Function:...
Page 14
are given. “Stop operation during FF or REW”, that is similar condition to the one of when FF or REW key in the main unit is released. Example of transmission packet: Stop FF during FF operation. 7EH, 06H, 05H, 47H, 00H, FFH Function: To start rewinding Data length:...
Page 15
pressed. To stop FF, send “FF/REW OFF” command. When this command is sent in playback pause mode, playback start- ing point goes forward until “FF/REW OFF” command is given or start- ing point reaches to the end of the disc. No sound is heard during this period.
Page 16
6.12 NEXT TRACK Function: To skip forward to the next track Data length: 2 bytes Data: 02H, 16H Details of function: This command has the same function when AMS+ key in the main unit is pressed. When this command is sent during playback, playback starts from the next track.
Page 17
mode, because it does not synchronized with input signals. When digital input is correct, it synchronizes with input signals in 200 mSec at latest. So, first send “REC” command, and send “STATUS” command after 200 mSec to check whether input is locked, then start recording.
Page 18
Details of function:This command has the same function when EJECT key in the main unit is pressed. When this command is send with a disc inside, the disc will be ejected. Example of transmission packet: Eject a disc. 7EH, 07H, 05H, 47H, 02H,40H, FFH 6.16 AUTO PAUSE Function:...
Page 19
7EH, 09H, 05H, 47H, 03H, 42H, 01H, 10H, FFH 6.18 TRACK PAUSE Function: To pause playback in the specified track Data length: 4 bytes Data: 03H, 43H, 01H, Track No. Track No.: 1(01H) - 255(FFH) Details of function: This is the command to pause playback at the top of the specified track by entering the track number.
Page 20
6.20 DIVIDE MODE REQ Function: To enter track divide rehearsal. Data length: 2 bytes Data: 0AH, 01H Details of function: This is the command to enter the rehearsal of track divide. When this command is sent in playback or playback pause mode, MDS enters the rehearsal of track divide, in which the playback point where the command is received is to be divide point.
Page 21
If it is sent during other than track divide rehearsal, sometimes it may cause malfunction. MDS sends out “DIVIDE POINT DATA” one by one whenever the value changes even when the point to be divided is changed much at once. As another command cannot be accepted until the value is renewed to a specified one completely, first check if “DIVIDE POINT DATA”s of change times are sent or not, then send the next command.
Page 22
“COMBINE REQ” command. Example of transmission packet: Enter combine rehearsal of the 2nd and 3rd tracks. 7EH, 08H, 05H, 47H, 0AH, 06H, 03H, FFH 6.23-b COMBINE MODE REQ [for MDS-E12] Function: To enter track combine rehearsal. Data length: 4 bytes...
Page 23
Example of transmission packet: Carry out combine during combine rehearsal of the 2nd and 3rd tracks. 7EH, 08H, 05H, 47H, 0AH, 07H, 04H, FFH 6.24-b COMBINE REQ [for MDS-E12] Function: To carry out track combine Data length: 4 bytes...
Page 24
(Caution: If the same numbers are specified in Track A# and Track B#, it may cause malfunction. Please specify a different track number in each.) Details of function: This is the command to complete combining tracks from rehearsal. When this command is sent while combine rehearsal is being carried out by “COMBINE MODE REQ”...
Page 25
Data: 0AH, 04H, Track Track: 0(00H) to 255(FFH) Details of function: This is the command to erase the track specified by “Track”. When this command is sent in stop mode, MDS erases the track specified by “Track” and the tracks after it are decreased by a number for each.
Page 26
if 2 is specified to Track From and 4 to Track To, tracks’ order changes as follows: 1 Tr:ABC 2 Tr:GHI 3 Tr:JKL 4 Tr:DEF 5 Tr:MNO This command must be sent in stop mode. As track numbers after the track between Track From and Track To will be decreased, if the command is sent other than in stop mode, sometimes it may cause malfunction such that MDS sends out an incorrect track number.
Page 27
cause malfunction such that MDS sends out an incorrect track num- ber. Example of transmission packet: Cancel edit operation just before the current operation. 7EH, 07H, 05H, 47H, 0AH, 11H, FFH 6.29 MODEL REQUEST Function: To check model information. Data length: 2 bytes Data: 02H, 10H...
Page 28
6.31 DISC DATA REQ Function: To check disc information. Data length: 2 bytes Data: 20H, 21H Details of function: This is the command to make MDS send out “DISC DATA” indicating disc information. When this command is sent, MDS sends out “DISC DATA”. “DISC DATA”...
Page 29
on every track. “REC DATE DATA” includes information of that area as well and this is the command to output it. In this data area, models without a built-in clock are designed to record 0 all the time. As MDS-E11/52 does not have a built-in clock, “REC DATE DATA” of track recorded or edited using MDS-E11/52 always outputs 0 data.
Page 30
6.36 DISC NAME REQ Function: Check disc name Data length: 3 bytes Data: 20H, 48H, 01H Details of function: This is the command to send out “DISC NAME”, disc name informa- tion, to MDS. If the number of characters of disc name is 16 or more, MDS divides name data into some packets every 16 characters.
Page 31
When this command is sent, MDS first sends out “DISC NAME” in the same way as it receives “DISC NAME REQ” and next it sends out “TRACK NAME” as it receives “TRACK NAME REQ” for the same times as existing number of tracks on disc. MDS sends out “ALL NAME END”...
Page 32
Details of function: This is the command to send “REC REMAIN DATA”, recordable re- main time information of the current disc, to MDS. When this command is sent in the stop mode, MDS sends “REC RE- MAIN REQ”, recordable remain time information of the current disc. MDS returns collect value only when disc is recordable and TOC on the disc has been read and in the stop mode.
Page 33
Example of transmission packet: Write name ‘MDS-E12 Mini Disc Recorder’ in disc. 7EH, 18H, 05H, 47H, 20H, 70H, 01H, 4DH, 44H, 53H, 2DH, 45H, 31H, 32H, D0H, C6H, C3H, DEH, A8H, BDH, B8H, DAH, BAH, FFH Wait for ‘WRITE PACKET RECIEVED’...
Page 34
(Maximum 16 bytes, the last data is 00H.) Packets after the second packet: 20H, 73H, PacketNo, NameData (Maximum 16 bytes, the last data is 00H.) TrackNo: 1(01H) to 255(FFH) PacketNo: 2(00H) to 255(FFH) NameData: ASCII code of the character to input. 0(00H), ‘...
Page 35
7 Transmission data Structure of this section This section will provide detail descriptions about each receive data. Each receive data’s explanation is composed of items including Function, Data length, Data, Details of function and Example of receive packet. Function: General function of receive data. Data length: Data length of receiving data.
Page 36
Data: 01H, Status Status: 02H=On 03H=Off Details of function:Indicates Power status. MDS outputs this data when it receives “POWER” and the status changes. Also, MDS outputs “STATUS DATA” when the status of Power changes. Example of receive packet: Remote mode turns to ON. 6FH, 07H, 05H, 47H, 10H, 03H, FFH PLAY Function:...
Page 37
Example of receive packet: Operation has stopped. 6FH, 07H, 05H, 47H, 02H, 02H, FFH PAUSE Function: Playback has paused. Data length: 2 bytes Data: 02H, 03H Details of function: This command indicates playback has paused. When MDS enters playback pause mode by receiving “PAUSE ON/ OFF”, “PAUSE ON”...
Page 38
REC PAUSE Function: Entered recording pause mode. Data length: 2 bytes Data: 02H, 25H Details of function: Indicates that MDS entered recording pause mode. When MDS receives “REC” in the recording pause mode or receives “PAUSE ON/OFF” or “PAUSE ON” in the recording mode, it enters recording pause mode and outputs this data.
Page 39
Details of Function: Information on MDS’s recording function. When it receives “MODEL REQUEST” command, MDS outputs this data. MDS-E12/11/52’s Feature byte returns 03H at all times. Example of receive packet: Gains MODEL information. 6FH, 09H, 05H, 47H, 20H, 10H, 01H, 03H, FFH 7.11...
Page 40
1111: not available to play Data2: 0: TOC read not yet 1: TOC read done 0 Fix 0: REC impossible 1: REC possible :b4b3b2b1b0 00000 Fix Data3: 0: Stereo 1: Mono 0: COPY possible 1: COPY impossible 0: Din Lock 1: Din unlock :b4b3 00 Fix...
Page 41
When INPUT SELECT switch on the unit is in DIGITAL mode, data enters Din unlock state since digital data is not synchronized with input signal immediately right after MDS entered the recording pause mode from the stop mode. If digital input is done correctly, digital data is synchronized with input signal in 200mSec at the latest.
Page 42
Example of receive packet: The last updated date and time of the first track on the disc recorded by MDS-E12 is on Feb. 3rd in 2001 and 12:34:56. 6FH, 0EH, 05H, 47H, 20H, 24H, 01H, 01H, 02H, 03H, 0CH, 22H, 38H, FFH...
Page 43
16, 0(00H) fills NameData. Example of receive packet: The disc name of the disc named “MDS-E12 minidisc recorder”. 6FH, 18H, 05H, 47H, 20H, 48H, 01H, 4DH, 44H, 53H,2DH, 45H, 31H, 32H, D0H, C6H, C3H, DEH, A8H, BDH, B8H, DAH, BAH, FFH...
Page 44
16, 0(00H) fills NameData. Example of receive packet: The track name of the first track named “MDS-E12 minidisc recorder”. 6FH, 18H, 05H, 47H, 20H, 4AH, 01H, 4DH, 44H, 53H,2DH, 45H, 31H, 32H, D0H, C6H, C3H, DEH, A8H, BDH, B8H, DAH, BAH, FFH...
Page 45
Data: 20H, 51H, TrackNo, 01H, Min, Sec TrackNo: 1(01H) to 255(FFH) Min: 0(00H) to 60(3CH)min Sec: 0(00H) to 60(3CH)sec Details of function: When “ELAPSED TIME” commands MDS to send elapsed time, MDS outputs this data each time elapsed time varies in playback mode or in FF, REW in the middle of playback mode.
Page 46
by the specified track number. Also, in case of specifying the track number as 0(00H), it sends out the quantity of name area + unused area of the disc. Example of receive packet: Maximum 1,764 English characters are recordable in the first track. 6FH, 0BH, 05H, 47H, 20H, 55H, 00H, 01H, 06H, E4H, FFH 7.21 TOC DATA...
Page 47
elapsed time, if you want to indicate the remaining time. Example of receive packet: One track’s time is 0 minutes and 8 seconds. 6FH, 0BH, 05H, 47H, 20H, 62H, 01H, 00H, 00H, 08H, FFH 7.23 DISC EXIST Function: TOC READ completed information Data length: 2 bytes Data:...
Page 48
Data: 20H, 85H Details of function: Information to indicate that there is no disc name. When MDS receives “DISC NAME REQ” command and there is no disc name, it outputs this information in stead of “DISC NAME”. Example of receive packet: There is no disc name.
Page 49
Example of receive packet: Received a write name packet. 6FH, 07H, 05H, 47H, 20H, 87H, FFH 7.28 NO TOC DATA Function: There is no TOC information. Data length: 2 bytes Data: 20H, 89H Details of function: Indicates that there is no TOC data. MDS outputs this data when it receives “TOC DATA REQ”...
Page 50
Details of function: Indicates to enter Combine rehearsal condition. When MDS receives a “COMBINE MODE REQ”, it enters Combine rehearsal condition and outputs this information and “STATUS”. Example of receive packet: Entered Combine rehearsal. 6FH, 07H, 05H, 47H, 20H, 8CH, FFH 7.31 EDIT COMPLETE Function:...
Page 51
specified value, but MDS outputs “DIVIDE POINT DATA” responding to the time divide planed point changed. Example of receive packet: Divide planed point is +1. 6FH, 07H, 05H, 47H, 20H, 8EH, 01H, FFH 7.33 UNDEFINED COMMAND Function: Received an undefined command. Data length: 2 bytes Data:...
Page 52
8 Command quick reference RS-232C Protocol for MDS-E12/11/52 Transmission format Transmission forma 9600bps Character length 8 bit Parity check no parity Stop bit number 1 bit Variable length byte communication data (1 byte: header to last byte: terminator (FFH)) Contents of data 00H to FFH (00 to 255) 2.1 Header...
Page 53
2.7 PC to MDS Data 5th byte 6th byte after 7th bytes FF/REW OFF POWER control (MDS-E11/E52 only) POWER on POWER off Mecha control PLAY STOP PAUSE ON/OFF PAUSE ON REW (Necessary: OFF/ REW OFF) FF (Necessary: OFF/ REW CODE) PREV TRACK NEXT TRACK TIME MACNINE REC...
Page 54
Back side TRACK No. to combine COMBINE REQ (MDS-E11/E52) Back side TRACK No. to combine +1 DIVIDE ADJUST POSITION (-128 to +127) COMBINE MODE REQ (MDS-E12) Track No.[Former] + Track No.[Latter] COMBINE REQ (MDS-E12) Track No.[Former] + Track No.[Latter] UNDO REQ REMOTE MODE control...
Page 55
REC REMAIN REQ. +01H NAME REMAIN REQ. +00H + Track No. (or disc, in case of 00) DISC NAME WRITE FIRST +01H + ASCII DATA x 16 bytes (the last data is 00h) DISC WRITE CONTINUED +Packet No. (02-) + ASCII DATA x 16 byte (the last data is 00h) TRACK NAME WRITE FIRST +TRACK No.
Page 56
INFORMATION MODEL DATA 01H + FEATURE FEATURE: b7 Ð b2 000000 Fix b1: time machine b0: record function REC 0: impossible 0: not available 1: possible 1: available STATUS DATA DATA1 + DATA2 + DATA3 + 01H +TRACK No. DATA1: b7b6: 00 fix 0:disc EXIST 1:No disc...
Page 58
TRACK NAME TRACK NO + ASCII DATA x 16 bytes (the last data is 00h) TRACK NAME continued Packet No. (02-) + ASCII DATA x 16 byte (the last data is 00h) ALL NAME END ELAPSED TIME (in case of sec changes during play) TRACK No.