# PLC Programming Tutorials

Learn PLC programming, HMI design, and industrial automation with our step-by-step tutorials. Just getting started? Already an experienced automation engineer? We've got something for every learner, at every level.

## What would you like to learn today?

### Structured Text PLC Programming | Mathematical Operators Analog Scaling Inputs

The six operators play an important role in structured text programming in numerous applications. They're used for scaling analog signals, computing ratios, updating counters, converting between different constants and much more. In this tutorial, we will go over the operators mentioned above and create a few basic examples which would utilize them in a real PLC program. Lastly, we will go over the importance of parenthesis when it comes to the order of operation. It's not something that you'd normally worry about in ladder logic and is therefore an important point to understand when you're migrating to structured text.

### Photo Eye Sensor | How to Wire a Photoelectric Sensor into a CompactLogix Allen Bradley PLC

Learn how to work with photoelectric sensors, understand the basics, how to wire them, how to tie them into various PLCs and field devices and lastly how to troubleshoot them.

### How to Build an Allen Bradley PLC Trainer Kit for PLC Training at Home

The best way to learn PLC programming is to get hands-on experience. However, as many are trying to learn how to program these devices before landing a job, it becomes crucial to invest in your own hardware in order to accelerate the learning process. That being said, a PLC programmer will face three challenges when it comes to building an effective PLC trainer.

### Ladder Logic Symbols | PLC Programming in RSLogix 5000 Studio Allen Bradley

A step-by-step introduction to Ladder Logic symbols. Ladder Logic symbols are foundational elements that are memorized by every plc programmer. They’re essential to know if you plan to do any work with this PLC programming language.

##### By
###### Beginner

Learn the basics of Ladder Logic, one of the top 5 most popular types of PLC programming languages used in manufacturing environments.

### Groov EPIC | PAC Controller Setup and Input / Output Sequence Programming Tutorial

Learn how to create a simple control sequence through the Opto 22 Groov EPIC PAC Controller interface and explore how it can interact with the field hardware.

### Structured Text Logic and Boolean Instructions | Motor Starter Interview Practice

A step-by-step guide to Structured Text PLC Programming logical and mathematical operators. Learn how to work with Logical Operators, recreate Ladder logic rungs in Structured Text, and answer interview questions about a basic motor starter circuit.

### Opto 22 Groov Epic PAC System Introduction Overview | SCADA Node Red MQTT

A complete introduction to the Groov Epic by Opto 22 hardware which combines the capabilities of a traditional PLC, modern features as well as state of the art software packages. Learn about the controller, hardware features, startup procedure, and much more.

### Structured Text Example for Input & Output Tag Aliasing Assignments

A complete step-by-step guide on using Structured Text PLC programming and spreadsheets CONCENTRATE function for input and output assignment to speed up machine development.

### Introduction to Structured Text Programming in RSLogix and Studio 5000 Allen Bradley

The COMPLETE guide to learning the basics of structured text. We go over the fundamentals of the interface that are different from ladder logic and build a few simple examples to illustrate an assignment of a variable.

### Bit Masking Tutorial - MEQ | Masked Equals Instruction PLC Programming Bit Manipulation Optimization

The Masked Equals Instruction (MEQ) allows for efficient bit manipulation in PLC programming. Learn about a PLC routine that is used for recipe manipulation.

### PLC SD Card | Load Restore PLC Program CompactLogix ControlLogix Allen Bradley Studio 5000 Tutorial

One of the most critical steps of PLC programming is creating back-ups. Learn how you can create a full PLC back-up of a 1769-L24ER-QB1B Programmable Logic Controller onto a 1GB SD Card 1784-SD1.

### 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. Learn how to connect through 1756-EN3T(R), 1756-EN2T(R), 1756-ENET, and 1756-ENBT cards to a ControlLogix PLC (1756-L61).

### 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. Learn how to navigate common issues on legacy systems running RSLogix 500 could save you and your plant precious hours of downtime.

### 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. Learn how to integrate a PowerFlex 525 VFD into RSLogix Studio 5000 over EtherNet IP

### 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.

##### By

A step-by-step guide to establishing a connection from an Ignition Edge application to an Allen Bradley 1769-L24ER-QB1B programmable logic controller.

