How to properly define robot tool frames for PowerMill

Common instructions for redefining a tool to be used by PowerMill

Issue

The robot is not moving where I expected it to.

Answer

How robots are defined from the factory

  1. A robot is typically shipped or initially set up with a Tool Definition at the end of its 6th axis or robot flange. It is typical for this coordinate system to be defined with the positive Z direction pointing away from the robot flange. Review the manufacturer's specifications to review how your robot is defined at the flange face.

     

    Setting or editing a Tool Definition

  2. Once your end effector is attached, you will need the dimensions from the center of the flange face up to the programming point of the tool (X, Y, Z). The effective tool may be a cutting tool, knife, welder, hot wire, or gripper, to name a few.

  3. PowerMill and other CAM systems are traditionally made to match the Z, Y, and X-axis directions of standard CNC machine tools. This definition has the positive Z axis pointing towards the spindle and not away from the spindle. This is the required tool definition when creating toolpaths in PowerMill.
    Image of a typical CNC milling machine tool definition coordinate system

  4. To create and execute toolpaths from PowerMill, it is required that the robot has a tool definition that has the positive Z-axis pointing in the direction of the effective tool axis. Therefore, a rotation must also be applied to the tool definition.

  5. You will now need to know if your robot uses the Euler or Quaternion convention to move and rotate the coordinate system. Also, you need to understand if you are entering degrees or radians. (You may need to convert degrees to radians.)
  6. The PowerMill Robot Interface (PRI) has some robot manufacturers defined in the PRI Help Files, but it is always best to confirm your manufacturer's specifications.
  7. In the PRI, the Robot Workplane Calculation utility can assist in calculating the tool definition. 


  8. The PRI can also help you convert your rotation convention and values by using the Transformation Converter utility. 



  9. Whether you define your tools at the robot controller or if you have your tools defined in the PRI tool database, you will need to be sure that they are correct and accurately defined for your process.