28
Function Tables Arranged by Purpose Section 1-7
1-7-5 Controlling Timing
Purpose Operation Main functions
used
Details
Responding
quickly to exter-
nal signals and
operate
Executing pro-
cessing as soon
as change in
external input
signal detected
Starting inter-
rupt processing
when an input
bit turns ON
and/or OFF.
• Input function
settings
• Interrupt inputs
(MSKS(690)
instructions)
7-3 Input Interrupts
- Input Interrupt Mode
Set input function to Interrupt inputs.
Executes interrupt tasks when Motion Control
Module built-in input bits (input No. 0.00 to 0.03)
turn ON and/or OFF.
Executing pro-
cessing after set
amount of exter-
nal signal
changes
counted
Starting inter-
rupt processing
once the speci-
fied number of
input bit rising
edges, falling
edges, or both
have been
counted
• Input function
settings
• Counting inter-
rupts in
counter mode
(MSKS(690)
instruction)
7-3 Input Interrupts
- Counter Mode
Set input function to Interrupt input and counter
mode using MSKS(690) instructions.
Decrements the PV each time the Motion Con-
trol Module built-in input bit (input numbers
0000.00 to 0000.03) turns ON and/or OFF and
executes interrupt tasks when the PV reaches 0.
Repeating pro-
cesses each
time specified
period passes
Starting inter-
rupt processing
at scheduled
time
•Interval timer
interrupt
(scheduled
interrupt:
STIM(980)
instruction)
7-4 Interval Timer Interrupts
- 7-4-3 Interval Timer Interrupt Modes
Repeats interrupt task execution at scheduled
intervals.
Can be used within interrupt tasks because spe-
cial timer used.
Executing pro-
cessing once
specified timer
interval passes
after startup sig-
nal input
Starting inter-
rupt processing
once only, after
specified inter-
val has elapsed
•Interval timer
interrupt (one-
shot interrupt:
STIM(980)
instruction)
7-4 Interval Timer Interrupts
- 7-4-3 Interval Timer Interrupt Modes
Executes interrupt task once only after specified
period elapses.
Can be used within interrupt tasks because spe-
cial timer used.
Starting inter-
rupt processing
once periods of
any set time
have elapsed
from timer start
• Pulse output
• Target value
comparison
interrupt
(CTBL(882)
instruction)
7-6-9 Target-value Comparison Interrupts from
Pulse Output PVs
Executes specified interrupt task when target
value in registered table matches the pulse out-
put counter PV.
Starting pro-
cessing when
high-speed
counter PV
reaches set
value
Starting inter-
rupt processing
when high-
speed counter
PV reaches
specified value
• High-speed
counter target
value compari-
son interrupt
(CTBL(882)
instruction)
7-5 Pulse Inputs
Executes specified interrupt task when target
value in registered table matches high-speed
counter PV.