Interrupt Feeding Instruction: Ifeed(892) - Omron SYSMAC CJ Series User Manual

Sysmac cj series cpu unit pulse i/o module
Hide thumbs Also See for SYSMAC CJ Series:
Table of Contents

Advertisement

Pulse frequency
Target
frequency
Acceleration
rate
IFEED executed
8-4-4

INTERRUPT FEEDING Instruction: IFEED(892)

Execution condition
Pulse frequency
Interrupt input 0 occurs.
500 pps
50 pps/4 ms
Speed
control
IFEED executed
Setting the Interrupt Input to Use
A specified combination of pulse output and interrupt input must be used for the IFEED(892) instruc-
tion. You cannot change the combinations. The pulse output and interrupt input are specified with
operand P (port specifier) of the IFEED(892) instruction.
P
#0000
#0001
#0002
#0003
Precautions for Correct Use
Precautions for Correct Use
• Before executing the IFEED(892) instruction, use the MSKS(690) instruction to disable the
specified interrupt if it is currently not masked. An instruction error will occur if the IFEED(892)
instruction is executed when the interrupt is not masked.
• Interrupt inputs 0, 1, 4, and 5 are used with the IFEED(892) instruction. The terminals used for
interrupt inputs 0 and 1 are also used for the origin and origin proximity inputs for pulse output
0. The terminals used for interrupt inputs 4 and 5 are also used for the origin and origin prox-
imity inputs for pulse output 2. If the IFEED(892) instruction is used for pulse output 0 or 2, do
not use the origin search function.
CJ2M CPU Unit Pulse I/O Module User's Manual
Interrupt input occurs.
Specified number of pulses
Speed
Position
control
control
@IFEED
P: Port specifier, Example: Interrupt input 0 and pulse output 0
#0100
C: Control data, CW/CCW outputs and CW direction
#0000
S: First word of
D0
setting table
100 pulses
20 pps/4 ms
Position
control
Time
Pulse output
Pulse output 0
Pulse output 1
Pulse output 2
Pulse output 3
Deceleration rate
Time
D0
#0032
S:
D1
#0014
S+1:
D2
S+2:
#01F4
D3
S+3:
#0000
D4
S+4:
#0064
S+5:
D5
#0000
Interrupt input
Interrupt input 0
Interrupt input 1
Interrupt input 4
Interrupt input 5
8 Pulse Outputs
Acceleration rate:
50 pps/4 ms
Deceleration rate:
20 pps/4 ms
Target frequency:
500 pps
Number of output pulses:
100 pulses
8-37
8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj2m-cpu seriesSysmac cj2m-md21 series

Table of Contents