Panasonic WJ-HD100 Communication Protocol, Transmission Command, Response Command

Models: WJ-HD100

1 60
Download 60 pages 45.63 Kb
Page 46
Image 46

Communication Protocol

The following pages detail the elements for communication between the Digital Disk Recorder and the personal computer. Make certain to select VTR for PROTOCOL in the COMMUNICATION SETUP window. For BAUD RATE, DATA BIT and PARITY settings, see page 30 COMMUNICATION SETUP. For cable connection refer to RS-232C CONNECTION on page 13.

1. Transmission Command

The PC sends messages to the Recorder in the format shown below. Also refer to the command table shown later.

Code

[STX] [Transmission Command] : [p1] : [p2] :

: [pn] [ETX]

 

 

 

ASCII

(02H) ( ) – – – – – – – – – – – – – – – – – (

) (03H)

 

 

 

[p]stands for parameter. Parameters are omitted when the command does not need to specify them.

2.Response Command

The Recorder returns messages in reply to the PC’s messages with the following formats.

(1)Reception Command

When the reception was completed successfully, the Recorder sends back the “ACK code 06H” to the PC, and then the response command below.

Code

[STX] [Response Command] : [p1] : [p2] :

: [pn] [ETX]

 

 

 

ASCII

(02H) ( ) – – – – – – – – – – – – – – – (

) (03H)

 

 

 

Parameters are omitted when the command format includes neither data nor status to send back.

(2)Reception error

The recorder sends back the “NAK code 15H”, followed by the parameters shown below. The Recorder then resets the reception buffer and enters waiting mode for the next message. Parameter “e” identifies the error status.

Code

[NAK] [e]

 

 

 

 

ASCII

(15H)

 

 

 

 

“e” value

1: Parity error (31H)

 

2: Framing error (33H)

 

3: Overrun error (34H)

(3)Parameter error

The Recorder returns the “ACK code 06H”, if the transmission code was not processed properly for some reason, followed by an error code as shown below.

Code

[STX]

ERE

[ETX]

 

 

 

 

ASCII

(02H)

(45H)

(03H)

 

 

 

 

Note: The Recorder returns [ACK] or [NAK] to the PC within 20 ms after the reception of [ETX] in a transmission.

47

Page 46
Image 46
Panasonic WJ-HD100 Communication Protocol, Transmission Command, Response Command, 1Reception Command, 2Reception error