133
14.4 External Sensor Input Detection Setting
System Control Command Type 1
Function
Sets the input detection of the external sensor.
Command
0074h
Length 2
byte
Parameter
Value
00h: External sensor input detection disabled.
01h: External sensor input detection enabled with
notification of changes from Closed to Open.
10h: External sensor input detection enabled with
notification of changes from Open to Closed.
11h: External sensor input detection enabled with
notification of changes from Closed to Open and
notification of changes from Open to Closed.
Status None
Reference •When external sensor input detection enabled is set, the generation of a
sensor status change is notified by the event generation code “FB code”.
Format of Control Code
d0 d1
d2 d3 d4 d5 d6 d7
Header
Device Num
Command
Parameter
End mark
FFh 30h
3Xh
00h 74h p0 p1 EFh
⇓
Setting value indicates in hexadecimal 2 figures and its ASCII code is Status value.
External sensor input detection p0 p1
None:
00h
⇒
30h 30h
Included (Receiving of changes from Closed to Open):
01h
⇒
30h 31h
Included (Receiving of changes from Open to Closed):
10h
⇒
31h 30h
Included (Receiving of all changes):
11h
⇒
31h 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.
Notification Events
d0 d1
d2 d3 d4 d5 d6 d7
Header
Device Num
Command
Status
End mark
FBh 30h
3Xh 00h 74h 30h 30h EFh