8. Special I/O Functions
Operation
Pulse enable
ON duty setting | 10 | 20 | 30 | 70 |
|
|
|
|
|
60 70
ON duty |
|
|
|
|
|
|
|
|
|
|
|
| 70% |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30% |
|
|
|
|
PWM output |
|
|
|
|
| 20% |
|
|
|
|
|
|
| |
10% |
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sample program
60%
70%
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.
286 T1/T1S User’s Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net