Bit Shift functions

Introduction

Bit Shift functions perform bit shift and bit rotation operations on integer values. These bit shift functions are supported:

FunctionExplanation
SHLShifts an integer value to the left.
SHRShifts an integer value to the right.
ROLRotates an integer value to the left.
RORRotates an integer value to the right.

Standards Compliance

Table 25 - IEC 61131-3 Second Edition.

Table 30 - IEC 61131-3 Third Edition.

Further Information

Common Elements

To learn about other common language elements.

Glossary

For the meaning of terms used in Fernhill SCADA.