Convert Address To Cv: Tocv(285) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Other Instructions
• CV-series program
(Program using PLC memory
addresses stored directly in IR)
000000
MOV
S
D
In this case, the PLC memory address
0200 hex is stored in Index Register IR0.
0200Hex
IR0
#0200

3-31-8 CONVERT ADDRESS TO CV: TOCV(285)

Purpose
Ladder Symbol
Variations
1180
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.
Equivalent program
#0200
IR0
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.
TOCV(285)
S: Index Register containing the
CS/CJ-series PLC memory
S
address
D: Destination word
D
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
• CS/CJ-series program
000000
S
D
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 word
address
CIO 0512
0200Hex
CS/CJ-series
word address
CIO 0512
IR
#000C200
Section 3-31
FRMCV
#0200
IR0
CV-series PLC
memory address: 0200
hex
CS/CJ-series PLC
memory address:
00C200 hex
TOCV(285)
@TOCV(285)
Not supported.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents