Omron CP1H Program Control Instructions

The Omron CP1H programmable logic controller has several different ways to control the program and the way in which your program executes. Sequence control, Subroutines, and Step instructions can be used. These are just a few ways in which the controller will execute your logic using a synchronous PLC scan. Understanding the PLC program scan will explain the synchronous and asynchronous program scanning.
Interlocks, Jumps, For Next Loops, Subroutines and Step instructions are some of the ways in which we can control our program in the PLC. We will be looking at some of these instructions in the Omron CP1H PLC. Examples of some of the instructions will be presented. Continue Reading!

Omron CP1H Data Conversion Instructions

Programmable logic controller programming is all about manipulating the bits within the memory of the controller. Sometimes we need to convert from one form to another. This is where we will use data conversion instructions. BCD to Binary, Line to Column, Grey Scale and Multiplexing are just some of the data conversion instructions. We will be looking at some of these instructions in the Omron CP1H PLC. Examples of some of the instructions will be presented. Continue Reading!

Omron CP1H Math Instructions

Programmable logic controllers are not typically known for their math ability. Modern PLC controllers now come with several math instructions to expand the ability to perform math routines. Every controller has different methods to handle math with different numbering systems. Binary, BCD (Binary Coded Decimal) and floating point single and double are examples of some numbering systems. The following is a post on what everybody ought to know about PLC numbering systems. If you subscribe to our website you will get a free copy of the article on numbering systems which includes understanding floating point. You must refer to the programming manual of the controller that you are programming for specific math instruction information.
We will be looking at some of the math instructions in the Omron CP1H PLC. Examples of some of the instructions will be presented. Continue Reading!

Omron CP1H Data Shifting Instructions

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 product or information. As this information is triggered to shift to a new location we can use this to activate items latter 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. Continue Reading!

Omron CP1H Compare Instructions

Just about every program usually has some data comparison instruction. This is the ability to compare information from one area of the controller to another and act on results. The Omron CP1H series of programmable logic controllers provide several different ways to compare information. We will be looking at several different ways in which we can do this with some programming examples. Sometimes the instruction used for data comparison in the Omron CP1H will determine the kind of data that we are comparing. You must look at the individual instructions to determine if this is the case or not. Continue Reading!

Omron CP1H Data Movement

Every program usually has some kind of data movement. This is the ability to transfer information from one area of the controller to another. The Omron CP1H series of programmable logic controllers provide several different ways to manipulate this information. We will be looking at several different ways in which data movement can happen with some programming examples. Data movement in the Omron CP1H does not care what is in the bits that make up the word. It will just send or receive this information. Remember that it is usually the instruction used, that determines how the information in the memory is determined. Continue Reading!

Omron CP1H Counters

The Omron CP1H series of programmable logic controllers are capable of having 4096 basic counters. There are two basic counter instructions in the PLC. Each of basic instructions can be either binary or BCD. The memory area for counters have separate areas for the Counter PVs (Present values) and the Counter Completion Flags. We will be looking at the basic Counter instructions in the CP1H along with some programming examples. Continue Reading!

Omron CP1H Timers

The Omron CP1H series of programmable logic controllers are capable of having 4096 timers. There are twelve different timing instructions in the PLC. Six binary and six BCD instructions for the set values of the timers separate the six basic instructions. The memory area for timers have separate areas for the Timer PVs (Present values) and the Timer Completion Flags. We will be looking at the timer instructions in the CP1H along with some programming examples. Continue Reading!

Omron CP1H Numbering Systems and Addressing

The Omron CP1H series of programmable logic controllers has a fixed input and output addressing system. Every PLC has its own way of addressing its inputs and outputs. We will be looking at how the CP1H series of controller addresses its inputs and outputs. Numbering systems used in this controller will also be looked at as well as addressing. Addressing can be direct or indirect. We will look at how this can be accomplished using examples in the CP1H controller. Continue Reading!

Omron CP1H Establish Communication

The Omron CP1H series of programmable logic controllers is programmed from CX-Programmer. CX-Programmer is part of Omron CX-One Factory Automation Integrated Tool Package. We will now establish communication to our CP1H PLC using CX Programmer. We will be using the USB connection (Built into the CPU) as well as a RS485 connection using the CP1W-CIF11 module. The Start Stop and Jog circuit that we developed last time will be transferred to the PLC unit. We will then verify that the program in the PLC is the same as the program logic in CX Programmer. Continue Reading!