Toshiba 6F3B0250 Video Gaming Accessories User Manual


 
286
T1/T1S 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
60
70
302010
70%
60%
70%
30%
20%
10%
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net