![background image](http://html1.mh-extra.com/html/omron/cj2h-cpu6-series/cj2h-cpu6-series_replacement-manual_742076026.webp)
17
7.
Appendix
Appendix A. Instructions converted by Change Model on CX-Programmer
(1) The data type of operand is changed from BCD to binary for some instructions.
(2) The number of operands is changed for some instructions.
(3) Interrupt control instructions must be changed. (Use MSKS, MSKR, CLI, DI, and EI).
Refer to the list below for details. The table lists the instructions which differ between before and after conversion. The other
instructions remain unchanged after conversion.
Instruction for
C200HX/HG/HE
Instruction for CJ2
Operand
Number of operands
JMP(04)
JMP(004) or
JMP0(515)
When #0 is set to the operand, JMP is converted to
JMP0 and the operand is deleted.
If a value other than #0 is set, the operand is the same.
#0: Changed from 1 to 0
<> #0: Same
JME(05)
JME(005) or
JME0(516)
When #0 is set to the operand, JME is converted to
JME0 and the operand is deleted.
If a value other than #0 is set, the operand is the same.
#0: Changed from 1 to 0
<> #0: Same
FAL(06)
FAL(006)
#0 is added to the second operand.
FAL N
→
FAL N #0
Changed from 1 to 2.
FALS(07)
FALS(007)
#0 is added to the second operand.
FALS N
→
FALS N #0
Changed from 1 to 2.
STEP(08)
STEP(008)
The Work Area (WR) or Index Register (indirect) can be
used to specify the operand.
Change the operand.
Same
SNXT(09)
SNXT(009)
The Work Area (WR) or Index Register (indirect) can be
used to specify the operand.
Change the operand.
Same
SCAN(18)
Not supported
Set a minimum cycle time in the PLC Setup.
ADD(30)
+BC(406)
Same as C200HX/HG/HE
Same
SUB(31)
-BC(416)
Same as C200HX/HG/HE
Same
MUL(32)
*B(424)
Same as C200HX/HG/HE
Same
DIV(33)
/B(434)
Same as C200HX/HG/HE
Same
INC(38)
++B(452)
Same as C200HX/HG/HE
Same
DEC(39)
--B(454)
Same as C200HX/HG/HE
Same
MSG(46)
MSG(046)
#0 is added to the first operand.
MSG FM
→
MSG #0 M
The number of characters (words) to be registered from
the first message word is changed from 16 characters (8
words) to 32 characters (16 words).
Changed from 1 to 2.
LMSG(47)
Not supported
Use MSG (046) instead.
TERM(48)
Not supported
To execute the keyboard mapping function, use the function on the touch panel.
ADB(50)
+C(402)
Same as C200HX/HG/HE
Same
SBB(51)
-C(412)
Same as C200HX/HG/HE
Same
MLB(52)
*U(422)
Same as C200HX/HG/HE
Same
DVB(53)
/U(432)
Same as C200HX/HG/HE
Same
ADDL(54)
+BCL(407)
Same as C200HX/HG/HE
Same
SUBL(55)
-BCL(417)
Same as C200HX/HG/HE
Same
MULL(56)
*BL(425)
Same as C200HX/HG/HE
Same
DIVL(57)
/BL(435)
Same as C200HX/HG/HE
Same
MPRF(61)
Not supported
Use IORF (097) instead.
LINE(63)
LINE(063)
The data type of the second operand is changed from
BCD to binary.
When a constant is specified, "#" is automatically
converted to "&".
When a word address is specified, change the data type
of the word from BCD to binary.
Same
COLM(64)
COLM(064)
The data type of the third operand is changed from BCD
to binary.
When a constant is specified, "#" is automatically
converted to "&".
When a word address is specified, change the data type
of the word from BCD to binary.
Same
Summary of Contents for CJ2H-CPU6 Series
Page 7: ...MEMO...
Page 38: ...P075 E1 04 2011 0119 0511...