200
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
Содержание CP1H-CPU - 05-2006
Страница 1: ...OPERATION MANUAL CP1H CPU Unit SYSMAC CP Series CP1H X40D CP1H XA40D CP1H Y20DT D Cat No W450 E1 02...
Страница 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...
Страница 3: ...iv...
Страница 11: ...xii TABLE OF CONTENTS...
Страница 15: ...xvi...
Страница 19: ...xx...
Страница 31: ...xxxii Conformance to EC Directives 6...
Страница 71: ...40 Function Blocks Section 1 5...
Страница 133: ...102 Computing the Cycle Time Section 2 7...
Страница 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...
Страница 411: ...380 Clock Section 6 8...
Страница 519: ...488 Replacing User serviceable Parts Section 10 2...
Страница 527: ...496 Standard Models Appendix A...
Страница 535: ...504 Dimensions Diagrams Appendix B...
Страница 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 629: ...598 Connections to Serial Communications Option Boards Appendix F...
Страница 659: ...628 PLC Setup Appendix G...
Страница 665: ...634 Index work words 159 write protection 370...
Страница 667: ...636 Revision History...