Tag Archives: plc troubleshooting training

Productivity 1000 Series PLC Program Control

The program control method and instructions will allow us to specify what parts of the logic get solved and when this happens. This will control how the PLC will scan and solve your logic in your program using a synchronous PLC Scan. Understanding the PLC program scan will explain the synchronous and asynchronous program scanning.
Individual ladder logic programs get solved left to right, top to bottom. The result of the rung before is available for the next rung. The Task Management provides a method to clearly see the overall flow of your PLC program. Looking into the folders of the task management we can see blocks of code. These blocks of contain the ladder logic that will solve our logic. Instructions within the ladder logic code can also determine how the PLC will solve the logic.

We will be looking at using program control in the Productivity 1000 Series PLC.
Let’s get started. Continue Reading!

Productivity 1000 Series PLC Array Functions Part 3

An array is a storage area for a group of common data type tags. They usually have some relationship to each other and need to be manipulated as a group.

Previously we defined an array and use this in an indirect addressing program. It sequenced bits in an output card indirectly. We then looked at the following instructions: Array Statistics (STA), Copy Array (CPA), Fill Array (FLA) and Shift / Rotate Array (SRA). We will now look at the final four array instructions:
Pack Boolean Array (PBA) – Pack an Array of Boolean tags into a destination Word Array
Pack Word Array (PWA) – Convert one 8 bit or 16 bit array into a 16 or 32 bit Destination Array tag.
UnPack Boolean Array (UPBA) – Unpack an Array of Word tags into a destination Boolean Array.
UnPack Word Array (UPWA) – Convert one 32 or 16 bit array source tag into four 8 or 16 bit array tags.
Let’s get started with our final look at arrays in our Productivity 1000 Series PLC. Continue Reading!

Productivity 1000 Series PLC Array Functions Part 2

An array is a storage area for a group of common data type tags. They usually have some relationship to each other and need to be manipulated as a group.
Last time we defined an array and use this in an indirect addressing program. It sequenced bits in an output card indirectly. In this second part we will be looking at the following instructions:
Array Statistics (STA) – This will perform operations such as Summing, Averaging, Minimum Value and Median Value on an Array.
Copy Array (CPA) – Copy a block of 1 or 2 dimensional arrays into a destination array.
Fill Array (FLA) – Copy a value to a block of array elements
Shift / Rotate Array (SRA) – Concurrently Shift or Rotate values in an Array.
Let’s get started with the Productivity 1000 Series PLC arrays part 2. Continue Reading!

Productivity 1000 Series PLC Array Functions Part 1

An array is a storage area for a group of common data type tags. They usually have some relationship to each other and need to be manipulated as a group. We can use arrays for motion control, recipe management, sequencing (indirect addressing), math, etc. The Productivity 1000 Series PLC uses arrays which are programmed using the Productivity Suite Software.

We will be defining an array and use this in an indirect addressing program. This will sequence bits in an output card indirectly.
Let’s get started with the Productivity 1000 Series PLC arrays. Continue Reading!

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!

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 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!