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

Page 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

Image 46
Contents Digital Disk Recorder Operating Instructions ENGLISHFRANÇAIS Model No. WJ-HD100ENGLISH VERSION CONTENTS ENGLISHEasy access to the desired record FEATURESPREFACE Various alarm modesPRECAUTIONS o!0!1!2!3!4 Front Viewq w e t y u 5!6!7 !8#6#7 Rear View@1@3@4@6 @7 @8@9 @2 @5#7Signal Ground SIGNAL GND #4Alarm Terminal#6Power Switch POWER ON OFF #8Power CordMounting in the Rack INSTALLATIONCaution Notes Regarding Installation Places to avoidCONNECTION Basic ConnectionConnections with PS Data Equipment Series Connection PS Data Connection Alarm Terminal ConnectionRS-232CConnection ALARMTermination Mode Switch SettingAlarm Output Polarity Unit Address & InitializeTurning On the Power SETUP PROCEDURESPrior to Setup Turning Off the PowerButtons and Dials Used for the Setup Displaying the SETUP MENUCLOCK→ SKIP&PLAY Setup Menu SequenceCLOCK→ SF- 12HInitializing Initializing All Contents & Setup DataInitializing Setup Data NOW FORMATTING HDDTime & Date Type 002 TIME&DATE TYPE WJ-HD100SETUP MENUClock Setup 001 CLOCK CLOCK→Status Display 005 STATUS DISP Time & Date Display 003 T&D DISPLAYTime & Date Position 004 T&D POSITION Status Position 006 STATUS POSIQuick Play Mode Selection 101 FWD/REW MODE SYSTEM SETUPHDD FULL Selection 007 HDD FULL R-LOWERPassword Setup 102 PASSWORD LOCK Setting Buzzer ON/OFF 105 KEYLOCK BUZSet Time 108 SET TIME Reset Pulse Polarity 106 RESET PULSETime Adjusting 107 TIME ADJUSTING Auto Erasing 109 AUTO ERASINGRecording Field Rate 202 REC RATE REC SETUPRecording Mode 201 REC MODE Recording Quality 203 REC QUALITYCONTINUE ALM CONTINUE SERIES Disk End Mode Setup 204 DISK ENDSTOP Notes on SERIES connectionExternal Recording Mode 207 EXT REC MODE Disk End Buzzer Setup 205 DISK END BUZZERJog Click Terminal Definition 206 JOG/EXT REC STOPAlarm Recording Duration 304 DURATION ALARM SETUPAlarm Recording Mode 301 REC MODE Alarm Buzzer 305 ALARM BUZZERMotion Detector Setup 306 VMD SETUP INTERNAL TIMER REC Making ReservationsUnit Address 502 UNIT ADDRESS COMMUNICATION SETUPProtocol 501 PROTOCOL Baud Rate 503 BAUD RATEStop Bit 506 STOP BIT SYSTEM INFORMATIONParity Check 505 PARITY CHECK Wait Time 507 WAIT TIMEAlarm Recording OPERATING PROCEDURESSequence of LCD Displays in operation When a button is pressed in KEY LOCK modeAlarm Recording Internal Timer RecordingPower-onRecording RecordingSkip Playback PlaybackNormal Playback Step PlaybackPlayback Oldest/Latest Record Alarm Record SearchTime & Date Search Alarm History Search JUN 9.00 00Alarm History Search Alarm OperationSuspending Alarm Input JUNManufacturer Resetting AlarmCopy to CompactFlash Card Capacity in MBHD100 000001 000001.jpg 000002.jpg 000003.jpg Folders and FilesBlue.jpg Index.htm Play.htm Lock/Unlock Buttons Password VerificationPASSWORD Enabling Button LockCause TROUBLESHOOTINGPhenomenon What to doStandard Accessories SPECIFICATIONSAlarm Function GeneralRemote Control From System Controller APPENDIXSERIES RECORDING SetupOperating Procedures Loop Connection RecordingSetup Series Connection RecordingPlayback Operating ProceduresCommunication Protocol 1. Transmission Command2.Response Command 1Reception CommandSetup Control Command TableAlarm Control Basic OperationData Log Control Miscellaneous ControlMedia Control Inquiry N0800-4120 Panasonic Canada IncPanasonic Sales Company V8QA5548ENReservation Past Midnight DEFAULT→ADDENDUM Reservation for Consecutive DaysThumbnail Mode Display Using a graphics applicationUsing the Viewer.htm Play Mode DisplayRéservation après minuit SUPPLÉMENTVERSION FRANÇAISE Réservation pendant des jours consécutifsAffichage de mode de lecture Utilisation de Viewer.htmAffichage de mode vignettes RemarquesADDENDUM ENGLISH VERSION32 Status Out Terminal on page WJ-HD100SETUP MENU on page 16, 17 andCLOCK→ Reservation for Consecutive Days VMD descriptionReservation Past Midnight StopPlay Mode Display Time and date specific copyThumbnail Mode Display Additions to page 40, Copy to CompactFlash CardJAN01.01 Notes on alarm operation during copyingSTART 23:00:00NM0201-2012 Panasonic Canada IncPanasonic Sales Company V8RA1274CN