Vaddio Canon VC-C50i Programmers User Manual

Page 168

Advertising
background image

167

Answer Format
In case of 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

Data indicates in hexadecimal 2 figures and its ASCII code is Status value.
Example: Data "A"

s0

s1

41h

⇒ 34h 31h

In case of 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
In case of Parameter Error :

01010000B

⇒ 50h ⇒ 35h 30h

In case of Mode Error :

10010000B

⇒ 90h ⇒ 39h 30h

Condition of Error flag to be set

Parameter Error •In case of assigned address outside range.
Mode Error

•Not in status of Camera ON.
•Not in status of Host Control Mode.

Advertising