Appendix; Appendix A: Instruction Conversion By The Change Model Function Of Cx-Programmer - Omron CV/CVM1 Replacement Manual

From cv/cvm1 to cs1
Table of Contents

Advertisement

6.

Appendix

Appendix A: Instruction conversion by the Change Model function of CX-Programmer

(1) The data type of operand is changed from BCD to BIN data 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 table below for detail. The table contains only the instructions whose states will differ by conversions.
The other instructions are converted in the same state. Due to difference in CPU Unit versions or CX-Programmer
versions, however, a part of these instructions can not be converted or cause different operations. Be sure to read
the following related manuals and to perform operation tests to confirm that there is no problem.
SYSMAC CS/CS/NSJ Series INSTRUCTIONS REFERENCE MANUAL (Cat. No. W474)
CS/CS/NJS PROGRAMMING MANUAL (Cat. No. W394)
CX-Programmer Ver9.[] OPERATION MANUAL SFC Programming (Cat. No. W469)
CV/CVM1 instruction
CS-series Instruction
JMP(4)
JMP(4) or
JMP0(515)
JME(5)
JME(5) or
JME0(516)
STEP(8)
STEP(8)
SNXT(9)
SNXT(9)
EQU(25)
=(300)
MOVQ(37)
MOV(21)
XFER(40)
XFERC(565)
MOVB(42)
MOVBC(568)
DIST(44)
DISTC(566)
COLL(45)
COLLC(567)
BXFR(46)
None
SETA(47)
SETA(530)
RSTA(48)
RSTA(531)
NSFL(54)
NSFL(578)
NSFR(55)
NSFR(579)
NASL(56)
NASL(580)
NASR(57)
NASR(581)
NSLL(58)
NSLL(582)
NSRL(59)
NSRL(583)
ADD(70)
+BC(406)
SUB(71)
-BC(416)
MUL(72)
*B(424)
DIV(73)
/B(434)
ADDL(74)
+BCL(407)
SUBL(75)
-BCL(417)
MULL(76)
*BL(425)
DIVL(77)
/BL(435)
ADB(80)
+C(402)
SBB(81)
-C(412)
MLB(82)
*U(422)
DVB(83)
/U(432)
ADBL(84)
+CL(403)
SBBL(85)
-CL(413)
MLSL(86)
*UL(423)
DVBL(87)
/UL(433)
INC(90)
++B(452)
DEC(91)
--B(454)
INCB(92)
++(448)
DECB(93)
--(450)
INCL(94)
++BL(453)
DECL(95)
--BL(455)
INBL(96)
++L(449)
DCBL(97)
--L(451)
BCNT(114)
BCNTC(621)
12
If the operand data is #0, this instruction is converted to JMP0, and the operand data is deleted. In
other cases, the operation remains the same.
If the operand data is #0, this instruction is converted to JME0, and the operand data is deleted. In
other cases, the operation remains the same.
The operand data must be set by Work Area (WR) or Index Resistors (indirect).
Change the operand.
The operand data must be set by Work Area (WR) or Index Resistors (indirect).
Change the operand.
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
This instruction is not supported. Consider programming with the XFER instruction.
The data types of the 2nd and 3rd operands are changed from BCD to BIN. For a constant, the #
mark is converted to & mark. To use word data, change the data type of word from BCD to BIN.
The data types of the 2nd and 3rd operands are changed from BCD to BIN. For a constant, the #
mark is converted to & mark. To use word data, change the data type of word from BCD to BIN.
The data types of the 2nd and 3rd operands are changed from BCD to BIN. For a constant, the #
mark is converted to & mark. To use word data, change the data type of word from BCD to BIN.
The data types of the 2nd and 3rd operands are changed from BCD to BIN. For a constant, the #
mark is converted to & mark. To use word data, change the data type of word from BCD to BIN.
The data type of the 2nd operand is changed from BCD to BIN. For a constant, the # mark is
converted to & mark. To use word data, change the data type of word from BCD to BIN.
The data type of the 2nd operand is changed from BCD to BIN. For a constant, the # mark is
converted to & mark. To use word data, change the data type of word from BCD to BIN.
The data type of the 2nd operand is changed from BCD to BIN. For a constant, the # mark is
converted to & mark. To use word data, change the data type of word from BCD to BIN.
The data type of the 2nd operand is changed from BCD to BIN. For a constant, the # mark is
converted to & mark. To use word data, change the data type of word from BCD to BIN.
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Operand
Number of Operands
Changes from 1 to 0, or
remains the same.
Changes from 1 to 0, or
remains the same.
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1
Same as CV/CVM1

Advertisement

Table of Contents
loading

Table of Contents