Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1216

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

Advertisement

Other Instructions
Data area address
Corresponding
data area
address
Operand Specifications
CV-series
0000CH
0001CH
D00000
Convert
D00001
E32765
CS/CJ-series
0000CH
0001CH
D00000
Convert
D00001
EC_32767
Note If there is no CS/CJ-series equivalent to the specified CV-series PLC memory
address, an error will occur, the Error Flag will be turned ON, and the address
will not be converted.
When an Index Register is used as an operand with a ",IR" prefix, the instruc-
tion will operate on the word indicated by the PLC memory address in the
Index Register, not the Index Register itself. Once the desired PLC memory
address has been stored in an Index Register, the Index Register itself can be
used as an operand for an instruction.
The FRMCV(284) instruction can be used to convert a CV-series program
with the following two kinds of programming for use in a CS/CJ-series PLC.
See the Examples later in this section for an example.
1. When using indirect binary mode DM addressing (*DM)
(when indirectly specifying a data area address with a PLC memory ad-
dress in DM)
2. When using CV-series PLC memory addresses directly as values
(when storing PLC memory addresses in Index Registers with direct ad-
dressing using an instruction such as MOV(021))
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
PLC memory address
0000Hex
0001Hex
2000Hex
S
2001Hex
Specify the CV-series PLC
memory address in S. (In this
FFFDHex
case, 2001 hex is the PLC
memory address of D00001.)
0C000Hex
0C001Hex
10000Hex
10001Hex
The corresponding CS/CJ-series PLC
memory address is stored in D. (In this
case, data area address D00001 is
FFFFFHex
converted to PLC memory address
10001 hex and stored.)
D:
IR1
10001Hex
S
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A448 to A959
T0000 to T4095
C0000 to C4095
D00000 to D32767
E00000 to E32767
En_00000 to En_32767
(n = 0 to C)
Section 3-31
D
---
---
---
---
---
---
---
---
---
1177

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents