beautypg.com

Instructions fun 154 clnd set calendar – Toshiba 6F3B0253 User Manual

Page 219

background image

6F3B0253

Basic Hardware and Function

217

7. Instructions

FUN 154

CLND

Set calendar

Expression

Input

[ A CLND ]

Output

Function

When the input is ON, the built-in clock/calendar is set to the date and time specified by 6 registers
starting with A. If an invalid data is contained in the registers, the operation is not executed and the
output is turned ON.

Execution condition

Input

Operation

Output

OFF

No operation

OFF

ON

Execution (data is valid))

OFF

No execution (data is not valid)

ON

Operand

Name

Device

Register

Constant Index

X

Y

R

S

T.

C. XW YW RW SW T

C

D

I

J

K

A Start of table

Example

When R020 is ON, the clock/calendar is set according to the data of D0050 to D0055, and the
output is OFF (R0031 is OFF).
If D0050 to D0055 contains invalid data, the setting operation is not executed and the output is
turned ON (R0031 comes ON).

F

8 7

0

Allowable data range (2-digit BCD)

D0050

H00

Year

H00 to H99 (1990 - 2089)

D0051

H00

Month

H01 to H12

D0052

H00

Day

H01 to H31

Calendar

D0053

H00

Hour

H00 to H23

LSI

D0054

H00

Minute

H00 to H59

D0055

H00

Second

H00 to H59

Note

The day of the week is automatically.