![Omron CJ1M-CPU21 Operation Manual Download Page 224](http://html1.mh-extra.com/html/omron/cj1m-cpu21/cj1m-cpu21_operation-manual_742493224.webp)
195
Built-in Outputs
Section 7-1
Built-in Input 3 Interrupt Task (Interrupt Task 143)
Scheduled Interrupt Task 0 (Interrupt Task 2)
7-1-3
Positioning (Trapezoidal Control)
Specifications and Operation
When the start input (2960.06) goes ON, this example program outputs
600,000 pulses from pulse output 1 and turns the motor.
Instructions Used
PLS2(887)
14
MSKS(690)
#0005
A280.04
Pulse Output 0
Output In-progress
Flag
Scheduled interrupt 0
(Reset start)
Scheduled interrupt time
(5 x 0.1 ms = 0.5 ms)
#0
4
#0
#0000
&100000
SPED(885)
MSKS(690)
#0001
&100000
#0000
PULS(886)
P_On
Always ON
Flag
Pulse output 0
Relative pulse
specification
Number of output pulses
(100,000 pulses)
Pulse output 0
Specifies CW/CCW outputs,
CW direction, and
independent mode.
Target frequency
(100,000 Hz)
Pulse output 0
Scheduled interrupt 0;
Stop scheduled interrupt
100 Hz
Target frequency
50,000 Hz
Starting frequency
Start input (2960.06)
Acceleration rate
300 Hz/4 ms
Number of
output pulses
600,000 pulses
Deceleration rate
200 Hz/4 ms
Summary of Contents for CJ1M-CPU21
Page 1: ...Cat No W395 E1 03 CJ series Built in I O CJ1M CPU21 22 23 CJ1M CPU Units...
Page 2: ...CJ series Built in I O CJ1M CPU21 22 23 CPU Units Operation Manual Revised August 2004...
Page 3: ...iv...
Page 19: ...xx...
Page 79: ...50 Wiring Examples Section 3 3...
Page 217: ...188 Origin Search and Origin Return Functions Section 6 3...
Page 220: ...191 Built in Outputs Section 7 1...
Page 247: ...218 Built in Outputs Section 7 1...
Page 251: ...222 Combinations of Pulse Control Instructions Appendix A...
Page 255: ...226 Using Pulse Instructions in other CPU Units Appendix B...
Page 263: ...234 Index...
Page 265: ...236 Revision History...