Omron CP1H Data Shifting Instructions Part 2
We will now look at data shifting instructions in the Omron CP1H controller. PLC programming is all about how we can manipulate the information stored in the PLC. We have already looked at timers, counters, moves, and comparison instructions. Data shifting is a different concept that will move bits and words around in memory. This is necessary usually for tracking purposes. The word or bit will represent the product or information. As this information is triggered to shift to a new location we can use this to activate items later in the process. A typical example of this would be parts on a conveyor belt. As the part is detected on one end it will turn on a bit in a register. The conveyor movement is usually picked put by an encoder and shifts this bit in the register in sync with the conveyor movement. At the other end of the conveyor belt, we can see the bit position and do something with this information. We can use this information to count, reject, etc. Looking at the entire register full of bits, we can determine everything on the conveyor and its position. We will be looking at the data shifting instructions in the Omron CP1H PLC. Examples of some of the instructions will be presented. The instructions are used to shift data within or between words, but in different amounts and directions. Part 1 https://youtu.be/dCM_1Rquobc More information can be obtained at our website. This includes all of the links mentioned in this video. https://accautomation.ca/omron-cp1h-data-shifting-instructions Previously in this Omron CP1H series, we looked at the following: System Hardware https://accautomation.ca/omron-cp1h-system-hardware/ CX-Programmer https://accautomation.ca/omron-cp1h-cx-programmer/ Establish Communication https://accautomation.ca/omron-cp1h-establish-communication/ Omron CP1H Setting, Forcing and Online Editing https://accautomation.ca/omron-cp1h-setting-forcing-and-online-editing/ Omron CP1H Numbering Systems and Addressing https://accautomation.ca/omron-cp1h-numbering-systems-and-addressing/ Omron CP1H Timers https://accautomation.ca/omron-cp1h-timers Omron CP1H Counters https://accautomation.ca/omron-cp1h-counters Omron CP1H Data Movement https://accautomation.ca/omron-cp1h-data-movement Omron CP1H Compare Instructions https://accautomation.ca/omron-cp1h-compare-instructions There are several reasons why we are using the Omron CP1H Controller. Here are just a few. - Standalone PLC with built-in I/O - Communication ability - Ethernet Port, RS232, RS485 - support for protocols such as Modbus, Host Link, ASCII (No Protocol) - Built-in Analog inputs and outputs - 4 axis control of motion - 4 high-speed counters - powerful instruction set (similar to CS and CJ series) - Ability to expand the system with a variety of modules The Omron CP1 series of programmable logic controllers consists of three different units. CP1E is the cost-effective unit, CP1L is the high performing controller that can come with embedded Ethernet and the CP1H is the position control and comprehensive programmable logic controller. We will be looking a the CP1H for this series, but a majority of the information can be applied to the CP1E and the CP1L controllers as well. https://www.accautomation.ca