Help - Search - Members - Calendar
Full Version: Limit Instruction
Forums.MrPLC.com > PLCs and Supporting Devices > Allen Bradley
mr_electrician
Hello, I have a question here, well most of us do when we post I guess cool.gif Can someone show me an example of some logic using the LIM (limit instruction) I am having troubles fully understanding it without seeing it being used . Thanks guys.
Mickey
QUOTE(mr_electrician @ Apr 14 2007, 07:00 PM) [snapback]52956[/snapback]
Hello, I have a question here, well most of us do when we post I guess cool.gif Can someone show me an example of some logic using the LIM (limit instruction) I am having troubles fully understanding it without seeing it being used . Thanks guys.


See PDF

From RSLogix Help:
True/False Status of the Instruction

If the Low Limit has a value equal to or less than the High Limit, the instruction is true when the Test value is between the limits or is equal to either limit. If the Test value is outside the limits, the instruction is false.
If the Low Limit has a value greater than the High Limit, the instruction is false when the Test value is between the limits. If the Test value is equal to either limit or outside the limits, the instruction is true.

Rockwell Software 2005
bikerdude
Mr.Elec,
See the attached PDF for control of glue bead start & stop on a boxmaker.
Integers N10:0 thru N10:3 are the set points. This is not a program that I created, but a good example.
[attachmentid=4536]

BD
mr_electrician
thumbsupsmileyanim.gif Hey, thanks for the examples, helps me better understand how they are used in the logic.
Chris Elston
I now use a LIMIT instruction to write my basic squence logic.

Instead of the "old" school every bit per action, because I got tired of creating descriptions for each bit that I needed for a basic head to function, I now use an integer file to drive my squence. Then depending on what the file step number is, I fire my outputs based on that limit instruction.

Basically what I have now is a very fast way of writting logic, easy squence changing...just change the limit instruction at different times or steps of the program.

I also can drive a perfectly timed animation with the step number or I can even make a manual function be creating a squences that go forward or backward, say like a pick and place.

Attached is a screen shot and a PDF of a walking beam (two motion) with fingers and the transfer part that basically walks a part in a circle motion. Extend fingers, extend transfer, retract fingers, retract transfer (back home).
Bill Linne
QUOTE(mr_electrician @ Apr 14 2007, 04:00 PM) [snapback]52956[/snapback]
Hello, I have a question here, well most of us do when we post I guess cool.gif Can someone show me an example of some logic using the LIM (limit instruction) I am having troubles fully understanding it without seeing it being used . Thanks guys.


So far not mentioned is that the parameters of the LIM instruction may be reversed. For example, if you want a rung output to be true after 8pm and until 6am, enter 2000 as the "Low Lim" and 0600 as the "High Lim" and S:21 as the "Test" parameter. With the "Low Lim" a higher value thatn the "High Lim", the output of the instruction is opposite that which you might expect.

Bill

mr_electrician
QUOTE(Bill Linne @ Apr 16 2007, 03:23 PM) [snapback]53010[/snapback]

QUOTE(mr_electrician @ Apr 14 2007, 04:00 PM) [snapback]52956[/snapback]
Hello, I have a question here, well most of us do when we post I guess cool.gif Can someone show me an example of some logic using the LIM (limit instruction) I am having troubles fully understanding it without seeing it being used . Thanks guys.


So far not mentioned is that the parameters of the LIM instruction may be reversed. For example, if you want a rung output to be true after 8pm and until 6am, enter 2000 as the "Low Lim" and 0600 as the "High Lim" and S:21 as the "Test" parameter. With the "Low Lim" a higher value thatn the "High Lim", the output of the instruction is opposite that which you might expect.

Bill


Yes that is true, I just was looking for a sample of this instrution being used in some logic. I am taking a course and I have to implement this function into my logic.
panic mode
goofy chasing lights example?
[attachmentid=4564]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.