![IDEC OpenNet series User Manual Download Page 217](http://html.mh-extra.com/html/idec/opennet-series/opennet-series_user-manual_617384217.webp)
15: W
EEK
P
ROGRAMMER
I
NSTRUCTIONS
15-6
O
PEN
N
ET
C
ONTROLLER
U
SER
’
S
M
ANUAL
Example: Interval comparison with ON/OFF times on different days — 3
The output is turned on at 11:00 a.m. on Friday through Sunday, and is turned off at 2:00 a.m. on the following day.
Example: Interval comparison with ON/OFF times extending over three days
To keep the output on for more than two days, use the ICMP
≥
(interval compare greater than or equal to) instruction in
combination with the WKCMP ON/OFF instructions. This example turns on the output at 8:00 a.m. on Monday and turn it
off at 7:00 p.m. on Friday.
D1
Q0
S1
99
M8125
WKCMP
ON
S2
1100
S3
0
D1
Q0
S1
99
WKCMP
OFF
S2
200
S3
0
M8125 is the in-operation output special internal relay.
S1 (99) specifies Friday through Monday.
WKCMP ON turns on output Q0 at 11:00 a.m. on Friday
through Sunday.
WKCMP OFF turns off output Q0 at 2:00 a.m. on the next day.
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Output Q0
S1: Same constant value to designate consecutive days
S2: Constant values; ON time > OFF time
S3: Same constant value 0
D1: Same operand
11:00
2:00
ON
11:00
2:00
ON
11:00
2:00
ON
D1
M0
S1
6
M8125
WKCMP
ON
S2
800
S3
0
D1
M0
S1
6
WKCMP
OFF
S2
0
S3
0
M8125 is the in-operation output special internal relay.
S1 (6) specifies Monday and Tuesday.
WKCMP ON turns on M0 at 8:00 a.m. on Monday.
WKCMP OFF turns off M0 at 0:00 a.m. on Tuesday.
D8011 contains the current day of week data. S1 (4) specifies
Thursday. S3 (2) specifies Tuesday. See page 15-7. M1 remains
on from Tuesday through Thursday.
S1 (32) specifies Friday.
WKCMP ON turns on M2 at 0:00 a.m. on Friday.
WKCMP OFF turns off M2 at 19:00 on Friday.
While M0, M1, or M2 is on, output Q0 is turned on.
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Output Q0
8:00
ON
19:00
M0
M1
M2
D1
M1
S1
4
ICMP>=(W)
S2
D8011
S3
2
D1
M2
S1
32
WKCMP
ON
S2
0
S3
0
D1
M2
S1
32
WKCMP
OFF
S2
1900
S3
0
M0
M1
M2
Q0
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]