PART 1: CX-Programmer
CHAPTER 6 – Converting a C500/C120/C**P Program to CS/CJ/CP/CVM1 Format
OMRON
CX-Programmer _Page 130
Before conversion
After conversion
C500
/C120
C**P
Example
CS/CJ
Series
Example
CV Series
Example
Remarks
FUN88
FUN88 #0030 15 40
IORD
IORD 40 15 &0030
READ
READ #0030 0015 0040
- 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
.
FUN90
FUN90 01 10 20
SEND
SEND 1 10 20
SEND
SEND 0001 0010 0020
- 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
FUN94 02
WDT
WDT &0020
WDT
WDT #0020
-
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
FUN97 10 14
IORF
IORF 10 14
IORF
IORF 0010 0014
-
FUN97
is converted to its
corresponding instruction,
IORF
.
FUN98
FUN98 01 10 20
RECV
RECV 1 10 20
RECV
RECV 0001 0010 0020
- 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
.
FUN98 FUN98
10
- 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.
Summary of Contents for CX-Programmer 9
Page 1: ...Cat No W446 E1 10 CX Programmer Ver 9 SYSMAC WS02 CXPC_ V9 OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC WS02 CXPC V9 CX Programmer Ver 9 Operation Manual Revised December 2009...
Page 4: ......
Page 6: ......
Page 19: ...CX Programmer_Page xvi Unit Versions and Lot Numbers...
Page 30: ......
Page 31: ...PART 1 CX Programmer...
Page 32: ......
Page 100: ......
Page 120: ......
Page 198: ...PART 1 CX Programmer CHAPTER 4 Reference OMRON CX Programmer _Page 118...
Page 224: ...PART 1 CX Programmer Keyboard Shortcuts CX Programmer OMRON CX Programmer _Page 144...
Page 240: ......
Page 241: ...PART 2 CX Server PLC Tools...
Page 242: ......
Page 250: ......
Page 256: ......
Page 268: ...PART 2 CX Server PLC Tools CHAPTER 2 PLC Memory Component OMRON CX Server PLC Tools_Page 18...
Page 286: ......
Page 338: ......
Page 382: ......
Page 414: ......
Page 430: ......
Page 436: ......
Page 437: ...PART 3 CX Server Runtime...
Page 438: ......
Page 482: ......
Page 488: ......
Page 504: ......
Page 530: ......
Page 540: ......
Page 541: ......
Page 542: ......