Panasonic WJ-HD220 manual RS-232C Communication Protocol, Transmission Command, Response Command

Page 90

RS-232C Communication Protocol

The following pages detail the elements for communication between the Digital Disk Recorder and the personal computer. Be sure to select RS-232C for PROTOCOL in the COMMUNICATION SETUP window. For BAUD RATE, DATA BIT and PARITY set- tings, refer to COMMUNICATION SETUP. For cable connection refer to RS-232C CONNECTION.

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 there is no need to specify them in the command.

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.

90

Image 90
Contents Operating Instructions English Version Important Safety Instructions Contents Features PrefaceTrademarks Precautions Front View 6Error indicator Error 4HDD Access Indicator HDD5FULL Indicator Full 7Stop and Setup/Escape Button Stop SETUP/ESC@6Audio Out @7Video Out Video OUTRear View Installation Places to avoidAbout mounting Mounting in the Rack Connections & DIP SW Setting Basic SystemPS Data System Personal computers can access the WJ-HD220 via the network Network SystemConnection with the Monitors ALARM/REMOTE ConnectionConnection with the Camera Site System Camera ConnectionAlarm Connection Time Adjusting ConnectionExternal Recording Connection Serial Port Connections RS-232C ConnectionPS Data Connection 10/100BASE-T Port Connection Case 2 Exclusively with System ControllerSystem Mode Data Port TerminationTurning On the Power Setup ProceduresPrior to Setup Turning Off the PowerClosing WJ-HD220 Main Menu Buttons and Dials Used for SetupDisplaying WJ-HD220 Main Menu JogDial Counter-clockwise Decreases the parameterPROG2 Setup Menu TreeInitializing Settings for Network Setup Menu Initializing All Contents & Setup DataInitializing Setup Data InitializingTimer Recording Setup Timer REC Program 1-4 Setup PROG1-4Main Menu WJ-HD220 Main Menu Recording Mode Setup PROG1-4 SETUP, no Alarm Recording Mode Setup ALMPre-alarm Recording PRE ALM REC Camera Recording Setup CAM REC Setup Post-alarm Recording Post ALM RECTrigger Action Setup Trigger Action Setup Dynamic Recording Dynamic RECDisplay Setup Display Setup Manual Recording Setup RECExternally Specified Recording Mode EXT REC Setup Clock ClockStatus Display Status Disp Time & Date Position TIME&DATE PosiTime & Date Embedded TIME&DATE EMB Status Position Status PosiDisk Capacity Warning HDD Full Remote LED Remote LEDDisk Check HDD Check System Setup System Setup Camera Title Camera Title~ 9 a ~ Z ! % ? ← → ↑ ↓ Password Lock Setup Password Lock Keylock Buzzer Setup Keylock BuzzSkip Alarm Recall Setup Disk End Mode Setup Alteration Detection SetupSimultaneous Recording & Playback Simul REC&PLAY Auto Erasing Setup Play Priority Setup Play PriorityTime Adjust Setup Disk End Buzzer Disk END BuzzResolution Resolution HDD Safety Mode HDD Safety Mode Monitor Mode Monitor Mode Alarm Setup Alarm SetupAlarm Buzzer Alarm Buzz Video Motion Detection VMD SetupCommunication Setup Serial Port SetupProtocol Protocol Wait Time Wait Time Baud Rate Baud RateData Bit Data BIT Control Unit Address CTL-UNIT Address only for PS DataLine Speed Line Speed Network Setup Network SetupAlarm Data Alarm Data exclusive to PS Data Assignable numbersSwitcher Setup Switcher Setup Camera View Setup Camera View Setup Multiscreen Sequence Setup Multi SEQ SetupSpot Sequence Setup Spot SEQ Setup Available durations 2-30SSystem Information Language Language System Log System LOGSelecting the Spot Monitor Operating ProceduresOn the Spot Monitor Viewing a Single LiveZooming a Single Live On the Multiscreen MonitorSelecting the Multiscreen Monitor Viewing a Quad Live SequenceAlarm Input Alarm OutputResetting Alarm Suspending Alarm Input Alarm Log Recall & SearchInternal Timer Recording To Search for PlaybackTo Erase Log Power-on Recording Alarm RecordingManual Recording Skip Playback Alarm Search PlaybackNormal Playback Step PlaybackTime & Date Search Playback Picture record of a specified time and date is played backPassword Verification Enabling Button LockWJ-HD220 Browser PreparationsSystem Requirements DisplaySystem Expansion ConnectionDirect Connection with a PC Connection with a Client PC via HubMain Page and Control Panel About Picture QualityRecorder Status Displayed Quality Timer Setup Timer Setup WJ-HD220 SetupTo Access Setup Menus Timer Recording Timer RECRecording Mode Setup PROG1-4 NO.1-4 Setup Program Assignment Timer RECProgramming Program Setup Assignable programs PROG1 PROG4, OFFTrigger Action Setup Trigger Action Setup Camera Recording Setup REC Manual Recording Setup REC SetupCamera Preset Position Preset Time & Date Embedded TIME&DATE Clock Setup Clock SetupTime and Date Position TIME&DATE Position Status Display Status DisplayCamera Title Camera Title Alteration Detection Alter Detect Disk End Mode Disk END ModeTime Adjusting Time Adjusting Disk End Buzzer Disk END BuzzerVideo Motion Detector Setup VMD Setup VMD Area Setup VMD Area SetupBaud Rate Baud Rate Alarm Data Alarm DataProtocol Selection Protocol Select Data Bit Data BITCamera System Setup Only for PsdataDomain Name Service Domain Name Service Dynamic DNS Dynamic DNSSimple Network Management Protocol Spot-screen Sequence Setup Common Setup Common SetupMultiscreen Sequence Setup Camera View Setup Camera View SetupCamera Channel Camera CH Multi Sequence Setup MultiCamera View Setup Camera View Setup Time TimeSystem Information System Information Error Information FTP, SMTP, Ddns Network Configuration User Setup User SetupHost Setup Host Setup FTP Client Setup FTP Client Setup Basic Setup Basic SetupFTP Send by Periodic Timer FTP Send by Periodic Timer Set Mail Address SET Mail Address Mail Setup Mail SetupAlarm Mail Setup Alarm Mail Setup Delete Mail Address Delete Mail AddressLive Sequence Setup Live Sequence Setup Network Video SetupLive & Playback Image Setup Live & Play Image Setup Video Rate Video RateOperating WJ-HD220 Main Panel1End Button END Start Button Start0Start Time Display Area 2End Time Display AreaMain Control Panel Camera Control View Button Camera Control View PAN/TILT ControlAlarm List Http Download and Viewing Images Troubleshooting When accessing via the networkPhenomenon Cause What to do Specifications & Appendix Specifications Standard Accessories Remote Control from System Controller AppendixTime and date selection For Time&Date search Implement Time&DateSearch Transmission Command Response CommandRS-232C Communication Protocol Command Table Alarm ControlBasic Operation Setup Control Miscellaneous ControlData Log Control Media Control InquiryHDD Maintenance When to Maintain HDD Who to Maintain HDDPower-on Procedures When Full Indicator is Lit Resetting Disk End When Error Indicator is LitDisk Menu Abbreviation Status Required CapacityAuto-remove Removing Logical Link Remove Link Formatting HDD HDD FormatRestarting Restart NOW Formatting HDD Format SET DoneMail Contents Network Security WJ-HD220 Security FunctionFor More Security FTP Errors Network Error InformationSmtp Errors Type Message DetailsDdns Errors 102Ns0805-0 V8QA6335AN Imprimé en Chine