Tag Archives: plc programming online tutorial

Productivity 1000 Series PLC Contact and Coil Instructions

The Productivity Suite Software consists of more than 82 instructions divided into 13 categories for the PLC. Contacts and Coils are two of the categories of instructions. Contact instructions include NO / NC, NO Edge / NC Edge and Compare. Coil instructions include Out, Set, Reset, OR Out, Flasher, Debounce, Timed, Toggle, Program End and No Operation.

We will be looking at these instructions in the Productivity 1000 series PLC. Adding to our favorite instructions helps us to organize the instructions. We will also look at organizing your favorite instructions. Let’s get started. Continue Reading!

Productivity 1000 Series PLC Numbering Systems and Tag Database

The Productivity Suite Software allows us to use tags in the PLC. Tags are a method for assigning and referencing memory locations within the programmable logic controller. They allow a more structured programming approach and are stored within a tag database. The tag database is stored in the memory of the Productivity Series of PLC’s from Automation Direct. Do not over think tags. Tags are just names that we assign to variables of any data type stored in the PLC memory.

We will be looking at data types available in the Productivity PLC and how to use the tag database. Let’s get started. Continue Reading!

Productivity 1000 Series PLC Online Editing and Debug Mode

The Productivity Suite Software allows us to modify our existing program and execute the new code without stopping the scanning of the PLC. This is referred to as online editing. We change the ladder logic code and when we save it to the PLC, the current scan of the PLC is held until the new code is written into the unit. It then releases the scan and our new program start to execute. This happens in milliseconds so our process can continue to operate.
Troubleshooting the logic in our PLC sometimes can be difficult. The Productivity Suite Software has a Debug Mode. This will allow us to control the scan cycle of the PLC, decide on the rungs to execute and control the physical outputs during this time. This ability of control helps to fix errors or understand existing code in our programmable logic controller.
We will be taking our existing Start / Stop circuit from last time and add a Jog input using online editing. We will then use the debug mode in the Productivity Suite software to understand the scan and the jog function that we added.
Let’s get started. Continue Reading!

Productivity 1000 Series PLC Monitoring and Testing the Program

The Productivity Suite Software provides tools for us to monitor and test our programs. Last time we used Tag Names and Details, Task Names and Descriptions, Rung Comments and Instruction comments to document our first program and transferred this to our connected Productivity 1000 Series PLC. We will be monitoring our ladder using the ladder editor window and display the information two different ways. Data View is a powerful tool to help us to test and view our program. We will be forcing the IO, toggling the IO view and graphing our tags to test our PLC logic circuit.
Let’s get started. Continue Reading!

Productivity 1000 Series PLC Establishing Communication

We will be connecting the Productivity 1000 Series PLC with our computer running the Productivity Suite Software. A micro USB and an Ethernet (RJ45) communication link will be made to our programmable logic controller.
The latest Productivity Suite software version is 3.1.0.11. This is the programming software that we will be using to create our logic for control.

Let’s get started. Continue Reading!

Omron CP1H AdvancedHMI Communication

Advanced HMI is a powerful, adaptable HMI/SCADA (Supervisory Control and Data Acquisition) development package that takes advantage of Visual Studio. There is no coding required and you can simply drag and drop items onto the page. The best thing is that the software is free. We will look at using AdvancedHMI with the Omron CP1H PLC.
Our sample CP1H PLC program will use button and indicators to control a start/stop jog circuit. An analog input into the PLC will be scaled and displayed on a gauge on our AdvancedHMI screen. We will also write information to our 7 segment display on the CPU from our AdvancedHMI screen. This communication will be done using Omron serial host link protocol over a RS485 serial cable. The AdvancedHMI package will run on a windows PC and communicate out the port using a USB to RS485 adapter. Let’s get started. Continue Reading!

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!