EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 - Convert Address to CV: Tocv(285)

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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
Loading...
1179
Other Instructions Section 3-31
Example 2: Converting a CV-series Program with PLC Memory
Addresses Stored directly in Index Registers
In this FRMCV(284) example, the CV-series PLC memory address is speci-
fied directly in S.
3-31-8 CONVERT ADDRESS TO CV: TOCV(285)
Purpose Converts a CS/CJ-series PLC memory address to its corresponding CV-
series PLC memory address. TOCV(285) can be useful when converting CS/
CJ-series programs that use PLC memory addresses so that they are com-
patible with CV-series PLCs.
This instruction is supported by CS1-H, CJ1-H, CJ1M, and CS1D CPU Units
only.
Ladder Symbol
Variations
0200Hex
000000
CIO 0512
CIO 0512
MOV
#0200
IR0
S
D
000000
FRMCV
#0200
IR0
S
D
0200Hex
#0200
IR0
#000C200IR
CV-series program
(Program using PLC memory
addresses stored directly in IR)
CS/CJ-series program
Equivalent program
In this case, the PLC memory address
0200 hex is stored in Index Register IR0.
In this case, the CV-series PLC memory address 0200
hex corresponds to CIO 0512. The CS/CJ-series PLC
memory address for CIO 0512 is 0000C200 hex, so this
value is stored in IR0.
CV-series PLC
memory address: 0200
hex
CV-series word
address
CS/CJ-series
word address
CS/CJ-series PLC
memory address:
00C200 hex
TOCV(285)
S
D
S: Index Register containing the
CS/CJ-series PLC memory
address
D: Destination word
Variations Executed Each Cycle for ON Condition TOCV(285)
Executed Once for Upward Differentiation @TOCV(285)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.

Table of Contents

Related product manuals