971
Other Instructions Section 3-29
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-29-7 CONVERT ADDRESS TO CV: TOCV(285)
Purpose Converts a CS/CJ/CP-series PLC memory address to its corresponding CV-
series PLC memory address. TOCV(285) can be useful when converting CP-
series programs that use PLC memory addresses so that they are compatible
with CV-series PLCs.
Ladder Symbol
Variations
Applicable Program Areas
0200Hex
0.00
CIO 512
CIO 512
MOV
#0200
IR0
S
D
0.00
FRMCV
#0200
IR0
S
D
0200Hex
#0200
IR0
#000C200IR
• CV-series program
(Program using PLC memory
addresses stored directly in IR)
• CP-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 512. The CP-series PLC memory
address for CIO 512 is 0000C200 hex, so this value is
stored in IR0.
CVM1/CV-series PLC
memory address:
0200 hex
CV-series word
address
CP-series word
address
CP-series PLC memory
address: 00C200 hex
TOCV(285)
S
D
S: Index Register containing the
CP-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.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK