In the previous lessons you learned all the ins and outs of the shift right instruction. In this lesson we will see how we can use the shift left instruction and see that the shift left instruction works the exact same way of the shift right instruction however the bits are shifted to the left instead of the right. Open up this lesson and let’s get started.
In the previous lessons you learned that when you use the shift right instruction for integers or double integers, the instruction works like a divide function. In this lesson we will see how the shift left instruction works more like a multiply function and how you can easily figure out what the...
In the previous lesson titled Shift Left Word and Double Word Part 2 we discussed how we can use the Shift Left Word and Double Word instruction and how this instruction works more like a multiply instruction. In this video we will become familiar with how to turn on PLC outputs in sequential o...
In addition to the shift instructions we also have the rotate right and rotate left instructions in this folder.
The rotate right instruction works by rotating bits to the right according to the value entered in the IN input by whatever bit you define for it located in the N input.
Unlike the...
2 Comments