12-23
12 Pulse Outputs
CP2E CPU Unit Software User’s Manual(W614)
12-4 Imp
leme
n
tin
g
In
terrup
t F
eedin
g
12
12
-4-1
Interr
upt F
e
e
d
ing
12-4 Implementing Interrupt Feeding
This section describes how to use interrupt feeding when using the IFEED instruction.
Interrupt feeding is performed with the IFEED instruction. IFEED controls interrupt feeding by combin-
ing the specified pulse output and interrupt input. An interrupt input is used as a trigger during speed
control to switch to position control and then move a specified amount before decelerating to a stop.
An interrupt task is not necessary, so no delays are caused by the interrupt startup time or the occur-
rence of other interrupts. The accuracy of feeding after an interrupt input occurs can therefore be
improved.
Additional Information
• Only specific pulse outputs and interrupt inputs can be used together.
If you want to pair any other pulse outputs and interrupt inputs, or if you want to change set-
tings during pulse output, use the ACC and PLS2 instructions together.
If the ACC and PLS2 instructions are used, delays will occur for the interrupt startup time and
possibly for other interrupts.
• The IFEED instruction cannot be executed when the pulse output port specified by the axis
specifier of the IFEED instruction is already outputting pulses by the SPED, ACC, PLS2, ORG,
IFEED and ITPL instructions. P_ER flag turns ON.
12-4-1 Interrupt Feeding
12-4-2 Flow of Operation
• Select
Interrupt Input
in the Interrupt Input
Dialog Box that is accessed from the Built-in
Input Tab Page of the PLC Setup using the
CX-Programmer.
• Set whether to start the interrupt on OFF
transitions or ON transitions in the input
using the MSKS instruction.
• Set pulse output ports 0 to
3
, output mode,
output direction, acceleration/deceleration
rate, target frequency, and number of output
pulses.
• Execute the IFEED instruction.
Deceleration rate
IFEED executed
Time
Pulse frequency
Speed
control
Position
control
Specified number of pulses
Target
frequency
Acceleration
rate
Interrupt input occurs.
PLC
S
et
u
p
Cre
a
te l
a
dder progr
a
m.
1
2
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......