Ror - Allen-Bradley Micro800 General Instructions Manual

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

Advertisement

Chapter 7
Binary instructions

ROR

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

Advertisement

Table of Contents
loading

Table of Contents