### Raspberry Pi Ignition Edge Installation | Industrial SCADA Inductive Automation Tutorial NOOBS IoT

An easy step-by-step guide to installing and configuring the Ignition Edge IoT platform on a Raspberry Pi.

### PLC Networking Basics Tutorial | RSLinx Classic Lite EtherNet/IP Driver Configuration User Training

Programmable Logic Controllers are placed at the heart of the manufacturing process. Learn about the basics of networking as well as the RSLinx Classic driver setup.

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

A step-by-step guide to setting the IP on a Stratix 5700 Switch and accessing the web interface.

### PLC Interview Question - Array FIFO Logic Programming Example Average Rolling Mean RSLogix 5000

Learn how to implement a FIFO through FFL and FFU instructions. An excellent step toward becoming a better programmer.

### RSLogix Studio 5000 JSR JMP LBL Instruction | Navigating Routines PLC Programming Jump Control

A step-to-step guide to the JSR, JMP, and LBL instructions. Learn when and how to use them in order to avoid troubleshooting complications in PLC systems.

### Industrial Relay Control System | Wiring a 24 Vold DC Relay Circuit

Industrial Relays have been used in Automation for decades. These fundamental building blocks of electrical circuits allowed the first automated systems to function without the need of modern PLCs and computers. Although you won’t find any relay based logic circuitry today, they still play an important role in modern control systems.

### The Real Challenges of Industry 4.0

Having worked & consulted for top manufacturing companies, such as Procter & Gamble, Kraft Heinz as well as Post Holdings, I wanted to reflect as to what I believe are the challenges of what we’re now commonly discussing as Industry 4.0.

### Allen Bradley PLC Programming Tutorials | Training in RSLogix 5000

A complete introduction to getting started in RSLogix 5000 or Studio 5000, an environment for programming ControlLogix and CompactLogix Allen Bradley PLCs.

### Point IO 1734 Allen Bradley - Tutorial on Programming Inputs Outputs in RSLogix Studio 5000 Ladder

A step-by-step guide to the use of a digital SICK sensor, Point IO, and best practices in Ladder Logic.

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

Point IO is a critical component of a distributed control system. Learn about the connections needed to add a SICK sensor to one of the inputs on the Point IO node.

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

Learn how to leverage fill and visibility property tools in FactoryTalk View to make sure your application is much more appealing to the operators as well as your customers.

### PLC Function Block Programming for Analog Input Scaling | FBD Tutorial in RSLogix 5000

A step-by-step guide to function Blocks which are an essential programming tool in PLC programming. Learn the concept of input and output scaling explore specific examples of how to scale an analog input that is registered into a MicroLogix PLC.

##### By

Analog PLC Inputs are crucial for modern control systems. Learn the exact steps required to configure and receive inputs on a 1769-IF8 module, the most used card for the CompactLogix platform.

### PointIO Allen Bradley Hardware & Software Tutorial | 1734-AENT Point IO EtherNet RSLogix 5000 Logic

PointIO provides a simple solution to integrate field devices into a control system. These modules are extremely flexible, provide a vast array of replaceable cards and communicate over many network protocols such as EtherNet/IP, ControlNet & DeviceNet.

### RSLogix PID Loop PLC Programming | Example of PID Control Instruction in Studio RSLogix 5000

A PID control loop is a critical function within many industrial processes. It gives an engineer the ability to control a certain process based on the feedback received from field devices. Although this concept has a very extensive control systems background & theory, we’ve come to a point where we can utilize a PLC-based instruction to control the system without worrying about all the details.

### 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 that may result in faults, this is something that can be practiced and observed within a test environment.

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

A step-by-step guide to creating Alias Tags for PLC input-output modules in RSLogix 5000.

### PLC Sequencer Programming - Tutorial on SQI SQO Instructions in RSLogix 5000 Ladder Logic

Learn about real-world practical use-cases for a sequencer and how the SQI and SQO instructions are set up. Although the sequencer isn’t something you’d expect to use on a regular basis, it’s an advanced technique that shines in specific applications.

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

An in-depth overview of IO buffering, discussing why it’s important, what you can accomplish through this practice and lastly, how is it used in real-world scenarios.

