Omron CP1L Operation Manual page 392

Sysmac cp series
Hide thumbs Also See for CP1L:
Table of Contents

Advertisement

Interrupt Functions
MODE CONTROL
Instruction: INI(880)
358
Number of target values
Target value 1 (rightmost digits)
Target value 1 (leftmost digits)
Task number for target value 1
Target value 48 (rightmost digits)
Target value 48 (leftmost digits)
Task number for target value 48
Interrupt task number
Direction
0: Incrementing
1: Decrementing
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).
Range 1 lower value (rightmost)
Range 1 lower value (leftmost
Range 1 upper value (rightmost)
Range 1 upper value (leftmost
Task number for range 1
Range 8 lower value (rightmost)
Range 8 lower value (leftmost
Range 8 upper value (rightmost)
Range 8 upper value (leftmost
Task number for range 8
Interrupt task number: 0000 to 00FF hex (0 to 255)
AAAA hex: Do not start interrupt task
FFFF hex: Disables that range's settings.
Note
Always set the upper limit greater than or equal to the lower limit in each
range.
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.
Execution condition
0001 to 0030 hex (1 to 48 target values)
0000 0000 to FFFF FFFF hex
0000 0000 to FFFF FFFF hex
Interrupt task number
00 to FF hex (0 to 255)
0000 0000 to FFFF FFFF hex (see note)
0000 0000 to FFFF FFFF hex (see note)
0000 0000 to FFFF FFFF hex (see note)
0000 0000 to FFFF FFFF hex (see note)
@ INI (880)
P: Port specifier
P
C
C: Control data
NV
NV: First word of new PV
Section 6-1

Advertisement

Table of Contents
loading

Table of Contents