Category Archives: PLC Basics

Productivity 1000 Series PLC Data Handling Instructions Part 1

Data handling instructions are used to perform movement and manipulations of the memory in the programmable logic controller. The Productivity 1000 Series PLC has fifteen different data handling instructions that can be used in a wide variety of applications. In this first part we will be looking at the following instructions:
Absolute Encoder (ABSE) – Encoder input using Gray Code or Binary Code
Compare Values (CMPV) – Compare two different tags and determine if equal, greater than or less than.
Copy Data (CPD) – Copy tags from one location and place in another.
FIFO / LIFO (FILI) – First in first out / Last in first out
First Bit On/Off (FIB) – Determines first bit on in a series of bit tags.
Inc / Dec (INC) – Increment or decrement a tag by a number.
Logical Bits (LOG) – Perform logical operations on Boolean input tags.
Logical Words (LOGW) – Perform logical operations on tags.
In part 2 of data handling we will continue with additional data handling instructions.
Let’s get started with the Productivity 1000 Series PLC data handling instructions. Continue Reading!

PLC Fiddle Basic Gate Ladder Logic

Last time we discussed the free virtual plc simulator called PLC Fiddle. It will enable you to create simple PLC ladder logic code within your browser. This is an ideal way in understanding PLC concepts for industrial automation. All of the basic PLC instructions that come with most plc units have been incorporated in this virtual PLC software.
http://accautomation.ca/plc-fiddle-online-editor-and-simulator-in-your-browser/
PLC Fiddle Video – This will demonstrate the basic functions of the PLC simulator.
Understanding and creating your own programmable logic controller programs in ladder can be fun. We will be starting with the basic gate logic circuits and convert these to ladder logic.
We will be looking at the AND, OR, NAND, NOR, EXOR and EXNOR logic circuits using PLC fiddle. This will get you involved in leaning and understanding PLC programming. Let’s get started. Continue Reading!

Productivity 1000 Series PLC Math Instructions

Math instructions are used to perform mathematical calculations. The Productivity 1000 Series PLC has math instructions that can be used in a wide variety of applications. We will be looking at the Data Statistics (DATA) and the Math Editor (MATH).

Your automation system that you implement may involve these instructions. As a system integrator you will require the use of these instructions in your commissioned programs.
Let’s get started with the Productivity 1000 Series PLC Math Instructions. Continue Reading!

Cofaso 7 PLC Design and Overview

Cofaso 7 is a computer aided engineering (CAE) solution software package. Its special system technology with direct access to applicable logic for each schematic allows industry design and documentation for all solutions. Electrical engineering project tasks will become easier with Cofaso 7. This parameter controlled system is available in 13 languages and supports all the common windows versions.
Cofaso 7 meets all global evaluation standards. It offers complete authoring and editing of electrical engineering documents. Some of the features in the package include: Cross-references, wiring lists, terminal diagrams, terminal connection diagrams, interconnect diagrams, PLC cross references, mounting plate design and more.

Cofaso provides flexible editing features:
XML, EXF and graphics interfaces such as DXF guarantee data interchange with other CAx systems and ensure the integration of cofaso into the unified production chain. Article data of any kind be imported or incorporated. An intelligent article number search function provides an additional aid to locating components used in the diagram.
We will be creating a PLC drawing with 5 outputs. These outputs will be connected to another box with the same reference numbers. We will also show the automated connection list. Anytime a reference name is changed all document items will change for that reference. Let’s get started. Continue Reading!

Productivity 1000 Series PLC Counter Instructions

A majority of programmable logic controller (PLC) programs will include a counter instruction. The Productivity 1000 Series PLC has a couple of different counter instructions for your program. Under the data handling instructions we have the increment / decrement instruction (INC). We could use this with the compare contact (CMP) instruction that we discussed in our Contact and Coil Instructions (Video) to create a counter application.

The productivity suite software has a Simple Counter (SCNT) and the Counter (CNT) instructions. We will be reviewing these instructions and looking how to implement then in our ladder logic program. Let’s get started. Continue Reading!

Productivity 1000 Series PLC Timer Instructions

Just about every programmable logic controller (PLC) program will include a timer instruction. The Productivity 1000 Series PLC has several different timer instructions for your program. We discussed the timed coil (TMC) and flasher coil (FLS) last time as part of the contacts and coil discussion. (Contact and Coil InstructionsVideo)

We will now look at using the Simple Timer (STMR) and the Timer (TMR) instructions in the productivity suite software. Let’s get started. Continue Reading!

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!

C-More Micro HMI Installing the Software

The C-more Micro Programming Software is a free download from Automation Direct. This is similar to the more powerful C-more Touch Panel programming software. This free HMI (Human Machine Interface) software has features designed to reduce your configuration time. Simply drag and drop the objects from the object bar onto the screen construction area. Configure your PLC tags and click on the objects you want to use. A built in simulator will allow you to review your work on the computer before downloading the project.

We will be installing the C-more Micro Programming Software onto our PC (computer). Updating the software is also very easily done. See video below.
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!