### Add On Instructions Programming | AOI RSLogix / Studio 5000 PLC Programming Tutorial Example Logic

A complete step-by-step guide to Add-On Instructions(AOI) that play a critical role in PLC programming. They give a programmer the ability to define custom instructions in order to maximize code reusability and simplify development.

### PLC ControlLogix Hardware | Allen Bradley ControlLogix Hardware Training | Chassis, Power Supply

Understanding the Hardware is the first step of working with Programmable Logic Controllers (PLCs). This is a complete introduction to the entire ControlLogix platform which is the flagship product from Rockwell Automation.

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

A step-by-step guide to assembling the hardware and adding the 1769-IF8 module into a program that is downloaded to a CompactLogix 1769-L24ER-QB1B processor.

### HMI Development | FactoryTalk View Studio ME Rotation Animation Tutorial | Pump Fan Motor Program

HMI Programming: How to make sure that your design is both functional and pleasing to the eye by leveraging the ME rotation animation in FactoryTalk View Studio.

### Which PLC Hardware to Buy, When to Invest & What You Should Know before Purchasing PLCs

A complete guide to picking the perfect PLCs / HMIs system for your needs.

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

A step-by-step guide to PLC Forces, an important tool that you need to deal with on a regular basis and something you should have in your toolkit as a competent PLC Programmer.

##### By
###### Intermediate

A step-by-step guide to advanced alarm capturing in Ladder Logic RSLogix 500 Allen Bradley. Learn how to implement a Ladder Logic 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.

### PLC Programming Advanced Mathematical Instructions – SCP | Scale With Parameters

A step-to-step guide to the SCP (Scale with Parameters) instruction commonly used for working with analog signals.

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

A step-by-step guide to Alarms, Faults, and Warning which 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.

### PLC Programming MSG Instruction - Send Data Between MicroLogix & CompactLogix PLCs Studio 5000 Tutorial

Sending data between two Programmable Logic Controllers can pose a challenge. However, in the current manufacturing environments, it’s an absolute must. Learn one of the simplest ways to pass data between a MicroLogix 1100 PLC and a CompactLogix L24ER PLC.

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

A step-by-step guide to User-Defined Data Types or UDTs which are commonly used in Programmable Logic Controller Programming in order to group data and maximize code reusability.

### Cognex In-Sight Vision System - Job Change EtherNet IP CompactLogix Rockwell PLC RSLogix Studio 5000

A complete step-by-step guide to the job change process in Cognex In-Sight. Learn how to go from one job to another where a unique job is created for each product type.

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

A complete step-by-step guide to getting started in RSLogix 500, RSLinx & RSLogix 500 Emulate. Learn how to bring a full program online and connect to a PLC.

### PLC Programming - Getting Started in RSLogix 500 & MicroLogix 1100 Programmable Logic Controller

An easy step-by-step guide to getting started with RSLogix 500 on a MicroLogix 1100 PLC. Perfect for PLC programming beginners.

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

A step-by-step guide to setting the IP address on a PanelView Plus 1000 Terminal in order to send data to and from it.

### PLC Interview Questions - Building a 2 Button Motor Starter System

Learn how to answer the 2 button motor starter question which is one of the most fundamental interview questions you will encounter as a PLC programmer & control engineer or technician.

### 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 general accessibility. Learn how to create a UDT for a structure and send it over as a regular tag in order to use it independently from the time logged by the HMI terminal.

### HMI / PLC Fundamentals - Linking Studio 5000 Tags to a PanelView Plus 1000 HMI Terminal Tutorial

A step-by-step guide to the process of establishing a link between a PLC running v30.11 firmware and a PanelView Plus 1000 HMI Terminal running v5.10 firmware. This is a very important process in creating an HMI application and allows the engineer to control PLC-based tags from the HMI terminal.

### PLC Programming Computational Mathematical Instructions – CPT | Compute

A step-by-step guide to the CPT (Compute) instruction which has extensive capabilities when it comes to mathematical and logic functions in ladder logic.

### PLC Programming Computational Mathematical Instructions – MOD | Modulo

A step-by-step guide to the MOD (Modulo) instruction used to calculate the remainder produced by a division of two integers.

### PLC Programming Computational Mathematical Instructions – MUL | Multiply

A step-by-step guide to the MUL (Multiply) instruction used to perform a mathematical multiplication of two integers or floats.

### PLC Programming Computational Mathematical Instructions – SUB | Subtraction

A step-by-step guide to the SUB (Subtraction) instruction used to perform a mathematical subtraction of two values which may be integers or floats.

##### By
###### Beginner

A step-by-step guide to the ADD (Addition) instruction used to perform a mathematical addition of two integers or floats.

### PLC Programming Comparison Instructions – MEQ | Masked Equal

A step-by-step guide to the MEQ (Masked Equals instruction which is used to perform a similar function to the EQU (Equals) Instruction, with one key difference: a mask is applied to the compared bits.

### PLC Programming Fundamentals - How To Use BOOTP / DHCP Tool Set An IP Address Of a New Rockwell PLC

A complete guide to the BOOTP / DHCP tool from Rockwell which is a necessity when it comes to working with Programmable Logic Controllers (PLCs). Learn about the proper use of this tool as well as some of the common pitfalls for those who need to set an IP address of their PLC.

### PLC Programming Comparison Instructions – LIM | Limit Test

A step-by-step guide to the LIM (Limit Test) instruction used to compare the specified operand to two limits: lower limit and high limit.

### PLC Programming Comparison Instructions – GRT | Greater Than

A step-by-step guide to the GRT (Greater Than) instruction that compares two operands and evaluates if the value stored in “Source A” is greater than the value stored in “Source B”.

### PLC Programming Comparison Instructions – LES | Less Than

A step-by-step guide to the LES (Less Than) instruction used to compare two values against each other.

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

A step-by-step guide to flashing 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.

### PLC Programming Comparison Instructions – NEQ | Not Equal

A step-by-step guide to the NEQ (Not Equal) instruction used to compare two values just like the EQU Instruction.

### PLC Programming Comparison Instructions – EQU | Equal

A step-by-step guide to the EQU (Equal) instruction used to compare two values.

### PLC Programming Intermediate Instructions – CTD | Count Down

A step-by-step guide to the CTD (Count Down) instruction used to decrement the value of the counter associated with it.

### PLC Programming Intermediate Instructions – CTU | Count Up

A step-by-step guide to the CTU (Count Up) instruction used in pair with a Counter construct to count the number of LOW to HIGH transitions of the preceding logic.

### PLC Programming Intermediate Instructions – RTO | Retentive Timer

A complete guide to the RTO (Retentive Timer) instruction used to keep track of time just like the TON Instruction, but with one key difference.

### PLC Programming Intermediate Instructions – TOF | Timer Off

A complete guide to the TOF (Timer OFF) instruction used to keep track of the time of occurrence of certain events.

### PLC Programming Intermediate Instructions – TON | Timer On

A step-by-step guide to the TON (Timer ON) instruction used to keep track of the time of occurrence of certain events.

### PLC Programming Fundamentals – OSF | One Shot Falling | Instruction

A step-by-step guide to the OSF (One Shot Falling) instruction which allows a programmer to create a scenario where an output is energized for a single scan when a transition from a logic HIGH to a logic LOW is detected on the input side of the instruction.

### PLC Programming Fundamentals – OSR Instruction

A complete guide to One-Shot Rising instructions for Allen-Bradley PLCs

### PLC Programming Fundamentals – ONS Instruction

A step-by-step guide to the ONS (One Shot) instruction which allows the rung to execute once if the data leading to it is true.

### PLC Programming Fundamentals – OTU Instruction

A step-by-step guide to the OTU (Output Unlatch) instruction which sets a bit to LOW if all the conditions leading to it evaluate to true.

### PLC Programming Fundamentals – OTL Instruction

A step-by-step guide to the OTL (Output Latch) instruction which forces a single bit of logic into a high state if all the conditions leading to it are true.

### PLC Programming Fundamentals – OTE Instruction

A step-by-step guide to the OTE (Output Energize) instruction used to energize a single bit of data if the input leading to it is true.

### PLC Programming Fundamentals – XIO Instruction

A step-by-step guide to the XIO (Examine If Open) instruction which performs the function opposite to the XIC (Examine if Closed). The XIO instruction if is fundamental for working with Programmable Logic Controllers (PLCs).