Bit Shift functions

Help Contents

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

IEC 61131-3 Second Edition: Table 25.

IEC 61131-3 Third Edition: Table 30.

Further Information

Common Elements

To learn about other common language elements.

Glossary

For the meaning of terms used in Fernhill SCADA.