Conveyor Logic

Hi everyone!


I started use the program about 15 days ago, and I have the following problem (Using the image attached):

I need to make the pallet go from green conveyor to conveyor 1(red) and stop on sensor(I will put later), and the robot will palletize some products, and the conveyor 1(red) move backward and the full pallet will move to green conveyor again.

I appreciate your help since now.

Best regards.

Red conveyor would need to have a two-way path