Wktbl (Week Table) - IDEC FC4A-C10R2 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

15: W
P
EEK
ROGRAMMER
S1 — Day of week comparison data (0 through 127)
Specify the days of week to turn on the output or internal relay designated by D1.
Day of Week
Value
Designate the total of the values as operand S1 to turn on the output or internal relay.
Example: To turn on the output on Mondays through Fridays, designate 62 as S1 because 2 + 4 + 8 + 16 + 32 = 62.
S2 — Hour/minute comparison data to turn on
S3 — Hour/minute comparison data to turn off
Specify the hours and minutes to turn on (S2) or to turn off (S3) the output or internal relay designated by D1.
Hour
00 through 23
Example: To turn on the output or internal relay at 8:30 a.m. using the WKTIM instruction, designate 830 as S2. To
turn off the output or internal relay at 5:05 p.m., designate 1705 as S3.
When 10000 is set to hour/minute comparison data, the comparison data is ignored. For example, if 10000 is set to
the hour/minute comparison data to turn off (S3), the WKTIM instruction compares only the hour/minute comparison
data to turn on (S2).
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. For example, if S2 is 2300, S3 is 100, and Monday is included in S1, then the output desig-
nated by D1 turns on at 23 p.m. on Monday and turns off at 1 a.m. on Tuesday.
Make sure that the values set for MODE, S1, S2, and S3 are within the valid ranges. If any data is over the valid value, a
user program execution error will result, turning on special internal relay M8004 and the ERR LED on the CPU module.

WKTBL (Week Table)

WKTBL
*****
Applicable CPU Modules
FC4A-C10R2/C
FC4A-C16R2/C
X
Valid Operands
Operand
S1 (Source 1)
For the valid operand number range, see pages 6-1 and 6-2.
15-2
I
NSTRUCTIONS
Sunday
Monday
1
2
Minute
00 through 59
..... S
S1
S2
S3
*****
*****
*****
FC4A-C24R2/C
X
X
Function
Special month/day data
« FC4A M
Tuesday
Wednesday
4
8
Disable Comparison
10000
S1, S2, S3, ... , S
N
When input is on, N blocks of special month/day data in oper-
ands designated by S1, S2, S3, ... , S
table.
The quantity of special days can be up to 20.
The special days stored in the week table are used to add or
skip days to turn on or off the comparison outputs pro-
grammed in subsequent WKTIM instructions.
The WKTBL must precede the WKTIM instructions.
FC4A-D20K3/S3
X
I
— — — — — —
S
U
'
M
ICRO
MART
SER
S
ANUAL
Thursday
Friday
16
32
→ Week Table (N ≤ 20)
N
are set to the week
N
FC4A-D20RK1/RS1 & FC4A-D40K3/S3
X
Q
M
R
T
C
D
X
»
Saturday
64
Constant
Repeat
101-1231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents