204
Interrupt Functions
Section 5-1
Contents of the
Comparison Table
Target-value Comparison Table
Depending on the number of target values in the table, the target-value com-
parison table requires a continuous block of 4 to 145 words.
Range Comparison Table
The range comparison table requires a continuous block of 40 words because
comparison conditions 1 to 8 require 5 words each (2 words for the upper
range value, 2 words for the lower range value, and one word for the interrupt
task number).
Note
Always set the upper limit greater than or equal to the lower limit in each
range.
MODE CONTROL
Instruction: INI(880)
INI(880) can be used to start/stop comparison with the high-speed counter’s
comparison table, change the high-speed counter’s PV, change the PV of
interrupt inputs in counter mode, and control the pulse output functions.
Number of target values
Target value 1 (rightmost digits)
Target value 1 (leftmost digits)
Task number for target value 1
0001 to 0030 hex (1 to 48 target values)
0000 0000 to FFFF FFFF hex
Target value 48 (rightmost digits)
Target value 48 (leftmost digits)
Task number for target value 48
0000 0000 to FFFF FFFF hex
Interrupt task number
Direction
0: Incrementing
1: Decrementing
Interrupt task number
00 to FF hex (0 to 255)
Range 1 lower value (rightmost)
Range 1 lower value (leftmost
Task number for range 1
0000 0000 to FFFF FFFF hex (see note)
Range 1 upper value (rightmost)
Range 1 upper value (leftmost
0000 0000 to FFFF FFFF hex (see note)
Range 8 lower value (rightmost)
Range 8 lower value (leftmost
Task number for range 8
0000 0000 to FFFF FFFF hex (see note)
Range 8 upper value (rightmost)
Range 8 upper value (leftmost
0000 0000 to FFFF FFFF hex (see note)
Interrupt task number: 0000 to 00FF hex (0 to 255)
AAAA hex: Do not start interrupt task
FFFF hex: Disables that range’s settings.
@INI (880)
P
C
NV
Execution condition
P: Port specifier
NV: First word of new PV
C: Control data
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...