James Lewis
Member
I am using a Micrologix 1000 and I am attempting to write a program that will allow a label applicator to label 3 boxes on one side, then label the next 3 boxes on the opposite side.
Both Applicators are verified ON. If on, Applicator 1 applies 3 labels. If it faults out during labeling the three boxes, the PLC immediately switches to the opposite Applicator and continues labeling.
If no errors occur, one applicator applies three labels and then switches to the opposite applicator and applies three labels. It continues this process. If both applicators are in error states, an output is sent to the conveyor to shut down.
This is my first application and I am needing a nudge in the right direction. Any help would be appreciated.
I can set the program up such that, the first applicator is online, the prox sensor senses the product and the applicator applies the label while the counter increments by one. Once the counter gets to 4, I would like to switch to the second applicator, verify its on line, using a separate prox sensor - sense a box, apply a label and start a different counter. Once three labels are applied, the process starts all over again after counter 1 has been cleared.
thanks!
James
Both Applicators are verified ON. If on, Applicator 1 applies 3 labels. If it faults out during labeling the three boxes, the PLC immediately switches to the opposite Applicator and continues labeling.
If no errors occur, one applicator applies three labels and then switches to the opposite applicator and applies three labels. It continues this process. If both applicators are in error states, an output is sent to the conveyor to shut down.
This is my first application and I am needing a nudge in the right direction. Any help would be appreciated.
I can set the program up such that, the first applicator is online, the prox sensor senses the product and the applicator applies the label while the counter increments by one. Once the counter gets to 4, I would like to switch to the second applicator, verify its on line, using a separate prox sensor - sense a box, apply a label and start a different counter. Once three labels are applied, the process starts all over again after counter 1 has been cleared.
thanks!
James