User manual

82
www.supercircuits.com
APPENDIX E: RS232 PROTOCOL
APPENDIX E
RS232 Protocol
The DVR can be controlled through the RS232 interface from an ASCII terminal. The table below equates
DVR functions and the ASCII command codes that produce them. Communication through the RS232
port uses a format of 8 bit data with 1 start bit and 1 stop bit.
Table 16. RS232 protocol functions and codes
Function Code ASCII Function Code ASCII
KEY_MENU 0x4D M KEY_SET_CHANNEL 0x6e n
KEY_ENTER 0x0D ENTER KEY_DWELL 0x65 e
KEY_PLUS 0x6b k KEY_CH1 0x31 1
KEY_MINUS 0x6d m KEY_CH2 0x32 2
KEY_UP 0x55 U KEY_CH3 0x33 3
KEY_DOWN 0x4E N KEY_CH4 0x34 4
KEY_LEFT 0x4C L KEY_CH5 0x35 5
KEY_RIGHT 0x52 R KEY_CH6 0x36 6
KEY_POWER 0x57 W KEY_CH7 0x37 7
KEY_REC 0x72 r KEY_CH8 0x38 8
KEY_PLAY 0x50 P KEY_CH9 0x39 9
KEY_SLOW 0x53 S KEY_CH10 0x41 A
KEY_ZOOM 0x5A z KEY_CH11 0x42 B
KEY_KEY LOCK 0x4B K KEY_CH12 0x43 C
KEY_AUDIO 0x64 d KEY_CH13 0x44 D
KEY_SEARCH 0x73 S KEY_CH14 0x45 E
KEY_PTZ_MODE 0x70 p KEY_CH15 0x46 F
KEY_PTZ_PRESET 0x71 q KEY_CH16 0x47 G
KEY_PTZ_ZOOM_IN 0x69 i KEY_EJECT_DVD 0x6a j
KEY_PTZ_ZOOM_
OUT
0x66 f KEY_IRIS_NEAR 0x67 g