Year (Yearly Timer) - IDEC MICROSmart FC6A Series Ladder Programming Manual

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

11: W
P
EEK
ROGRAMMER

YEAR (Yearly Timer)

YEAR
S1
* * * * *
Year
Month
11
Day
ON
Output D1
OFF
Notes:
• A maximum of 10 YEAR instructions can be used in a user program.
• Normally the output is only updated when the current date and the date for the ON/OFF settings matches, but when the YEAR instruction
input changes from off to on, the output state at the current date is determined according to the ON/OFF settings and the output is turned on
or off.
For details, see "Timing Chart when the Input Turns On during the Configured Interval" on page 11-25.
• When pulse output is enabled, output is turned on for one scan at the instant (0:00) the date changes to the ON date.
When the YEAR instruction input changes from off to on, the output state at the current date is judged according to the ON/OFF settings, and
the output is turned on for 1 scan only.
For pulse output, see "6. Pulse Output" on page 11-18 or "6. Pulse Output" on page 11-22.
• When the year data is outside the range of 2000 to 2099, the month data is outside the range of 1 to 12, the day data is outside the range of
1 to 31, the week data is outside the range of 1 to 5, and the day of the week data is outside the range of 0 to 6, a user program execution
error will occur.
• The YEAR instruction cannot be used in an interrupt program.
If used, a user program execution error will result, turning on special internal relay M8004 and the ERR LED on the FC6A Series MICROSmart.
For details about the user program execution errors, see "User Program Execution Errors" on page 3-10.
• When the yearly setting or monthly setting is enabled and a date that does not exist according to the month or year is set for the ON setting
or the OFF setting, the output turns on or off on the first day of the next month.
Valid Devices
Device
S1 (Source 1)
S2 (Source 2)
S3 (Source 3)
D1 (Destination 1)
Special data registers cannot be designated as S1. Special internal relays cannot be designated as D1.
11-16
I
NSTRUCTIONS
S2
S3
D1
* * * * *
* * * * *
* * * * *
2012
12
15th
ON settings Month : December
Day : 15th
Function
First data register
Initialization input
Number of parameter tabs
Output port
FC6A S
MICROS
ERIES
MART
The YEAR instruction compares the specified date with the current date and
outputs that result. With this instruction you can specify special dates within a
one year period (A "special date" is a date configured with ON/OFF settings
specified by the YEAR instruction).
When the input is on, the output specified by D1 is turned on when the date
specified by the ON settings matches the current date.
The output is turned off when the date specified by the OFF settings matches the
current date.
When the ON settings are December 15, 2012 and the OFF settings are January
20, 2013, output D1 turns on and off as follows.
1
20th
OFF settings Month : January
Day : 20th
I
Q
M
X
X
L
P
M
ADDER
ROGRAMMING
ANUAL
2013
2
R
T
C
D
P
Constant
FC9Y-B1726
Repeat
X

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents