![Omron CJ1G-CPUxx Instructions Manual Download Page 812](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491812.webp)
791
High-speed Counter/Pulse Output Instructions
Section 3-21
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) and an acceleration rate of 0 can
be used to achieved interrupt feeding of a fixed distance.
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
Target frequency
Starting frequency
A
B
C
D
Time
PLS2(887) executed.
Pulse frequency
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...