03.01.2013 Views

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6. Programming Information<br />

6.3 Real-time clock/calendar (Enhanced model only)<br />

88 <strong>T1</strong>-<strong>16S</strong> User’s <strong>Manual</strong><br />

6F3B0253<br />

The <strong>T1</strong>-<strong>16S</strong> enhanced model is equipped with the real-time clock/calendar for year,<br />

month, day, day of the week, hour, minute, and second.<br />

These data are stored in the special registers SW07 to SW13 by 2-digit BCD format<br />

as follows.<br />

Register Function Data<br />

SW07 Year 1999 = H0099, 2000 = H0000, 2001 = H0001, 2002 = H0002 ...<br />

SW08 Month Jan. = H0001, Feb. = H0002, Mar. = H0003, ... Dec. = H0012<br />

SW09 Day 1st = H0001, 2nd = H0002, 3rd = H0003, ... 31st = H0031<br />

SW10 Hour H0000, H0001, H0002, ... H0022, H0023<br />

SW11 Minute H0000, H0001, H0002, ... H0058, H0059<br />

SW12 Second H0000, H0001, H0002, ... H0058, H0059<br />

SW13 Week Sun. = H0000, Mon. = H0001, Tue. = H0002, ... Sat. = H0006<br />

Program example:<br />

In the following circuit, output Y030 turns ON for 1 minute at every Sunday 6 pm.<br />

(H0018)<br />

Clock/calendar back up:<br />

The clock/calendar continues updating even while the power to the <strong>T1</strong>-<strong>16S</strong> is off by<br />

built-in capacitor and by the optional battery (CR2032) if used. Its buck-up period is as<br />

follows.<br />

Environment<br />

Expected value Guarantee value<br />

temperature Capacitor Battery Capacitor Battery<br />

Under 30 °C (86 °F) 2 hours 2 year 1 hours 1 year<br />

Over 30 °C (86 °F) 1 hours 1 year 30 minutes 6 months<br />

As shown in the table, it is recommended to use the optional battery when the realtime<br />

clock/calendar function is used.<br />

In the <strong>T1</strong>-<strong>16S</strong>, the validity of the clock/calendar is checked. If the data is not valid by<br />

excess power off period, special relay S00A is set to ON. Therefore, when the<br />

clock/calendar is used, it is recommended to check the status of S00A in the user<br />

program.<br />

Setting the clock/calendar:<br />

To set the clock/calendar data, the following 2 ways are available. In both cases, the<br />

week data is automatically calculated.<br />

(1) Setting the clock/calendar data on the system information screen of the<br />

programming tool.<br />

(2) Using the Calendar Set instruction (CLND) in the user program.<br />

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!