Vaddio Canon VC-C50i Programmers User Manual

Page 172

Advertising
background image

171

14.37 Display Time Request

System Control Command Type 1

Function

To request time data (hour, minute, second) indicated display.

Command

0091h

Length 1

byte

Parameter

Value 36h
Length 6

byte

Status

Value

hour (2 byte) + minute (2 byte) + second (2byte)

Reference •The Time data to be set as followings.

s0~ s1 Hour Data

⇒ 00h~23h

s2~ s3 Minute Data

⇒ 00h~59h

s4~ s5 Second Data

⇒ 00h~59h

•At the moment of power ON, to be set 00 hour 00 minute 00 second by
default.
•Setting data is set BCD type hexadecimal. (20 in decimal equal to 20h)
•Time setting data is to be directly read out from inside Clock IC.

Format of Control Code

d0 d1 d2 d3 d4 d5

d6

Header Device

Num

Command Parameter

End

mark

FFh 30h 3Xh 00h 91h 36h

EFh

Answer Format
In case of No Error

d0 d1 d2 d3 d4

Header

Device Num

Error Code

FEh 30h 3Xh 30h 30h

d5 d6 d7 d8 d9 d10 d11

Hour Data

Minute Data

Second Data

End mark

s0 s1 s2 s3 s4 s5 EFh

Time data indicates in BCD type hexadecimal 6 figures and status value is its
ASCII code.
Example:

s0 s1 s2 s3 s4 s5

hour17 minute30 second25

31h 37h 33h 30h 32h 35h

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