Omron CJ - INSTRUCTIONS Reference Manual page 1155

Table of Contents

Advertisement

Model conversion
instruction (Unit
Ver. 3.0 or later and
CJ2 CPU Units)
Name
Mnemonic
(function code)
DATA
COLLC(567)
COLLECT
MOVE BIT
MOVBC(568)
BIT
BCNTC(621)
COUNTER
Note The operation of the Conditions Flags differs in the following ways. Refer to the description of the Conditions Flags for
each instruction for details.
• The operation of the Conditions Flags differs for all instructions when the contents of a DM Area words used for indi-
rect addressing is not BCD (*BCD) or the DM Area addressing range is exceeded.
• For DISTC(566), the operation of the Conditions Flags differs in comparison with that for the C200H, C1000H, and
C2000H for the stack push operation.
• For COLLC(567), the operation of the Conditions Flags differs in comparison with that for the C200H, C1000H, and
C2000H for the stack read operation.
Differences from Previous CS/CJ-series Instructions
Model conversion
instruction (Unit Ver. 3.0 or
later and CJ2 CPU Units)
Name
Mnemonic
(function code)
BLOCK
XFERC(565)
TRANSFER
SINGLE
DISTC(566)
WORD
DISTRIBUTE
DATA
COLLC(567)
COLLECT
MOVE BIT
MOVBC(568)
BIT
BCNTC(621)
COUNTER
Note The operation of the Conditions Flags differs in the following ways. Refer to the description of the Conditions Flags for
each instruction for details.
• The Error Flag will turn ON if the data for the above operands is not BCD.
• For DISTC(566), the operation of the Conditions Flags was added for the stack push operation.
• For COLLC(567), the operation of the Conditions Flags was added for the stack read operation.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Correspond-
ing C-series
Differences from C-series instructions
instruction
Mnemonic
C200H, C1000H,
(function
or C2000H
code)
COLL(81)
Along with data
collection operation,
provides stack read
operation not
previously
supported.
MOVB(82)
Same
BCNT(67)
Same
Corresponding
C-series instruction
Mnemonic
(function code)
XFER(70)
The data type for the first operand (number of words to transfer) is BCD (0000 to
9999) instead of binary (0000 to FFFF hex).
DIST(80)
A stack push operation is supported in addition to the data distribution operation.
The data type for the third operand (offset data) is BCD (data distribution: 0000 to
7999, stack push: 0000 to 9999) instead of binary (0000 to FFFF hex).
COLL(81)
A stack read operation is supported in addition to the data distribution operation.
The data type for the second operand (offset data) is BCD (data distribution: 0000 to
7999, stack read for FIFO: 9000 to 9999, stack read for LIFO: 8000 to 8999) instead of
binary (0000 to FFFF hex).
MOVB(82)
The data type for the source and destination bit specifications in the second operand
(control data) is BCD (00 to 15) instead of binary (00 to 0F hex).
BCNT(67)
The data type for the first operand (number of words to count) is BCD (0000 to 9999)
instead of binary (0000 to FFFF hex).
The data type stored for the third operand (count results) is BCD (0000 to 9999)
instead of binary (0000 to FFFF hex).
When converting
device type to
CS/CJ with
C200HS, C2000HX/
CX-Programmer
HG/HE(-Z), CQM1,
Ver. 4.0 or lower
CQM1H,
CPM1/CPM1A,
CPM2C, or SRM1
Same (data
Converted to COLL. If a word
collection operation
address is specified for the
and stack read
second operand (offset data),
operation)
it will need to be corrected
manually to binary data in the
program.
Same
Converted to MOVB. If a word
address is specified for the
second operand (control
data), it will need to be
corrected manually to binary
data in the program.
Same
Converted to BCNT. If a word
address is specified for the
first operand (number of
words to count), it will need to
be corrected manually to
binary data in the program.
Differences from previous CS/CJ-series instructions
3. Instructions
When converting
device type to
CS/CJ with
CX-Programmer
Ver. 5.0 or higher
COLL is converted
to COLLC.
Operands do not
require correction.
MOVB is converted
to MOVBC.
Operands do not
require correction.
3
BCNT is converted
to BCNTC.
Operands do not
require correction.
1117

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents