Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 774

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

High-speed Counter/Pulse Output Instructions
Upper Limits to the Target
Frequency
Description
Port
Port 0
Port 1
Port 2
Port 3
ACC(888) starts pulse output on the port specified in P using the mode speci-
fied in M using the target frequency and acceleration/deceleration rate speci-
fied in S. 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.
Pulse output is started each time ACC(888) is executed. It is thus normally
sufficient to use the differentiated version (@ACC(888)) of the instruction or
an execution condition that is turned ON only for one scan.
Pulse frequency
Target frequency
ACC(888) executed.
In independent mode, pulse output stops automatically when the specified
number of pulses has been output. In continuous mode, pulse output contin-
ues until it is stopped from the program.
An error will occur if an attempt is made to switch between independent and
continuous mode during pulse output.
PLS2(887) can be executed during pulse output for ACC(888) in either inde-
pendent or continuous mode, and during acceleration, constant speed, or
deceleration. (See note.) ACC(888) can also be executed during pulse output
for PLS2(887) during acceleration, constant speed, or deceleration.
Note
(1) Executing PLS2(887) during speed control with ACC(888) (continuous
mode) with the same target frequency as ACC(888) can be used to
achieved interrupt feeding of a fixed distance. Acceleration will not be per-
formed 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. Al-
ways set the acceleration rate to a value other than 0.
(2) The acceleration/deceleration rate can be specified as 1 Hz or higher.
There is no upper limit to the acceleration/deceleration time. If the differ-
ence between the starting speed and target speed is more than 100 kHz,
the acceleration/deceleration rate will be automatically increased.
• If the difference between the starting speed and target speed is be-
tween 100 and 200 KHz, the acceleration/deceleration rate will be 2 Hz
or higher.
CP1H
X40/XA40
X40/XA40
version 1.0
version 1.1 or
higher
100 kHz
100 kHz
100 kHz
100 kHz
30 kHz
100 kHz
30 kHz
100 kHz
ACC(888) executed.
Section 3-20
CP1L
Y20
1 MHz
100 kHz
1 MHz
100 kHz
100 kHz
---
100 kHz
---
Acceleration/deceleration rate
Time
741

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents