We will now look at communication between the Productivity 1000 PLC (Modbus TCP Server) and AdvancedHMI (Modbus TCP Client). 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 Productivity 1000 Series PLC.
Our sample Productivity 1000 PLC program will display a digital panel meter and a gauge of a value in the PLC. Stop and start momentary pushbuttons on the HMI will allow this number to increase or stop. An indication will turn green when the number is increasing and red when it has stopped. The AdvancedHMI package will communicate Modbus TCP over Ethernet to the Productivity 1000 PLC. We will be able to monitor our process via the AdvancedHMI window. Let’s get started.
Firmware is usually PLC operating system code that is written into a read-only memory. The BIOS (Basic Input Output System) of a PC (personal computer) is a good example of the firmware. It provides the low-level interface between the hardware and software. The firmware for the productivity series of PLCs must be downloaded separately from the programming software.
We will be updating our firmware of our Productivity 1000 PLC from 22.214.171.124 to the latest version 126.96.36.199. Let’s get started. Continue Reading!
The productivity series of PLCs has a built in data logger. This easy data logger will log up to 64 tag values on a USB (Micro SD) storage device connected to the CPU. The logs will be stored in CSV (Comma Separated Values) file format. Logging can be triggered by the rising edge transition of a Boolean tag (event) or configured to occur at regular intervals (scheduled).
A USB storage device should be normally connected if logging data. The CPU maintains an internal 73KB buffer for temporarily logging data while no USB storage device is present. Data in the buffer will not be retained through a power cycle. Let’s get started. Continue Reading!
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. 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 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!
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.
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!