Vaddio Canon VC-C50i Programmers User Manual

Page 173

Advertising
background image

172

14.38 Turning ON Time Request

System Control Command Type 1

Function

To request total accumulated turn ON time.

Command

0092h

Length 1

byte

0h: accumulated turn ON time of camera section

Parameter

Value

1h: accumulated turn ON time of pedestal section

Length 4

byte

Status

Range 0000h~FFFFh

Reference •Camera accumulated turn ON time calculates total camera turn ON time in

one hour as one unit.
•Pedestal accumulated turn ON time calculates total power on time in one
hour as one unit.

Format of Control Code

d0 d1 d2 d3 d4 d5

d6

Header Device

Num

Command Parameter

End

mark

FFh 30h 3Xh 00h 92h p0

EFh

Request of total turn on time (0:camera section/1:pedestal section) indicates in
ASCII code 1 byte.
Example: to request total accumulated time of pedestal section

p0

01h

⇒ 31h

Answer Format
In case of No Error

d0 d1 d2 d3 d4 d5 d6 d7 d8 d9

Header

Device Num

Error Code

Status

End mark

FEh

30h

3Xh

30h 30h s0 s1 s2 s3 EFh

Total accumulated turn on time indicates in hexadecimal 4 figures and
status value is its ASCII code.
Example: s0 s1 s2 s3
573 hours

⇒ 023Dh

⇒ 30h 32h 33h 44h

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 parameter illegal.
Mode Error

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

Advertising