Programmers User Manual

133
14.7 Internal Infrared Light ON/OFF Control System Control Command Type1
Function Sets the internal infrared light ON/OFF control.
Command 0076h
Length 1 byte Parameter
Value 0h: Internal infrared light OFF
1h: Internal infrared light ON (automatic OFF after 30
minutes)
2h: Internal infrared light ON (automatic OFF after 1 hour)
3h: Internal infrared light ON (automatic OFF after 2 hours)
4h: Internal infrared light ON (automatic OFF after 3 hours)
5h: Internal infrared light ON (automatic OFF after 4 hours)
6h: Internal infrared light ON (automatic OFF after 8 hours)
Status None
Reference •The Light ON command executes the following operations according to the
status.
(1) If a command is received in the Light OFF status, the Light ON Start and
the Automatic OFF Time Set operations are performed.
(2) If a command is received in the Light ON status, the Automatic Off Timer
Counter Reset and the Automatic Off Time Set operations are performed.
•The light cannot be turned on whenever the infrared cut filter is inserted. In
this case, a mode error is returned.
Format of Control Code
d0 d1 d2 d3 d4 d5 d6
Header Device Num Command Parameter End mark
FFh 30h 3Xh 00h 76h p0 EFh
Setting value indicates in hexadecimal 1 figure and its ASCII code is Status value.
Example: p0
Light On (automatic OFF after 30 minutes): 1h 31h
Answer Format
d0 d1 d2 d3 d4 d5
Header Device Num Error Code End mark
FEh 30h 3Xh e0 e1 EFh
Error Flag indicates in 2 figures hexadecimal and returns ASCII code value.
Example: e0 e1
No Error : 00000000B 00h 30h 30h
Parameter Error : 01010000B 50h 35h 30h
Mode Error : 10010000B 90h 39h 30h
Conditions for setting of error flag
Parameter Error •In case of assigned parameter illegal.
Mode Error •Not in status of Camera ON.
•Not in status of Host Control Mode.
Infrared Cut Filter is inserted.