Description:
Learn the seven compare instructions used in Allen-Bradley ladder logic: EQU (Equal), NEQ (Not Equal), LES (Less Than), LEQ (Less Than or Equal), GRT (Greater Than), GEQ (Greater Than or Equal) and LIM (Limit Test). We use Studio 5000 Logix Designer, and for each instruction we also show the name used on Micro800 (CCW) and Siemens (TIA Portal).
You will learn:
- How Source A and Source B work, and why a compare acts like a contact
- The difference between "less than" and "less than or equal" (one number matters!)
- Why GEQ is safer than EQU for a part count
- How LIM checks a range, and what happens if you swap the limits
Chapters:
0:00 Intro
0:29 How a compare works
1:02 EQU and NEQ
1:37 LES and LEQ
2:14 GRT - Greater Than
2:38 GEQ - Greater or Equal
3:09 LIM - Limit Test
3:46 Safety
4:01 Next video
This is episode 4 of our Allen-Bradley PLC instruction series. Episode 1: Bit Instructions. Episode 2: Timers. Episode 3: Counters. Next: Math (ADD, SUB, MUL, DIV).
All examples use a demo program. Always follow lockout/tagout and your site's safety rules when working on real equipment.
Instagram: @torqueandterminal
Shop: https://torqueterminal.com/
Share this link via
Or copy link























