Ctbl - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

CTBL

Instruction
Mnemonic
REGISTER
CTBL
COMPARISON TABLE
Symbol
Applicable Program Areas
Area
Usage
Operands
Operand
P
Port specifier
C
Control data
TB
First comparison table word
P: Port specifier
P
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 (Cannot be used in CP1E-E10D - )
C: Control data
C
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. Comparison is started with INI(880).
CP1E CPU Unit Instructions Reference Manual(W483)
Function
Variations
code
@CTBL
882
Step program areas
OK
Description
CTBL(882) is used to register a comparison table and perform
comparisons for a high-speed counter PV.
CTBL
CTBL(882)
P: Port specifier
P
C: Control data
C
TB
TB: First comparison table word
Subroutines
OK
Port
CTBL(882) function
2 Instructions
Function
Interrupt tasks
OK
Data type
Size
---
1
---
1
LWORD
Variable
2-315
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents