Variable-Duty-Ratio Pulse Output From Ports 1 And 2 - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Pulse Output Function (CQM1 Only)
1-3-4

Variable-duty-ratio Pulse Output from Ports 1 and 2

PC Setup Settings
Starting the Pulse Output
32
The following diagram shows the frequency of pulse outputs from port 1 as
the program is executed.
Frequency
20 kHz
5 kHz
With the CQM1-CPU43-EV1, variable-duty-ratio pulses can be output from
ports 1 and/or 2 using PWM(––). The pulse frequency can be set to 91.6 Hz,
1.5 kHz, or 5.9 kHz. This function can be used for various kinds of control out-
puts, such as light intensity output or speed control output to an inverter.
CPU Unit
Note Only the CQM1-CPU43-EV1 CPU Unit can output pulses from ports 1 and 2.
Before outputting variable-duty-ratio pulses from port 1 or 2, switch the PC to
PROGRAM mode and make the following settings in the PC Setup.
Specify variable-duty-ratio pulse outputs in DM 6643 (port 1) and/or DM 6644
(port 2).
15
Bit
DM 6643
1
Port 1 pulse type setting
1: Variable-duty-ratio pulse output
Default: Standard pulse output
Standard pulses cannot be output from a port if it has been set for standard
variable-duty-ratio pulse output in DM 6643 or DM 6644.
Pulses will begin to be output from the specified port when PWM(––) is exe-
cuted. Specify port 1 or 2 (P=001 to 002). Set the frequency to 5.9 kHz,
1.5 kHz, or 91.6 Hz (F=000, 001, or 002). Set the duty ratio from 1% to 99%
(D=0001 to 0099, BCD).
Execution condition
About 1 kHz/4 ms
00000
goes ON
Port 1
Port 2
0
15
Bit
DM 6644
1
Section 1-3
Time
Frequency = 91.6 Hz,
1.5 kHz,
5.9 kHz
t
on
= 1% to 99%
T
t
on
T
0
Port 2 pulse type setting
1: Variable-duty-ratio pulse output
Default: Standard pulse output
@PWM(––)
P
F
D

Advertisement

Table of Contents
loading

Table of Contents