337
Interrupt Functions
Section 6-1
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.
New PV Setting in NV and NV+1
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.
Operand
Settings
P
Port specifier
#0000, #0001
Pulse outputs 0 or 1
#0010
High-speed counter 0
#0011
High-speed counter 1
#0100 to #0105 Input interrupts 0 to 5 (in counter mode)
#1000 or #1001 PWM(891) output 0 or 1
C
Control data
#0000
Start comparison.
#0001
Stop comparison.
#0002
Change the PV.
#0003
Stop pulse output.
NV
First word of
new PV
NV and NV+1 contain the new PV when C is set to #0002
(change the PV).
@INI (880)
P
C
NV
Execution condition
P: Port specifier
NV: First word of new PV
C: Control data
New PV (rightmost 4 digits)
New PV (leftmost 4 digits)
Setting range for pulse outputs and high-speed counter inputs:
0000 0000 to FFFF FFFF hex
Setting range for input interrupts (counter mode):
0000 0000 to 0000 FFFF hex
Summary of Contents for CP1L-L14D Series
Page 2: ...CP1L L14D CP1L L20D CP1L M30D CP1L M40D CP1L CPU Unit Operation Manual Revised June 2007...
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 153: ...120 CP CPM1A series Expansion I O Unit Wiring Section 3 6...
Page 523: ...490 Troubleshooting Unit Errors Section 9 4...
Page 531: ...498 Replacing User serviceable Parts Section 10 2...
Page 563: ...530 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...578 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...605 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...606 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...636 Index...
Page 671: ...638 Revision History...