EasyManuals Logo

Omron CX-PROGRAMMER V9 User Manual

Omron CX-PROGRAMMER V9
536 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #201 background imageLoading...
Page #201 background image
PART 1: CX-Programmer
CHAPTER 6 – Converting a C500/C120/C**P Program to CS/CJ/CP/CVM1 Format OMRON
CX-Programmer _Page 118
Before conversion
After conversion
C500
/C120
C**P Example
CS/CJ
Series
Example CV Series Example Remarks
DIFD DIFD 0000 DIFD 000000 DIFD 000000 ---
TIMH TIMH 002 #0150 TIMH 2 #0150 TIMH 0002 #0150 ---
WSFT WSFT 01 02 WSFT #0000 0001 0002 WSFT #0000 0001 0002 - This instruction has only
two operands for the
C500/C120/C**P. After
conversion, a fixed value of
#0000 is added as the first
operand.
- After conversion, the first
operand of the old
instruction is moved to the
second operand.
- After conversion, the
second operand of the old
instruction is moved to the
third operand.
CMP CMP 00 #0012 CMP 0001 #0012 CMP 0001 #0012 ---
MOV MOV #0100 05 MOV #0100 0005 MOV #0100 0005 ---
MVN MVN #0100 05 MVN #0100 0005 MOV #0100 0005 ---
BIN BIN 10 20 BIN 0010 0020 BIN 0010 0020 ---
BCD BCD 10 20 BCD 0010 0020 BCD 0010 0020 ---
ASL ASL 01 ASL 0001 ASL 0001 ---
ASR ASR 01 ASR 0001 ASR 0001 ---
ROL ROL 01 ROL 0001 ROL 0001 ---
ROR ROR 01 ROR 0001 ROR 0001 ---
COM
COM 00
COM 0000
COM 0000 ---
ADD ADD 00 #1100 02 +BC +BC 0000 #1100 0002 +BC +BC 0000 #1100 0002 ADD is converted to its
corresponding instruction,
+BC.
SUB SUB 00 #1100 02 -BC -BC 0000 #1100 0002 -BC -BC 0000 #1100 0002 SUB is converted to its
corresponding instruction, -
BC.
MUL MUL 00 #1100 02 *B *B 0000 #1100 0002 *B *B 0000 #1100 0002 MUL is converted to its
corresponding instruction,
*B.
DIV DIV 00 #1100 02 /B /B 0000 #1100 0002 /B /B 0000 #1100 0002 DIV is converted to its
corresponding instruction,
/B.
ANDW ANDW 10 #1001 02 ANDW 0010 #1001 0002 ANDW 0010 #1001 0002 ---
ORW ORW 10 #1001 02 ORW 0010 #1001 0002 ORW 0010 #1001 0002 ---
XORW XORW 10 #1001 02 XORW 0010 #1001 0002 XORW 0010 #1001 0002 ---
XNRW XNRW 10 #1001 02
Same as before
conversion
XNRW 0010 #1001 0002 XNRW 0010 #1001 0002 ---
INC INC 00 ++B ++B 0000 INC 0 For CS/CJ-H PLCs, INC is
converted to its
corresponding instruction,
++B.
DEC
DEC 00 --B --B 0000 DEC 0 For CS/CJ-H PLCs, DEC is
converted to its
corresponding instruction, --
B.
STC STC STC STC ---
CLC CLC
Same as before
conversion
CLC
Same as
before
conversion
CLC ---
FUN70 FUN70 #0003 01 10 XFERC XFERC #0003 0001
0010
XFER XFER #0003 0001 0010 - For CS/CJ-H PLCs,
FUN70 is converted to its
corresponding instruction,
XFERC.
- For the CV Series, FUN70
is converted to its
corresponding instruction,
XFER.
FUN71 FUN71 #1000 00 10 BSET BSET #1000 0000 0010 BSET BSET #1000 0000 0010 FUN71 is converted to its
corresponding instruction,
BSET.
FUN72 FUN72 00 10 ROOT ROOT 0000 0010 ROOT ROOT 0000 0010 FUN72 is converted to its
corresponding instruction,
ROOT.
FUN73 FUN73 00 10 XCHG XCHG 0000 0010 XCHG XCHG 0000 0010 FUN73 is converted to its
corresponding instruction,
XCHG.
FUN74
FUN74 00 10 SLD SLD 0000 0010 SLD SLD 0000 0010 FUN74 is converted to its
corresponding instruction,
SLD.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-PROGRAMMER V9 and is the answer not in the manual?

Omron CX-PROGRAMMER V9 Specifications

General IconGeneral
BrandOmron
ModelCX-PROGRAMMER V9
CategorySoftware
LanguageEnglish

Related product manuals