PM from Lena
LENA2383 wrote on Today 11:15 AM:
For instance say that I got this problem right here
The alarm is triggered when liquid level switch closes.
The light flash whenever the alarm condition is triggered and has not been acknowledged even if the alarm condition clears in mean time.
The light will operate in the steady state ON mode when the alarm trigger condition still exist but has been acknowledged. (Acknowledged switch is a PBNO switch).
Use a PBNC to reset the timer and the alarm.
I find myself having trouble going the the RLL. I want to thank you for trying to help me.
Lena
My Reply:
You should have made the reply on the site, would get alot more answers. Tell you what, I am going to copy this and make it a quote on your post. Watch the forum and respond when asked questions or attempt what is suggested. The people here will do their best to help but you have to cooperate and work to help yourself.
I will attempt a reply there but others may see and understand it better so may offer better advice.
My response to the question:
After re-reading this post several times....do you need ladder code for ALL THAT? Have you made any attempt? IF you have can you show what you have done so far. What brand plc are you training on...ie is it AB or ?
Now for ideas, the liquid level switch we know will be an input...it can be in the form of XIO or XIC, that depends on device and how you represent it. Lets say its an XIO, when the level gets to a certain point this switch turns on and sends a signal to an input.
NOW this level switch is telling US that the liguid is TOO HIGH or TOO LOW, again depends on application. An ALARM is needed, therefore we turn on an output...this part is simple
Code:
Level sw Alarm lite
|-----| |---------------( )------|
This will turn on the alarm lite as long as the level is too high/low.
BUT WE need it to flash!!! How do we do that? Timers maybe? Built in Status files that cycle on/off for predetermined periods? Depends on you and brand plc used.
Now we come to the ACKNOWLEDGE stage! What will it do...in this scenario it seems to STOP the FLASHING but then makes the output alarm lite STAY ON. Was something done to create a holding circuit?
Now we want to CLEAR the timers used to flash the alarm lite and unlatch the holding circuit using a PBNC...would that be similar to using a PBNC as a STOP?
Think about this and make an attempt then show us what you have done.
I agree with Terry, dont think in terms of relay logic BUT I think in this case you are using the term RLL as Relay Ladder Logic to mean ladder logic used with plcs. I think you may have figured out some aspects of HOW TO write code to make the machine do what it should BUT have a problem with writing code to setup alarm/problem conditions...is that a fair assessment?