![Omron CJ1G-CPUxx Instructions Manual Download Page 353](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491353.webp)
332
Data Shift Instructions
Section 3-9
Description
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).
Flags
Precautions
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.
Examples
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.
3-9-14 DOUBLE ROTATE LEFT WITHOUT CARRY: RLNL(576)
Purpose
Shifts all Wd and Wd +1 bits one bit to the left not including the Carry Flag
(CY).
Ladder Symbol
Variations
Wd
Name
Label
Operation
Error Flag
ER
OFF
Equals Flag
=
ON when the shift result is 0.
OFF in all other cases.
Carry Flag
CY
ON when 1 is shifted into the Carry Flag (CY).
OFF in all other cases.
Negative Flag
N
ON when the leftmost bit is 1 as a result of the shift.
OFF in all other cases.
Wd: CIO 0100
Instruction executed once
1
Wd
Wd: Word
RLNL(576)
Wd
Variations
Executed Each Cycle for ON Condition
RLNL(576)
Executed Once for Upward Differentiation
@RLNL(576)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Not supported
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...