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%
Summary of Contents for CJ1M-CPU21
Page 1: ...Cat No W395 E1 03 CJ series Built in I O CJ1M CPU21 22 23 CJ1M CPU Units...
Page 2: ...CJ series Built in I O CJ1M CPU21 22 23 CPU Units Operation Manual Revised August 2004...
Page 3: ...iv...
Page 19: ...xx...
Page 79: ...50 Wiring Examples Section 3 3...
Page 217: ...188 Origin Search and Origin Return Functions Section 6 3...
Page 220: ...191 Built in Outputs Section 7 1...
Page 247: ...218 Built in Outputs Section 7 1...
Page 251: ...222 Combinations of Pulse Control Instructions Appendix A...
Page 255: ...226 Using Pulse Instructions in other CPU Units Appendix B...
Page 263: ...234 Index...
Page 265: ...236 Revision History...