Register Comparison Table -- Ctbl - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Precautions
Flags
7-15-7 REGISTER COMPARISON TABLE - - CTBL(63)
CTBL(63)
P
C
TB
Limitations
Description
Changes in II and DI execution conditions, the Completion Flag, and the PV are
illustrated below starting from part way through CNTR(12) operation (i.e., when
reset, counting begins from zero). PV line height is meant to indicate changes in
the PV only.
Execution condition
on increment (II)
Execution condition
on decrement (DI)
Completion Flag
PV
Program execution will continue even if a non-BCD SV is used, but the SV will
not be correct.
ER:
Indirectly addressed DM word is non-existent. (Content of
not BCD, or the DM area boundary has been exceeded.)
Ladder Symbols
@CTBL(63)
P
C
TB
This instruction is not supported by SRM1(-V2) PCs.
The first and last comparison table words must be in the same data area. (The
length of the comparison table varies according to the settings.)
P must be 000 and C must be between 000 and 003.
When the execution condition is OFF, CTBL(63) is not executed. When the
execution condition is ON, CTBL(63) registers a comparison table for use with
the high-speed counter PV. Depending on the value of C, comparison with the
high-speed counter PV can begin immediately or it can be started separately
with INI(61).
The port specifier (P) specifies the high-speed counter that will be used in the
comparison. Always set P to 000.
The function of CTBL(63) is determined by the control data, C, as shown in the
following table. These functions are described after the table.
C
000
Registers a target value comparison table and starts comparison.
001
Registers a range comparison table and starts comparison.
002
Registers a target value comparison table. Start comparison with INI(61).
003
Registers a range comparison table. Start comparison with INI(61).
ON
OFF
ON
OFF
ON
OFF
SV
SV -- 1
SV -- 2
0000
Operand Data Areas
TB: First comparison table word
IR, SR, AR, DM, HR, LR
CTBL(63) function
Section
SV
SV -- 1
0001
0000

DM word is
P: Port specifier
000
C: Control data
000 to 003
7-15
SV -- 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents