3. Instructions
780
CS/CJ/NSJ Series Instructions Reference Manual (W474)
IFEED
Applicable Program Areas
Operands
P: Port Specifier
Note The input interrupt and pulse output combinations given above must be used. They cannot be changed.
C: Control Data
Instruction Mnemonic Variations
Function
code
Function
INTERRUPT FEEDING IFEED @IFEED 892
IFEED(892) uses an input interrupt as a trigger to
switch from speed control to position control and
move the specified number of pulses. IFEED(892)
is supported only by the CJ2M.
Symbol
PWM
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or transition
programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
P Port specifier --- 1
C Control word --- 1
S First word of settings table WORD 6
P
0000 hex Input interrupt 0 − Pulse output 0
0001 hex Input interrupt 1 − Pulse output 1
0002 hex Input interrupt 4 − Pulse output 2
0003 hex Input interrupt 5 − Pulse output 3
IFEED
P
S
P: Port Specifier
C: Control Data
S: First word of settings table
C
C
15
12 11 8 7 4 3 0
0 hex
0 hex
Direction
0 hex: CW
1 hex: CCW
Pulse output method (See note.)
0 hex: CW/CCW outputs
1 hex: Pulse + direction outputs
Note: Use the same pulse output method when using pulse
outputs 0 and 1 at the same time and when using 2
and 3 at the same time.