287
Pulse Outputs
Section 7-2
7-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.
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.
Instructions Used
MSKS(690)
Enables the I/O interrupt. Starts the scheduled interrupt.
PULS(886)
Sets the number of output pulses.
SPED(885)
Starts the pulse output.
Preparation
■
PLC Setup
Built-in Input Settings
MSKS
PULS SPED
Pulse output 0
(CIO 100.00)
Interrupt input 0
(CIO 0.04)
I/O interrupt
response time
Scheduled interrupt
time 500
μ
s
PLC Setup setting details
Use built-in input 0.04 as the interrupt input.
Содержание CP1L-EL20DR-D
Страница 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Страница 4: ...iv...
Страница 10: ...x...
Страница 22: ...xxii...
Страница 34: ...xxxiv Software Licenses and Copyrights 7...
Страница 178: ...144 Connecting the CX Programmer Section 5 1 Click the Connect button to connect and then connection online is completed...
Страница 192: ...158 Trial Operation and Debugging Section 5 3...
Страница 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Страница 666: ...632 Trouble Shooting Section 11 7...
Страница 696: ...662 Standard Models Appendix A...
Страница 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Страница 836: ...802 PLC Setup Appendix G...
Страница 838: ...804 TCP Status Transitions Appendix H...
Страница 840: ...806 Ethernet Network Parameters Appendix I...
Страница 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Страница 844: ...810 Ethernet Specifications Appendix K...
Страница 851: ...Index 817 work words 118 write protection 447...
Страница 852: ...818 Index...
Страница 854: ...820 Revision History...
Страница 855: ......