Hello everybody.
What brings me here today is a question that I am sure you guys will be able to help me with.
We are working with a Staubli RX130 CS8 that performs a cycle as it follows: unloads a part from one machine, loads the part into another machine, takes it out and puts it in the washing machine.
Each of these loops is a different subroutine, with a switch case format.
I want to try to understand how the robot goes from one program to another, since within these programs there is no call instruction that interconnects them.
The most certain is to be by the PLC.
I ask this question because I want to accomplish a simple task.
The robot only has to pick up the part and drop it in the washing machine, ignoring the two machines inbetween.
I thought of doing the following: Introduce an input with a switch, and in the program of the first machine, do an
" switch Routine(Machine_1)
case 1
if io:ignoremachine==true
movej(washingmachine)
open(pince1)
break
endswitch
else
(continue switch as normally does)
endif
This causes the robot to ignore the first machine. If I introduce this condition in all subroutines, will the PLC and the Robot be able to continue the process without major conflicts and ignore all the machines?