Hi, I have a series of subsystems as parts of one machine that runs product.
Transfer table (TT) moves product from one subsystem to another. TT has 6 positions until product moves from beginning to the end.
Now I want to put a PB on HMI which will start following flawed product on position 1 through whole sequence and bypass every subsystem until this product is out on exiting conveyor.
I did this the only way I could think off but I believe there is got to be better practice which I would like to learn. I think it would save me writing as many rungs and simplify troubleshooting and allow expandability. Its been 7 years since I finished college and in all this time I haven't used much of what PLC can do except pretty simple things which I make sure the least skilled maint. guy can figure out.
So the way I wrote bypass machin, I started with TT movement incrementing counter from 0 to 5. Every .acc value is turning a bit for certain substep. This bit is used elsewhere in program and will inhibit that subsystem.
After whole cycle counter resets itself and waits for another engagement.
I see potential problems with 2 or more product in a row not being able to be bypassed and for that I would have to double the whole thing...potentially writing it up to six times (which isn't big deal unless there is something more elegant solution).
Also potential problem would be bad good product (bypassed) and then another which is ok, followed by another bad product.
If someone did something like this and know what's the best way to do it please share.
Thanks for reading !
Transfer table (TT) moves product from one subsystem to another. TT has 6 positions until product moves from beginning to the end.
Now I want to put a PB on HMI which will start following flawed product on position 1 through whole sequence and bypass every subsystem until this product is out on exiting conveyor.
I did this the only way I could think off but I believe there is got to be better practice which I would like to learn. I think it would save me writing as many rungs and simplify troubleshooting and allow expandability. Its been 7 years since I finished college and in all this time I haven't used much of what PLC can do except pretty simple things which I make sure the least skilled maint. guy can figure out.
So the way I wrote bypass machin, I started with TT movement incrementing counter from 0 to 5. Every .acc value is turning a bit for certain substep. This bit is used elsewhere in program and will inhibit that subsystem.
After whole cycle counter resets itself and waits for another engagement.
I see potential problems with 2 or more product in a row not being able to be bypassed and for that I would have to double the whole thing...potentially writing it up to six times (which isn't big deal unless there is something more elegant solution).
Also potential problem would be bad good product (bypassed) and then another which is ok, followed by another bad product.
If someone did something like this and know what's the best way to do it please share.
Thanks for reading !