Model Conversion Instructions - Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Model Conversion Instructions

3-33 Model Conversion Instructions
Note
Differences from C-series
Instructions
Name
Model conversion
instruction
Mnemonic
(function code)
BLOCK
XFERC(565)
TRANSFER
SINGLE WORD
DISTC(566)
DISTRIBUTE
DATA COLLECT COLLC(567)
MOVE BIT
MOVBC(568)
BIT COUNTER
BCNTC(621)
This section describes instructions used when changing PLC models.
Instruction
BLOCK TRANSFER
SINGLE WORD DISTRIBUTE
DATA COLLECT
MOVE BIT
BIT COUNTER
The model conversion instructions provide the same functionality as other
instructions but use BCD data for the operands, like C-series instructions.
(The CP-series use binary data for the operands.) There are five model con-
version instructions, as shown in the above table, all of which have a C added
to the end of the mnemonic of the equivalent function for binary operand data.
The model conversion instructions enable converting C-series programs to
CP-series programs without changing the operand data for these instructions.
When converting C-series programs to CP-series programs on CX-Program-
mer (see note), these instructions will be automatically used when converting
(e.g., XFER will be converted to XFERC), eliminating the need to correct
operand data manually.
Conversion is achieved by specifying the CP Series as the "device type" in the
Change PLC Dialog Box.
"C Series" includes the C200H, C1000H, C2000H, C200HS, C2000HX/HG/
HE(-Z), CQM1, CQM1H, CPM1/CPM1A, CPM2C, and SRM1.
Corresponding
C-series
instruction
Mnemonic
(function code)
C1000H, or
XFER(70)
Same
DIST(80)
Along with data
distribution oper-
ation, provides
stack push oper-
ation not previ-
ously supported.
COLL(81)
Along with data
collection opera-
tion, provides
stack read oper-
ation not previ-
ously supported.
MOVB(82)
Same
BCNT(67)
Same
Mnemonic
XFERC
DISTC
COLLC
MOVBC
BCNTC
Differences from
C-series instructions
C200H,
C200HS,
C2000HX/HG/
C2000H
HE(-Z), CQM1,
CQM1H,
CPM1/CPM1A,
CPM2C, or
SRM1
Same
Same
(distribution
operation and
stack push
operation)
Same
(data collection
operation and
stack read
operation)
Same
Same
Section 3-33
Function code
Page
565
1049
566
1051
567
1054
568
1059
621
1061
When converting
device type to CP with
CX-Programmer
XFER is converted to
XFERC. Operands do not
require correction.
DIST is converted to
DICTC. Operands do not
require correction.
COLL is converted to
COLLC. Operands do not
require correction.
MOVB is converted to
MOVBC. Operands do
not require correction.
BCNT is converted to
BCNTC. Operands do not
require correction.
1047

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents