6F3B0250

7. Instructions

FUN 154 CLND Set calendar

Expression

Input -[ A CLND ]- Output

T1S only

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).

D0050

D0051

D0052

D0053

D0054

D0055

F

8 7

0

 

H00

Year

 

H00

Month

 

H00

Day

 

H00

Hour

 

H00

Minute

 

H00

Second

Allowable data range (2-digit BCD) H00 to H99 (1990 - 2089)

H01 to H12

H01 to H31

H00 to H23

H00 to H59

H00 to H59

Calendar

LSI

Note

·The day of the week is automatically.

Basic Hardware and Function 235

CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Page 237
Image 237
Toshiba 6F3B0250, PROSEC T1 T1S user manual FUN 154 Clnd Set calendar, T1S only