15:
D
UAL
/
T
EACHING
T
IMER
I
NSTRUCTIONS
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
15
‐
3
TTIM
(Teaching
Timer)
Applicable
CPU
Modules
Valid
Devices
For
the
valid
device
address
range,
see
pages
and
(
Basic
Vol.).
Destination
device
D1
(measured
value)
uses
3
data
registers
starting
with
the
device
designated
as
D1.
Data
registers
D0
‐
D1997,
D2000
‐
D7997,
and
D10000
‐
D49997
can
be
designated
as
D1.
Subsequent
two
data
registers
starting
with
destination
device
D1+1
are
used
for
a
system
work
area.
Do
not
use
these
two
data
registers
for
destinations
of
other
advanced
instructions,
and
do
not
change
values
of
these
data
registers
using
the
Point
Write
function
on
WindLDR.
If
the
data
in
these
data
registers
are
changed,
the
teaching
timer
does
not
operate
correctly.
The
teaching
timer
instruction
cannot
be
used
in
an
interrupt
program.
If
used,
a
user
program
execution
error
will
result,
turning
on
special
internal
relay
M8004
and
the
ERR
LED
on
the
CPU
module.
Examples:
TTIM
The
following
example
demonstrates
a
program
to
measure
the
ON
duration
of
input
I0
and
to
use
the
ON
duration
as
a
preset
value
for
100
‐
ms
timer
instruction
TIM.
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
D1
(Destination
1)
Measured
value
— — — — — —
X
—
While
input
is
on,
the
ON
duration
is
measured
in
units
of
100
ms
and
the
measured
value
is
stored
to
a
data
register
designated
by
destination
device
D1.
The
measured
time
range
is
0
through
6553.5
sec.
TTIM
D1
*****
I0
D1
D100
When
input
I0
is
turned
on,
TTIM
resets
data
register
D100
to
zero
and
starts
to
store
the
ON
duration
of
input
I0
to
data
register
D100,
measured
in
units
of
100
ms.
When
input
I0
is
turned
off,
TTIM
stops
the
measurement,
and
data
register
D100
maintains
the
measured
value
of
the
ON
duration.
TTIM
D100
Value
I0
ON
OFF
1500
ms
0
15
I0
D1
D100
When
input
I1
is
turned
on,
100
‐
ms
timer
T0
starts
to
operate
with
a
preset
value
stored
in
data
register
D0.
While
input
I0
is
on,
TTIM
measures
the
ON
duration
of
input
I0
and
stores
the
measured
value
in
units
of
100
ms
to
data
register
D100.
When
input
I0
is
turned
off,
MOV(W)
stores
the
D100
value
to
data
register
D0
as
a
preset
value
for
timer
T0.
TTIM
I1
TIM
D0
T0
I0
SOTD
REP
S1
–
D100
D1
–
D0
MOV(W)
Содержание 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 ...