Intermediate

PLC Programming Intermediate Tutorials

Structured Text Example for Input & Output Tag Aliasing Assignments

One of the ways we utilize Structured Text to speed up machine development is through input and output assignment. In a typical system integration environment, one would have to create a rung dedicated for every input and output in order to pass the data to an internal tag of the PLC. The reason for this practice was discussed in a tutorial on tag aliasing we've released before. In short, by doing so, we can easily reassign and expand our tags as the program changes.

Vladimir Romanov
April 9, 2020
Intermediate
Structured Text
Management
Featured Tutorial

Structured Text Example for Input & Output Tag Aliasing Assignments

One of the ways we utilize Structured Text to speed up machine development is through input and output assignment. In a typical system integration environment, one would have to create a rung dedicated for every input and output in order to pass the data to an internal tag of the PLC. The reason for this practice was discussed in a tutorial on tag aliasing we've released before. In short, by doing so, we can easily reassign and expand our tags as the program changes.

Vladimir Romanov
April 9, 2020
Featured Tutorial

Flashing PLC Firmware - Complete Guide for an Allen Bradley CompactLogix PLC

Learn how to flash a 1756-L24ER-QB1B Allen Bradley processor. The procedure to flash most of the similar Allen Bradley PLCs is the same and should reapply completely.

Vladimir Romanov
April 9, 2020

Structured Text Example for Input & Output Tag Aliasing Assignments

One of the ways we utilize Structured Text to speed up machine development is through input and output assignment. In a typical system integration environment, one would have to create a rung dedicated for every input and output in order to pass the data to an internal tag of the PLC. The reason for this practice was discussed in a tutorial on tag aliasing we've released before. In short, by doing so, we can easily reassign and expand our tags as the program changes.

Vladimir Romanov
April 9, 2020
Intermediate
Structured Text
Management

Flashing PLC Firmware - Complete Guide for an Allen Bradley CompactLogix PLC

Learn how to flash a 1756-L24ER-QB1B Allen Bradley processor. The procedure to flash most of the similar Allen Bradley PLCs is the same and should reapply completely.

Vladimir Romanov
April 9, 2020
Intermediate
PLC Hardware
PLC Hardware

PLC Programming Computational Mathematical Instructions – CPT | Compute

The CPT, also known as the compute, is an instruction which has extensive capabilities when it comes to mathematical and logic functions in ladder logic. This instruction allows the user to input a complex string of instructions composed of computational, operational and comparison functions and computes the result which is stored in the specified register. The instruction will work with operands used in the based instructions as well as many others.The CPT instruction has many advantages as well as drawbacks. Based on personal experience, you should only use this instruction if absolutely necessary and the same could not be achieved with several basic instructions. In other words, you can compute an ADD instruction through the CPT, but you shouldn’t.

Vladimir Romanov
April 9, 2020
Intermediate
PLC Instructions
Troubleshooting

HMI / PLC Fundamentals - Syncing & Sending PLC Time to HMI Terminal

Time synchronization is an important step for displaying the right information to the machine operators, SCADA based data logging and for general accessibility. Creating this link between an HMI and PLC system is not as straightforward as one might think. That being said, time synchronization becomes quite simple after you’ve done it once.We will be exploring this process between a CompactLogix L24ER processor programmed in v30 Studio 5000 and an HMI running v5.10 FactoryTalk View ME application. Through this process, we will also create a UDT for our structure and send it over as a regular tag in order to use it independently from the time logged by the HMI terminal.

HMI Fundamentals - PanelView Plus Terminal IP Settings for EtherNet Connectivity to PLC

In order to send data to and from a PanelView Plus HMI Terminal, it’s necessary to configure the IP settings of the said device. This procedure needs to take place every single time a new terminal is installed or is migrated to a new subnet. the procedure isn’t complicated but is tricky for a new Controls Engineer. Furthermore, it may be accomplished in several distinct ways which aren’t as obvious as we’d all like them to be.

Vladimir Romanov
April 9, 2020
Intermediate
HMI Development
Troubleshooting

RSLogix 500 Emulate - Creating RSLogix 500 Emulator Environment, Going Online, Connecting to PLC

RSLogix 500 Emulator brings a lot of capability & accessibility to those who don’t have access to hardware or simply want to test certain logic before deployment. Working in RSLogix 500 Emulate is straight forward once everything is working & talking properly. However, it’s somewhat tricky to get this going for the first time. In this tutorial, we will be exploring how to get started in RSLogix 500, RSLinx & RSLogix 500 Emulate in order to bring a full program online within our computer.

