Week (Weekly Timer) - IDEC MICROSmart FC6A Series Ladder Programming Manual

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

Advertisement

WEEK (Weekly Timer)

WEEK
S1
*****
If the ON settings are Monday 13:00 and the OFF settings are Wednesday 18:00, output D1 turns on and off as follows.
When the WEEK instruction input is ON on Monday 13:00, output D1 turns ON on Monday 13:00 and it turns OFF on Wednesday
18:00.
(In this diagram the WEEK instruction input is turned on at 0:00 on Monday)
Day of the week
Time
ON
Input M0000
OFF
ON
Output Q0
OFF
Notes:
• A maximum of 10 WEEK instructions can be used in a user program.
• Normally the output is only updated when the current time and the time for the ON/OFF settings matches, but when the WEEK instruction input
changes from off to on, the output state at the current time 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-10.
• When pulse output is enabled, output is turned on for one scan at the ON settings time. For pulse output, see "6. Pulse Output" on page 11-
5 or "6. Pulse Output" on page 11-8.
• When the ON time is set to a value larger than 2,359, the OFF time is set to a value larger than 2,400, or the lower 2 digits of ON/OFF time
is set to a value larger than 59, a user program execution error will occur.
• When the day of the week is not specified, a user program execution error will occur.
• The WEEK 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.
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.
S2
S3
D1
*****
*****
*****
Sunday
Monday
0:00
13:00
ON settings Day of the week : Monday
Time : 13:00
Function
First data register
Initialization input
Number of parameter tabs
Output port
FC6A S
MICROS
ERIES
MART
11: W
The WEEK instruction compares the specified day of the week, ON time, and OFF
time with the current time and outputs that result.
When the input is on, the output specified by D1 is turned on when the day of the
week and the time specified by the ON settings match the current day of the
week and time.
The output specified by D1 is also turned off when the day of the week and the
time specified by the OFF settings match the current day of the week and time.
Tuesday
Wednesday
18:00
OFF settings Day of the week : Wednesday
Time : 18:00
I
Q
M
X
X
L
P
M
ADDER
ROGRAMMING
ANUAL
P
EEK
ROGRAMMER
Thursday
Friday
R
T
C
D
P
Constant
FC9Y-B1726
I
NSTRUCTIONS
Saturday
Repeat
X
11-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents