Using Pulse Outputs With Variable Duty Ratio - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

CPM2A/CPM2C Pulse Output Functions

2-5-2 Using Pulse Outputs With Variable Duty Ratio

Pulse Outputs With Variable Duty Ratio
PULSE WITH
PWM(––)
VARIABLE DUTY
RATIO instruction
Target frequency: 0.1 to 999.9 Hz
Duty ratio: 0 to 100%
Start pulse outputs
INI(61)
MODE CONTROL
instruction
Stop pulse outputs
Selecting the Pulse
Output Number
Wiring the Outputs
Select the pulse output number.
Wire the outputs.
Create a ladder diagram program.
(Note: The duty ratio is the ratio
of ON time to pulse frequency.)
Every scan
Pulse output status
AR 11
AR 12
Select either pulse output 0 or 1.
Output number
01000
01001
Wire the CPM2A outputs as shown in the following illustration. (Pulses can be
output independently from pulse outputs 0 and 1.
Output 01000: Pulse output 0 (single-phase output)
Output 01001: Pulse output 1 (single-phase output)
Wire the CPM2C outputs as shown in the following illustration. (Pulses can be
output independently from pulse outputs 0 and 1.
Pulse output number 0 or 1
Output numbers: 01000 and 01001
PWM(––): For setting the frequency and duty ratio.
INI(61): For stopping pulse outputs.
PRV(62): For reading the pulse output status.
(Either 01000 or 01001
can be used.)
Every scan
Immediately
HIGH-SPEED
COUNTER PV
PRV(62)
READ instruction
Read pulse
output status.
Pulse output number
0
1
)
)
Section
2-5
Pulse output 0
Pulse output 1
111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents