8-65
8 Pulse Outputs
CJ2M CPU Unit Pulse I/O Module User’s Manual
8-9 Application Example
8
• PLS2(887) uses a relative pulse setting. This enables operation even if the origin is not defined.
The PV of pulse output 0 in A276 (lower 4 digits) and A277 (upper 4 digits) is set to 0 before pulse
output and then contains the specified number of pulses.
• ACC(888) can be used instead of SPED(885) for the jog operation.
If ACC(888) is used, acceleration/deceleration can be included in the jog operation.
Ladder Program
Remarks
Jogging
Jog
switch
Pulse Output
In-progress Flag
Jog
switch
Jogging in
progress
Interrupt feeding
Position control
Material cut with cutter completed
Pulse output completed
Interrupt feeding rotation count
Pulse output completed
Position control
Immediate stop (Pulse output stopped.)
Immediate stop
Control data: Stop pulse output
Mode control
Cutting operation completed
Count BCD SV
Counter
Cutter started
First starting frequency word
First parameter word
Control data
Positioning
RESET instruction
Target frequency: 0 pps
Target frequency setting
SET instruction
Target frequency: 10,000 pps
Target frequency setting
Output mode
Sets the frequency.
Port specifier: Pulse output 0
Bit indicating the jogging is in progress
Output mode
Sets the frequency.
Port specifier: Pulse output 0
Bit indicating the jogging is in progress
Port specifier: Pulse output 0
Counter number
Port specifier: Pulse output 0
A280.042960.00
2960.00
2960.01
A280.03
A280.03
2960.01
C0000
2960.02
2960.03
W0.00
2961.03
2961.02
#0
#0
D0
SET
W0.00
RSET
W0.00
SPED(885)
#0
#0
D2
@PLS2(887)
#0
#0
D10
D16
CNT
@INI(880)
0000
#0
0
#3
D20
SPED(885)