RobotStudio event

RobotStudio not always representing correct position of robot

Hi, 

I think I saw this somewhere in the manual, but am I right that the simulation is not always 100% a correct representation of the last position I moved the robot to?  I'm sending positions to a robot (in RobotStudio) over a socket and printing the positions using TPWrite. I'm using 2 tasks with WaitUntil to synchronise. It looks that when I add a WaitTime just after the Move* instructions the visualisation is correctly updated.

Am I right with this?

p

Comments

  • It is probably because the move instruction executed before you read the position are not so-called stop points, but are using zones of type z100, z200 or something. This means that the program pointer runs ahead and starts to execute the next instruction when the motion instructions has reached some convergence criteria. If you use fine instead of zXXX for the motion instructions, you will see the robot waits until the robot has stopped at the programmed position before it reads the current value and continues. You can read more about stoppointdata and zonedata in the Technical reference manual
    RAPID Instructions, Functions and Data types
    , that is included with RobotStudio.
    Henrik Berlin
    ABB
  • Ah thanks! I think that was is it. I was using z0 but it seems that fine gives me a different, more accurate result.

    p.
  • pollux said:
    Ah thanks! I think that was is it. I was using z0 but it seems that fine gives me a different, more accurate result.

    p.
    Think this trips alot of people up, if i remeber correctly from the training courses i've been on z0 is actually a zone of 0.3mm....