Vaddio Canon VC-C50i Programmers User Manual

Page 171

Advertising
background image

170

14.36 Display Time Setting

System Control Command Type 1

Function

To set time data (hour, minute, second) to be indicated in the display.

Command

0091h

Length 7

byte

Hour Data

0~23

Minute Data

0~59

Parameter

Range

Second Data

0~59

Status

None

Reference •The time data to be indicated are as followings.

p0

Fixed

⇒ 35h

p1~ p2 Hour Data

⇒ 00h~23h

p3~ p4 Minute Data

⇒ 00h~59h

p5~ p6 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 set in inside Clock IC.

Format of Control Code

d0 d1 d2 d3 d4

Header Device

Num

Command

FFh 30h 3Xh 00h 91h

d5 d6 d7 d8 d9 d10 d11 d12

Fixed

Hour Data

Minute Data

Second data

End mark

35h p1 p2 p3 p4 p5 p6 EFh

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

p1 p2 p3 p4 p5 p6

hour17 minute30 second25

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

Answer Format

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 No Error :

00000000B

⇒ 00h ⇒ 30h 30h

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 outside range.
Mode Error

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

Advertising