FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
9
‐
1
9:
W
EEK
P
ROGRAMMER
I
NSTRUCTIONS
Introduction
WKTIM
instructions
can
be
used
as
many
as
required
to
turn
on
and
off
designated
outputs
and
internal
relays
at
prede
‐
termined
times
and
days
of
the
week.
Once
the
internal
calendar/clock
is
set,
the
WKTIM
instruction
compares
the
predetermined
time
with
the
clock
data
in
the
clock
cartridge.
When
the
preset
time
is
reached,
internal
relay
or
output
designated
as
destination
device
is
turned
on
or
off
as
scheduled.
For
setting
the
calendar/clock,
see
For
the
specifications
of
the
clock
cartridge,
see
(Basic
Vol.).
WKTIM
(Week
Timer)
Applicable
CPU
Modules
Valid
Devices
For
the
valid
device
address
range,
see
pages
and
(Basic
Vol.).
Internal
relays
M0
through
M2557
can
be
designated
as
D1.
Special
internal
relays
cannot
be
designated
as
D1.
MODE
—
Week
table
output
control
(0
through
2)
0:
Disable
the
week
table
When
the
current
day
and
time
reach
the
presets
for
S1,
S2,
and
S3,
the
designated
output
or
internal
relay
is
turned
on
or
turned
off.
Set
0
for
MODE
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
or
S3
on
the
special
day
programmed
in
the
WKTBL,
the
designated
output
or
internal
relay
is
turned
on
(S2)
or
turned
off
(S3).
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
cur
‐
rent
day
and
time
reach
the
presets
for
S1,
S2,
and
S3.
Note:
When
1
or
2
is
set
for
MODE,
program
special
days
in
the
week
table
using
the
WKTBL
instruction,
followed
by
the
WKTIM
instruction.
If
the
WKTBL
instruction
is
not
programmed
when
1
or
2
is
set
for
MODE
in
the
WKTIM
instruction,
a
user
program
execution
error
will
result,
turning
on
special
internal
relay
M8004
and
the
ERR
LED
on
the
CPU
module.
The
same
error
also
occurs
if
the
WKTIM
instruction
is
executed
before
the
WKTBL
instruction.
FC5A
‐
C10R2/C/D
FC5A
‐
C16R2/C/D
FC5A
‐
C24R2/C/D
FC5A
‐
D16RK1/RS1
FC5A
‐
D32K3/S3
FC5A
‐
D12K1E/S1E
X
X
X
X
X
X
Device
Function
I
Q
M
R
T
C
D
Constant
Repeat
MODE
Week
table
output
control
— — — — — — —
0
‐
2
—
S1
(Source
1)
Day
of
week
comparison
data
— — — — — —
X
0
‐
127
—
S2
(Source
2)
Hour/minute
comparison
data
to
turn
on
— — — — — —
X
0
‐
2359
—
S3
(Source
3)
Hour/minute
comparison
data
to
turn
off
— — — — — —
X
0
‐
2359
—
D1
(Destination
1)
Comparison
ON
output
—
X
— — — —
—
—
When
input
is
on,
the
WKTIM
compares
the
S1
and
S2
preset
data
with
the
current
day
and
time.
When
the
current
day
and
time
reach
the
presets,
an
output
or
inter
‐
nal
relay
designated
by
device
D1
is
turned
on,
depending
on
the
week
table
output
control
designated
by
MODE.
WKTIM
MODE
S1
*****
S2
*****
S3
*****
D1
*****
Содержание MICROSmart FC5A Series
Страница 1: ...FC5A SERIES FC9Y B1273 1 User s Manual Advanced Volume ...
Страница 2: ......
Страница 8: ...Preface 6 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 14: ...TABLE OF CONTENTS vi FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 52: ...4 DATA COMPARISON INSTRUCTIONS 4 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 72: ...5 Binary Arithmetic Instructions 5 20 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 88: ...7 SHIFT ROTATE INSTRUCTIONS 7 12 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 112: ...8 DATA CONVERSION INSTRUCTIONS 8 24 FC5A MicroSmart User s Manual FC9Y B1273 ...
Страница 138: ...11 PROGRAM BRANCHING INSTRUCTIONS 11 14 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 178: ...13 PULSE INSTRUCTIONS 13 32 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 202: ...14 PID INSTRUCTION 14 24 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 206: ...15 DUAL TEACHING TIMER INSTRUCTIONS 15 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 214: ...16 INTELLIGENT MODULE ACCESS INSTRUCTIONS 16 8 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 248: ...21 COMPUTER LINK COMMUNICATION 21 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 272: ...23 MODBUS TCP COMMUNICATION 23 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 332: ...25 EXPANSION RS232C RS485 COMMUNICATION 25 16 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 341: ...NOTE FC5A MICROSMART USER S MANUAL FC9Y B1273 1 ...
Страница 342: ...NOTE 2 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...