RobotStudio event

[PC SDK] Robot doesn't move in simulation

Options
Hi,

I'm developing an addin that uses the PC SDK to connect with my robot. For testing I'm executing the same controller in my simulated station. When I start simulation (with Simulator.Start()) the program pointer starts moving until it reaches a MoveJ instruction. Then, a little robot is drawn next to the instruction and the pp continues running. I guess that the robot shows the instruction that the robot is executing, but in my case nothing happens, the little robot stays in this instruction while the pp is in the event loop waiting for next messages (the robot has to execute the movement to continue with the program flow).

Any idea?
Thanks in advance.

Comments

  • swtech
    Options
    my_inpos.progsynch:=TRUE;
                            my_inpos.inpos.position := 100;
                            my_inpos.inpos.speed := 100;
                            MoveL RELTOOL(Target_point{index},THERA{1,index},THERA{2,index},THERA{3,index}\Rx:=THERA{4,index}\Ry:=THERA{5,index}\Rz:=THERA{6,index}),SPEED,zone_data \Inpos:=my_inpos,tool1;