Tag Archives: plc hardware components

Click PLC to Stride Field IO Modbus TCP

The Click PLC can use remote inputs and outputs from Stride. The Stride Field I/O Modules are simple and compact. They provide an economical means to connect inputs and outputs to an Ethernet Modbus TCP communication network. Every module operates as a standalone Modbus TCP server and can be configured via a built-in web server.

Previously we looked at the Stride Field Remote IO Modules Modbus TCP Ethernet wiring and configuration.
Stride Field Remote IO Modules Modbus TCP Ethernet|
– Unboxing SIO MB12CDR and SIO MB04ADS Video
Powering and Configuring Video
We will be connecting two Stride remote inputs and outputs to the Click PLC. Modbus TCP will be the protocol over Ethernet to communicate to the SIO-MB12CDR and SIO-MB04ADS units.
– STRIDE discrete combo module, Input: 8-point, 12-24 VDC, sinking, Output: 4-point, relay, (4) Form C (SPDT) relays, 2A/point, (1) Ethernet (RJ45) port(s), Modbus TCP server.
– STRIDE analog input module, 4-channel, current/voltage, 16-bit, isolated, input current signal range(s) of +/- 20 mA, input voltage signal range(s) of +/- 10 VDC, (1) Ethernet (RJ45) port(s), Modbus TCP server.
We will be reading an analog voltage into the Click PLC from the remote IO unit. We will then set an output to pulse on and off at a time range indicated by this analog signal. The output will be on the other remote IO unit and will trigger the input to signal. We will look at the Frequency, Count, and Status of this input. Our Click PLC program will also take into consideration watchdog (communication time out) and power-up events for the Stride remote input and output units.
Let’s get started. Keep on Reading!

Click PLC Logging Data with Time and Date Stamp

The Click PLC can perform indirect addressing. This means that I can ask for information to be moved to and from locations in the PLC using a pointer that will indicate the address.

Stephen Covey in The 7 Habits of Highly Effective People said: “Begin With the End in Mind.” This is especially true when looking at storing or logging data within the programmable logic controller. (PLC) It is important to fully define what you want to accomplish with your program.

In our Click PLC example, we want to take a series of consecutive memory locations (DS1 to DS10) and store them in memory areas DS100 to DS4100 each minute. We will be able to store 400 entries (400 minutes) in our storage area. Every entry will include the real-time clock (RTC) of the Click. This will show the date and time of each entry. Let’s get started! Keep on Reading!

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!

Wiring Stack Light to Click PLC

Stack lights are usually modular stackable components that provide a visually illuminated and audible indication for machines, systems, and processes. They are usually located on top of equipment to provide this notification to personnel in the area.

Stack lights are also known as signal tower lights, indicator lights, warning lights, industrial signal lights, tower lights, and light towers.
We will be connecting a Patlite NPS-402-RYGB Super Slim stack light to our Click PLC.

These stack lights come in preassembled units in the most popular combinations of colours with ABS resin main bodies that offer superior impact and heat resistance; double-insulated construction enhances durability and safety. Interchangeable light modules require no rewiring. Let’s get started. Continue 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.

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

The 7 Essential Parts of a PLC System

When I was in school PLC’s were just in their infancy. We were taught that the PLC consisted of the central processing unit (CPU), analog and digital inputs and outputs. Everything was programmed with dedicated handheld devices and/or software devices on specialized hardware. We now have modern PLC systems that are capable of so much more. Let’s look at how we can now break up these modern PLC system into the seven essential components.

Inputs and Outputs (I/O)
Analog I/O
Specialty I/O
Programming Tools
Networking Continue Reading…

Click PLC Compare and Math Instructions

Compare and math instructions in the Click PLC will allow you to do a number of things. We will use the compare instructions to turn on bits which will indicate production shifts. Using the math instruction we will convert the number of units made to a weight.  Keep on Reading!

Click PLC Installing the Software

Previously we discussed the Click PLC System Hardware – Video. Today we will be installing the free software required to program the PLC. This includes the actual program and communication drivers.  Keep on Reading!

Click PLC System Hardware

Many people ask me what I do when looking at a new PLC model or system. My approach is very straight forward and we will view this in action with this Click PLC series. This series will go from examining the hardware to programming and communicating to the PLC in several ways. If you have questions along the way, please let me know. Keep on Reading!