EasyManuals Logo

Omron SYSMAC CP2E-N D Series User Manual

Omron SYSMAC CP2E-N D 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 #501 background imageLoading...
Page #501 background image
A-41
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A-1 Instruction Functions
App
A-1-18 High-speed Counter/Pulse
Output Instructions
REGISTER
COMPARISON
TABLE
CTBL @ Registers a comparison table and performs comparisons for a PV
of high-speed counter 0 to 5. An interrupt task between 0 to 15 will
be executed when an execution condition is turned ON.
P: Port specifier
C: Control data
TB: First comparison table word
TB is the first word of the comparison table. The structure of the
comparison table depends on the type of comparison being per-
formed.
• For target value comparison, the length of the comparison table
is determined by the number of target values specified in TB.
The table can be between 4 and 19 words long, as shown
below.
Instruction Mnemonic Variations Symbol/Operand Function
P: Port specifier
C: Control data
TB: First comparison table word
CTBL(882)
P
C
TB
END
END
Rotary Encoder
Built-in input
Present value Present value matches set target value
Time
Interrupt task
Ladder diagram
Interrupt occurs
Cyclic tasks
(ladder programs)
I/O refresh
0000 hex High-speed counter 0
0001 hex High-speed counter 1
0002 hex High-speed counter 2
0003 hex High-speed counter 3
0004 hex High-speed counter 4
0005 hex High-speed counter 5
0000 hex
Registers a target value comparison table
and starts comparison.
0001 hex
Registers a range comparison table and
performs one comparison.
0002 hex
Registers a target value comparison table.
Comparison is started with INI(880).
0003 hex
Registers a range comparison table. Com-
parison is started with INI(880).
TB+1
TB+2
TB+3
TB
015
03478
000
0
11121415
TB+16
TB+17
TB+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 6 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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP2E-N D Series and is the answer not in the manual?

Omron SYSMAC CP2E-N D Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP2E-N D Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals