Rung question

ceilingwalker

Lifetime Supporting Member
Join Date
Mar 2010
Location
Phoenix, AZ
Posts
1,586
Hello. I have a rung from a program attached. The program is protected so I'm not able to show more. I'm trying to understand what the programmer was doing with this instruction. What I can say is that this is a temperature control program and this specific rung is the set point for one of the tanks, that is set by the operator, via the HMI. If you may have an idea, I appreciate your time.
ladderexample.jpg
 
It's possible the control on the HMI was not able to limit the entry to 2000 or below or the programmer was being especially paranoid (which in safety terms isn't bad).
 
I do this when later I'm doing math that will overflow if the number is greater than a certain value. Even if the HMI I am using has a limit to the entry, it stops someone from being online and changing the value to above the limit I want.

The rung limits the value in N152:0 to 2000 or lower. If it's over 2000, it puts 2000 into N152:0
 
IMHO its always a good idea to check values from HIM's or SCADA's for limits.
Even if the HMI or SCADA has it's own limit features.
 
Not only for control setpoints. Even when an HMI is not involved, when doing ramping math in ladder, it lets you limit the result to within a range you want to work with, and/or so you don't overflow and fault the processor out.
 

Similar Topics

So I did this simple Function Block, pretty simple, and yet it keeps giving me this error, after a bunch of failed combinations the error...
Replies
11
Views
3,515
Hello, I'm trying to solve this problem for the batch mixer simulation. As shown in the picture, I have a "no motion rung" set up as a OR logic...
Replies
2
Views
1,573
Hi I have a rather simple rung question but unfortunately I cant think of the BEST solution to this issue. Btw, I am using schneider electric...
Replies
14
Views
6,543
I am trying to reverse engineer a code in a machine we have. I am doing this to understand the operation of the code to troubleshoot a problem...
Replies
1
Views
2,513
Hey guys. Question. Why would a project be left with edit commands on the side where the rung numbers are? I was asked to back-up a project and I...
Replies
12
Views
7,397
Back
Top Bottom