Omron CP1H CPU Operation Manual page 238

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Interrupt Functions
Contents of the
Comparison Table
Note
MODE CONTROL
Instruction: INI(880)
204
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.
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.
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
@ INI (880)
NV
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)
P: Port specifier
P
C
C: Control data
NV: First word of new PV
Section 5-1

Advertisement

Table of Contents
loading

Table of Contents