3 cylinder sequence

kjoyce

Member
Join Date
Feb 2021
Location
ireland
Posts
2
Hi guys I'm doing a project using 3 cylinders and doing up the program... we are using automation studio for simulation... the sequence i used is. A+B/B-C+/C-A-...... I am using a latch and unlatch function on the AB plc ladder... the sequence will go through 1 fill cycle but gp3 for C-A- is staying active on the plc... so I cannot reactivate another cycle.. I'm not sure what I'm doing wrong
 
Welcome to the forum.
we are more than willing to help, but you need to post your work (zip it first, forum rules) and we will help.

For any given homework assignment or task at work, you must consider these instructions as the customers specifications.
1. read the specifications several times.
2. write down your understanding of what you read in a step by step fashion.
3. review what you wrote down and see if it makes since, modify if necessary.
4. Get with the mechanical designer and discuss the project openly and honestly. When your opinions differ in regards to an operation, discuss it, don't ignore it.
there must be a reason for a difference of opinion. modify your instructions and i/o to accomodate the mechanical design if necessary.
YOU BOTH MUST be in agreement on all points of operation before going to step 5. you may have to modify/rewrite step 2 and 3 based on the discussion.
5. step through your notes again this time, you are the one following the instructions. In other words, you are the plc. Write down on paper the events you are doing.
For example, turn on hydraulic motor 1, write down hydraulic motor 1 on. If a sensor is needed, write that down.
6. continue through the instructions. When you turn off the motor, mark a line thru it.
7. go through your instructions with all the sensors, motor aux. contacts, outputs documented. Modify if necessary.
8. repeat step 6 until no changes are made.
9. Try to group your data words into some organized fashion. The more programs you write, the more organized you become
10. write the plc program using your notes in a step by step manner.
10A Over half way through writing the program you WILL realize a different/better way of doing something you are almost done writing
(or a new spec will require it) and you will completely rewrite it
10B It WILL happen more than once.
Note: 10A and 10B added to list. thanks Aabeck, member plctalk.net forum

11. DOCUMENT EVERYTHING!!! You may remember things today, but in 5 years and hundreds of programs later, you won't
remember, especially at 2 am, so DOCUMENT EVERYTHING. use easy to understand tags and rung comments.
12. MAINTENANCE is your best friend and your worst enemy.
if you work with them and find out what they can do, write the program where they can trouble shoot the program. they will be able to fix the problem and everyone will be happy.
BUT
if you write the program to where you are the only one who understands what is going on, maintenance can't fix the issue, the machine is down, production is down,
management hears about it, your boss hears about it, then you hear about it - rewrite the program or else. you get calls all hours of the day and night.
this still holds true, a machine can cost a billion dollars, but it's not worth 10 cents if maintenance cannot trouble shoot the issue and fix the issue.
everyone has their own style of programming and you must develop your own way as well.

13. when the customer is in your shop and brings maintenance, discuss thngs with them, let them see your code, be open.
if they make suggestions, write them down, don't ignore them. their ideas may save you days of programming.

14. install the program and leave in program mode if possible so you can to debug your i/o
15. when writing your instruction manual(s), use your notes from step 9. Use easy to understand English language. specify the i/o, timers, counters, outputs when possible.
this will help maintenance even more to see what is going on.
16. Question for you, when is a machine and plc the most dangerous and why?
When it’s first powered on – when power is first applied to a machine, you don’t know how things are wired.
When you energize the plc outputs, you don’t know how they are wired.
When the plc is put into run mode the first time, it will do what you told it to do, NOT what you wanted it to do.
17. debug the program.
Remember, the program will always do what you told it to do, NOT what you wanted it to do.
18. IF you can ask a what if this happens type of question, YOU MUST have an answer, EVEN IF its a 1 in a million change.
that what if situation will happen in the first 30 minutes of production runoff in front of the customer.

this is the best advice I can give anyone.
if others has more / better suggestions, feel free to post
James
 
Last edited:
What @JamesM said. Also, please describe your process more fully; here is what I am guessing from the OP:


Do you mean you have a 4 step sequence?

  1. A/B/C = 0/0/0 (step 0 - start)
  2. A/B/C = 1/1/0 (step 1 i.e. A+ and B+)
  3. A/B/C = 1/0/1 (step 2 i.e. B- and C+)
  4. A/B/C = 0/0/0 (step 3 i.e. A- and C- = step 0)
Like that?
 
hi Guys ,

ya sorry it is an electro pneumatic setup and run by a plc ,
so i have the sequence split into 3 groups so that there will be no opposing signals using rules of cascading .

so group 1 is A+B+
Group 2 is B-C+
Group 3 is C-A-

I am using the Latch and unlatch function on the Automation station

My inputs and outputs are
in0 Pb Out 1 - send A out
in1 A0 out 2 send A home
in2 A1 Out 3 send B out
in3 B0 Out 4 Send B home
in4 B1 Out 5 send C out
in5 C0 out 6 Send C home.

Ive done up the up the program for it and it runs as it should for one cycle , but at the end of the sequence the Grp 3 is staying active.
in6 C1
 
Something in your explanation does not seem right.
Quote:
in0 Pb Out 1 - send A out
in1 A0 out 2 send A home
in2 A1 Out 3 send B out
in3 B0 Out 4 Send B home
in4 B1 Out 5 send C out
in5 C0 out 6 Send C home.
EndQuote:
Ok so in 0 is a push button right ?
What are In1 to In 5 are they limit switches/proximities on the cylinders ?
If so then you are one short where is A Back ?.
I think we need a better explanation.
does B+ mean cylinder forward ?
and does - mean back ?
It is better to give a good description of how it works is this a pick & place
Post a pdf of your current code it could give posters a better understanding.
 

Similar Topics

Hi Friends, I am facing a problem with encoder adjustment in Sew Electric Cylinder CMS71L. encoder using is Sick Hiperface Drive is MOVIDRIVE...
Replies
16
Views
640
It's very embarrassing but when I can't come up with an answer fast, I do need all the help I can get. I have rotating cylinder. One output...
Replies
5
Views
1,561
I have a two way valve (with two solenoids) and a two way pneumatic cylinder that moves up and down. Is there a way to make a inherently safe...
Replies
14
Views
4,478
I am looking for different solution on controlling a pneumatic Cylinder move at preset positions. One of the solutions is to use 5 magnetic...
Replies
22
Views
5,896
Hi Everyone, I am new to siemens servo drives, needs some helps and wondering if you can help me. The machine has Siemens S120 Servo Drvie and...
Replies
2
Views
1,619
Back
Top Bottom