Programmers User Manual

131
14.5 External Sensor Input Detection Status Request System Control Command Type 1
Function Returns external sensor input detection status.
Command 0075h
Parameter None
Length 1 byte Status
Value 0h: External sensor input terminal status: Closed
1h: External sensor input terminal status: Open
Reference
Format of Control Code
d0 d1 d2 d3 d4 d5
Header Device Num Command End mark
FFh 30h 3Xh 00h 75h EFh
Answer Format
No Error
d0 d1 d2 d3 d4 d5 d6
Header Device Num Error Code Status End mark
FEh 30h 3Xh 30h 30h s0 EFh
The detection value is expressed as a one-digit hexadecimal number with the
ASCII code as the status value.
s0
Input terminal status=Closed: 0h 30h
Input terminal status=Open: 1h 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
Mode Error : 10010000B 90h 39h 30h
Conditions for setting of error flag
Mode Error •Not in status of Camera ON.
•Not in status of Host Control Mode.