229
Pulse Outputs
Section 5-2
5-2-9
Variable Duty Factor Pulse Outputs (PWM(891) Outputs)
Overview
PWM (Pulse Width Modulation) pulse outputs can be output with a specified
duty factor. The duty factor is the ratio of the pulse's ON time and OFF time in
one pulse cycle. Use the PWM(891) instruction to generate variable duty fac-
tor pulses from a built-in output.
The duty factor can be changed while pulses are being output.
Bit Allocations
Procedure
Specifications
Note
The frequency can be set up to 6553.5 Hz in the PWM(891) instruction, but
the duty factor accuracy declines significantly at high frequencies because of
limitations in the output circuit at high frequencies.
5-2-10 Example Pulse Output Applications
Outputting Pulses after a Preset Delay
This example program waits for a preset time (0.5 ms) after the interrupt input
(CIO 0.04) goes ON and then outputs 100,000 pulses at 100 kHz from pulse
output 0.
Word
Bit
Function
CIO 100
01
PWM output 0
03
PWM output 1
Item
Specifications
Duty factor
0.0% to 100.0% in 0.1% increments
(Duty factor accuracy is
+
1%/
−
0% at10 kHz,
+
5%/
−
0% at
10 to 32.8 kHz .)
Frequency
0.1 Hz to 6,553.5 Hz
Set in 0.1 Hz units. (See note.)
Output mode
Continuous mode
Instruction
PWM(891)
•
PWM output 0 or PWM output 1
•
Enable/disable the origin search function.
Execute PWM(891).
Determine the pulse output port.
Wire the outputs.
PLC Setup settings
Ladder program
Summary of Contents for CP1L-L14D Series
Page 2: ...CP1L L14D CP1L L20D CP1L M30D CP1L M40D CP1L CPU Unit Operation Manual Revised June 2007...
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 153: ...120 CP CPM1A series Expansion I O Unit Wiring Section 3 6...
Page 523: ...490 Troubleshooting Unit Errors Section 9 4...
Page 531: ...498 Replacing User serviceable Parts Section 10 2...
Page 563: ...530 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...578 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...605 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...606 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...636 Index...
Page 671: ...638 Revision History...