Toolbar

When you open Mastercam software you should see a RoboDK toolbar tab. Select this RoboDK tab to see the available options to setup your robot machining project in RoboDK.

Plugin Mastercam - Image 5

Robot setup

The Robot setup Plugin Mastercam - Image 6 button opens a project management window and allows opening an existing robot machining project or set up a new robot machining project. The goal of the robot setup is to select the robot, load an EOAT (End of Arm Effector, or TCP) and add at least one reference frame. The following options are available:

Load File…: Select a file to open it with RoboDK and use it as the default project for your Mastercam project.

Default Setup: Set up new station with a default robot, spindle and reference frame. The part will also be automatically exported to RoboDK.

Empty Project: Open RoboDK with a new empty station to let the user build a new setup. More information to set up a new project from scratch available in the Getting Started section.

Load Part: Load the part from Mastercam to RoboDK (the part will be saved as an STL file and loaded automatically). All visible solids and surfaces will be loaded.

Visit the robot machining section for more information about building a new setup.

Plugin Mastercam - Image 7

You can easily change the robot, modify the tool and/or the reference frame. As an example, follow these steps to change the robot:

1.Right click the robot

2.Select Replace robot (as shown in the image)

3.Select the new robot

The RoboDK installer only provides a few robots by default, however, it is possible to download more robots from the online library.

More information about adding a robot tool is available in the Getting Started Section.

Hold Alt+Shift to move a robot tool (TCP). This is useful to set the pose of the robot before teaching a target.

Save the project to keep the changes by selecting FileSave Station (Ctrl+S).

Plugin Mastercam - Image 8

Update selected operation(s)

Select Update selected operations to generate the toolpath for the selected operations and simulate them in RoboDK.

Plugin Mastercam - Image 9

This action will load the selected toolpaths in RoboDK for robot machining. By default, each machining operation will be split as a separate robot program.

A green check mark will be displayed if the program is feasible with the selected robot. If there are any issues (such as singularities, axis limits or reach issues), a red mark will be displayed with a message of the issue.

Double click the robot machining project Plugin Mastercam - Image 10 to open the robot machining settings specific to one operation. More information about the robot machining settings available in the Robot Machining section.

Right click a program and select Run to simulate it (or double click the program). You can also select Generate robot program (F6) to obtain the robot program that needs to be loaded on the robot controller. More information about how to generate robot programs is available in the Offline Programming section.

Plugin Mastercam - Image 11

If required, right click a program and select Select Post Processor to change the post processor. This step is may help you customize the appearance of your generated code. More information about selecting and customizing post processors is available in the post processors section.

For example, when you use a KUKA robot, RoboDK generates automatically uses the post processor for KRC2 robots (called KUKA KRC2), however, if you have a KRC4 you can choose the KUKA KRC4 post processor.

Generate robot programs from Mastercam

You can generate robot programs directly from Mastercam once your RoboDK station is ready. To do so, select Generate selected robot program Plugin Mastercam - Image 12. This option will update the robot program according to the machining toolpath defined in Mastercam.

Plugin Mastercam - Image 13

RoboDK will not be displayed unless there are program issues. This option can be used even if RoboDK is not running, in that case, RoboDK will run in the background.

Follow these steps in RoboDK to view or modify the location of your robot programs:

1.Select Tools-Options

2.Select the Program tab

3.Select Set in the Robot programs folder

Plugin Settings

Select RoboDK Settings Plugin Mastercam - Image 14 to open the settings related to the RoboDK plugin for Mastercam.

Plugin Mastercam - Image 15

Among other things, you can modify the following options:

1.Use the Mastercam template instead of RoboDK template (the 3D navigation and color templates in RoboDK will match Mastercam style). In RoboDK, make sure to uncheck Ignore changing settings from 3rd party applications in the menu ToolsOptionsOther to allow this template in RoboDK.

2.Load and update the part in RoboDK every time you post a new machining operation. Only visible solids and surfaces will be loaded.

3.Automatically create tool cutters. In this case, new tools will be created automatically with respect to the first tool of the robot (tool holder) and the TCP will be offset by the overall tool length with respect to the tool holder.

4.Checking the option Invert machine tool axis allows you to automatically account for your tool Z axis pointing towards the inner side of the tool (instead of pointing toward the outside).

5.Use NC files (such as APT or G-code) instead of NCI files. RoboDK can read the following files to generate robot simulations and programs:

a.NCI files (default option): Loads Mastercam native toolpath in RoboDK. This is the preferred method for most operations.

b.NC files (G-code files). Allows you to load canned drill cycles (longhand) using the RoboDK machine definition.

Plugin Mastercam - Image 16