Vladimir Romanov
April 9, 2020
Intermediate
Networking
Interview Practice

User Defined Data Type [UDT] Tutorial - Explanation, Usage, Examples & Custom Definition in RSLogix 5000

User Defined Data Types or UDTs are commonly used in Programmable Logic Controller Programming in order to group data and maximize code reusability. This structure allows the user to combine any of the existing data types into a package which can be reapplied multiple types across the program, be exported and imported into other structures.

PLC Alarm Programming - Fault Capturing Example in Ladder Logic RSLogix 500 Allen Bradley

Alarms, Faults, and Warning play a critical role within every PLC Program. This logic allows the programmer to capture any abnormalities, alert the operator of a failure, and prevent system damage. Ultimately, this code is needed to make sure that equipment is brought to a safe condition after a critical failure.

Vladimir Romanov
April 9, 2020
Intermediate
PLC Instructions
Troubleshooting

PLC Programming Advanced Mathematical Instructions – SCP | Scale With Parameters

The SCP, also known as the scale with parameters, is an instruction which is commonly used for working with analog signals. It’s an instruction which can be utilized in ladder logic as well as function blocks. The instruction will take input, use input minimum & maximums parameters as well as outputs min/max parameters and convert the output scaling based on them.The primary reason as to why you’d want to utilize this instruction is the fact that analog data will typically be meaningless as it comes into the Programmable Logic Controller or Input Card. The reason being is that the 4-20mA or 0 to 10 VDC signal is generally scaled to the largest scale. On an RSLogix 500 based PLC, this is typically 16

Vladimir Romanov
April 9, 2020
Intermediate
PLC Instructions
Troubleshooting

PLC Alarm Programming - Advanced Alarm Capturing in Ladder Logic RSLogix 500 Allen Bradley

In a recent post, we’ve covered the importance of properly defining alarms, faults & warnings within a PLC routine. Although we went over the basics, an advanced practice would require us to go a step above what we’ve defined by implementing ladder logic which would capture the first fault which occurred. The purpose of this logic would be to notify the operator or engineer which fault came first as in many cases, an array of faults would be triggered after the first one.

Vladimir Romanov
April 9, 2020
Intermediate
PLC Instructions
Troubleshooting

PLC Forces Tutorial - Working with Forced Inputs, Outputs, Troubleshooting & Disabling Online Forces RSLogix

PLC Forces is an important tool which can be easily misused. It’s something with which you need to deal on a regular basis and something you should have in your toolkit as a competent PLC Programmer. The primary purpose of PLC Forces is to either enable or disable an input or output residing within the PLC Program. By doing so, the programmer can be certain that a certain input or output is energized or de-energized.

Vladimir Romanov
April 9, 2020
Intermediate
PLC Instructions
Troubleshooting

PLC Programming | CompactLogix 1769-IF8 Analog Input Module RSLogix 5000 Configuration tutorial

Although Analog devices are slowly being phased away by those with embedded & EtherNet capabilities, a lot of them are still present in the field and are being developed by Original Equipment Manufacturers (OEMs). Knowing how to integrate these devices into a plant control system is an important aspect of working with PLC Programming & automating certain equipment. Analog devices can be used to measure distance, flow, pressure, speed, rotation, weight and more.

Vladimir Romanov
April 9, 2020
Intermediate
PLC Hardware
Troubleshooting

PLC Input Output Mapping / Buffering | IO Addressing Basics in RSLogix Studio 5000 Allen Bradley

One of the first tasks of PLC Programming is to properly map Inputs & Outputs. Although this task is fairly straightforward, many programmers either avoid it or implement it incorrectly due to their misunderstanding of it. IO Mapping or Buffering can help you in multiple ways. It allows one to contain all the primary input & output tags within a single program & easily manipulate them as needed. The necessity to manipulate may come from hardware failure or need to upgrade or expand the system. Furthermore, having these assets within a single program greatly reduces the time to troubleshoot and commission new systems.

Vladimir Romanov
April 9, 2020
Intermediate
PLC Instructions
Troubleshooting

RSLogix 5000 Tag Structure - Creating Alias Tags for PLC Input Output Modules Point IO Studio 5000

Tag aliasing is a concept which is particularly important in RSLogix 5000. The reason is that most RSLogix 5000 based Programmable Logic Controllers (PLCs) aren’t able to save tag descriptions within their memory. If the program is lost & needs to be uploaded from the controller, it will be restored without a single description. However, if you’re working with Studio 5000 v21 or above, your PLC will most likely have the capability to store the descriptions you add into your program.

