227
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
Содержание CP1L - 12-2007
Страница 3: ...iv...
Страница 9: ...x...
Страница 13: ...xiv TABLE OF CONTENTS...
Страница 21: ...xxii...
Страница 33: ...xxxiv Conformance to EC Directives 6...
Страница 65: ...32 Function Blocks Section 1 5...
Страница 428: ...395 Clock Section 6 9...
Страница 429: ...396 Clock Section 6 9...
Страница 523: ...488 Troubleshooting Unit Errors Section 9 4...
Страница 531: ...496 Replacing User serviceable Parts Section 10 2...
Страница 563: ...528 Auxiliary Area Allocations by Function Appendix C...
Страница 611: ...576 Auxiliary Area Allocations by Address Appendix D...
Страница 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 639: ...604 Connections to Serial Communications Option Boards Appendix F...
Страница 669: ...634 Index...
Страница 671: ...636 Revision History...