LIM instruction problem - RSLogix5000

zitam

Member
Join Date
Jul 2008
Location
Pruszków
Posts
77
Hi,

I'm running a training and as an example I gave traffic lights using timer and LIM instructions.

Test value was Timer.acc and when students were using three LIMs in different rungs it doesn't work properly. LIM with limits of 0 and 25000 didn't turn up the light, next one (25000 to 30000) didn't work either. Only the last one with highest limits seems ok.

When we use only one limit instruction with LES and GRT instruction situation looks similar.

What may've caused the problem?

Matt
 
lowest lim - coil for "green" light

middle lim - coil for "green" light and coil for "red" light in two branches

highest lim - coil for "red" light
 
Zitam,

That is why the lights are not coming on in the first 2 rungs of code. You should only have one output coil for each light.
When the code is being scanned because the final rung is not true it will be 'turning off' the output that has been turned on in the previous rungs.

Mark
 
I'll bet your problems go deeper than that ...

I'm running a training

the advice that my distinguished colleagues are offering you is excellent – but based on what you've posted, I've got a hunch that you would benefit by taking about 90 minutes of your time to watch the videos posted here:

http://www.ronbeaufort.com/sample_lessons.htm

be sure to watch ALL ELEVEN of them – IN NUMBER ORDER ...

IMPORTANT: when using RSLogix5000, there are some IMPORTANT DIFFERENCES in how the processors scan the ladder logic from what is shown in the RSLogix5 and RSLogix500 systems used in the sample lessons ... be sure to come back and ask questions after you watch the videos and we'll be happy to fill you in ... also - be sure to tell us whether you're using ControlLogix or CompactLogix systems for your classes ...

even with the scan differences, I believe your time will be well spent in watching these free lessons ...
 
Last edited:

Similar Topics

I feel a little embarassed asking this question since it's so simple...but if you dont ask questions... I was playing around with the...
Replies
6
Views
11,904
I'm trying to learm to write basic programs. I just bought LogixPro software, and Phil's book. My question is it possible to use a timer as the...
Replies
3
Views
4,754
Lim
I am having a problem getting this logic to work. I have a field on the HMI that the operator can assign the 2 variables. It checks to see if the...
Replies
18
Views
3,444
Can anyone provide me with some insight as to how LIM instructions work. I understand that it looks for a value to be within a certain range...
Replies
5
Views
2,838
I am going to be using 3 high speed counters. I am going to be defining the high limits from a data register to be set on my HMI. I am just...
Replies
0
Views
1,245
Back
Top Bottom