15: W
EEK
P
ROGRAMMER
I
NSTRUCTIONS
15-2
O
PEN
N
ET
C
ONTROLLER
U
SER
’
S
M
ANUAL
Example: To turn on the output or internal relay at 8:30 a.m. using the WKCMP ON instruction, designate 830 as S2.
To turn off the output or internal relay at 5:05 p.m. using the WKCMP OFF instruction, designate 1705 as S2.
S3 — Week table output control (0 through 2)
0:
Disable the week table
When the current day and time reach the presets for S1 and S2, the designated output or internal relay is turned on
(WKCMP ON) or turned off (WKCMP OFF). Set 0 for S3 when the WKTBL is not used; the WKTBL instruction is
ignored even if it is programmed.
1:
Additional days in the week table
When the current time reaches the hour/minute comparison data set for S2 on the special day programmed in the
WKTBL, the designated output or internal relay is turned on (WKCMP ON) or turned off (WKCMP OFF).
2:
Skip days in the week table
On the special day programmed in the WKTBL, the designated output or internal relay is not turned on or off, even
when the current day and time reach the presets for S1 and S2.
Note: When 1 or 2 is set for S3, program special days in the week table using the WKTBL instruction. If the WKTBL
instruction is not programmed when 1 or 2 is set for S3 in the WKCMP ON or WKCMP OFF instruction, a user pro-
gram execution error will result, turning on special internal relay M8004 and the ERROR LED.
Make sure that the values set for S1, S2, and S3 are within the valid ranges. If any data is over the valid value, a user pro-
gram execution error will result, turning on special internal relay M8004 and the ERROR LED.
WKTBL (Week Table)
Valid Operands
For the valid operand number range, see page 6-2.
When T (timer) or C (counter) is used as S1 through S
N
, the timer/counter current value is read out.
S1 through S
N
— Special month/day data
Specify the months and days to add or skip days to turn on or off the comparison outputs programmed in WKCMP
ON or WKCMP OFF instructions.
Example: To set July 4 as a special day, designate 704 as S1.
Make sure that the values set for S1 through S
N
are within the valid ranges. If any data is over the valid value, a user pro-
gram execution error will result, turning on special internal relay M8004 and the ERROR LED.
Hour
Minute
00 through 23
00 through 59
Operand
Function
I
Q
M
R
T
C
D
L
Constant
Repeat
S1 (Source 1)
Special month/day data
X
X
X
X
X
X
X
X
101-1231
—
Month
Day
01 through 12
01 through 31
S1, S2, S3, ... , S
N
→
Week Table
When input is on, N blocks of special month/day data in oper-
ands designated by S1, S2, S3, ... , S
N
are set to the week table.
The quantity of special days can be up to 50.
The special days stored in the week table are used to add or
skip days to turn on or off the comparison outputs programmed
in subsequent WKCMP ON or WKCMP OFF instructions.
The WKTBL must precede the WKCMP instructions.
WKTBL
S1
*****
S3
*****
S2
*****
..... S
N
*****
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]