![Omron CJ1M-CPU21 Operation Manual Download Page 134](http://html1.mh-extra.com/html/omron/cj1m-cpu21/cj1m-cpu21_operation-manual_742493134.webp)
105
PULSE OUTPUT: PLS2(887)
Section 5-7
Description
PLS2(887) starts pulse output on the port specified in P using the mode spec-
ified in M at the start frequency specified in F (1 in diagram). The frequency is
increased every pulse control period (4 ms) at the acceleration rate specified
in S until the target frequency specified in S is reached (2 in diagram). When
the target frequency has been reached, acceleration is stopped and pulse
output continues at a constant speed (3 in diagram).
The deceleration point is calculated from the number of output pulses and
deceleration rate set in S and when that point is reached, the frequency is
decreased every pulse control period (4 ms) at the deceleration rate specified
in S until the starting frequency specified in S is reached, at which point pulse
output is stopped (4 in diagram).
Pulse output is started each time PLS2(887) is executed. It is thus normally
sufficient to use the differentiated version (@PLS2(887)) of the instruction or
an execution condition that is turned ON only for one scan.
PLS2(887) can be used only for positioning.
With the CJ1M CPU Units, PLS2(887) can be executed during pulse output
for ACC(888) in either independent or continuous mode, and during accelera-
tion, constant speed, or deceleration. (See note.) ACC(888) can also be exe-
cuted during pulse output for PLS2(887) during acceleration, constant speed,
or deceleration.
Note
Executing PLS2(887) during speed control with ACC(888) (continuous mode)
with the same target frequency as ACC(888) can be used to achieve interrupt
feeding of a fixed distance. Acceleration will not be performed by PLS2(887)
for this application, but if the acceleration rate is set to 0, the Error Flag will
turn ON and PLS2(887) will not be executed. Always set the acceleration rate
to a value other than 0.
Index Registers
---
---
---
---
Indirect addressing
using Index Registers
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to
–2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
,IR0 to ,IR15
–2048 to +2047 ,IR0 to
–2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
P
M
S
F
A
B
C
D
Target frequency
Starting frequency
Time
PLS2(887) executed.
Pulse frequency
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...