6F3B0253
274 T1-16S User’s Manual
8. Special I/O Functions
Operation
Pulse enable
ON duty setting
ON duty
PWM output
Sample program
In this example, 1 (H0001) is set in SW26 and 100 is set in SW28. As a result, 100 Hz
PWM output function is selected.
When R005 is ON, the PWM output is started with the duty cycle designated by
D0200.
If an invalid ON duty is designated, the ON duty setting error flag (S26E) comes ON
and the pulse enable flag (S270) is turned OFF. Then the PWM output is stopped.
70
6070
302010
70%
60%
70%
30%
20%
10%