Example 2
Analog input value: 300 (range 0...1000)
Periodic time T: 10 seconds
The digital output of the PWM function is 3 seconds high, 7 seconds low, 3 seconds high, 7 seconds low and
continues in that pattern as long as parameter "En" = high.
Calculation rule
Q = 1, for (Ax – Min) / (Max – Min) of time period PT
Q = 0, for PT – [(Ax – Min) / (Max – Min)] of time period PT.
Note: Ax in this calculation refers to the actual value Ax as calculated using the Gain and Offset. Min and Max
refer to the minimum and maximum values specified for the range
Special feature.
Generally, the output frequency could be up to 30Hz But the Q3,Q4 of EXM-12DC-D/DA-TN type (PNP
transistor output) CPU could be up to 333 Hz and the property dialog box of PWM function block setting as
follows: