Categories
Counters manufacturing PLC PLC Basics PLC Learning Productivity 2000 Productivity Suite Scan

Productivity 2000 PLC Ladder Logic Counter

Most programmable logic controller (PLC) programs will include a counter instruction. The Productivity 2000 Series PLC has two different counter instructions for your program. These can be used in several different ways to adapt to your application. Basically, counters are used to count up or down to a specific limit. When the limit is reached, the output is turned on.
Productivity 2000 PLC Ladder Logic CounterCounters can be made from a few different instructions from the PLC. The math instruction uses the one-shot (leading edge) input to add 1 to an internal register to keep track of the counter’s value. A comparison is used to compare this counter value to a set value (SV). The output is turned on if it is greater than or equal. Another input is used for the reset of the counter value. Copy is used to move the reset value into the counter value. This reset will usually override the counting application. Breaking down the counter’s essential operation will help us understand our application and how we can utilize counters in our automation programs.
PLC Ladder Logic Programming Sample CodeThe productivity suite software has Simple Counters (SCNT) and the Counters (CNT) instructions.
Productivity 2000 PLC Ladder Logic CounterWe will be reviewing these instructions and looking at how to implement them in our ladder logic program. Let’s get started.

Categories
Click Click PLUS Communication Counters EasyPLC Machine Simulator Modbus RTU Modbus RTU Modbus TCP PLC PLC Basics PLC Learning

EasyPLC Palletizing Robot Programming Click PLC

The EasyPLC palletizing robot will demonstrate sequencing and robot control using a PLC. This palletization process will fill a box container with six cans. A servo-controlled gantry robot using x and y is used to do this operation. The complete box will then travel along to another conveyor to an unloading area. A robot will then pick up the box and place this on a pallet.
EasyPLC Palletizing Robot Programming Click PLCWe will discuss and show you how to program this EasyPLC palletizing robot machine using the five steps for PLC program development. This will involve all the ladder logic to load and unload using the robot simulator. This PLC simulator will show sequencing instructions. A drum instruction in the PLC will be used with events and a counter to load the box with six cans. Another drum instruction in the PLC, with time, will be used to unload the container onto a pallet. An Automation Direct Click PLC will be used for this application, but the general methods can be used for just about any PLC on the market. Serial Modbus RTU communication between the machine simulator and the Click PLC will be used. An Ethernet connection will be used with the Click programming software. Let’s get started.

Categories
Articles BRX Do-More Counters Do-More EasyPLC Machine Simulator Inputs PLC PLC Basics PLC Learning

PLC Counter Programming – 3 Things to Know

PLC ladder logic counters are used in just about every PLC program. They will indicate how many times something has happened within the controller logic. Counters then can be used to trigger other outputs or items in the PLC. You can find counter applications in a variety of things every day.
PLC Counter Programming - 3 Things to Know
PLC Counter Programming - 3 Things to KnowWe will discuss three things you need to know when programming counters in the PLC. A sample program with a counter will be shown. This will have a 3D simulation with the PLC. Let’s get started.

Categories
Click Click PLUS Communication EasyPLC Machine Simulator Modbus TCP PLC PLC Learning

Click PLC – EasyPLC PLC Mixer Programming

The Machine Simulator (MS) is part of the EasyPLC software suite. It has many built-in machines that are used to show different programming techniques. The industrial mixer is one of these machines. When the start pushbutton is energized it will fill up a tank until the lower level sensor is detected. The mixer blades will then be turned on until the top sensor is detected. The tank is then drained past the low sensor and the process repeats for 3 cycle times. Once the sequence is complete, the tank is completely drained and ready to start again.
The Click PLC will be used to program this virtual 3D mixer machine. A DRUM instruction will be used in the PLC for the sequencing. Using the Click Plus PLC, we will connect to the mixing machine. This will be done using Modbus TCP (Ethernet) for communications. Using the five steps for program development we will show how this is programmed. Let’s get started.

Categories
Articles PLC PLC Basics PLC Learning

PLC Learning Series – Programming Steps

Developing a programmable logic controller (PLC) program can be broken down into five different steps. These programming steps are as follows:
Five Steps to PLC Program Development
Step 1 – Define the task
Step 2 – Define the Inputs and Outputs
Step 3 – Develop a logical sequence of operation
Step 4 – Develop the PLC program
Step 5 – Test the program
These five steps to PLC program development will help you in understanding, programming, and troubleshooting your automated machine.
PLC Learning Series – Programming StepsWe will be looking at each of these steps in a little more detail as we discuss the PLC programming development. Let’s get started.

Categories
Communication Modbus TCP PLC PLC Basics Productivity 1000 Scan

Productivity 1000 PLC to Modbus TCP Remote IO

The Productivity Series of PLC can use Modbus TCP remote IO (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 P1000 PLC. Modbus TCP will be the protocol over Ethernet to communicate to the SIO-MB12CDR and SIO-MB04ADS units.
productivity plc modbus tcp remote io

SIO-MB12CDR
– 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.
SIO-MB04ADS
– 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 Productivity 1000 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 Productivity 10000 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.