FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
U
SER
’
S
M
ANUAL
FC9Y-B1722
5-55
5: F
UNCTIONS
AND
S
ETTINGS
Clock Function
This section describes the internal clock function on the FC6A Series MicroSmart.
This function enables you to control the time schedule for lighting or air conditioning equipment using the current time data stored
in special data registers. The internal clock data is backed up by a backup battery. The current time is reset when the backup data
is lost, so the current time will need to be set again.
Setting the Clock with WindLDR
Set the current time on the FC6A Series MicroSmart with WindLDR.
1.
From the WindLDR menu bar, select
Online
>
Monitor
>
Monitor
.
WindLDR enters monitor mode.
2.
Select
Online
> PLC >
Status
.
The PLC Status dialog box is displayed.
3.
Click
Change
for
Calendar
.
The Calendar Settings dialog box is displayed. The current time on the computer is displayed in the dialog box as the initial
value. The settings can also be changed as necessary.
4.
Click
OK
.
The date and time configured in the dialog box is written to the FC6A Series MicroSmart.
Setting the Clock with a User Program
A user program can write the clock data from an operator interface without using WindLDR by using special data registers D8015
to D8021. Undefined values are stored in special data registers D8015 to D8021. Always store an appropriate value before turning
on M8016, M8017, or M8020.
Calendar Data Write Flag (M8016)
After writing data to the write calendar special data registers (D8015 to D8018), turn M8016 off to on to set the internal clock with
the data in D8015 to D8018 as the calendar data (year, month, day, day of the week). If the day of the week is wrong, the correct
day of the week is automatically written according to the date.
Clock Data Write Flag (M8017)
After writing data to the write clock special data registers (D8019 to D8021), turn M8017 off to on to set the internal clock with the
data in D8019 to D8021 as the clock data (hour, minute, second).
Calendar/Clock Data Write Flag (M8020)
After writing data to the write calendar/clock special data registers (D8015 to D8021), turn M8020 off to on to set the internal
clock with the data in D8015 to D8021 as the calendar data (year, month, day, day of the week) and the clock data (hour, minute,
second). If the day of the week is wrong, the correct day of the week is automatically written according to the date.
Function
Description
Read clock
The current time (calendar, clock) is updated every 500 ms and automatically stored in the special data registers.
Set clock
Sets the current time (calendar, clock). Set the current time with WindLDR or a user program that uses the special
data registers.
Adjust function
When clock data adjust flag M8021 is turned on from off, the seconds for the current time are rounded up or
rounded down based on 30 seconds to correct the seconds data for the internal clock.
If the current seconds are between 0 and 29 seconds, the seconds are set to 0 when M8021 is turned on from off.
If the current seconds are between 30 and 59 seconds, the minutes are set to + 1 and the seconds are set to 0
when M8021 is turned on from off.
Calendar/clock error
M8013: This relay turns on if clock write processing or a clock adjust processing could not be executed normally.
M8014: This relay turns on if an error occurs while calendar/clock data is read from the internal clock to the
special data registers (D8008 to D8014).
Summary of Contents for FC6A series
Page 1: ...B 1722 2 FC6A SERIES All in One Type User s Manual ...
Page 10: ...TABLE OF CONTENTS Preface 9 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 28: ...1 GENERAL INFORMATION 1 18 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 286: ...6 DEVICES 6 32 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 334: ...7 HMI FUNCTION 7 48 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 340: ...8 INSTRUCTIONS REFERENCE 8 6 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 360: ...9 FUNCTIONAL MODULES 9 20 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 368: ...10 ANALOG CARTRIDGE 10 8 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...