Operands - Omron CP1E CPU UNIT SOFTWARE User Manual

Cp1e cpu unit software
Table of Contents

Advertisement

4-3-2

Operands

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:
MOV
&0
D0
Operand type
Source oper-
and
Destination
operand
(results)
Number
Operands are also called the first operand, second operand, and so on, starting from the top of the
instruction.
MOV
#0
D0
CP1E CPU Unit Software User's Manual(W480)
SBS
S (source)
D (destination)
Specifies the address of
the data to be read or a
constant.
Specifies the address
where data will be writ-
ten.
Specifies a particular
number used in the
instruction, such as a
subroutine number.
First operand
Second operand
4 Understanding Programming
2
N (number)
Operand
symbol
S
Source oper-
and
C
Control data
D
N
With numbers, it is not possible to specify an address
for indirect specification (except for jump instruction
numbers).
Description
Source operand other than control
data (C)
Compound data in a source operand
that has different meanings depend-
ing on bit status.
4
4-9

Advertisement

Table of Contents
loading

Table of Contents