288
Pulse Outputs
Section 5-3
Procedure
Restrictions on the PWM(891) Outputs
• In the Y CPU Units, PWM outputs 0 and 1 cannot be used for pulse out-
puts 2 and 3 if the origin search function is enabled for pulse outputs 2
and 3.
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-3-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.00) goes ON and then outputs 100,000 pulses at 100 kHz from pulse
output 0.
Input interrupt task 0 (interrupt task number 140) starts a scheduled interrupt
with a scheduled time of 0.5 ms. The scheduled interrupt task executes the
pulse output instructions and stops the scheduled interrupt.
•
PWM output 0 or PWM output 1
•
Disable the origin search function for pulse
outputs 2 and 3.
Note:
Disable the origin search function because the PWM output
shares the output with the origin search function's Error
Counter Reset Output and both cannot be used
simultaneously.
Execute PWM(891).
Determine the pulse output port.
Wire the outputs.
PLC Setup settings
(Y models only)
Ladder program
Item
Specifications
Duty factor
0.0% to 100.0% in 0.1% increments
(Duty factor accuracy is ±5% at 1 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)
MSKS
PULS SPED
Pulse output 0
(CIO 100.00)
Interrupt input 0
(CIO 0.00)
I/O interrupt
response time
Scheduled interrupt
time 500
µ
s
Содержание CP1H CPU UNITS - PROGRAMMING 05-2007
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Страница 370: ...336 Analog I O XA CPU Units Section 5 5...
Страница 552: ...518 Trouble Shooting Section 8 7...
Страница 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 598: ...564 Sample Application Section 9 12...
Страница 642: ...608 Standard Models Appendix A...
Страница 643: ...609 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 652: ...618 Dimensions Diagrams Appendix B...
Страница 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Страница 776: ...742 PLC Setup Appendix G...
Страница 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Страница 786: ...752 Revision History...