Total Solution for Industrial Automation
21
PWM Output Module User’s manual
5.2
Practical Examples
The following are examples about how to utilize PWM output module. Example 1 is
about motor control using frequency ramp control function. Example 2 is about PID
temperature control using frequency ramp control function and duty cycle.
This is an example to control an escalator using stepping motor control. Basic
requirement of the system is as below.
<Requirements>
It should be able to identify the number of passengers on board by counting
who have been in-and-out through escalator sensor.
Run the stepping motor when the number of passenger becomes 1 from 0.
When the motor starts to run/activated, gradually increase the speed for 3
seconds then move to the maximum speed(4000pps) later.
When the number of passenger on escalator becomes 0, wait 10 seconds
then stop running.
When the number of passenger on escalator does not change for 1 minute,
then stop running.
To stop the stepping motor, gradually decrease the speed for 3 seconds, then
stop completely(0pps) later.
Entire scan program is as below.
Example 1: Softstart Using Ramp Control