QKM Translators

This section provides basic information about the QKM QRL translator. This is a limited translator and only supports robot motion instructions and does not support Upload (Import Robot Program command).

This page discusses:

Supported Features

Basic Features Advanced Features
Feature Download Upload NRL Teach Safety Controller System Files
Motion Motion Parameters Joint / Cartesian Targets Circular Motion Coordinated Motion 7 DOF Robots
Tool / Object Frames Fixed TCP Aux Axes Conveyors Offsets
Feature Set IO Run Task (does not support arguments or variables yet) Loops Parallel Position Variables
Wait IO Pulse IO If / Case Arrays
Application Spot Paint Arc Sealing
Tested Controller Versions
This table displays if the feature is:
  • available
  • not available

Instruction Support

QKM Instruction Support

The QKM translator supports creating QKM QRL programs.

The QKM robot language is QRL. It has an extension that rides on top of the LUA language. Because of this logic it handles like a LUA program, leaving function calls to use for controlling robot motion. LUA is a lightweight but high-level scripting language. LUA has a variety a uses ranging from scripting to gaming, and in this case serves as a base to the QKM programming language.

The following table summarizes the level of support for each QKM instruction by the DELMIA QKM translator and DELMIA tasks.

This does not download logic (if, while, for, assign, delay, trigger, etc.). The translator does not upload existing QRL programs to 3D Experience. Some motion options (such as circular) are not supported yet.

You have the ability to generate QKM QRL robot language programs. These programs are usable on a real QKM robot. That includes creating tasks which use basic motion attributes as well as tool profile, object frame profile and motion profile definitions.

DELMIA Instruction Level of Support QKM Instruction Comments
Custom Supported

– <Insert Comment>

For now, it uses custom instructions for unsupported instructions and comments.

RobotMotion Supported

Move.Joint(<Location Name>)

Move.Line(<Location Name>)

See RobotMotionTarget for defining <Location name>
ToolProfile Supported Tool.new(x,y,z,yaw,pitch,roll) Tool definition
ObjectFrameProfile Supported UserFrame.New(x,y,z,yaw,pitch,roll) Object Frame definition
RobotMotionTarget Supported Location.New(x,y,z,yaw,pitch,roll,config, ext1,ext2,ext3,zclearance,zworld) Location definition
Motion/Accuracy Profile Partially Supported Profile.New(speed,speed1,accel,decel,accelramp,decelramp,inrange,type,time,blendtype,blendvalue) Motion and Accuracy Frame Definition
-- (Comment) Partially Supported Upload not supported.
Unsupported Instructions
Any DELMIA instruction not supported on download generates a warning.
Robot Motion
QL Syntax:
  1. Move.Joint(<Location Name>)
  2. Move.Line(<Location Name>)
This supports only joint moves and linear moves for the limited translator. Joint and cartesian targets are available.
Custom
  1. QL Syntax: -- <Comment to include>
  2. For now, only comments are supported by Custom instructions. In the future, custom instructions support unsupported instructions.
Tool Profile
  1. QL Syntax: Tool.New(x,y,z,yaw,pitch,roll)
  2. Tools are been specified on the robot with Robot.Tool(index,<tool object>)
Object Frame Profile
  1. QL Syntax: UserFrame.New(x,y,z,yaw,pitch,roll)
  2. UserFrames are specify on the robot with Robot.UserTools(index,<user frame object>)
Robot Motion Target
  1. QL Syntax:
    • Location.New(x,y,z,yaw,pitch,roll,config, ext1,ext2,ext3,zclearance,zworld)
    • LocationJ.New(j1,j2,j3,j4,j5,j6,j7,j8,j9)
  2. Unsupported attributes: Zclearance,zworld
Motion and Accuracy Profile
  1. QL Syntax: Profile.New(speed,speed1,accel,decel,accelramp,decelramp,inrange,type,time,blendtype,blendvalue)
  2. Enable Profiles with <ProfileObject>.Set()

Programming interface

A programmer can customize the translator. The translator is to provide a default translation for the standard QKM QRL robot language programs.

Since the translator delivers a VB.NET macro library, you have access to the source code. However, we do not endorse that you modify the delivered source code directly. If you do, it can be difficult to migrate their customizations from one version to the next. Instead we endorse using object-oriented programming techniques to customize the translator. Each class in the translator has an inheritance design. Declare all methods as protected methods, which you can override and data members expose as protected properties where appropriate. To modify the behavior of the translator, create your own class, which derives from an existing translator class and override the required methods. Then modify the TranslatorFactory to return a new instance of your class instead of the original you derived from. TranslatorFactory is the only DELMIA provided class that you need to modify.

[1] QKM and QRL are or may be trademarks or registered trademarks of QKM or its subsidiaries in the U.S. and in other countries.