21
English
Appendix: RS485 Commands
VI
For housings that come with IR illuminators, wiper, and washer, commands can be
delivered via the RS485 protocol. The RS485 connection uses the Pelco D protocol.
Configuration parameters:
Baud rate
2400
Data bits
8
Parity
None
Stop bit
1
Command format:
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Sync
Addr
CMND1
CMND2
DATA1
DATA2
CKSM
Addr range: 0x00 ~ 0xFE. CKSM: check sum is the last 8 bits of the sum of Byte2 through
Byte6.
Command Group 1:
Command Description
Command (hexadecimal, "ox" is
ommited)
Note
VaIR Lens Stop
FF 01 00 00 00 00 01
Pelco D - Zoom Stop
VAIR Lens Wide
FF 01 00 40 00 00 41
Pelco D - Zoom Wide
VaIR Lens Tele
FF 01 00 20 00 00 21
Pelco D - Zoom Tele
Wiper On
FF 01 00 09 00 01 0B
Pelco D – Aux 1 On
Wiper Off
FF 01 00 0B 00 01 0D
Pelco D – Aux 1 Off
Wiper and Washer On
FF 01 00 09 00 02 0C
Pelco D – Aux 2 On
Wiper and Washer Off
FF 01 00 0B 00 02 0E
Pelco D – Aux 2 Off
IR Led Force On
FF 01 00 09 00 03 0D
Pelco D – Aux 3 On
IR Led Force Off
FF 01 00 0B 00 03 0F
Pelco D – Aux 3 Off
Command Group 2:
Command Name
Command (hexadecimal, ox
is ommited)
Note
Addr configuration
FF 01 00 18 01 dd CKSM
dd: 0x00 ~ 0xFE; for example, when addr
is 2, the command looks like FF 01 00 18
01 02 1C
IRMode
FF 01 00 18 02 mm CKSM
mm: IR mode
mm=0x02: Light Sensor Auto (Default)
mm=0x03: DI Trigger
mm=0x04: via RS485 Command
(When receiving IR Led Force On / IR Led
Force Off command, will switch to using
the IR Mode -RS485 Command)
Содержание AE-238
Страница 24: ...24 This page is intentionally left blank ...