Robot Problems

I have attached a screenshot of what I have in my process node. I am having problems with the RunRobotRoutine:“6X VP Weld” from AR2010 statement in the Else part of my If statement. It will run the first RunRobotRoutine:“6X VP Weld” from AR2010 statement in the If(X==0) just fine but as soon as it gets to the Else the weld robot won’t move with any of the welds, it will turn the arc on and jerk around randomly. If I try to program new points for the robots it will return the Error Code: P1: POLAR_SINGULARITY for every single point and if I try to step through the welds they will be off in some random location. Anybody know what is happening? Thanks