Omron CX-PROGRAMMER V9 Operation Manual page 203

Table of Contents

Advertisement

PART 1: CX-Programmer
CHAPTER 6 – Converting a C500/C120/C**P Program to CS/CJ/CP/CVM1 Format
Before conversion
C500
C**P
Example
/C120
FUN88
FUN88 #0030 15 40
FUN90
FUN90 01 10 20
FUN94
FUN94 02
FUN97
FUN97 10 14
FUN98
FUN98 01 10 20
FUN98
FUN98 10
CX-Programmer _Page 120
CS/CJ
Example
Series
IORD
IORD 40 15 &0030
SEND
SEND 1 10 20
WDT
WDT &0020
IORF
IORF 10 14
RECV
RECV 1 10 20
After conversion
CV Series
Example
READ
READ #0030 0015 0040
SEND
SEND 0001 0010 0020
WDT
WDT #0020
IORF
IORF 0010 0014
RECV
RECV 0001 0010 0020
OMRON
Remarks
- The following message will
appear for CS/CJ-H PLCs:
"CONVERT_WARNING:
The instruction specification
is different. Check the
instructions." Check the
specifications of CPU Unit
after conversion.
- For CJ/CS-H PLCs,
FUN88 is converted to its
corresponding instruction,
IORD.
- For CJ/CS-H PLCs, the
first and third operands are
interchanged.
- For CS/CJ-H PLCs, the
third operand is converted
from BCD data (#0030) to
unsigned decimal data
(&0030).
- For the CV Series, FUN88
is converted to its
corresponding instruction,
READ.
- The following message will
appear:
"CONVERT_WARNING:
The instruction specification
is different. Check the
instructions." Check the
specifications of CPU Unit
after conversion.
- FUN90 is converted to the
corresponding instruction,
SEND.
- FUN94 is converted to the
corresponding instruction,
WDT.
- In the instructions for
C500/C120/C**P, the unit of
the operands is 100 ms.
After conversion, the unit is
changed to 10 ms.
- For CS/CJ-H PLCs, the
operand is converted from
NUMBER data (02) to
unsigned decimal data
(#0020).
- For the CV Series, the
operand is converted from
NUMBER data (02) to BCD
data (#0020).
- FUN97 is converted to its
corresponding instruction,
IORF.
- The following message will
appear:
"CONVERT_WARNING:
The instruction specification
is different. Check the
instructions." Check the
specifications of CPU Unit
after conversion.
- FUN98 is converted to its
corresponding instruction,
RECV.
- The following message will
appear:
"CONVERT_ERROR: The
instruction is not supported
in the target PLC. Check
the instruction." Check the
specifications of CPU Unit
after conversion.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents