Seeking help with a ladder program

PLCnub

Member
Join Date
Apr 2007
Location
Canada
Posts
2
Hi. I’m new to PLCs and I’m having trouble understanding the ladder diagram shown below. The actual problem I’m trying to solve is from a book by W. Bolton called Programmable Logic Controllers 3rd edition and goes as follows:



The inputs from the limit switches and the start switch and the outputs to the solenoids of the valves shown in Figure 10.29 are connected to a PLC which has the ladder program shown in Figure 10.30. What is the sequence of the cylinders?

1029.jpg

1030.jpg


The correct solution as shown in the back of the book is A+, B+, A-, B-, A+, A-.



I believe I am following the logic correctly for the A+, B+, A-, B- proportion but then I get stuck in a loop where nothing changes (A+ is OFF, B+ is OFF, A- is ON, B- is ON, IR1 is ON, IR2 is OFF, a+ is OPEN, a- is CLOSED, b+ is OPEN and b- is CLOSED). I don’t see how to energize IR2 without first turning off IR1 and in order to turn off IR1, IR2 needs to be turned on.



Like I said I’m new to PLC programming. I imagine the solution is simple but I don’t see it. If anyone could briefly explain what I’m missing I’d really appreciate it. Thanks.
 
Your final condition is not quite right, viz:

A+ is OFF, B+ is OFF, A- is ON, B- is ON, IR1 is ON, IR2 is OFF, a+ is OPEN, a- is CLOSED, b+ is OPEN and b- is CLOSED).

This must lead to the following state where a- will become open
A+ is OFF, B+ is OFF, A- is ON, B- is ON, IR1 is ON, IR2 is OFF, a+ is OPEN, a- is OPEN, b+ is OPEN and b- is CLOSED).

This must then lead to the following state where B- will turn off
A+ is OFF, B+ is OFF, A- is ON, B- is OFF, IR1 is ON, IR2 is OFF, a+ is OPEN, a- is OPEN, b+ is OPEN and b- is CLOSED).

And now at this point the logic latches up and does not change state because, as you correctly state, IR1 is on and IR2 is off.
 
The only way I can see how to make the "correct" sequence is by changing the xio contact to xic.

solenoid.JPG
 
I guess it was just a mistake in the text book. That is what I originally thought but being new to this stuff it seemed more likely I was the one in error. Changing that contact was the key. Thanks for the help.
 

Similar Topics

I have a PLC5/80E that I want to poll a Modbus device into using a Digi1. I have setup the message as a multihop going to the IP adress of the...
Replies
2
Views
1,423
A former customer of mine (I'm retired) in the Somerville New Jersey area needs some help with a machine. It has an Automation Direct DL06, C-More...
Replies
1
Views
1,636
Hi, long story short. I've recently ran into a SIMATIC C7-635. It controls some heating equipment. I can operate it manualy no big deal but...
Replies
6
Views
2,496
I was called into a plant recently to diagnose errors with their natural gas totalization. Long story short: They had installed orifice plate...
Replies
12
Views
5,189
Hello engineers/technicians of PLCS.net! I require your assistance, if you may be so kind to provide it. I hope this is an appropriate query to...
Replies
11
Views
6,474
Back
Top Bottom