Conversion Table For C500/C120/C**P Instructions - Omron CX-PROGRAMMER V9 Operation Manual

Table of Contents

Advertisement

OMRON
C500/C120/C**P Compare
It is possible to compare UM and DM/HR area data saved in a file and data in a C500/C120/C**P PLC. Select
Tools – C500/C120/CxxP Support – Compare PLC and File.
C500/C120/C**P Operating Mode Change
It is possible to change the operating mode of the connected PLC to RUN, MONITOR, or PROGRAM mode.
Select Tools – C500/C120/CxxP Support – Operating Mode.

Conversion Table for C500/C120/C**P Instructions

When the PLC model is changed using the C500/C120/C**P utility, the programs are automatically converted.
The instructions (mnemonics) and operands are converted so that they function the same way as before
conversion. However, there are some exceptions.
Refer to the Instruction Conversion Table below for the conversion details and the constants used in the
operands. Refer to the Memory Area Conversion Table and Auxiliary Area Conversion Table for the memory
addresses used in the operands.
"CS/CJ Series" in the tables indicates the CJ2H, CS/CJ-H, CJ1M, CS1D, and CP1 PLCs. "CV Series" indicates
CVM1-V2 PLCs.
Before conversion
C500
C**P
Example
/C120
LD
LD 0001
LD NOT
LD NOT 0001
AND
AND 0001
AND NOT
AND NOT 0001
OR
OR 0001
OR NOT
OR NOT 0001
AND LD
AND LD
OR LD
OR LD
OUT
OUT 0100
OUT NOT
OUT NOT 0100
TIM
TIM 00 #100
CNT
CNT 10 #0003
NOP
NOP
END
END
IL
IL
ILC
ILC
JMP
JMP
JME
JME
FAL
(None)
FAL 01
FAL
FAL 00
00
FALS
FALS 01
SFT
SFT 00 01
KEEP
KEEP 0000
CNTR
CNTR 000 #1000
DIFU
DIFU 0000
CHAPTER 6 – Converting a C500/C120/C**P Program to CS/CJ/CP/CVM1 Format
CS/CJ
Example
Series
LD 000001
LD NOT 000001
AND 000001
AND NOT 000001
OR 000001
OR NOT 000001
AND LD
OR LD
Same as before
conversion
OUT 000100
OUT NOT 000100
TIM 0000 #0100
CNT 0010 #0003
NOP
END
IL
ILC
JMP0
JMP0
JME0
JME0
Same as before
FAL 01 #FFFF
conversion
FAL 0
FAL 0 #FFFF
Same as before
FALS 01 #FFFF
conversion
SFT 0000 0001
KEEP 000000
CNTR 0 #1000
DIFU 000000
After conversion
CV Series
Example
LD 000001
LD NOT 000001
AND 000001
AND NOT 000001
OR 000001
OR NOT 000001
AND LD
Same as
OR LD
before
OUT 000100
conversion
OUT NOT 000100
TIM 0000 #0100
CNT 0010 #0003
NOP
END
IL
ILC
JMP #0000
JME #0000
FAL 001 #FFFF
FAL 000
FAL 000 #FFFF
Same as
FALS 001 #FFFF
before
SFT 0000 0001
conversion
KEEP 000000
CNTR 0000 #1000
DIFU 000000
PART 1: CX-Programmer
Remarks
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
- The following message will
appear:
"CONVERT_WARNING:
The instruction specification
is different. Check the
instructions." Check the
specifications of CPU Unit
after conversion.
- These instructions do not
have operands for the
C500/C120/C**P.
- For the CS/CJ-H PLCs,
JMP and JME are
converted to their
corresponding instructions,
JMP0 and JME0,
respectively.
- For the CV Series, a fixed
value #0000 is added as an
operand.
These instructions have
only one operand for the
C500/C120/C**P. After
conversion, a fixed value of
#FFFF is added as the
second operand.
---
---
---
---
CX-Programmer _Page 117

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents