Pwm Output Function - Toshiba V200 Series User Manual

V200 series programmable logic controllers
Table of Contents

Advertisement

5.8 PWM Output Function

This function is used to output a variable duty cycle pulse train. The controllable duty cycle is 0 to 100 % (1 % units).
The PWM output is enabled when the pulse enable flag is ON. While the pulse enable flag is ON, the duty cycle (ON
duty) can be changed by changing the duty setting value (0 to 100). The frequency setting is available in the range of
50 to 5000 Hz (1 Hz units) before turning ON the pulse enable flag. The frequency changing is not allowed while the
pulse enable is ON. Note that the minimum ON/OFF pulse duration is 100 microsec. Therefore, the controllable ON
duty range is limited depending on the frequency setting as follows. If the ON duty setting value is not available
(within 0 to 100), the pulse width error flag comes ON. (PWM output operation is continued but the duty cycle is not
guaranteed)
The function selection is done through configuration register2
Function
PWM pulse
Pulse enable flag
Frequency setting register
ON duty setting register
Pulse width error flag
ON duty setting error flag
Frequency setting error flag M191
The Buffer is updated at each scan, so that the PWM frequency and duty cycle will be changed after each scan.
Register/device
Y0
M336
MW22 – MW23
MW24 –MW25
M189
M190
Page 95
Remarks
Output is enabled when ON
Data range: 50 to 5000
Data range: 0 to 100
ON at error (reset OFF automatically)
ON at error (reset OFF automatically)
ON at error (reset OFF automatically)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents