![IDEC MICROSmart FC5A Series Скачать руководство пользователя страница 136](http://html.mh-extra.com/html/idec/microsmart-fc5a-series/microsmart-fc5a-series_user-manual_617369136.webp)
11:
P
ROGRAM
B
RANCHING
I
NSTRUCTIONS
11
‐
12
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
FRQRF
(Frequency
Measurement
Refresh)
Applicable
CPU
Modules
Example:
FRQRF
The
following
example
demonstrates
a
program
to
update
the
current
value
of
frequency
measurement
value
using
the
FRQRF
instruction.
For
the
timer
interrupt,
see
page
(Basic
Vol.)
.
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
When
input
is
on,
the
FRQRF
instruction
refreshes
the
frequency
measurement
values
in
special
data
reg
‐
isters
in
real
time.
The
FRQRF
can
be
used
in
any
place
in
the
ladder
diagram
where
you
want
to
read
the
updated
frequency
measurement
value.
Before
the
measured
results
are
stored
in
the
special
data
registers,
it
takes
a
maximum
of
calculation
period
plus
one
scan
time.
Using
the
FRQRF
instruction
in
the
ladder
diagram,
the
latest
value
of
the
fre
‐
quency
measurement
can
be
read
out
within
250
ms
regardless
of
the
input
frequency.
For
the
frequency
measurement
function,
see
page
(Basic
Vol.).
FRQRF
*
M8120
is
the
initialize
pulse
special
internal
relay.
D8036
stores
0
to
designate
jump
destination
label
0
for
timer
inter
‐
rupt.
The
interrupt
program
is
separated
from
the
main
program
by
the
END
instruction.
While
the
CPU
is
running,
program
execution
jumps
to
label
0
repeat
‐
edly
at
intervals
selected
in
the
Function
Area
Settings.
M8125
is
the
in
‐
operation
output
special
internal
relay.
FRQRF
updates
the
HSC1
frequency
measurement
value
in
data
regis
‐
ters
D8060
and
D8061.
When
D8060/D8061
exceeds
5000,
Q1
is
turned
on.
IOREF
immediately
writes
the
output
Q0
internal
memory
status
to
actual
output
Q0.
Each
time
the
interrupt
program
is
completed,
program
execution
returns
to
the
main
program
at
the
address
where
timer
interrupt
occurred.
M8120
END
Main
Program
M8125
REP
S1
–
0
D1
–
D8036
MOV(W)
M8125
M8125
IOREF
S1
Q1
LRET
LABEL
0
FRQRF
1
REP
S1
–
D8060
D1
–
Q1
CMP>(D)
S2
–
5000
Содержание 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 ...