Total Solution for Industrial Automation
24
CH 5. Operating the PWM Output Module
(2)
Set proper Kp, Ki, Kd value and set sampling cycle to 1 second.
(3)
Enable PWM output of CH2 to write value 2 to buffer memory Offset 0 by using
TOP instruction.
(4)
Set frequency and frequency ramp control time. Set 1(1pps) to buffer memory
Offset 1 and 0(frequency ramp control time) to buffer memory Offset 5 by using
TOP instruction.
(5)
Configure the MV value from a range of 0 to 16000 to a range of 0 to 1000. Set
range value of before to D210 and D211 by using MOV instruction. (0~16000)
(6)
Set the configured value to D212 and D213 by using MOV instruction. (0~1000)