Total Solution for Industrial Automation
19
PWM Output Module User’s manual
5
Operating the PWM Output Module
Through examples, this chapter outlines a method to configure a program using the
PWM output module.
In order to use the ramp control time as intended, please set up the ramp control
time prior to inputting frequency or duty cycle values.
In case of power reset or CPU STOP, enter the value again by using TO instruction
as all value of buffer memory will be set back to initial value(0)
5.1
Example for basic operation
This item is an example that changes the frequency and the duty cycle in channel 2
(Y03).
When M00 turns on, the system operates below:
a)
Set duty cycle 50.0% so that gradually increase the frequency 0pps to 1000pps
for 5 seconds.
b)
Gradually increase the duty cycle from 50.0% to 90.0% for 3 seconds.
c)
Gradually decrease the frequency from 1000pps to 400pps for 3 seconds.
d)
Gradually decrease the duty cycle from 90.0% to 60.0% for 2 seconds.
Example 1: PWM Basic Operation