Tag Archives: Rotate Bits

BRX PLC Shifting Instructions

PLC shifting instructions will move bits in memory areas a fixed amount when instructed. Bits are on/off, 1 or 0 and are usually associated together to form a memory location. The memory location can be used for numbers or positions.
PLC BITS NUMBERS AND POSITION is a post that will review the different methods that the PLC will interpret the information in memory
We will be looking at the shifting (moving) of the bits within the memory location in several different ways. ROTL rotate left, ROTR rotate right, Math shift left operator, Math shift right operator, Math unsigned shift right operator and SR shift register are some of the instructions in our BRX PLC that will shift bits.
Let’s look at some samples of each of the above mentioned instructions. Continue Reading!