EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 771

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
738
High-speed Counter/Pulse Output Instructions Section 3-20
Switching from Continuous Mode Speed Control to Independent Mode
Positioning
Flags
Example When CIO 0.00 turns ON in the following programming example, PLS2(887)
starts pulse output from pulse output 0 with an absolute pulse specification of
100,000 pulses. Pulse output is accelerated at a rate of 500 Hz every 4 ms
starting at 200 Hz until the target speed of 50 kHz is reached. From the decel-
eration point, the pulse output is decelerated at a rate of 250 Hz every 4 ms
starting until the starting speed of at 200 Hz is reached, at which point pulse
output is stopped.
Example
application
Frequency changes Description Procedure/
instruction
Change from speed
control to fixed dis-
tance positioning
during operation
PLS2(887) can be
executed during a
speed control opera-
tion started with
ACC(888) to change
to positioning opera-
tion.
ACC(888) (Con-
tinuous)
PLS2(887)
Fixed distance feed
interrupt
Pulse frequency
Target
frequency
Outputs the number of
pulses specified in
PLS2(887) (Both relative
and absolute pulse
specification can be used.)
Execution of
ACC(888)
(continuous
mode)
Execution of
PLS2(887)
Time
Pulse
frequency
Present
frequency
Execution of
ACC(888)
(continuous
mode)
Execution of PLS2(887)
with the following settings
Number of pulses = num-
ber of pulses until stop
Relative pulse specification
Target frequency = present
frequency
Acceleration rate = 0001 to
07D0 hex
Deceleration rate = target
deceleration rate
Time
Name Label Operation
Error Flag ER ON if the specified range for P, M, S, or F is exceeded.
ON if PLS2(887) is executed for a port that is already out-
putting pulses for SPED(885) or ORG(889).
ON if PLS2(887) is executed in an interrupt task when an
instruction controlling pulse output is being executed in a
cyclic task.
ON if PLS2(887) is executed for an absolute pulse output
but the origin has not been established.

Table of Contents

Related product manuals