9:
W
EEK
P
ROGRAMMER
I
NSTRUCTIONS
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
9
‐
7
Special
Internal
Relays
for
Calendar/Clock
Data
Example:
Setting
Calendar/Clock
Data
This
example
demonstrates
how
to
set
calendar/clock
data
using
a
ladder
program.
After
storing
new
calendar/clock
data
into
data
registers
D8015
through
D8021,
special
internal
relay
M8020
(calendar/clock
data
write
flag)
must
be
turned
on
to
set
the
new
calendar/clock
data
to
the
clock
cartridge.
Adjusting
Clock
Using
a
User
Program
Special
internal
relay
M8021
(clock
data
adjust
flag)
is
provided
for
adjusting
the
clock
data.
When
M8021
is
turned
on,
the
clock
is
adjusted
with
respect
to
seconds.
If
seconds
are
between
0
and
29
for
current
time,
adjustment
for
seconds
will
be
set
to
0
and
minutes
remain
the
same.
If
seconds
are
between
30
and
59
for
current
time,
adjustment
for
seconds
will
be
set
to
0
and
minutes
are
incremented
one.
M8021
is
useful
for
precise
timing
which
starts
at
zero
seconds.
Example:
Adjusting
Calendar/Clock
Data
to
0
Seconds
M8016
Calendar
Data
Write
Flag
When
M8016
is
turned
on,
data
in
data
registers
D8015
through
D8018
(calendar
new
data)
are
set
to
the
clock
cartridge
installed
on
the
CPU
module.
M8017
Clock
Data
Write
Flag
When
M8017
is
turned
on,
data
in
data
registers
D8019
through
D8021
(clock
new
data)
are
set
to
the
clock
cartridge
installed
on
the
CPU
module.
M8020
Calendar/Clock
Data
Write
Flag
When
M8020
is
turned
on,
data
in
data
registers
D8015
through
D8021
(calendar/clock
new
data)
are
set
to
the
clock
cartridge
installed
on
the
CPU
module.
M8120
REP
4
S1
R
D0
MOV(W)
D1
R
D8015
I0
SOTU
M8120
is
the
initialize
pulse
special
internal
relay.
When
the
CPU
starts,
seven
MOV(W)
instructions
store
calendar/clock
data
to
data
registers
D0
through
D6.
When
input
I0
is
turned
on,
new
calendar
data
(year,
month,
day,
and
day
of
week)
are
moved
to
data
registers
D8015
through
D8018,
and
internal
relay
M0
is
turned
on
for
1
scan
time.
When
input
I1
is
turned
on,
new
clock
data
(hour,
minute,
and
second)
are
moved
to
data
registers
D8019
through
D8021,
and
internal
relay
M1
is
turned
on
for
1
scan
time.
When
either
M0
or
M1
is
turned
on,
calendar/clock
data
write
flag
spe
‐
cial
internal
relay
M8020
is
turned
on
to
set
the
new
calendar/clock
data
to
the
clock
cartridge.
M8125
is
the
in
‐
operation
output
special
internal
relay.
While
the
CPU
is
running,
the
MOV(W)
moves
current
calendar/clock
data
to
data
registers
D10
through
D16.
REP
3
S1
R
D4
MOV(W)
D1
R
D8019
I1
SOTU
M0
M1
REP
7
S1
R
D8008
MOV(W)
D1
R
D10
M8125
M1
M8020
REP
S1
–
0
MOV(W)
D1
–
D0
REP
S1
–
10
MOV(W)
D1
–
D1
REP
S1
–
10
MOV(W)
D1
–
D2
REP
S1
–
2
MOV(W)
D1
–
D3
REP
S1
–
9
MOV(W)
D1
–
D4
REP
S1
–
30
MOV(W)
D1
–
D5
REP
S1
–
0
MOV(W)
D1
–
D6
M0
I2
SOTU
When
input
I2
is
turned
on,
clock
data
adjust
flag
special
internal
relay
M8021
is
turned
on
and
the
clock
is
adjusted
with
respect
to
seconds.
M8021
Содержание 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 ...