Tag Archives: plc software free

Click PLC Analog Dusk to Dawn Program

A dusk to dawn sensor usually is discrete on/off of the lighting control. If we want to vary the lights to mimic more of the sunset and rise, we would use an analog output to control the lights. I was recently asked about such a program. Every day they wanted the lights to go off at 10 pm and come back on at 6 am. At 9:30 pm the lights would be on at 70% or 7volts of a 0-10V signal. In the next half hour, the program will bring the lights from 70% down to 0%. In the morning the lights will come back on within the half-hour from 0% to 70%. Poultry Farms are one place that would utilize this program.

We will be developing a program that will do this with our Click PLC. Let’s get started! Keep on Reading!

Productivity 1000 Series PLC PID Ramp Soak Instruction

PID Ramp Soak Instruction
The purpose of a ramp soak instruction is to make gradual, controlled changes in temperature (Ramp), followed by a temperature hold (Soak) period.
We will be using our Proportional-Integral-Derivative PID Instruction that we looked at last time to apply the ramp/soak instruction.

Using the immersion heater in a cup of water to keep the temperature at a constant value, we will be adjusting the profile of the temperature as we increase the set point (Ramp) and hold that set point for a predetermined time. (Soak)

We will be modifying our existing program from our PID loop instruction. Let’s get started. Continue Reading!

Productivity 1000 Series PLC PID Instruction

PID Loop (PID) Instruction (Auto Tuning)
A Proportional-Integral-Derivative algorithm is a generic Control Loop feedback formula widely used in industrial control systems. A PID algorithm attempts to correct the Error between a measured process variable and the desired setpoint by calculating and then outputting a corrective action that can adjust the process accordingly and rapidly, to keep the Error to a minimum.

The following links will explain the PID instruction.
https://www.csimn.com/CSI_pages/PIDforDummies.html
http://www.ni.com/white-paper/3782/en/
https://en.wikipedia.org/wiki/PID_controller
We will be using an immersion heater in a cup of water to keep the temperature at a constant value. Using the Productivity Suite software we will perform an autotune on our PID instruction.

Our immersion heater will be controlled through a relay using time proportional control from our PID output. Let’s get started. Continue Reading!

Productivity 1000 Series PLC AdvancedHMI Modbus TCP Ethernet 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 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.

Continue Reading!

Productivity 1000 Series PLC Firmware Update

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 firmware. It provides the low level interface between the hardware and software. The firmware for the productivity series of PLC’s must be downloaded separately from the programming software.

We will be updating our firmware of our Productivity 1000 PLC from 1.2.5.36 to the latest version 1.2.7.37. Let’s get started. Continue Reading!

Click PLC High Speed Counting – Part 2

The Ethernet Click PLC high speed counter has seven different modes of operation. In Part 1 we discussed the High Speed Count Mode, Interval Measurement Mode,
Duration Measurement Mode and Frequency Measurement Mode.

This 100 KHz counter can accept Up, Down, Up/Down, Pulse/Direction or Quadrature (with Z) inputs.
We will be looking at the last three different high speed counter modes available in the click. (External Interrupt, Pulse Catch, Filter) This is all setup through a user friendly graphical user interface. We will also combine the Frequency Measurement and the High Speed Count in one application. Let’s get started! Keep on Reading!

Click PLC High Speed Counting – Part 1

The Click PLC family has been updated, and now has the ability to use high speed counting. This is available on all of the Ethernet units that have DC inputs. The faster processor on the Ethernet unit (3 to 10 times faster than the basic unit) allows this capability. There are seven (7) different modes of operation for the high speed counter available so adaption to your automation solution is easy. The input can count Up, Down, Up/Down, Pulse/Direction or Quadrature (with Z). Maximum speed on the high speed counter inputs are 100 kHz. That is 100,000 pulses per second.

We will be looking at the different high speed counter modes available in the click. This is all setup through a user friendly graphical user interface. Let’s get started! Keep on Reading!

Click PLC HMI Rotary Encoder Dial Input

Rotary encoders are modern digital devices that have taken over from the potentiometer in stereos and many other applications. This is because of their fine digital control and they can fully rotate without end stops. We can connect the rotary encoder into the PLC using just two digital inputs. This human machine interface (HMI) has the advantage over touch screens and other methods of control into the PLC. The operator can control the rate and set point with the dial (rotary encoder) without looking at the control. This will allow the operator to concentration on other tasks.


We will be connecting a rotary encoder with dial into the Click PLC. The signals being sent from the rotary encoder will be explained. Different methods of programming this input in our PLC will be discussed. Let’s get started. Keep on Reading!

Click PLC Update Firmware

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 firmware. It provides the low level interface between the hardware and software. The Click PLC firmware comes with the programming software.
https://support.automationdirect.com/products/clickplcs.html

We will be updating our firmware of our Click PLC from 2.10 to 2.30. Let’s get started! Keep on Reading!

Productivity 1000 Series PLC Modbus TCP Ethernet Communication

The productivity series of PLCs comes with 4 built-in communication ports for easy connectivity to your PC or various industrial networks. Ethernet protocols like Modbus TCP can be utilized with the RJ45 port on this PLC. Modbus TCP is an open (published) protocol that uses the Server (Master) / Client (Slave) architecture. It’s a very common protocol used in industrial automation controls.

We will be using the RJ45 (Ethernet) port to communicate to a Click PLC. Modbus TCP will be the protocol used on this Ethernet communication media. The Productivity 1000 PLC will be the server and the Click PLC will be the client. We will be creating a network between the two PLC units. A heartbeat will be used so if communications is lost, the server (slave) will know. The throughput time will be timed by using a small program in the Click PLC. You will soon see how the Productivity Series of PLC’s is the best way to handle communication to other devices. Let’s get started. Continue Reading!