Vaddio Canon VC-C50i Programmers User Manual

Page 169

Advertising
background image

168

14.34 Display Date Assignment

System Control Command Type 1

Function

To set date data to be indicated in the display.

Command

0091h

Length 7

byte

Year Data

0~99

Month Data

1~12

Parameter

Range

Day Data

1~31

Status

None

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

p0

Fixed

vale

⇒ 33h

p1~ p2 Year Data

⇒ 00h~99h

p3~ p4 Month Data

⇒ 01h~12h

p5~ p6 Day Data

⇒ 01h~31h


•At the moment of power ON, to be set 00 year 01 month 01 day by default.
•Setting data is set BCD type hexadecimal. (20 in decimal equal to 20h)
•Date 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

Year Data

Month Data

Day data

End mark

33h p1 p2 p3 p4 p5 p6 EFh

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

p1 p2 p3 p4 p5 p6

year00 month07day25

30h 30h 30h 37h 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