beautypg.com

How to use the rs-232c connector, Other functions, English – Marantz PMD325 User Manual

Page 47

background image

ENGLISH

43

How to use the RS-232C connector

This input/output connector (D-Sub 9-pin female) is used for
RS-232C external control.
A straight cable available on the market can be connected to
this connector to exercise external control and send status
information.

Connector pin assignment

RS232C Connection

The wiring requirements for a 9 pin to 9 pin serial connection,
are a male to female straight cable.

RS-232C physical specifications

Command reception
The command packets have a data length of 5, 6 or 7 bytes.
ASCII codes from 0x00 to 0x7f are used to receive serial data.
At the transmission end, therefore, take steps to convert the
ASCII codes into HEX data to set the data in the data packets.
CR (0x0d) is added as the data packet delimiter.

1

NC

2

TX

3

RX

4

NC

5

GND

6

NC

7

NC

8

NC

9

NC

6

9

5

1

Cable

Straight cable

Baud rate

9600 bps

Data bits

8 bits

Parity bit

None

Stop bit

1 bit

Flow control

None

Command

Code

Command

Code

0

2000

Pitch Down Start

2039

1

2001

Pitch Down Stop

203901

2

2002

Program

2041

3

2003

AMS

2043

4

2004

Open/Close

2045

5

2005

Pause

2048

6

2006

Cancel

2049

7

2007

Fast Backward Start

2050

8

2008

Fast Backward Stop

205001

9

2009

Fast Forward Start

2052

Time

2011

Fast Forward Stop

205201

Recall/Scroll

2015

Play

2053

Random

2028

Stop

2054

Repeat

2029

A-B

2059

Next

2032

Display (Dimmer)

2071

Previous

2033

Menu

2082

Index +

2034

Enter

2087

Index -

2035

Text

2088

Pitch Reset

2037

Quick Replay

205304

Pitch Up Start

2038

Cue

205910

Pitch Up Stop

203801

Status transmission
The status packets have a fixed data length of 4 bytes.
ASCII codes from 0x00 to 0x7f are used to transmit serial
data. For this reason, the ASCII codes are converted into
HEX data before the data is set in the data packets and
transmitted. CR (0x0d) is added as the data packet delimiter.

Received command data

Example: Reception Time Command (code 2011)

2

0

1

1

CR

0x32

0x30

0x31

0x31

0x0d

Transmitted status data

Status

Code

Description

Power On

PWON

Transmitted when the power is turned on.

Tray Open

TROP

Transmitted upon completion of tray open.

Tray Close

TRCL

Transmitted upon completion of tray close.

TOC Error

TOCE

Transmitted when a TOC read error has occurred.

TOC Reading

TOCR

Transmitted when TOC read is started.

No Disc

NODI

Transmitted when “No disc” is detected.

Stop

STOP

Transmitted when the disc has stopped.

Play

Pxxx

Pause

Axxx

Fast Forward

FFON

Transmitted when Fast Forward is started.

Fast Backward

RWON

Transmitted when Fast Backward is started.

Repeat Off

RPOF

Transmitted when Repeat Off is set.

Repeat All

RPAL

Transmitted when Repeat All is set.

Repeat One

RPON

Transmitted when Repeat One is set.

Repeat A

RPA-

Transmitted when Repeat A is set.

Repeat AB

RPAB

Transmitted when Repeat A-B is set.

End Warning

ENDW

Transmitted when End Warning is started.

Transmitted along with the track number (xxx)
when play is started; also transmitted when
the track number is changed during play.

Transmitted along with the track number (xxx)
when the pause status is established.

Example 1: Transmission Power On (code PWON)

P

W

O

N

CR

0x50

0x57

0x4f

0x4e

0x0d

OTHER FUNCTIONS

PMD325

Typical HOST

Transmit Data
Receive Data

Ground

Rx Data
Tx Data

Ground

2
3

5

2
3

5

D-Sub 9 Pin

(male)

D-Sub 9 Pin

(female)

When transmitting commands consecutively, put more than
100ms blank between commands.