EasyManuals Logo
Home>Omron>Computer Hardware>SYSMAC CP Series

Omron SYSMAC CP Series User Manual

Omron SYSMAC CP Series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #191 background imageLoading...
Page #191 background image
11-21
11 High-speed Counters
CP2E CPU Unit Software User’s Manual(W614)
11-3 High-speed Counter
Interrupts
11
11-3-3 High-speed Counter Interrupt Instruction
z Contents of the Comparison Table
• Target-value Comparison Table
Depending on the number of target values in the table, the target-value comparison table requires
a continuous block of 4 to 19 words.
• Range Comparison Table
The range comparison table requires a continuous block of 30 words for comparison conditions 1
to 6 require 5 words each (two words for the upper range value, two 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 for any one range.
The INI instruction is used for the following items.
• Starting and stopping comparison with the high-speed counter comparison table
Use the CTBL instruction to register the target value or range comparison table before using INI to
start or stop comparison.
If the comparison is started simultaneously when registering the comparison table and then the
high-speed counter interrupts are always valid, the INI instruction is not required.
MODE CONTROL Instruction: INI
S+1
S+2
S+3
S
015
03478
000 0
11121415
S+16
S+17
S+18
Upper word of target value 1
Interrupt task number for target value 1
00000000 to FFFFFFFF hex
00000000 to FFFFFFFF hex
Number of target values
0001 to 0006 hex (1 to 6 target values)
Interrupt Task Number
Interrupt task number
00 to 0F hex (0 to 15)
Direction
OFF: Incrementing,
ON: Decrementing
Upper word of target value 6
Interrupt task number for target value 6
Lower word of target value 1
Lower word of target value 6
S
S+1
S+2
S+3
0
15
S+25
S+26
S+27
S+28
S+29
Range 1 interrupt task number
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.)
Interrupt task number
0000 to 000F hex: Interrupt task number 0 to 15
AAAA hex: Do not execute interrupt task.
FFFF hex: Ignore the settings for this range.
Lower word of range 1 lower limit
Upper word of range 1 lower limit
Lower word of range 1 upper limit
Upper word of range 1 upper limit
Range 6 interrupt task number
Lower word of range 6 lower limit
Upper word of range 6 lower limit
Lower word of range 6 upper limit
Upper word of range 6 upper limit

Table of Contents

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals