Standard Pulse Output From An Output Point - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Pulse Output Function (CQM1 Only)
Standard Pulse Output
from an Output Point
Standard Pulse Output
from Ports 1 and 2
Variable-duty-ratio Pulse
Output from Ports 1 and 2
1-3-2

Standard Pulse Output from an Output Point

Note
1,2,3...
Standard pulses (duty ratio = 50%) can be output from an output point with a
frequency from 20 Hz to 1 kHz. The I/O word is specified in the PC Setup and
the bit is specified in the pulse output instruction itself.
Refer to page 23 for more details.
With the CQM1-CPU43-EV1, standard pulses (duty ratio = 50%) can be out-
put from port 1 and/or 2 with a frequency from 10 Hz to 50 kHz (20 kHz max.
to a stepping motor). The pulse output can be either clockwise (CW) or
counter-clockwise (CCW) and frequency changes can be made smoothly.
PLS2(––) and mode 0 of ACC(––) cannot be used when the PC Setup
(DM 6611) is set to high-speed counter mode. CTBL(63) cannot be used with
ports 1 and 2 when the PC Setup (DM 6611) is set to pulse output mode.
Refer to page 25 for more details.
With the CQM1-CPU43-EV1, variable-duty-ratio pulses (duty ratio = 0% to
99%) can be output from port 1 and/or 2 with frequencies of 91.6 Hz, 1.5 kHz,
or 5.9 kHz. Only one direction can be output and the pulse output will continue
until stopped with INI(61).
Refer to page 32 for more details.
Standard pulses can be output from a specified output bit using SPED(64).
Pulses can be output from just one bit at a time. The following diagram shows
the pulses being output from the output point of the Transistor Output Unit
mounted on a CQM1 PC. The duty ratio of the pulse output is 50% and the
frequency can be set from 20 Hz to 1 kHz.
1. A Transistor Output Unit must be used for this application.
2. Pulses cannot be output when interval timer 0 is operating.
3. When a pulse output higher than 500 Hz is being output, set the number
of high-speed timers with interrupt processing to 4 by setting DM 6629 to
0104.
When outputting pulses from an output point, the frequency can be changed
in steps by executing SPED(64) again with different frequencies, as shown in
the following diagram.
There are two ways to stop the pulse output:
1. After executing SPED(64), the pulse output will stop if INI(61) is executed
with C=003 or SPED(64) is executed again with the frequency set to 0.
Transistor Output Unit
Time
Section 1-3
t
on
= 50% (0.5)
T
t
on
T
23

Advertisement

Table of Contents
loading

Table of Contents