PLC Programming Tutorial - Ladder Logic #3: Math and Calculations

PLC Programming Tutorial - Ladder Logic #3: Math and Calculations

L
LeMaster Tech
648 Video Views·Jan 11, 2026  #3 #PLCProgramming #LadderLogic

PLC Programming Tutorial - Ladder Logic #3: Math and Calculations | Siemens TIA Portal
Master PLC math functions and calculate and compute instructions in this hands-on ladder logic tutorial using Siemens TIA Portal. This is Part 3 of my PLC programming series, building on the binary and Boolean fundamentals from Part 1, and Timers and Counters from Part 2.

What you'll learn:
Addition (ADD), Subtraction (SUB), Multiplication (MUL), and Division (DIV)
Calculate/Compute Instructions (CPT)
Modulus (MOD) - integer remainders from division

These instructions are essential building blocks in industrial automation—you'll use them in nearly every PLC program you write.
Perfect for beginners learning PLC programming, electricians moving into controls, or experienced techs brushing up on Siemens ladder logic fundamentals.
Watch The Full Playlist Here! ▸ https://www.youtube.com/watch?v=hlfSkoxqIxE&list=PLsFyHm8kJsx2R5ABmofwE_aKHvobT9GeE
Resources
PLC used in this tutorial: https://amzn.to/4p90T8d
Support the channel: patreon.com/LeMasterTech

Timestamps
00:00 Introduction
01:10 Addition (ADD), Subtraction (SUB), Division (DIV), and Multiply (MUL)
04:27 Modulus (MOD) PLC Instruction!
06:27 Celsius To Fahrenheit Converter PLC Function
08:47 Calculate (CPT) PLC Instruction Function Block!
12:22 Outro

#PLCProgramming #LadderLogic #SiemensTIAPortal #IndustrialAutomation #PLCTimers #PLCCounters #PLCMath #PLCCalculations #ControlsEngineering #Automation #PLCTutorial

Timestamps