Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual page 68

Programmable controllers
Table of Contents

Advertisement

Basic Concepts
Operand
Specifying
The offset from the beginning of the area is
indirect DM/
specified. The contents of the address will be
EM addresses
treated as binary data (00000 to 32767) to
specify the word address in Data Memory (DM)
in Binary
or Extended Data Memory (EM). Add the @
Mode
symbol at the front to specify an indirect ad-
dress in Binary Mode.
Contents
D
1) D00000 to D32767 are specified if
@D(@@@@@) contains 0000 Hex to 7FFF
Hex (00000 to 32767).
2) E0 _00000 to E0 _32767 of bank 0 in
Extended Data Memory (EM) are specified
if @D(@@@@@) contains 8000 Hex to
FFFF Hex (32768 to 65535).
3) E@_00000 to E@_32767 in the specified
bank are specified if @E@_@@@@@ con-
tains 0000 Hex to 7FFF Hex (00000 to
32767).
4) E(@+1)_00000 to E(@+1)_32767 in the
bank following the specified bank @ are
specified if @E@_@@@@@ contains
8000 Hex to FFFF Hex (32768 to 65535).
Note When specifying an indirect address in Binary Mode, treat Data Memory (DM) and Extended Data
Memory (EM) (banks 0 to C) as one series of addresses. If the contents of an address with the @
symbol exceeds 32767, the address will be assumed to be an address in the Extended Data Mem-
ory (EM) continuing on from 00000 in bank No. 0.
Example: If the Data Memory (DM) word contains 32768, E1_00000 in bank 0 in Extended Data Mem-
Note If the Extended Data Memory (EM) bank number is specified as "n" and the contents of the word
exceeds 32767, the address will be assumed to be an address in the Extended Data Memory (EM)
continuing on from 00000 in bank N+1.
Example: If bank 2 in Extended Data Memory (EM) contains 32768, E3_00000 in bank number 3 in
28
Description
@D@@@@@
00000 to 32767
(0000 Hex to
7FFF Hex in BIN)
ory (EM) would be specified.
Extended Data Memory (EM) would be specified.
Notation
@D00300
& 2 5 6
Contents
Hex: #0100
Specifies D00256.
Add the @ symbol.
@D00300
& 3 2 7 6 9
Contents
Hex: #8001
Specifies E0 00001.
@E1_00200
& 2 5 7
Contents
Hex: #0101
Specifies E1_00257.
@E1_00200
Contents
& 3 2 7 7 0
Hex: #8002
Specifies E2_00002.
Section 2-1
Application
examples
MOV #0001
@00300
MOV #0001
@E1_00200

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - PROGRAMMING MANUAL 12-2009 and is the answer not in the manual?

Questions and answers

Table of Contents