122
PULSE WITH VARIABLE DUTY FACTOR: PWM(891) Section 5-10
Example When CIO 000000 turns ON in the following programming example,
PWM(891) starts pulse output from pulse output 0 at 200 Hz with a duty factor
of 50%. When CIO 000001 turns ON, the duty factor is changed to 25%.
@PWM
#0000
#07D0
#0032
000000
@PWM
#0000
#07D0
#0019
000001
CIO 000000 ON CIO 000001 ON
Pulse output 0
Frequency: 200.0 Hz
Duty factor: 50%
Pulse output 0
Frequency: 200.0 Hz
Duty factor: 25%
Duty factor: 50% Duty factor: 25%