Omron SYSMAC CS Series Instruction & Reference Manual page 38

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

1. Basic Understanding of Instructions
Instruction Location and Execution Conditions
Instruction
Input
Logical start
Connected directly
instruc-
(Load
to the left bus bar
tions
instructions)
or is at the begin-
ning of an instruc-
tion block.
Intermediate
Between a logical
instructions
start and the out-
put instruction.
Output instructions
Connected directly
to the right bus
bar.
4
Example
MOV
#0
S (source)
D0
D (destination)
Operand types
Source
Specifies the address of
the data to be read or a
constant.
Destination
Specifies the address
(Results)
where data will be writ-
ten.
Number
Specifies a particular
number used in the
instruction, such as a
jump number or subrou-
tine number.
Note Operands are also called the first operand, second operand, and so on, start-
ing from the top of the instruction.
MOV
#0
First operand
D0
Second operand
The following table shows the possible locations for instructions. Instructions
are grouped into those that do and those do not require execution conditions.
Refer to SECTION 3 Instructions for details.
Location
Execution
condition
Not
required.
Required
Required
Not
required.
JMP
&3
N (number)
Operand
symbol
S
Source
Operand
C
Control
data
D
---
N
---
Diagram
LD, LD TST(350), LD > (and other
symbol comparison instructions)
AND, OR, AND TEST(350), AND >
(and other ADD symbol comparison
instructions), UP(521), DOWN(522),
NOT(520), etc.
Most instructions including OUT and
MOV(021).
END(001), JME(005), FOR(512),
ILC(003), etc.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Description
Source operand
other than control
data (C)
Compound data in a
source operand that
has different mean-
ings depending bit
status.
Examples

Advertisement

Table of Contents
loading

Table of Contents