Vaddio Canon VC-C50i Programmers User Manual
Page 133

132
14.6 External Sensor Input Detection Setting Information Request System Control Command Type 1
Function
Returns the external sensor input detection setting status.
Command
0075h
Parameter length
1 byte
Parameter
Parameter value
0h
Length 2
byte
Status
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.
Reference
Format of Control Code
d0 d1 d2 d3 d4 d5
d6
Header Device
Num Command Parameter
End
mark
FFh 30h
3Xh 00h 75h 30h EFh
Answer Format
No Error
d0 d1 d2 d3 d4 d5 d6 d7
Header
Device Num
Error Code
Status
End mark
FEh 30h 3Xh 30h 30h s0 s1 EFh
⇓
Setting value indicates in hexadecimal 2 figures and its ASCII code is Status value.
External sensor input detection s0 s1
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
Generated Error
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
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