Downloading or Creating Kuka KRC Robot Programs

This procedure describes how to download or create a Kuka KRC robot program.
  1. Copy the template files vorgabe.dat and vorgabe.src from the KukaComplete folder to C:\tmp or any other folder of your choice.

  2. Right-click a robot in the PPR tree and select Properties and then click the Define other properties button.

  3. Set the parameter TemplateFile to point to the folder in which the template files vorgabe.dat and vorgabe.src have been placed.

Downloading generates Kuka KRC program files (.dat & .src) from the tasks on the PPR tree. The following steps take place:
  • An XML file is generated from the activities defined in the PPR tree. This involves a mapping between the activities in the PPR tree and the elements in the XML file. The XML file generated is independent of the robot language (KRL in this case).
  • A style sheet transformation file (XSLT) is written for the Kuka KRC translator. This file defines the mapping between the activities in the XML file and the KRL commands.
  • The XSLT is then run through the XML file to generate the required Kuka program file.
  1. Click Create Robot Program  in the Offline Programming toolbar.

  2. Select RobotTask.1 of KR125-2.1 in the PPR tree.
    The Downloading Options dialog box opens.

  3. Accept the default downloading options.
    The Download Editor window appears.

  4. Save the downloaded program.

  5. Similarly, download the RobotTask.2 of KR125-2.2 and save it.