Rol - Allen-Bradley Micro800 General Instructions Manual

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

Chapter 7
Binary instructions

ROL

Parameter
EN
IN
NbR
ROL
ENO
138
For 32-bit integers, ROL rotates integer bits to the left.
Arguments
Parameter
Data Type
Type
Input
BOOL
Input
DINT
Input
DINT
Output
DINT
Output
BOOL
ROL function language examples
Function block diagram
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Description
Function enable.
When EN = TRUE, execute the rotate bits left integer value computation.
When EN = FALSE, there is no computation.
Integer value.
Number of 1-bit rotations (in set [1..31]).
Left rotated value. When NbR <= 0, no change occurs.
Enable out.

Advertisement

Table of Contents
loading

Table of Contents