#shiftregisters#arithmeticoperations#PLC#logixpro
Most PLCs have arithmetic function capabilities. Basic PLC math instructions include add, subtract, multiply, and divide to calculate the sum, difference, product, and quotient of the content of word registers. The PLC is capable of doing many arithmetic operations per scan period for fast updating of data. This video covers the basic mathematical instructions performed by PLCs and their applications.
The shift register is a number of internal relays grouped together (normally 8, 16, or 32) which allow stored bits to be shifted from one relay to another. The grouping together of internal relays to form a shift register is done automatically by a PLC when the shift register function is selected. This is done by using the programming code against the internal relay number that is to be the first in the register array. Shift registers can be used where a sequence of operations is required or to keep track of particular items in a production system. The shift register is most commonly used in conveyor systems, labeling or bottling applications, etc.