iRobotBoie · IRL robot demo

From tree to robot: a REIS RV6 plays peg solitaire.

The KfK demo program of the 1990s takes the path of the 1988 vision, from tree to robot. Robot, axes and IRL code run side by side.

3D view of the robot cell

A10.0°
A20.0°
A30.0°
A40.0°
A50.0°
A60.0°
E10.0°
Gripperopenempty
TCP · mmX0.0Y0.0Z0.0
Path speed–
solitair
0:00

Space plays and pauses, the right arrow key executes one statement. Drag the 3D view to turn it. A teal bar beside the line number marks a line changed in 2026.

The vision of 1988: programming robots in a high-level language

By the end of the 1980s, computer science had found a way to keep software under control: structured programming in high-level languages such as Pascal. Not everyone saw this as progress. The satire “Real Programmers Don't Use Pascal” says: “Real Programmers use Fortran. Quiche Eaters use Pascal.” Whatever cannot be done in FORTRAN is simply written in assembler, and the greatest worry is a future full of UNIX hackers and Pascal programmers.

Robotics was even deeper in that world. Robots were programmed in vendor-specific, assembler-like commands or taught point by point with the teach pendant.

Dr.-Ing. Wilfried Jakob, a computer scientist, initiated the project and set out to close this gap. His idea: robot programs should come about the way good software does. The design grows as a structure in the tree editor BOIE, in the ESPRIT project 623 “Robot BOIE”, in which KUKA implemented the first industrial applications. Back in 1985, together with Dr. rer. nat. Christian Blume, he had shown in the book “PasRo – Pascal for Robots” (Springer) how Pascal can control a robot.

Later came IRL, a Pascal-like robot language that was standardised as DIN 66312. A compiler translates IRL into the vendor-independent intermediate code ICR, and the robot controller executes it.

What this was meant to look like is shown by a file of 1 March 1988: sortxbsp.esr, a robot program as a typed BOIE tree in the robot language RB-SPRACHE. And in September 1992 the IRL compiler controlled a Reis robot at the “CIM Europe” conference in Odense.

The chain

This page runs the whole chain, with the solitaire programs of that time.

  1. Strudix

    The language IRL is described as a structure: irl.str → irl.typ, derived from the grammar of the IRL compiler.

    parse.y, scan.l and irl.sys → 97 types, 11 classes, 38 rules

    irl.str · 334–337, 541–542
    MOVE_LIN
     $A01:'target: ROBTARGET, POSE, POSITION, JOINT expression or PATH'
     $A02:'continuation of the target (blank between)'
     $L:'MOVE LIN $A01< $A02><<  {$K}>',
    …
    	MOVE_LIN := + C_CP, + C_SPEED, + SPEED_ORI, + CP_SPEEDCLASS, + ACC,
    		+ WOBBLE, + UNTIL, + ACT_ROB;
    irl.typ · 1
    Robot-BOIE STRUDIX 0.0  97 TYPEN   11 KLASSEN   38 ZERLEGUNGEN
  2. Tredit

    The robot program is created as a tree, with IRL syntax colours.

    solitair.esr: 344 nodes · PRUEFEN: “Das Programm ist syntaktisch korrekt.”

    BAUM · play
    ├─8 MOVE_LIN {}
    ├─9 GRIPCLOSE {}
    ├─10 MOVE_LIN {}
    EINRUECKEN · play
    8:  MOVE LIN ROBTARGET(t1 @ t_down @ p_save, 0,0,0,0, ADD_JOINT (36, 0, 0, 0 )
        )
    9:  GRIPCLOSE ()
    10: MOVE LIN ROBTARGET(t1 @ p_save, 0,0,0,0, ADD_JOINT ( 36, 0, 0, 0 ))
  3. Sutex

    Readable IRL source is made from the tree.

    IRLSutex, layout from irl.typ · 0 warnings

    solitair.irl (Sutex) · 178–180
      MOVE LIN ROBTARGET(t1 @ t_down @ p_save, 0,0,0,0, ADD_JOINT (36, 0, 0, 0 ));
      GRIPCLOSE ();
      MOVE LIN ROBTARGET(t1 @ p_save, 0,0,0,0, ADD_JOINT ( 36, 0, 0, 0 ));
  4. IRL compiler

    IRL becomes ICR (DIN 66312, ISO/TR 10562).

    PSI IRL compiler 1.3 · 0 errors · 2006 ICR records

    solitair.icr · 789–808
    789,REMARK,178,"         MOVE";
    790,PUSHE,t1;
    791,PUSHE,t_down;
    792,TRANSE;
    793,PUSHE,p_save;
    794,TRANSE;
    …
    805,LMOVE,1,T,W;
    806,REMARK,179,"         call";
    807,PUSHI,#17;
    808,GRIPCLOSE;
  5. Robot

    A REIS RV6 executes the ICR code and plays peg solitaire.

    The stage at the top runs this ICR: 21,607 instructions, 762 robot actions.

