Approach Tech DVR-3016, DVR-3016D DVR User Manual


 
73
APPENDIX 1. – RS-232 & RS-485 Codes
RJ-11 PIN configuration for RS-485
PIN NO. PIN Assignment
1.
Not Connected
2.
Ground
3.
D -
4.
D +
5.
Ground
6.
Not Connected
CONNECTION
More than one device can be controlled via the RS-232 & RS-485 port from a host computer. Three kinds of
RS-232 & RS-485 command codes are used in the command set: Separation code, Key code, and Control
Command code. All the command codes are in ASCII code format as listed in the table below. The
transmission protocol is 8 data bit; 1 start bit, 1 stop bit and no parity. Four different speeds can be used, 1200
baud per second, 2400 baud, 4800 baud, and 9600 baud. The default setting is 2400 baud per second.
When only one device is controlled via RS-232 & RS-485 port from a host computer, the control command
codes should contain an “L0” to instruct the device to enter operation mode. Other command codes starting
with “L” are not necessary.
When a computer controls more than one device, use “LA” to instruct all devices to enter into stand-by mode.
Use “Lnnnn” to instruct a specific unit to enter into operation mode. “nnnn” represents the ID number of the
specific unit. Set the ID number for the device in the menu setup mode. (0 cannot be used for ID numbers)