Tag Archives: Tracking parts

BRX Do-More PLC Shifting Instructions

We will now look at shifting instructions in the BRX Do-More controller. 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 Do-More PLC that will shift bits.
Let’s look at some samples of each of the above-mentioned instructions. Continue Reading!