Ladder simple logic

Mel_

Member
Join Date
Apr 2024
Location
Brazil
Posts
1
Hello, I´m having a problem trying to program in Ladder. An output should be trigged by two possible contacts. Take a look on the printscreen below:

ladder.png


If BOT_EST_ALIM is true, all three outputs showed should be activated. On the other hand, MOT_EST_BALAN & MOT_EST_MIST should only be activated when their respective contacts be true. However only the last two are working as expected. MOT_EST_BALAN & MOT_EST_MIST (in network #1) works as expected only if the last two networks are deleted.
 
A basic rule for PLC's is that you specify an output only once. The conditions on your lower rungs are in effect overruling the upper ones. Combine the logic so that those outputs are only used once.
 
I don't know what you are using here, but the 1st rung fires all the coils you want to use on subsequent rungs.

Not sure how the software works for this, but generally you would limit each coil to a specific rung.
 
Do what @SCADA_Joe showed.

The -( )- coil instruction ALWAYS writes either a 1 or a 0 to its operand WHEN its rung is evaluated by the PLC scan.

PLC programming is primarily about time, and the scan cycle is the clock. When something happens (or is evaluated) is more important thant what happens.

To understand the PLC scan cycle, watch this video series.
 

Similar Topics

I am new to PLC programming and recently purchased a demo unit for a WAGO 750-881. I am trying to do a simple test in ladder logic that does the...
Replies
1
Views
2,309
I'm just starting to learn Ladder Logic Programming. I'm using Allen Bradley RSLogix 5000. I've been tasked with developing a 'Simple' Coffee...
Replies
13
Views
11,327
It would be awesome if someone could help me out with this problem. We can only use basic XIC XIO OTE OTL and OTU instructions. I'm not sure on...
Replies
33
Views
9,246
We have an OMRON SYSMAC C40K-CDR-A 2065C Programmable Controller with a blown out input channel #200. All other inputs are free spares and...
Replies
1
Views
4,636
I am an apprentice so i think i can get away with what seems like a stupid question. im writing a program in RSlogix500. basically i cant work...
Replies
5
Views
18,007
Back
Top Bottom