The ESPRIT project NIRO

The IRL project ran as the ESPRIT project NIRO, “Neutral Interfaces for Robotics” (1989–1992), led by the Kernforschungszentrum Karlsruhe, with PSI and Reis as partners; the applications were the welding of ship parts, the assembly of car engines and the winding of fibre parts for aircraft.

Partners: Kernforschungszentrum Karlsruhe (coordination), PSI and Reis (Germany), CASA and DISEL (Spain), Danmarks Tekniske Højskole and Dansk Ingeniør System (Denmark), BYG Systems (United Kingdom), Seeber and Fiat (Italy).

A robot program from the 1990s, running again

At KfK, the Kernforschungszentrum Karlsruhe, a six-axis REIS RV6 robot played peg solitaire as a demonstration. Its program solitair.irl is written in IRL, the Industrial Robot Language of DIN 66312, and was compiled to ICR intermediate code with the PSI IRL compiler version 1.3 from 1992.

Corrected in 2026 with the same procedures, the program now plays the complete game: the robot sets up the board, then makes 31 jumps, each removing the jumped stone, until one stone is left in the centre.

The page runs the compiled program itself. An ICR interpreter executes the ICR that the PSI compiler generates from the Sutex output of the Tredit tree (or, with the switch above the code, from the corrected source), instruction by instruction: REMARK records name the IRL line, LMOVE and GRIPCLOSE drive the simulated robot, and STOP_D arms the touch sensor that ends a probing move at the board edge. The highlighted line is the statement being executed; axis values, gripper and tool centre point show what the controller commands at that moment.

Assumptions of the simulation

  • Robot dimensions: the measurements of the 1990s REIS RV6 are not documented. Link lengths and joint ranges are estimated from today's datasheets of the 6 kg payload class.
  • ADD_JOINT: every target in the REIS program carries an additional axis value (52, 36 or 34). The source does not say what it drives; the page shows it as gripper axis E1 in degrees.
  • Tool orientation: the REIS tool frame is not documented. Over board and magazine the gripper follows t1 and t_mag exactly. Read literally, the init target and the probing targets of find_t1 would hold the tool horizontal and fold the wrist beyond its range, so another tool frame must have applied there; the simulation keeps their programmed position and rotation about the vertical and points the tool down.
  • Speeds as programmed: R_SPEED in mm/s and R_ACC in mm/s². The demo ran slowly, 50 mm/s for moves and 1 mm/s while probing, about 104 minutes for the whole program. The speed control replays it up to 500 times faster; ×30 shows it in three and a half minutes.
  • Board position: the board corner is assumed at (538, 532) in the t_kalib frame and turned by 0.5°, so that find_t1 has an edge to find. STOP_D() arms the touch sensor D: the next linear move stops where the tool point reaches the board edge, and r_robtarget_act (ICR CURPOS) returns that point. Collisions are not checked.
  • WAIT 3 SEC: the PSI compiler of 1992 generates no instruction for it, only the REMARK record, because its code generator returns before the DELAY case. The compiled 1994 program therefore went straight on to remove; in the corrected program the line stands at the end and has no effect.
  • ATAN2: the corrected find_t1 assumes ATAN2(y, x) in degrees, the argument order of the 1994 line and of C. The description of the ICR interpreter is not available, so before a first run on the controller WRITELN(screen, ATAN2(1, 0)) should print 90. The simulation uses this order.