Tag Archives: plc programming online tutorial

Omron CP1H Data Control Instructions

The data control instructions in the Omron CP1H programmable logic controller are used to manipulate the outputs based upon control conditions. Control is the main purpose of these instructions within the PLC. Instructions include PID (Proportional, Integral and Derivative), PID with Auto tuning, Dead Band Control, Limit, Dead Zone Control, Time Proportional Output, Scaling, etc.
We will be looking at some of these instructions in the Omron CP1H PLC. Examples of the instructions will be presented. Continue Reading!

Omron CP1H Table Data Instructions

The Omron CP1H programmable logic controller has several different table data processing instructions. These instructions are used to handle table data, stacks and other ranges of data.
We can define a stack of data. With this data we can then do the following: add new data by pushing onto the stack, use FIFO (First In First Out), use LIFO (Last In First Out), find the current stack size and read, overwrite, insert or delete from the stack.
Dimension record tables are used to define the length of each record and the number of records. We can then write and read these records. This is ideal for data acquisition projects.
Other instructions found in the table data processing instructions include searching, summing and finding minimum and maximum values.
We will be looking at these instructions in the Omron CP1H PLC. Examples 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 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 CX Programmer

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. This software package integrates support software for Omron PLC and other components. Traditionally you had to purchase and install individual support software compatible with each unit and then connect to each PLC and component. CX-One FA Integrated Tool Package eliminates this by providing one package for operating and setup of Omron PLC’s, Special I/O units, components, networking start up and monitoring. This improves the efficiency of PLC system start-ups. We will be looking at starting CX-Programmer within the CX-One Software package and starting a new project for our CP1H PLC. Let’s get started. Continue Reading!

Omron CP1H System Hardware

The Omron CP1 series of programmable logic controllers consist 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.
Let’s start by looking at the CP1H hardware.

The CP1 series is designed with the same basic architecture as the CS and CJ Series. The special I/O units and CPU bus units of the CJ series can then be used. Always use CPM1A expansions units and CPM1A expansion I/O units when expanding the I/O capacity. The following diagram indicates the position of the unit with respect to the CJ and CS series. Continue Reading!