6. RS-232 & RS-485 Protocol

6.1 Setup

6.1.1Use a Null Modem cable (the standard RS-232 9 Pin Cable with Pin 2 and Pin 3 exchanged, see pin configuration chart below for details) to connect the COM 1 on the rear panel of the DVR to a PC. For RS-485, maximum length of cable is 400 meter, and maximum number of nodes is 16.

6.1.2Set the RS-232or RS-485option to ON in the COMMUNICATION page of the setup menu.

6.1.3Set the PC communication parameters: 9600 bps, No Parity, 8 Data Bits, 1 Stop Bit.

6.2Communication Protocol:

6.2.0General Command Format

<Lead Code = 0x41>, < Dest ID >, < Src ID >, <Main category >, <Second category >, {<Number of parameters>,<Parameter 1>, <Parameter 2> ..,} <End Code= 0x4f>

Lead Code

= 0x41

 

Dest ID

= 0x01

 

Src ID

= 0x20

 

Main Category = 0x01 ʳ

Keys and Signals

ʳ ʳ ʳ ʳ ʳ ʳ

= 0x02

Command

Second Category = 0x01 Handshake

=0x02 Request Time/Set Time

=0x06 Request System State

End Code= 0x4f

The different command types and their corresponding parameters are as follows:

6.2.1Keys and signals

PC Send: <0x41>, <0x01>, <0x20>, <0x01>, <Key Value>, <0x4f>

< The value of a specific front panel key >

 

 

DEC

HEX

 

KEY_PLAY

1

01

 

KEY_STOP

3

03

 

KEY_PAUSE

4

04

 

KEY_REC

6

06

 

KEY_SETUP

7

07

 

KEY_ENTER

8

08

 

KEY_SEARCH

10

0A

 

KEY_DISPLAY

11

0B

 

KEY_UP

13

0D

 

KEY_DOWN

14

0E

 

KEY_LEFT

15

0F

 

KEY_RIGHT

16

10

 

KEY_MONITOR

36

24

 

JOG_L

128

80

 

JOG_R

129

81

 

KEY_SHUTTLE_L8

130

82 ( -100x, -1/16x )

KEY_SHUTTLE_L7

131

83 ( -100x, -1/16x )

KEY_SHUTTLE_L6

132

84 ( -30x, -1/8x )

KEY_SHUTTLE_L5

133

85 ( -16x, -1/8x )

KEY_SHUTTLE_L4

134

86 ( -8x, -1/4x )

KEY_SHUTTLE_L3

135

87 ( -4x, -1/4x )

KEY_SHUTTLE_L2

136

88 ( -2x, -1/2x )

KEY_SHUTTLE_L1

137

89 ( -1x, -1/2x )

KEY_SHUTTLE_CT

138

8A

 

KEY_SHUTTLE_R1

139

8B

( 2x, 1/2x )

KEY_SHUTTLE_R2

140

8C

( 4x, 1/2x )

KEY_SHUTTLE_R3

141

8D

( 8x, 1/4x )

KEY_SHUTTLE_R4

142

8E

( 16x, 1/4x )

KEY_SHUTTLE_R5

143

8F

( 30x, 1/8x )

KEY_SHUTTLE_R6

144

90

( 100x, 1/8x )

KEY_SHUTTLE_R7

145

91

( 100x, 1/16x )

SIGNAL_REC_IN

163

A3

 

SIGNAL_ALARM_RESET

165

A5

 

SIGNAL_REC_OUT

169

A9

 

SIGNAL_ALARM_IN

189

BD

 

SIGNAL_ALARM_OUT

209

D1

 

NOTE: If SIGNAL_ALARM_IN is requested, alarm recording is performed by non-stop. Please transmit SIGNAL_ALARM_RESET for stopping.

*About (A, B), A means the speed of FAST playback, B means the speed of SLOW playback.

52

53

Page 27
Image 27
JVC VR601 instruction manual RS-232 & RS-485 Protocol, Setup, Communication Protocol, Dec Hex