Sequence Input Instructions - Omron SYSMAC CS Series Instruction & Reference Manual

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

Advertisement

3. Instructions

Sequence Input Instructions

Differentiated and Immediate Refreshing Instructions
• The LOAD, AND, and OR instructions have differentiated and immediate refreshing variations in
addition to their ordinary forms, and there are also two combinations available.
• The LOAD NOT, AND NOT, OR NOT, OUT, and OUT NOT instructions have immediate refreshing
variations in addition to their ordinary forms.
• The I/O timing for data handled by instructions differs for ordinary and differentiated instructions,
immediate refreshing instructions, and immediate refreshing differentiated instructions.
• Ordinary and differentiated instructions are executed using data input by previous I/O refresh
processing, and the results are output with the next I/O processing. Here "I/O refreshing" means the
data exchanged between the CPU Unit's internal memory and the I/O Unit.
• In addition to the above I/O refreshing, an immediate refresh instruction exchanges data with the I/O
Unit for those words that are accessed by the instruction. When using immediate-refresh versions of
bit instructions, all 16 bits in the word containing the specified bit will be refreshed.
Immediate refresh instructions cannot be used for Units on Slave Racks.
Instruction variation
Ordinary
LD, AND, OR, LD NOT,
AND NOT, OR NOT
OUT, OUT NOT
Differentiated up
@LD, @AND, @OR
Differentiated down
%LD, %AND, %OR
Immediate refresh
!LD, !AND, !OR, !LD NOT,
!AND NOT, !OR NOT
!OUT, !OUT NOT
Differentiated up /
!@LD, !@AND, !@OR
immediate refresh
Differentiated down /
!%LD, !%AND, !%OR
immediate refresh
54
Mnemonic
The ON/OFF status of the specified bit
is taken by the CPU with cyclic refresh-
ing, and it is reflected in the next instruc-
tion execution.
After the instruction is executed, the
ON/OFF status of the specified bit is
output with the next cyclic refreshing.
The instruction is executed once when
the specified bit turns from OFF to ON
and the ON state is held for one cycle.
The instruction is executed once when
the specified bit turns from ON to OFF
and the ON state is held for one cycle.
The input data for the specified bit is
taken by the CPU and the instruction is
executed.
After the instruction is executed, the
data for the specified bit is output.
The input data for the specified bit is
refreshed by the CPU, and the instruc-
tion is executed once when the bit turns
from OFF to ON and the ON state is
held for one cycle.
The input data for the specified bit is
refreshed by the CPU, and the instruc-
tion is executed once when the bit turns
from ON to OFF and the ON state is
held for one cycle.
Function
Cyclic refreshing
Before instruction execu-
tion
After instruction execution
Before instruction execu-
tion
CS/CJ/NSJ Series Instructions Reference Manual (W474)
I/O refresh

Advertisement

Table of Contents
loading

Table of Contents