VID
‐
ALARM
‐
8CH
‐
COM
Reference
Manual
6
PROTOCOL
Control
code,
which
send
out
from
DVR
Command
format:
9600,N,
8,1
NO.
Function
Data1
Data2
Data3
Data4
Data5
Data6
Note
Format
Start
bit
ID
Command
Parameter1
Parameter
2
Check
sum
1
Alarm
state
enquiry
E0
00
‐
0F
3F
00
00
2
Relay
state
enquiry
E0
00
‐
0F
3B
00
00
3
Output
ON/OFF
E0
00
‐
0F
3D
B0
‐
B7
B8
‐
B15
Bits
(0
‐
15)
is
the
relay
control
bits
of
1
‐
16
channel,
1=ON,
0=OFF
Data send back
No.
Function
Data1
Data2
Data3
Data4
Data5
Note
1
Alarm
state
send
back
F0
00
‐
0F
D0
A0
‐
A7
A8
‐
A15
A
(0
‐
15)
is
corresponding
to
alarm
inputs
1
‐
16,1=alarm,
0=dis
‐
alarm
2
Relay
state
send
back
F0
00
‐
0F
D2
A0
‐
A7
A8
‐
A15
A
(0
‐
15)
is
corresponding
to
outputs
1
‐
16,1=ON,
0=OFF
Note:
1.The
data4&data5
of
this
alarm
box
is
0
NOTES:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________