Omron SYSMAC CS Series Instruction & Reference Manual page 696

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
CTBL
Instruction
Mnemonic
REGISTER
CTBL
COMPARISON TABLE
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
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 (CJ2M only)
0003 hex
High-speed counter 3 (CJ2M only)
C: Control data
C
0000 hex
Registers a target value comparison table and starts comparison.
0001 hex
Registers a range comparison table with 8 ranges and starts comparison.
0002 hex
Registers a target value comparison table. Comparison is started with INI(880).
0003 hex
Registers a range comparison table with 8 ranges, but does not perform comparison.
0004 hex
Registers a range comparison table with 1 to 32 ranges, and starts comparison (CJ2M only).
0005 hex
Registers a range comparison table with 1 to 32 ranges, but does not perform comparison (CJ2M only).
662
Function
Variations
code
@CTBL
882
Block program areas
Step program areas
OK
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
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Data type
Size
---
1
---
1
LWORD
Variable

Advertisement

Table of Contents
loading

Table of Contents