Skip to content

Robot program export

realvirtual turns a robot path (IKPath) into a program for the robot controller. The export runs locally in your browser: no cloud service, and your model stays with you. The result is a template to start from: check it for your robot and controller before you run it.

  1. Select a path of the robot in the hierarchy, hover over the robot and choose Export program. Without a selected path the entry is hidden; select a path or one of its points in the hierarchy first, then the entry appears.
  2. Choose a Vendor. The list shows every exporter available in your build.
  3. Source is Path (IKPath).
  4. IO interface chooses the realvirtual CONNECT interface whose signal numbers the program uses for outputs and inputs. Automatic works when the cell has exactly one robot interface; with several, choose the one you mean.
  5. Axis-based joint moves (on by default) writes joint moves as axis values. Turn it off to write joint moves to Cartesian targets.
  6. Include linked paths as subprograms writes linked paths as subprograms that the main program calls.
  7. Set the options of the vendor (see below). Every change generates a new preview.
  8. Read the program and every notice above it, then choose Copy beside each file. Some vendors produce more than one file.

The Export program window with ABB RAPID selected: the file Robotpath.mod with its Copy button and the program text, a MODULE with joint and Cartesian targets, then PROC main with MoveAbsJ and MoveL moves, the gripper output and wait times

You can also export from the path Inspector: below the waypoint list, Robot program offers the same choices, and Export downloads the files.

Previewing, copying and downloading do not move the robot and do not change the model.

VendorFilesVendor options
ABB RAPID.modSnap linear speed to predefined ABB speed (on): uses the predefined v speed values.
SEW MOVI-C (.srlprg).srlprgKinematic number (1), Motion set (1), First REALVAR slot (10), Coordinate system (Base).
Universal Robots (URScript).scriptFrame mode: Feature keeps the frame as a variable and composes targets with pose_trans; Baked writes targets in the robot base. Joint speed at 100% in deg/s (180), Joint acceleration in rad/s² (1.4), Linear speed fallback in m/s (0.5), Linear acceleration in m/s² (1.2), Blend distance fraction (0.5).
KUKA KRL.src and .datTool ID (1) for TOOL_DATA[n], Base ID (1) for BASE_DATA[n], Emit HOME move at start (on).
Wandelbots NOVA (Python).pyNo extra options. Adapt controller, TCP and IO names in the generated Python.
Fanuc TP/LS.lsUser frame number (0) for UFRAME_NUM, Tool number (1) for UTOOL_NUM.

The speed values in brackets are used only where the path itself has no speed for a move.

  • Work object frame: a path that carries a frame exports it in the form of the controller: ABB wobjdata, KUKA $BASE (as frame values, or BASE_DATA[n] when the frame has a controller number), URScript variable with pose_trans (Feature mode), FANUC UFRAME_NUM with a controller number. Formats without a frame of their own (SEW, NOVA, FANUC without a number) receive the targets already converted to the robot base.
  • Tool: the program uses the tool pose of the robot, checked against the robot’s kinematics. If that check is not possible, Cartesian moves are refused and the reason is shown.
  • Outputs and inputs: their numbers come from the CONNECT configuration of the cell. A signal without a number stays in the program as a placeholder, with a warning.
  • Waits and actions: before a wait or an action at a target, the robot stops at that target, even if blending is switched on there. The program says so in a warning.
  • Six rotary axes. A robot on a linear rail (external axis) is refused.
  • FANUC: CNT is derived from the blend radius in mm and is an approximation. Joint values are written without the J2/J3 coupling correction of FANUC controllers.
  • Wandelbots NOVA: waits for inputs are written as comments.