KUKA Robot Language explained

KUKA Robot Language
Designer:KUKA
Developer:KUKA
Influenced By:Pascal

The KUKA Robot Language, also known as KRL, is a proprietary programming language similar to Pascal and used to control KUKA robots.

Features

Any KRL code consists of two different files with the same name: a permanent data file, with the extension .dat, and a movement command file, with the extension .src.

KRL has four basic data types:

Data type Keyword Meaning Range of values
Integer INT

{-2}31-1...231-1

Real REAL

\pm{1.1}-38...\pm{3.4}38

Boolean BOOL TRUE, FALSE
Character CHAR Character ASCII character

User can also create custom data types using enumeration. Enumeration and basic data types can be used to create arrays and structures.

Motion commands support several types of structures as data formats:

FRAME

POS

E3POS

E6POS

AXIS

etc.

Robot joints are A1-A6.

External axis joints are E1-E6.

Frame value is sufficient to specify TCP location and orientation. But to also determine unique robot arm pose, additional info is required - S and T or Status and Turn. They are collection of flags stored as integer.

See also

Sources

External links