![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262059.webp)
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
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......