Using:
RSLogix 5000 V19.1
Hello
I am running into a problem that is keeping me from completing a program for a small sand plant. Here's the details of what I have done:
NOTE: This application has been simplified greatly but will still get idea accross in order to figure this little problem out.
I have four small conveyors that use the same logic. I made an Add-On instruction called: Conveyor_Control
I am executing these instructions conditionally by simple interlocking.
I have four conveyors, conveyor: A,B,C, and D.
Conveyor D turns on first
" " C turns on second
" " B turns on third
" " A turns on fourth (last)
The product (sand) falls on conveyor A, and A falls onto B, and B onto C and at last onto D which then falls into a silo.
So far in my program, this sequence works perfect. The operator must turn on each belt in sequence by using a PanelView Plus (the customer didnt want it fully automated for whatever reason). He pushes conveyor D first, C second, B third, and A last. THIS PART WORKS
If conveyor D shuts down for whatever reason, all belts in front of D must shut down simultaneously. If C shuts down, B and A must shut down also BUT D can keep moving. If B shuts down, A must turn off but D and C can keep moving. If A shuts down, B,C,D can remain on. THIS PART DOESN'T WORK
For example...
My Probelm...If I have all the conveyors running and I turn conveyor C off, C does turn off but conveyors B and A are still ON. I need the conveyors before C to turn off also. This works the same way no matter which belt I want to turn off.
My thinking was that the conditions (interlocks) before the Conveyor_Control would act on the logic of the add-on in the first rung of the add-on instruction itself, resulting in an automatic shutdown but this obviously doesn't work. If I need to elaborate on anything for further clarification, let me know.
I have also attached some sample code of this application if you all would like to check it out.
My problem lies in the "Conveyors" sub routine
PS - Please overlook the "Shutdown" paramter in the Conveyor_Control add-on. It has been deleted. I was using trial and error to fix this thing but no cigar.
Thank you guys for the help!
kandy
RSLogix 5000 V19.1
Hello
I am running into a problem that is keeping me from completing a program for a small sand plant. Here's the details of what I have done:
NOTE: This application has been simplified greatly but will still get idea accross in order to figure this little problem out.
I have four small conveyors that use the same logic. I made an Add-On instruction called: Conveyor_Control
I am executing these instructions conditionally by simple interlocking.
I have four conveyors, conveyor: A,B,C, and D.
Conveyor D turns on first
" " C turns on second
" " B turns on third
" " A turns on fourth (last)
The product (sand) falls on conveyor A, and A falls onto B, and B onto C and at last onto D which then falls into a silo.
So far in my program, this sequence works perfect. The operator must turn on each belt in sequence by using a PanelView Plus (the customer didnt want it fully automated for whatever reason). He pushes conveyor D first, C second, B third, and A last. THIS PART WORKS
If conveyor D shuts down for whatever reason, all belts in front of D must shut down simultaneously. If C shuts down, B and A must shut down also BUT D can keep moving. If B shuts down, A must turn off but D and C can keep moving. If A shuts down, B,C,D can remain on. THIS PART DOESN'T WORK
For example...
My Probelm...If I have all the conveyors running and I turn conveyor C off, C does turn off but conveyors B and A are still ON. I need the conveyors before C to turn off also. This works the same way no matter which belt I want to turn off.
My thinking was that the conditions (interlocks) before the Conveyor_Control would act on the logic of the add-on in the first rung of the add-on instruction itself, resulting in an automatic shutdown but this obviously doesn't work. If I need to elaborate on anything for further clarification, let me know.
I have also attached some sample code of this application if you all would like to check it out.
My problem lies in the "Conveyors" sub routine
PS - Please overlook the "Shutdown" paramter in the Conveyor_Control add-on. It has been deleted. I was using trial and error to fix this thing but no cigar.
Thank you guys for the help!
kandy
Last edited: