Clock Function - IDEC MICROSmart FC6A Series User Manual

Windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

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.
Function
Read clock
Set clock
Adjust function
Calendar/clock error
Setting the Clock with WindLDR
Set the current time on the FC6A Series MICROSmart with WindLDR.
From the WindLDR menu bar, select Online > Monitor > Monitor.
1.
WindLDR enters monitor mode.
Select Online > PLC > Status.
2.
The PLC Status dialog box is displayed.
Click Change for Calendar.
3.
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.
Click OK.
4.
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.
The current time (calendar, clock) is updated every 500 ms and automatically stored in the special data registers.
Sets the current time (calendar, clock). Set the current time with WindLDR or a user program that uses the special
data registers.
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.
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).
FC6A S
MICROS
ERIES
Description
U
'
M
FC9Y-B1722
MART
SER
S
ANUAL
5: F
S
UNCTIONS AND
ETTINGS
5-63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents