Omron CS1G/H-CPUxxH Instructions Manual page 353

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Data Shift Instructions
Description
Flags
Precautions
Examples
3-9-14 DOUBLE ROTATE LEFT WITHOUT CARRY: RLNL(576)
Purpose
Ladder Symbol
Variations
332
RLNC(574) shifts all bits of Wd to the left (from rightmost bit to leftmost bit).
The contents of the leftmost bit of Wd shifts to the rightmost bit and to the
Carry Flag (CY).
Name
Label
Error Flag
ER
Equals Flag
=
Carry Flag
CY
Negative Flag
N
When RLNC(574) is executed, the Error Flag will turn OFF.
If as a result of the shift the contents of Wd is zero, the Equals Flag will turn
ON.
If as a result of the shift the contents of the leftmost bit of Wd is 1, the Nega-
tive Flag will turn ON.
When CIO 000000 is ON, word CIO 0100 will shift one bit to the left (exclud-
ing the Carry Flag (CY)). The contents of CIO 010015 will be shifted to
CIO 010000.
1
Shifts all Wd and Wd +1 bits one bit to the left not including the Carry Flag
(CY).
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Wd
Operation
OFF
ON when the shift result is 0.
OFF in all other cases.
ON when 1 is shifted into the Carry Flag (CY).
OFF in all other cases.
ON when the leftmost bit is 1 as a result of the shift.
OFF in all other cases.
Wd
Wd: CIO 0100
Instruction executed once
RLNL(576)
Wd
Wd: Word
Section 3-9
RLNL(576)
@RLNL(576)
Not supported

Advertisement

Table of Contents
loading

Table of Contents