Ladder Logic Equal Instruction

KronoTech

PLC

Ladder Logic

Basic

Counters

Timer

Arithmetic

Comparison

EQU

NEQ

LES

LEQ

GRT

GEQ

LIM

MEQ

Functions

Trig Functions

RSLogix 5000

Structured Text

HMI

Instruments

EQU - Equal

Test whether two values are equal or not.

Example

Let's say we have a counter that counts the number of cans that passes in front of a photocell. We want to check to counter to see if the counter reaches 24 (full box), then we want to turn the light on to inform the operator that we have a full box ready.

Ladder Logic Solution

  • Photocell I:1.0/0
  • Light O:2.0/0

When the photocell will go from false to true the counter c5:0 will increment by one.

EQU 1 SLC 500 Beginners Training Guide

Check if the counter is equal to 24. If the equation is true then the light will be energized.

EQU 2 SLC 500 Beginners Training Guide

Note

  • We could have used the C5:0.DN to verify if the counter has reached 24, but we used the EQU for illustration purpose.

Quick Links

PLC Languages

Ladder Logic
Function Block
Structure Text
SFC
Mnemonic

Ladder Logic

Basic
Counters
Timer
Arithmetic
Comparison
Functions
Trig Functions

Instruments

Switches

HMI

Advantages
Alarms
Trends

Other

Bottle Application