19 BUILT-IN I/O FUNCTION
19.7 PWM Function
197
19
Number of output pulses
The number of output pulses of PWM output is stored.
When "0" is set, output is continued without any limitation.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
■Update timing
The timing to reflect the device in operation is as follows.
• When the HCMOV instruction is executed (values updated immediately)
• When the PWM instruction is executed
• END processing
■Clear timing
The timing when the device is cleared is as follows.
•STOP/PAUSERUN
• If the number of output pulses written is equal to or smaller than the number of pulses that have already
been output, pulse output is stopped after the pulses being currently output are completed.
• If the number of output pulses written is greater than the number of pulses that have already been output,
pulse output is stopped after the specified number of pulses are output.
• If the number of output pulses is set to "0" (output without any limitation), the value cannot be changed while
pulses are being output.
• The number of output pulses cannot be changed to "0" (output without any limitation) while pulses are being
output.
Pulse width
The pulse width of PWM output is stored.
■Corresponding devices
The device numbers corresponding to each channel are as follows.
■Update timing
The timing to reflect the device in operation is as follows.
• When the HCMOV instruction is executed (values updated immediately)
• When the PWM instruction is executed
• END processing
■Clear timing
The timing when the device is cleared is as follows.
•STOP/PAUSERUN
• The pulse width and cycle can be changed even while pulses are being output.
• The pulse width and cycle are stored in the unit specified by the parameter (ms or s).
CH1 CH2 CH3 CH4
SD5301, SD5300 SD5317, SD5316 SD5333, SD5332 SD5349, SD5348
CH1 CH2 CH3 CH4
SD5303, SD5302 SD5319, SD5318 SD5335, SD5334 SD5351, SD5350