Instruction Location And Execution Conditions; Inputting Data In Operands - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

General Instruction Characteristics
1-1-4

Instruction Location and Execution Conditions

Instruction type
Input
Instructions
At the left bus or at
that start
the start of an
logic
instruction block
conditions
Connecting
Between a starting
instructions
instruction and out-
put instruction
Output
At the right bus
1-1-5

Inputting Data in Operands

MOV
#0000
D00000
The following table shows the locations in which instructions can be pro-
grammed. The table also shows when an instruction requires an execution
condition and when it does not. Refer to SECTION 2 Summary of Instructions
for details on specific instructions.
Location
Execution
condition
Not required
Required
Required
Not required
In addition to these instructions, the CS/CJ-series PLCs are equipped with
block programming instructions. Refer to the description of the block program-
ming instructions for details.
Note If an execution condition does not precede an instruction that requires one, a
program error will occur when the program is checked from a Peripheral
Device.
Operands are parameters that are set in advance with the I/O memory
addresses or constants to be used when the instruction is executed. There
are basically three kinds of operands: Source operands, destination oper-
ands, and numbers.
S (Source)
D (Destination)
Operand
Source
Address containing
the data or the data
itself
Destination
Address where the
data will be stored
Number
Contains a number
such as a jump num-
ber or subroutine
number.
! @ MOV
Instruction mnemonic
Up-differentiation variation
Immediate-refreshing variation
Format
JMP
&3
Usual
code
S
Source
operand
C
Control
data
D
---
N
---
Section 1-1
Examples
LD, LD TST, and input com-
parison instructions such as
LD >
AND, OR, AND TST, input
comparison instructions such
as AND >, UP, DOWN, NOT
The majority of instructions
(such as OUT and MOV)
Instructions such as END,
JME, FOR, and ILC
N (Number)
Contents
Source data other than
control data
Control data with a bit
or bits controlling
instruction execution
5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents