Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 1218

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Other Instructions
Examples
• CV-series program
(Program using indirect DM
binary mode addressing)
000000
MOV
S
#1234
D
PLC Setup
Indirect DM data:
When indirect DM addresses are in binary, the content of
the DM word is treated as a PLC memory address and
specifies the corresponding address in I/O memory.
In this case, the value in D00000 is 0200 hex. The
corresponding data area address is CIO 0512, so
#1234 is transferred to CIO 0512.
Word address:
CS/CJ-series PLC
D00000
memory address
0200 Hex
CS/CJ-series PLC
Word address:
memory address
CIO 0512
#1234
0200 Hex
MOV(021)
#1234
1178
Example 1: Converting a CV-series Program with *DM Indirect Binary
Mode DM Addressing
In this FRMCV(284) example, a DM word is specified in S, the PLC memory
address there is stored in an Index Register, and the Index Register is used
for indirectly addressed.
• CS/CJ-series program
Equivalent program
In this case, the value in D00000 is 0200 hex. The
corresponding CV-series data area address is CIO 0512.
The CS/CJ-series PLC memory address for CIO 0512 is
0000C200 hex, so this value is stored in IR0. The
destination operand in MOV(021) indirectly addresses the
content of IR0, so #1234 is transferred to CIO 0512.
CS/CJ-series word
address: D00000
CV-series word
address: CIO0512
CS/CJ-series word
address: CIO 0512
CS/CJ-series word
address: IR0
CS/CJ-series word
address: CIO 0512
000000
FRMCV
S
D00000
D
MOV
S
#1234
D
,IR0
0200 Hex
Equivalent
000OC0200 Hex
#1234
MOV(021)
#1234
Section 3-31
IR0
CV-series PLC
memory address:
FRMCV
0200 Hex
(284)
CS/CJ-series PLC
memory address:
OC0200 Hex
CS/CJ-series PLC
memory address:
MOV
(021)
OC0200 Hex

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents

Save PDF