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
Operand
Number of Operands
JMP(4) JMP(4)
or
JMP0(515)
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.
Changes from 1 to 0, or
remains the same.
JME(5) JME(5)
or
JME0(516)
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.
Changes from 1 to 0, or
remains the same.
STEP(8)
STEP(8)
The operand data must be set by Work Area (WR) or Index Resistors (indirect).
Change the operand.
Same as CV/CVM1
SNXT(9)
SNXT(9)
The operand data must be set by Work Area (WR) or Index Resistors (indirect).
Change the operand.
Same as CV/CVM1
EQU(25)
=(300)
Same as CV/CVM1
Same as CV/CVM1
MOVQ(37)
MOV(21)
Same as CV/CVM1
Same as CV/CVM1
XFER(40)
XFERC(565)
Same as CV/CVM1
Same as CV/CVM1
MOVB(42)
MOVBC(568)
Same as CV/CVM1
Same as CV/CVM1
DIST(44)
DISTC(566)
Same as CV/CVM1
Same as CV/CVM1
COLL(45)
COLLC(567)
Same as CV/CVM1
Same as CV/CVM1
BXFR(46)
None
This instruction is not supported. Consider programming with the XFER instruction.
SETA(47)
SETA(530)
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.
Same as CV/CVM1
RSTA(48)
RSTA(531)
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.
Same as CV/CVM1
NSFL(54)
NSFL(578)
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.
Same as CV/CVM1
NSFR(55)
NSFR(579)
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.
Same as CV/CVM1
NASL(56)
NASL(580)
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
NASR(57)
NASR(581)
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
NSLL(58)
NSLL(582)
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
NSRL(59)
NSRL(583)
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
ADD(70)
+BC(406)
Same as CV/CVM1
Same as CV/CVM1
SUB(71)
-BC(416)
Same as CV/CVM1
Same as CV/CVM1
MUL(72)
*B(424)
Same as CV/CVM1
Same as CV/CVM1
DIV(73)
/B(434)
Same as CV/CVM1
Same as CV/CVM1
ADDL(74)
+BCL(407)
Same as CV/CVM1
Same as CV/CVM1
SUBL(75)
-BCL(417)
Same as CV/CVM1
Same as CV/CVM1
MULL(76)
*BL(425)
Same as CV/CVM1
Same as CV/CVM1
DIVL(77)
/BL(435)
Same as CV/CVM1
Same as CV/CVM1
ADB(80)
+C(402)
Same as CV/CVM1
Same as CV/CVM1
SBB(81)
-C(412)
Same as CV/CVM1
Same as CV/CVM1
MLB(82)
*U(422)
Same as CV/CVM1
Same as CV/CVM1
DVB(83)
/U(432)
Same as CV/CVM1
Same as CV/CVM1
ADBL(84)
+CL(403)
Same as CV/CVM1
Same as CV/CVM1
SBBL(85)
-CL(413)
Same as CV/CVM1
Same as CV/CVM1
MLSL(86)
*UL(423)
Same as CV/CVM1
Same as CV/CVM1
DVBL(87)
/UL(433)
Same as CV/CVM1
Same as CV/CVM1
INC(90)
++B(452)
Same as CV/CVM1
Same as CV/CVM1
DEC(91)
--B(454)
Same as CV/CVM1
Same as CV/CVM1
INCB(92)
++(448)
Same as CV/CVM1
Same as CV/CVM1
DECB(93)
--(450)
Same as CV/CVM1
Same as CV/CVM1
INCL(94)
++BL(453)
Same as CV/CVM1
Same as CV/CVM1
DECL(95)
--BL(455)
Same as CV/CVM1
Same as CV/CVM1
INBL(96)
++L(449)
Same as CV/CVM1
Same as CV/CVM1
DCBL(97)
--L(451)
Same as CV/CVM1
Same as CV/CVM1
BCNT(114)
BCNTC(621)
Same as CV/CVM1
Same as CV/CVM1
12
Summary of Contents for CV/CVM1
Page 1: ...Replacement Guide CV CVM1 From CV CVM1 to CS1 ...
Page 10: ...MEMO ...
Page 32: ...P076 E1 01 2011 0911 ...