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