Total Solution for Industrial Automation
22
CH 5. Operating the PWM Output Module
(1)
Initialize module parameter as below.
Enable CH2 PWM (Buffer memory Offset 0)
Initial frequency 0pps (Buffer memory Offset 1), frequency ramp control time
3 seconds(Buffer memory Offset 5).
Duty cycle 50.0% (Buffer memory Offset 11), No duty cycle ramp control
time(Buffer memory Offset 31).
(2)
M00 checks passengers who go into the escalator, and M01 checks passengers
who come out from the escalator. In case of passenger entering, increase the
number of passenger(D0). In case of passenger exiting, decrease the number of
passenger(D0) but only if the number is higher than 0.
(3)
Check whether the number of passenger is 0 or higher than 0.-
(4)
In case the number of passenger is higher than 0, configure frequency to
4000pps. (As frequency ramp control time is set to 3 seconds, frequency will
gradually increase from 0pps to 4000pps for 3 seconds.)
(5)
Check whether the passenger is on board and if there are none, configure the
frequency to 0 after 10seconds. (As frequency ramp control time is set to 3
seconds, frequency will gradually decrease from 4000pps to 0pps in 3 seconds.)
(6)
Check whether the number of passenger changes and if it does change, initialize
the timer. But if it does not change for 1 minute, then set the frequency to 0pps
and initialize the number of passenger.