4 Understanding Programming
4-18
CP2E CPU Unit Software User’s Manual(W614)
4-4-5
Specifying Data in Operands
Specifying Addresses
Operand
Description
Example
Application
examples
Specifying
bit
addresses
The word address and bit number are speci-
fied directly to specify a bit.
Specifying
word
addresses
The word address is specified directly to
specify a 16-bit word.
MOV
3
D200
Specifying
offsets for bit
addresses
In brackets, specify the number of bits to off-
set the specified starting bit address.
A symbol can also be specified for the start-
ing bit address. Only Holding, Work, and DM
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 specified, the contents of the word is used
as the offset.
Specifying
offsets for
word
addresses
In brackets, specify the number of words to
offset the specified starting bit address.
A symbol can also be specified for the start-
ing word address. Only Holding, Work, and
DM 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 specified, the contents of the word is used
as the offset.
MOV
3
D0[200]
Bit n
u
m
b
er
(00 to 15)
W
ord address
.
Bit n
u
m
b
er 02
1
W
ord address CIO 1
. 02
1.02
W
ord address
3
W
ord address CIO 3
D200
W
ord address D200
Offset Constant
0 to 15 or
w
ord
address in I/O memory
Starting
b
it address
.
10.00[2]
Nu
m
b
er of
b
its to offset the address
→
Specify 10.02
Starting
b
it address
10.00 [
W
0]
Nu
m
b
er of
b
its to offset the address
W
hen
W
0 = &2
→
Specify 10.02
Starting
b
it address
10.00[2]
Starting
w
ord address
Offset Constant of 0 or
higher or
w
ord address in
I/O memory
[
]
D0[2]
Nu
m
b
er of
w
ords to offset the address
→
Specify D2
Starting
w
ord address
D0 [
W
0]
Starting
w
ord address
Nu
m
b
er of
b
its to offset the address
W
hen
W
0 = &2
→
Specify D2
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......