Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 49

Table of Contents

Advertisement

Operand
Specifying offsets for
In brackets, specify the number of bits to
*1
offset the specified starting bit address.
word addresses
@@@@.[@@]
A symbol can also be specified for the
starting word address. Only Holding,
Work, DM, and EM Area addresses can
be used regardless of whether a physical
address or symbol is used. A constant or
word address in I/O memory can be used
for the offset. If a word address is speci-
fied, the contents of the word is used
directly as the offset.
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 binary data (00000 to
Binary Mode
32767) to specify the word address in
Data Memory (DM) or Extended Data
Memory (EM). Add the @ symbol at the
front to specify an indirect ad-dress in
Binary Mode.
Contents
D0 to D32767 are specified if
@D(@@@@@) contains 0000 Hex to 7FFF
Hex (0 to 32767).
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Description
Offset
Constant 0 to 15 or word
address in I/O memory
Starting word address
@D@@@@@
00000 to 32767
(0000 Hex to
7FFF Hex in BIN)
D
1. Basic Understanding of Instructions
Notation
D0[2]
Number of words to
D2
offset address
Starting word address
WO
D0[
]
Number of words to
offset address
D2
(W0 = &2)
Starting word address
@D300
& 2 5 6
Contents
Hex: #0100
Specifies D256.
Add the @ symbol.
Application
examples
MOV 3 D0[200]
MOV #0001 @D300
13
1

Advertisement

Table of Contents
loading

Table of Contents