Rotate Left: Rol - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

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

Advertisement

Data Shift Instructions
Precautions
Examples
3-9-9

ROTATE LEFT: ROL(027)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Name
Label
Carry Flag
CY
Negative Flag
N
When ASRL (571) is executed, the Error Flag and the Negative Flag will turn
OFF.
If as a result of the shift the contents of Wd and Wd +1 are zero, the Equals
Flag will turn ON.
When CIO 000000 is ON, word CIO 0100 and CIO 0101 will shift one bit to
the right. "0" will be placed into CIO 010115 and the contents of CIO 010000
will be shifted to the Carry Flag (CY).
Wd
Shifts all Wd bits one bit to the left including the Carry Flag (CY).
ROL(027)
Wd
Wd: Word
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Operation
ON when 1 is shifted into the Carry Flag (CY).
OFF in all other cases.
OFF
Step program areas
Subroutines
OK
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A448 to A959
T0000 to T4095
C0000 to C4095
D00000 to D32767
E00000 to E32767
En_00000 to En_32767
(n = 0 to C)
Section 3-9
ROL(027)
@ROL(027)
Not supported
Interrupt tasks
OK
Wd
377

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents