8
Programming Concepts Section 1-1
Example: The address of word W5 (bits 00 to 15) in the Work Area is given
as shown below.
Example: The address of word D200 (bits 00 to 15) in the DM Area is given
as shown below.
1-1-5 Specifying Instruction Operands
W5
Word address
D200
Word address
Operand Description Notation Application
examples
Specifying bit
addresses
The word and bit numbers are specified
directly to specify a bit (input bits).
Note The same addresses are used to
access timer/counter Completion Flags
and Present Values. There is also only
one address for a Task Flag.
Specifying
word
addresses
The word number is specified directly to spec-
ify the 16-bit word.
Specifying
indirect DM
addresses in
Binary Mode
The offset from the beginning of the area is
specified. The contents of the address will be
treated as binary data (00000 to 32767) to
specify the word address in Data Memory
(DM). Add the @ symbol at the front to specify
an indirect ad-dress in Binary Mode.
@@@@.@@
Word address
Bit number
(00 to 15)
1.02
Bit number: 02
Word number: CIO 1
1.02
@@@@
Word address
3
D200
Word number: D200
Word number: 3
MOV(021)
3
D200
@D@@@@@
Contents
D
00000 to 32767
(0000 to 7FFF hex)
@D300
0 1 0 0
Contents
Specifies D256.
Add the @ s