An array is a storage area for a group of common data type tags. They usually have some relationship with 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 that 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!
We will now look at creating common screen menus on our C-More Micro HMI. The menu can appear on multiple screens which provides intuitive operation for your operators. Allowing operators of your HMI (Human Machine Interface) panel to easily navigate all of the information available is a vital part of programming. We want to present the information to the operator so they will clearly understand the programmed operation of the unit. Common menus on the HMI panel pages will allow the quick navigation, understanding, and control that your operators want. When programming operator interfaces I have always heard to use the KISS method. (Keep it stupidly simple.) Your HMI program interface could contain hundreds of pages containing vital information for operator understanding and control, but you must make it easily accessible and intuitive. This is how you design and program a good HMI panel display.
We will be creating a common screen menu for our C-More Micro HMI Panel using the C-More Micro programming software. Using our previous program created we will be making a background screen to act as our menu system. Let’s get started. Continue Reading!
Timers are present in just about every PLC program that I have seen. A timing chart is a secret behind understanding the timer that you need in your application. Making a timing chart before writing the program will ensure that all of the information will be accounted for. The secret to using timers is a good review of using these timing charts.
PLC Fiddle has three different timing instructions for us to use in our programs. On-Delay, Off-Delay, and Retentive Timers. We will discuss the timer parameters and the three different instructions. Our timer challenges will help you gain a good understanding of how timers work in the PLC. Let’s get started. Continue Reading!
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 second part we will be looking at the following instructions: Lookup Table (LKUP) – Find a value within an XY Table by looking at the intercept of a referenced X Axis value and Y-Axis value. Pack Bits (PKB) – Convert up to 32 Boolean Tag Bits or Constant Bits into an Output Integer Tag. Pack Word (PKW) – Convert up to four 8 bit tags or two 16 bit tags, or four Constants into a 16 or 32 bit Destination Tag. Shift / Rotate Bits (SFR) – Shift or Rotate Bits of a Tag or Constant value. Sign Magnitude (SMAG) – Convert Sign Plus Magnitude data type values to 2’s Complement or Convert 2’s Complement data type values to Sign Plus Magnitude. UnPack Bits (UPKB) – Convert up to a 32 Bit Integer Tag or Constant into Boolean Tags. UnPack Word (UPKW) – Convert one 32 bit or 16 bit source tag into four 8 bit tags or two 16 bit tags.
A review of data handling instructions part 1 can be found here. Here is a link to the video.
Let’s get started with the Productivity 1000 Series PLC data handling instructions part 2. Continue Reading!