
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 C200HS
Instruction for CS1
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
WSFT(16)
Same as C200HS
#0 is added to the first operand.
WSFT St E
→
WSFT #0 St E
Changed from 2 to 3
FUN17
ASFT(017)
Same as C200HS
Same
XFER(70)
XFERC(565)
Same as C200HS
Same
MOVB(82)
MOVBC(568)
Same as C200HS
Same
DIST(80)
DISTC(566)
Same as C200HS
Same
COLL(81)
COLLC(567)
Same as C200HS
Same
FUN60
CMPL(060)
Same as C200HS
Same
FUN19
MCMP(019)
Same as C200HS
Same
FUN63
LINE(063)
Changed from BCD data to binary data.
Same
FUN64
COLM(064)
Changed from BCD data to binary data.
Same
FUN65
SEC(065)
Same as C200HS
Same
FUN66
HMS(066)
Same as C200HS
Same
INC(38)
++B(594)
Same as C200HS
Same
DEC(39)
--B(596)
Same as C200HS
Same
ADD(30)
+B(404)
Same as C200HS
Same
ADDL(54)
+BL(405)
Same as C200HS
Same
SUB(31)
-B(414)
Same as C200HS
Same
SUBL(55)
-BL(415)
Same as C200HS
Same
MUL(32)
*B(424)
Same as C200HS
Same
MULL(56)
*BL(425)
Same as C200HS
Same
DIV(33)
/B(434)
Same as C200HS
Same
DIVL(57)
/BL(435)
Same as C200HS
Same
ADB(50)
+(400)
Same as C200HS
Same
SBB(51)
-(410)
Same as C200HS
Same
MLB(52)
*(420)
Same as C200HS
Same
DVB(53)
/(430)
Same as C200HS
Same
FUN69
APR(069)
Same as C200HS
Same
FUN89
Not supported
Combine and use the following instructions: MSKS(690), CLI(691), MSKR(692),
DI(693), EI(694)
STEP(08)
Same as C200HS
The CIO, Holding, Work, Auxiliary, Link Areas are all
converted into the Work Area.
Same
SNXT(09)
Same as C200HS
Use a differentiated
execution
condition for the
SNXT instruction.
Same as C200HS
Same
FAL(06)
Same as C200HS
#0 is added to the second operand.
FAL N
→
FAL N #0
Changed from 1 to 2.
FALS(07)
Same as C200HS
#0 is added to the second operand.
FALS N
→
FALS N #0
Changed from 1 to 2.
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.
FUN47
Not supported
Use MSG(046) instead.
―
FUN67
BCNTC(621)
Same as C200HS
Same
WDT(94)
WDT(094)
Control data configuration is changed.
Same
FUN61
IORF(097)
In CS1, Unit No. of C200H Group-2 High-density I/O Units is disabled. Specify
the allocation by using IORF in the same way as Basic I/O Units.
FUN18
Enter the settings in the PLC Setup.
FUN48
Not supported
―
―
FUN49
Enter the settings f in the PLC Setup.
FUN90
SEND(090)
Control data configuration is changed.
Same
FUN98
RECV(098)
Control data configuration is changed.
Same