Rs-232c interface, Rs-232c specifications, Command – Paso Sound PDVD01U User Manual

Page 32: Command structure

Advertising
background image



TASCAM DV-D01UT/C

RS-232C interface

This unit is equipped with an RS-232C port, capable of receiving commands and sending status information. The commands cover all
transport functions, menu functions and power on/standby.
Return status includes timer readouts, type of disc, and transport status. Additional commands are available to enable/disable the unit’s
front panel or IR controls.

RS-232C Specifications

9-pin D-Sub (Male)

Mode

: Asynchronous

Data rate

: 9600 bps

Command spacing : >25 ms

Note: For correct operation, wait at least 25ms after receiving the reply to a
command from the DV-D01U before sending the next command.

Character length

: 8 bits

Parity bit

: None

Stop bit

: 1 bit

Transfer bit

: LSBit First

1

6

5

9

Pin

Signal

Description

Signal flow

2

RxD

Receive data

DVD player ß External device

3

TxD

Transmit data

DVD player External device

5

GND

Signal grounding

Command

Command structure

Example: PLAY command

D

02h 3Eh

59h

46h

50h

63h

4Ch

57h 44h

>

Y

F

W

P

c

L

20h

20h

20h

20h

20h

SP

SP

SP

SP

SP

37h

31h

03h

7

1

Byte

Pr

eam

ble

Op

er

at

ion

Co

de

Cmn

d/

St

at

Par

am

et

er

C

od

es

Ch

ec

k

Su

m

En

d

By

te

Check Sum Range

1st

2nd

3rd

4th

5th

6th

7th

8th

9th 10th 11th 12th

Preamble

All command strings for this unit begin with the start byte “02h” and header byte “3Eh”.

Operation Code

Each command has a 3-byte operation code, which are listed in the following pages. The operation code for play is simply PLY (upper-
case letters).

Command/Status Byte

This section determines whether the command is telling the unit to do something, or asking for its status. A lowercase “c” (63h) indi-
cates a command while a lowercase “s” (73h) indicates status response.

Parameter Codes

8 bytes are reserved for parameters on the command/status response. When the status information does not fill up all 8 bytes (most
don’t), the extra slots are filled with spaces (20h). In the above example, FWD indicates playing forward at normal (1x) speed.

Check Sum

The check sum is calculated from the “>” in the Preamble to the end of the Parameter Codes. The last two digits of the hexadecimal
addition are shown as ASCII in the Check Sum area. In this example, the Check Sum is derived as follows:

3E + 50 + 4C + 59 + 63 + 46 + 57 + 44 + 20 + 20 + 20 + 20 + 20 = 317

The last two digits, “17” are displayed as ASCII in the Check Sum.

End Byte

This marks the end of the string with “03h”.

·

·

Advertising