PLC Fault Finding | FOR Loop PLC Fault Diagnosis Troubleshooting in RSLogix 5000 Allen Bradley

Knowing how to deal with PLC faults within an industrial environment is an invaluable skill. Although it’s not encouraged to introduce conditions which may result in faults, this is something which can be practiced and observed within a test environment.There are many ways to fault out a PLC, but they are generally extremely reliable and operate without a problem. However, poor programming may cause a PLC to enter an undesired state which brings the entire system down and bring manufacturing to a halt. We will be exploring one of these conditions which are created by calling an element within an array which is undefined.

Vladimir Romanov
April 9, 2020
Intermediate
Troubleshooting
Interview Practice

FactoryTalk View Studio ME & SE - Object Animation Through Tags Tutorial Faceplates Image Library

Animations in FactoryTalk View Studio Machine & Site Edition are critical in all HMI applications. They allow the programmer to create objects which will alert the operator of the status of a certain element, draw attention to themselves upon a change & make sure that the proper state of a certain object is portrayed by the application. Furthermore, properly designed animations are pleasing to the user & will make your application stand out.

Point IO 1734 Allen Bradley - Input Sensor Hardware Installation Wiring Testing Programming Tutorial

Point IO is a critical component of a distributed control system. This hardware component from Rockwell Automation allows the end user to add nodes of inputs and outputs to their system within proximity of field devices. By doing so, costs of installation are reduced and the need of multiple PLCs is reduced if not eliminated in most situations.

Vladimir Romanov
April 9, 2020
Intermediate
PointIO
PLC External Hardware

Stratix Switch 5700 Express Setup | Rockwell Automation Configuration IP Password 8000 Network Cisco

Stratix Switches play a critical role within a manufacturing network. They’re highly versatile, rated for a harsh environment & provide an easy way for connecting devices for control or data gathering purposes. There are multiple models within the Stratix family and each one offers a certain advantage over another. The Stratix 5700 switches are particularly useful within electrical panels as they’re very rugged to withstand heat and provide end-point connectivity to field devices.

Vladimir Romanov
April 9, 2020
Intermediate
Stratix
PLC External Hardware

PLC Data Types & Structures - Allen Bradley PLC RSLogix 5000 Basics Programming BOOL INT DINT Arrays

BOOLs, INTs, DINTs, SINTs as well as the arrays of those structures are at the core of every programming language, but aren’t fully understood by most PLC programmers.

Vladimir Romanov
April 9, 2020
Intermediate
Troubleshooting
Interview Practice

PowerFlex 525 VFD Setup - Programming Parameters Wiring Diagram RSLogix Studio 5000 EtherNet IP Address Start Stop

Variable Frequency Drives are used within the automation industry to drive induction motors with added precision over a simple contactor. Over the last decade, these devices have become increasingly cheaper. Based on this phenomenon, it’s now recommended to utilize a VFD over a contactor in every application. VFDs are flexible, provide additional control and data in every application.

Vladimir Romanov
April 9, 2020
Intermediate
PLC External Hardware

PLC Troubleshooting - RSLogix 500 SLC MicroLogix Mathematical Overflow Fault Code Finding Techniques

Troubleshooting a fault on a production PLC system is often stressful and ambiguous. Knowing how to navigate common issues on legacy systems running RSLogix 500 could save you and your plant precious hours of downtime.In this tutorial, we will be going over a common error which we’ve observed in systems that run on RSLogix 500. The goal of the tutorial is to illustrate simple, yet effective, troulebshooting steps you can apply to most errors.

Vladimir Romanov
April 9, 2020
Intermediate
Interview Practice
Troubleshooting

1756-ENBT - ControlLogix EtherNet IP Communication Allen Bradley PLC 1756-EN2T 1756-EN3T Programming

One of the most challenging first steps in PLC programming is connecting to the hardware. Within the ControlLogix family of Allen Bradley PLCs, this connection is established through a dedicated EtherNet / IP card (Note: the 1756-L8x PLCs have dedicated EtherNet ports and no longer require a separate module). These cards have been changed and upgraded since the initial release of the platform and multiple issues have been resolved. However, it’s still important to know how to work with them as many plants employ older versions of these modules.

Vladimir Romanov
April 9, 2020
Intermediate
PLC External Hardware

What Next?