Home
>
Panasonic
>
Recording Equipment
>
Panasonic Digital Disk Recorders Wj Hd309 Operating Instructions
Panasonic Digital Disk Recorders Wj Hd309 Operating Instructions
Have a look at the manual Panasonic Digital Disk Recorders Wj Hd309 Operating Instructions online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 10737 Panasonic manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
141 SERIAL (RS232C) Communication Protocol With the SERIAL (RS232C) interface, you can control functions of this unit by transferring the specified commands from a per- sonal computer (PC) to this unit. Notes: •This unit does not support the communication converted between the SERIAL (RS232C) and USB interface. •When controlling the unit with the SERIAL (RS232C) interface, the following parameters should be identical between the communication devices. The setting is available in SETUP MENU – Comm – SERIAL (RS232C) Setting. Baud Rate Data Bit Parity Stop Bit Command Format The following pages detail how to write the commands. 1. The following details how to write the commands STX:This shows the data start. STX (ASCII code: 02h) is always prefixed to data. h shows hexadecimal digit. Transmission command:A command shown in the Command List is designated. ETX:This shows the data end. ETX (ASCII code: 03h) is always prefixed to data. The character code is ASCII. When a command needs a parameter, a colon (:) is used for dividing the command and parameter. The following shows how to write the commands when two or more commands are specified. 2. Response Command (from the Unit to the PC) The unit sends back the response command for the transmission command from the PC. •When the reception was completed successfully The response command differs between when an ANSWER command (sending back the status or data) is required or when not required. •When no ANSWER command is required The unit sends back the same identifier as that in the transmission command, as shown in the figure. CodeASCII (02H) – – – – – – – – – – – – – – – – – – – – – – – – – – – (03H) [STX] AD [Unit address of this unit] [Transmission Command] : [p1] : [p2] [ETX] SERIAL (RS232C) CONNECTOR COMMAND REFERENCE Code [STX] AD [Unit address of this unit] [Transmission Command] : [p] [ETX] [STX] [ETX]OPL Same identifier Transmission command (→ The unit) Response command (← The unit) [STX] [ETX]OPL
142 •When an ANSWER command is required The unit sends back the status or data, as shown in the figure. •About ACK code After receiving a command from the PC, the unit sends back the ACK code to the PC in 20 ms or less. [ACK] = Reception succeeded (ASCII code: 06H) After the ACK code has been sent back and the command processing has been completed, the unit sends back the response command to the PC. Example: These are examples for the following operations. 1. Login with the user name of ADMIN and with password of 12345. 2. Display images from camera channel 1 on monitor 2. 3. Start playback from the point of January 1 2003, 3:00 p.m. 4. Logout (1) (This unit -> PC) Login [STX]AD001;OLI:ADMIN[SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP]:12345[SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP][ETX] When receiving the command above, this unit will start the login procession of the user name of ADMIN. (2) (This unit -> PC) Response against (1). [STX]AD001;OLI:1[ETX] (3) (PC -> This unit) Select the monitor 2 [STX]AD001;OMS:001[ETX] (4) (This unit -> PC) Response against (3). [STX]AD001;OLI:1[ETX] (5) (PC -> This unit) Display images from the camera channel 1. [STX]AD001;OCS:00001[ETX] (6) (This unit - > PC) Response against (5). [STX]AD001;OCS:00002[ETX] (7) (PC -> This unit) Playback from the designated time point. [STX]AD001;ZTP:20030101150000[ETX] When receiving the command above, this unit will start playback from the point of January 1 2003, 3:00 p.m. (8) (This unit - > PC) Response against (7). [STX]AD001;ZTP: 200301011500000[ETX] [STX] [ETX]QOP Status inquiry command Status information command Transmission command (→ The unit) Response command (← The unit) [STX] [ETX]OPL [STX] [ETX]QRV Version inquiry command Sends back data. Transmission command (→ The unit) Response command (← The unit) [STX] [ETX]Q RV: 1.01:1.01:1.00:1.10
143 •Parameter error When the unit cannot properly process the received command, the unit sends back an error code to the PC. After clearing the receive buffer, the unit enters the wait state until receiving the following [STX] command. •If the unit receives another command during the response, the unit will respond to the command after processing the cur- rent response. •If the unit received the [STX] command again before receiving the [ETX] command, the unit will clear the internal buffer. Then, the unit will process the data following to the [STX] command. (The commands received before the second [STX] command will be canceled.) •The internal buffer will be cleared when it fills up.* Reason for the error 001: Command invalid (There is no associated command.) 002: Parameter invalid (The number, digit, or range of the command parameters is incorrect.) 003: Command invalid (The unit does not support the operation mode.) E: Command error (ASCII code: 45H) ERN[ETX] =Error (9) (PC -> This unit) Logout. [STX]AD001;OLO [ETX] When receiving the command above, the user logged in via SERIAL (RS232C) (ADMIN) will log out. ( 10) (This unit - > PC) Response against (9). [STX]AD001;OLO[ETX] Note: The character code of [STX], [ETX] and [SP] are as follows. [STX]: 02h [ETX]: 03h [SP] (space): 20h 3. Reception Error The response command differs between the reception error and parameter error. •Communication error (Reception error) When the unit cannot properly receive the command due to the communication error, the unit immediately sends back the NACK code to the PC. After clearing the receive buffer, the unit enters the wait state until receiving the following [STX] command. [NCK] = Reception failed (ASCII code: 15H) Reason for the communication error 1: Parity error (ASCII code: 31H) 2: Framing error (ASCII code: 33H) 3: Overrun error (ASCII code: 34H) N
144 1 2 IN OUT CASCADE OUT 16 16 315 1514 1413 2 113 12 1211 1110 109 98 87 76 65 54 43 32 21 1VIDEO AUDIO IN AUDIO OUTMONITOR OUT CASCADE INMONITOR (VGA) ALARM/CONTOROLSERIAL ALARMPOWER COPY 1 MODEEXT STORAGE 10/100BASE-T RS485(CAMERA)D ATAAC IN SIGNAL GND1 42 D-sub Pin 9 (Female)D-sub Pin 9 (Female) This unitPC Pin No. Signal Name I/O 1CDIN 2 TXD IN 3 RXD OUT 4 DTR OUT 5SG– 6 DSR IN 7 RTS OUT 8 CTS IN 9RIIN 51 96As viewed from the rear of the WJ-HD316/WJ-HD309 7 (RTS) 8 (CTS) 3 (TXD) 5 (GND) 2 (RXD)7 (RTS) 8 (CTS) 3 (TXD) 5 (GND) 2 (RXD) WJ-HD316/WJ-HD309 PC or another device Cross cable connection example 4. PC Connection Example An RS232C crossing cable is used for connection between the unit and PC. (Refer to the following page for cable specifica- tion.)
145 Basic Operation Item Forward a field Rewind a field Pause during playback Play Manual recording Manual recording with text Stop Skip & play forward Skip&play reversely Record No. Search and playback Time & date search and playback Record skip LISTED Playback Playback latest image A - B repeat playback Display COPY SETUP MENU Display text Multi-screen switching Monitor selection Camera selection Transmission command (ASCII) OVF OVR OPA OPL ORC ZMR:nn:ddd... ddd OSP:n OSF:n OSR:n ZPR:rrrrrrrrrrrrrrrr:mm ZTP:yyyymmddhhnnss OSK:dnn ZLT:n ZPM ZRP:n ZPD:n ZDT:n OTC:m OMS:nnnn OCS:ccccc Response command (ASCII) OVF OVR OPA OPL ORC ZMR:nn OSP OSF OSR ZPR:rrrrrrrrrrrrrrrr ZTP:yyyymmddhhnnss OSK ZLT:n ZPM ZRP:n:yyyymmddhhnnss ZPD:n ZDT:n OTC:m OMS:nnnn OCS:ccccc Parameter (ASCII) nn=01~99 (Sequence number) ddd... ddd: text (200 bytes or less) n=P: Stops PLAY n=R: Stops REC no parameter stops PLAY and REC n=0F Normal speed n=1F x2 speed n=2F x5 speed n=3F x10 speed n=4F x20 speed n=5F x50 speed n=6F x100 speed n=0S Normal speed n=1S 1/2 speed n=0F Normal speed n=1F x2 speed n=2F x5 speed n=3F x10 speed n=4F x20 speed n=5F x50 speed n=6F x100 speed n=0S Normal speed n=1S 1/2 speed rrrrrrrrrrrrrrrr Record No. yyyymmddhhnnss:Time & date of playback image d=+ Forward – Backward nn=01 Number of skipped records: Fixed n=0 OFF n=1 ON n=0 A - B repeat playback OFF n=1 Set repeat start point (A point) n=2 Set repeat end point (B point) yyyymmddhhnnss: Date and time of A/B point n=0 COPY SETUP MENU OFF n=1 COPY SETUP MENU ON n=0 Text display OFF n=1 Text display ON m=0 4-split screen m=1 7-split screen m=2 9-split screen m=3 10-split screen m=4 13-split screen m=5 16-split screen nnnn=0001 Select MON 1 nnnn=0002 Select MON 2 ccccc: Camera CH
146 Item Start sequence Stop sequence Disk selection Marking Alarm Control Item Alarm input Alarm input with text Alarm reset Alarm suspension Alarm change information (LED indication) Alarm change information Setup Control Item Display SETUP MENU Transmission command (ASCII) MSU:n DCR:n1n2 TSU:yyyymmddhhnn MST:n MRM:n Response command (ASCII) MSU:n DCR TSU MST MRM Parameter (ASCII) n=0 SETUP MENU OFF n=1 SETUP MENU ON n1n2=A1 Right n1n2=C1 Upward n1n2=E1 Left n1n2=G1 Downward n1n2=+1 Increment parameter (+) n1n2=-1 Decrement parameter (–) n1n2=PD Move to virtual menu (SET) n1n2=P- Go back to an older page (BACK) n1n2=PU Move to upper layer (ESC) yyyymmddhhnn: Date and time n=0 Standard time n=1 Summer time n=0 Normal recording mode n=2 Continuous (External timer) recording mode Transmission command (ASCII) OQT:01F OQS:0 ZDS:k ZMP Transmission command (ASCII) OAI:b1b2b3a1a2a3a4 ZAI:b1b2b3a1a2a3a4: nn:ddd... ddd OAL;n MAD:n – – Response command (ASCII) OQT:01F:01 OQS ZDS:k ZMP Response command (ASCII) OAI ZAI:nn OAL MAD:n ALD:n ALM: b 1b2b3a1a2a3a4 Parameter (ASCII) b1b2b3: Head alarm CH information (binary) a 1a2a3a4: Alarm CH information (binary) b 1b2b3: Head alarm CH information (binary) a 1a2a3a4: Alarm CH information (binary) nn=01 - 99 (Sequence No) ddd... ddd: text (200 bytes or less) n=0 Alarm all reset n=1 Alarm reset n=0 Alarm suspension OFF n=1 Alarm suspension ON) n=0 LED OFF n=1 LED ON n=2 LED Blinking b1b2b3: Head alarm CH information (binary) a1a2a3a4: Alarm CH information (binary) Parameter (ASCII) k=0 HDD normal/event recording sector k=1 HDD copy sector k=2 Disk connected to COPY 1 k=3 Disk connected to COPY 2) Electronic zooming OZM:m OZM:n m=0 Electronic zooming OFF m=1 Electronic zooming ON m=> Switch x2 -> x4 m=< Switch x4 -> x2 m=+ Switch Electronic zooming OFF -> x2 -> x4 -> Electronic zooming OFF -> ... m=- Switch x4 -> x2 -> Electronic zooming OFF -> x4 -> ... n=0 Electronic zooming OFF n=2 x2 n=4 x4 term Move cursor Date & Time setup Summer time setup Recording mode setup Login/Logout Item Login Logout Transmission command (ASCII) OLI:uuu...uuu: ppp... ppp OLO Response command (ASCII) OLI:n OLO Parameter (ASCII) uuu...uuu: User name (32-byte fixed length) ppp...ppp: Password (32-byte fixed length) n=0 Error in user name/password n=1 Login succeeded n=2 Login failed
147 Data Control Item Copy by specifying record Copy by specifying date & time Data copy completed Cancel data copy Erase log Log data total number inquiry Log readout Record list acquisition Text acquisition Text writing Disk End Notification Item Disk end auto-notification setting Disk end auto-notification Transmission command (ASCII) MDE:n HDE:– Response command (ASCII) MDE:n HDE:p Parameter (ASCII) n=0 (Auto-notification OFF) n=1 (Auto-notification ON) p=1 (Normal recording sector) p=2 (Event recording sector) p=3 (Copy sector) Transmission command (ASCII) ZCR:rrrrrrrrrrrrrrrr:m ZCT:y 1y1y1y1m1m1d1d1h1h1n1n1:y2y2y2y2m2m2d2d2h2h2n2n2:s:ccc:m – ZDC ZLC:k ZLQ:k:y 1y1y1y1m1m1d1d1h1h1n1n1:y2y2y2y2m2m2d2d2h2h2n2n2 ZLR:yyyymmdd hhnn:mmmmmmmm ZGR:yyyymmddnn :nnnnnnnn ZGT:rrrrrrrrrrrrrrrr ZPT:rrrrrrrrrrrrrrrr: Response command (ASCII) ZCR ZCT ZEC:y 1y1y1y1m1m1d1d1h1h1n1n1: y 2y2y2y2m2m2d2d2h2h2n2n2:s:ccc:m ZDC ZLC:k ZLQ:k:y 1y1y1y1m1m1d1d1h1h1n1n1y2y2y2y2m2m2d2d2h2h2n2n2:dddddddd ZLR:k:s1:s2:... :sn ZGRs1:s2:... :sn ZGT:rrrrrrrrrrrrrrrr: ZPT:rrrrrrrrrrrrrrrr Parameter (ASCII) rrrrrrrrrrrrrrrr: Record No. m=0 Copy to HDD copy sector m=1 Copy to media connected to COPY 1 m=2 Copy to media connected to COPY 2 y 1y1y1y1m1m1d1d1h1h1n1n1: Start date & time of data copy y 2y2y2y2m2m2d2d2h2h2n2n2: End date & time of data copy s=0 Format to specify the camera CH. Fixed to 0 ccc: Camera CH No. of target for data copy m=0 Copy to HDD copy sector m=1 Copy to media connected to COPY 1 m=2 Copy to media connected to COPY 2 y 1y1y1y1m1m1d1d1h1h1n1n1 Start date & time of data copy y 2y2y2y2m2m2d2d2h2h2n2n2End date & time of data copy s=0 Format to specify the camera CH. Fixed to 0 ccc: Camera CH No. of target for data copy m=0 Copy to HDD copy sector m=1 Copy to media connected to COPY 1 m=2 Copy to media connected to COPY 2 k=1 Event input log k=2 Trouble log k=3 Access log k=0 Record list k=1 Event input log k=2 Trouble log k=3 (Access log) y 1y1y1y1m1m1d1d1h1h1n1n1: Start date & time of inquiry range y 2y2y2y2m2m2d2d2h2h2n2n2: End date & time of inquiry range dddddddd: Log data total number k=1 (Event input log) k=2 (Trouble log) k=3 (Access log) yyyymmddhhnn Start date & time of readout logs mmmmmmmm: Total number of acquired logs (00000000 - 00000050) : Log data sn: 0-9 Cyclic number yyyymmddhhnn: Start date & time of readout list mmmmmmmm: Total record number in the acquired list (00000001 - 00000050) : Log data sn: 0-9 Cyclic number rrrrrrrrrrrrrrrr: Record No. : text data rrrrrrrrrrrrrrrr: Record No. : text data 200 bytes or less
148 Search Operation Item Display search editing area Display Operation Item Switch display Inquiry Item Additional disk space inquiry ID request Interface ID request Production category request Alarm information request Software version inquiry Status inquiry Transmission command (ASCII) Transmission command (ASCII) QHR:p QID QIB QIC QLD:0 QRV QSR DIN:n Response command (ASCII) Response command (ASCII) QHR:p:sss QID:WJ-HD309 or QID:WJ-HD316 QIB:WJ-HD309 or QIB:WJ-HD316 QIC:2 QLD:n QRV:n.nn QSR:Status 1:Status 2...n=0 (No alarm) n=1 (Alarm end) n=2 (Under alarm operation) n.nn: Software version Following response commands are sends back for Status 1:Status 2... msu:0 Under normal operation msu:1 Under setting oms:0001 Monitor 1 oms:0002 Monitor 2 ocs:ccccc ccccc: Camera number otc:n Multiscreen segment display pattern n=0: 4 segments n=1: 7segments n=2: 9 segments n=3: 10 segments n=4: 13 segments n=5: 16 segments oqt: 01F Sequence activated ozm: 0 Zoom OFF ozm: 2 x2 zoom ozm: 4 x4 zoom mad: 0 Alarm suspension OFF mad: 1 Alarm suspension ON zcd: Cascade activated zqs: 1 CH recording activated:2 CH recording activated... 16 CH recording activated Recording status nn=00 (Recording stop) nn=01 (Manual recording activated) nn=02 (Event recording activated) nn=03 (Schedule recording activated) nn=04 (Emergency recording activated) DIN Parameter (ASCII) Parameter (ASCII) p=1 HDD normal recording sector p=2 HDD event recording sector p=3 HDD copy sector p=4 Disk connected to COPY 1 p=5 Disk connected to COPY 2 sss: Additional disk space (%) n=+ Transmission command (ASCII) ZTL:n Response command (ASCII) ZTL:n Parameter (ASCII) n=0 (Search editing area OFF) n=1 (Recording event search list ON) n=2 (Recording event search thumbnail ON) n=3 (VMD search list ON) n=4 (VMD Search Thumbnail OFF) n=5 (Marking search list ON) n=6 (Marking search thumbnail ON) n=7 (Search playback display ON)
149 zqm: Monitor status: camera CH: Playback time Monitor status n=0 Live n=1 Live sequence n=2 Playback n=3 Other statuses Camera CH Playback time: yyyymmddhhnnss ztl:n Search editing area ON n=0 Search editing area OFF n=1 Recording event search list ON n=2 Recording event search thumbnail ON n=3 VMD search list ON n=4 VMD search thumbnail ON n=5 Marking search list ON n=6 Marking search thumbnail ON n=7 Search playback display ON zdt:0 Text display OFF zdt:1 Text display ON Recording mode inquiry Monitor status inquiry Recording status inquiry Record number informa- tion Camera SYNC status inquiryQRM ZQM ZQS – QSY:a1a2a3a4a5 :b1b2b3b4b5QRM:n ZQM:m:a 1a2a3a4:yyyy mmddhhnnss ZQS:1 CH recording activated: 2 CH recording activated... 16 CH recording activated ZRN:sss:nn:rrrrrrrrrrrrrrrr :nnyyyymmddhhnnss: ccc:x;yyy:t QSY:a 1a2a3a4a5b1b2b3b4b5:s1s2s3... smn=0 Normal recording mode n=2 Continuous (External timer) recording mode m=0 Live m=1 Live sequence m=2 Playback m=3 Other statuses a 1a2a3a4: Camera CH information (binary) yyyymmddhhnnss: Playback time Recording status nn=00 (Recording stop) nn=01 (Manual recording activated) nn=02 (Event recording activated) nn=03 (Schedule recording activated) nn=04 (Emergency recording activated) sss: Unit address nn=Sequence number rrrrrrrrrrrrrrrr: Record number yyyymmddhhnnss: Recording event date and time ccc: Camera CH x=0 Manual recording x=1 Schedule recording x=2 VMD recording x=3 Alarm port recording x=4 Command alarm recording x=5 VIDEO LOSS recording x=6 Emergency recording yyy: Event-activated CH t=0 Text included t=1 Text not included nn=Sequence number a 1a2a3a4a5- b1b2b3b4b5: Range of camera CH to inquire SYNC status s 1s2s3... sm: SYNC status of each camera (s m=0: SYNC status not found s m=1: SYNC status found) Item Transmission command (ASCII) Response command (ASCII) Parameter (ASCII)
150 Communication Item Communication check Transmission command (ASCII) RCK Response command (ASCII) RCK Parameter (ASCII) Record information inquiryZGP:rrrrrrrrrrrrrrrr ZGP:rrrrrrrrrrrrrrrr: ccc:q:nnnn:yyyymmdd hhnnss:nnss:t:ssssssrrrrrrrrrrrrrrrr: Record number ccc: Camera CH q: picture quality (0 (Very Fine), 1 (Fine), 2 (Normal), 3 (Extended)) nnnn: Recording rate yyyymmddhhnnss: Recording start date and time nnss: Recording total time t=0 Text included t=1 Text not included ssssss: Record size [KB] Item Transmission command (ASCII) Response command (ASCII) Parameter (ASCII)