361
Interrupt Functions
Section 6-1
3.
Create the program for interrupt task 12. Always put an END(001) instruc-
tion at the program’s last address.
4.
Use CTBL(882) to start the comparison operation with high-speed counter
1 and interrupt task 12.
5.
Operation
When execution condition W0.00 goes ON, the comparison starts with
high-speed counter 1.
When the PV of high speed counter 1 is between 25,000 and 25,500, cyclic
task processing is interrupted, and interrupt task 12 is processed. When
interrupt task 12 processing is completed, processing of the interrupted cy-
clic task resumes.
D20004
#000C
Range 1 interrupt task number = 12 (C hex)
D20005 to
D20008
All
#0000
Range 2 lower and upper limit values
(Not used and don’t need to be set.)
Range 2 settings
D20009
#FFFF
Disables range 2.
~
D20014
D20019
D20024
D20029
D20034
#FFFF
Set the fifth word for ranges 3 to 7 (listed at left) to #FFFF to
disable those ranges.
~
D20035 to
D20038
All
#0000
Range 8 lower and upper limit values
(Not used and don’t need to be set.)
Range 8 settings
D20039
#FFFF
Disables range 8.
Word
Setting
Function
W0.00
@CTBL(882)
#0001
#0001
D20000
Use high-speed counter 1.
First comparison table word
Register a range comparison table and start
comparison operation.
CIO 0.01
W0.00
Counting enabled
Cyclic task
processing
Interrupt task
10 processing
Processing
interrupted
Cyclic task
processing
Interrupt task
10 processing
Processing
interrupted
Cyclic task
processing
Upper limit: 25,500 (639C hex)
High-speed counter 1 PV
(in A272 and A273)
Lower limit: 25,000 (61A8 hex)
Summary of Contents for CP1L CPU UNIT - 03-2009
Page 1: ...Cat No W462 E1 06 CP1L CPU Unit SYSMAC CP Series CP1L L_0D_ CP1L M_0D_ OPERATION MANUAL...
Page 2: ......
Page 4: ...iv...
Page 10: ...x...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 70: ...36 Function Blocks Section 1 5...
Page 584: ...550 Trouble Shooting Section 8 7...
Page 627: ...593 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 630: ...596 Sample Application Section 9 12...
Page 654: ...620 Troubleshooting Unit Errors Section 11 4...
Page 662: ...628 Replacing User serviceable Parts Section 12 2...
Page 668: ...634 Standard Models Appendix A...
Page 698: ...664 Auxiliary Area Allocations by Function Appendix C...
Page 746: ...712 Auxiliary Area Allocations by Address Appendix D...
Page 773: ...739 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 774: ...740 Connections to Serial Communications Option Boards Appendix F...
Page 806: ...772 Index...
Page 808: ...774 Revision History...