![]() |
![]() |
|
![]() |
||
Ladder Logic Not Equal Instruction |
Sponsored by: KronoTour Travel
![]() |
NEQ - Not EqualTest whether one value is not equal to a second value. ExampleLet'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 green light on, but if the count is not equal to 24 then we want turn the read light on. Ladder Logic Solution
When the photocell will go from false to true, the counter will increment by one. ![]() We will verify if C5:0.Acc = 24 equation is true. If it is then we will energize the light full. ![]() We will verify if C5:0.acc <> 24 equation is true. If it is true then we will energize the red light. ![]() Note
|
Sponsored by: KronoTour Travel
![]()
|