4-15
4 Understanding Programming
CP2E CPU Unit Software User’s Manual(W614)
4-4 Pr
o
g
ram
m
in
g In
struction
s
4
4-4-2 Oper
and
s
Operands specify preset instruction parameters that are used to specify I/O memory area contents or
constants. Operands are given in boxes in the ladder programs.
Addresses and constants are entered for the operands to enable executing the instructions.
Operands are classified as source, destination, or number operands.
Example:
Operands are also called the first operand, second operand, and so on, starting from the top of the
instruction.
4-4-2
Operands
Operand type
Operand
symbol
Description
Source oper-
and
Specifies the address of
the data to be read or a
constant.
S
Source oper-
and
Source operand other than control
data (C)
C
Control data
Compound data in a source operand
that has different meanings depend-
ing on bit status.
Destination
operand
(results)
Specifies the address
where data will be writ-
ten.
D
−
Number
Specifies a particular
number used in the
instruction, such as a
subroutine number.
N
With numbers, it is not possible to specify an address
for indirect specification (except for jump instruction
numbers).
MOV
&0
D0
S (so
u
rce)
D (destination)
SBS
2
N
(n
u
m
b
er)
MOV
#0
D0
First operand
Second operand
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: ......