Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 51

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

1. Basic Understanding of Instructions
Operand
Specifying indirect
E0 _0 to E0 _32767 of bank 0 in Extended
Data Memory (EM) are specified if
DM/EM addresses in
@D(@@@@@) contains 8000 Hex to FFFF
Binary Mode
Hex (32768 to 65535).
E@_0 to E@_32767 in the specified bank
are specified if @E@_@@@@@ contains
0000 Hex to 7FFF Hex (0 to 32767).
E(@+1)_0 to E(@+1)_32767 in the bank
following the specified bank @ are speci-
fied 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
Specifying indirect
The offset from the beginning of the area
is specified. The contents of the address
DM/EM addresses in
will be treated as BCD data (0000 to 9999)
BCD Mode
to specify the word address in Data Mem-
ory (DM) or Extended Data Memory (EM).
Add an asterisk (*) at the front to specify
an indirect address in BCD Mode.
Contents
14
Description
Data Memory (EM) (banks 0 to 18) 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 Memory (EM) continuing on from 0 in bank No. 0.
Example: If the Data Memory (DM) word contains 32768, E0_0 in bank 0 in Extended Data
Memory (EM) would be specified. If the Extended Data Memory (EM) bank number is speci-
fied 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 0 in bank N+1.
Example: If bank 2 in Extended Data Memory (EM) contains 32768, E3_0 in bank number 3
in Extended Data Memory (EM) would be specified.
*D@@@@@
0000 to 9999
(BCD)
D
Notation
@D300
&32769
Contents
Hex: #8001
Specifies E0_01.
@E1_200
&257
Contents
Hex: #0101
Specifies E1_257.
@E1_200
&32770
Contents
Hex: #8002
Specifies E2_2.
*D200
Contents
# 0 1 0 0
Specifies D100
Add an asterisk (*).
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Application
examples
MOV #0001@E1_200
MOV #0001 *D200

Advertisement

Table of Contents
loading

Table of Contents