IDEC FC4A-C10R2 User Manual page 270

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

15: W
P
EEK
ROGRAMMER
• Keep Output ON across 0 a.m.
When the hour/minute comparison data to turn on (S2) is larger than the hour/minute comparison data to turn off (S3), the
comparison ON output (D1) turns on at S2 on the day designated by S1, remains on across 0 a.m., and turns off at S3 on
the next day. This example demonstrates a program to keep the designated output on across 0 a.m. and turn off the output
on the next day.
WKTIM
0
M8125
Output Q0
Sun
• Keep Output ON for Several Days
Multiple WKTIM instructions can be used to keep an output on for more than 24 hours. This example demonstrates a pro-
gram to keep the designated output on from 8 a.m on every Monday to 7 p.m. on every Friday.
WKTIM
0
M8125
WKTIM
0
WKTIM
0
M0
M1
M2
Output Q0
Sun
15-4
I
NSTRUCTIONS
S1
S2
S3
D1
38
2000
600
Q0
20:00
6:00
ON
Mon
S1
S2
S3
D1
2
800
10000
M0
S1
S2
S3
D1
28
10000
10000
M1
S1
S2
S3
D1
32
10000
1900
M2
20:00
Mon
« FC4A M
M8125 is the in-operation output special internal relay.
S1 (38) specifies Monday, Tuesday, and Friday.
The WKTIM turns on output Q0 at 20:00 on Monday, Tuesday, and
Friday, and turns off output Q0 at 6:00 on the next day.
20:00
6:00
ON
Tue
Wed
M8125 is the in-operation output special internal relay.
S1 (2) specifies Monday.
S1 (28) specifies Tuesday, Wednesday, and Thursday.
S1 (32) specifies Friday.
S2 (10000) and S3 (10000) disable comparison of hour and
minute data.
While internal relay M0, M1, or M2 is on, output Q0 remains on.
Q0
ON
Tue
Wed
S
U
'
M
ICRO
MART
SER
S
ANUAL
20:00
ON
Thu
Fri
19:00
Thu
Fri
»
6:00
Sat
Sat

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents