Robot program translation

Move a cell to another robot brand without starting over

Altitude translates robot programs between 19 brands, in either direction, with every register, position, signal and label mapped once for the whole project.

Translate PICK.LS to

FANUC PICK.LS · Teach pendant

1: UFRAME_NUM=1 ; 2: UTOOL_NUM=1 ; 3: J P[1:Home] 100% FINE ; 4: WAIT DI[101:Case_Present]=ON ; 5: L P[2:Above_Pick] 1000mm/sec CNT50 ; 6: L P[3:Pick] 250mm/sec FINE ; 7: DO[101:Gripper_Close]=ON ; 8: WAIT DI[102:Gripper_Closed]=ON TIMEOUT,LBL[90] ; 9: L P[2:Above_Pick] 1000mm/sec CNT50 ;

ABB Pick.mod

1 PROC Pick() 2 ! Frame 1 and tool 1 as wobjPick and tGripper 3 MoveJ pHome, v1000, fine, tGripper\WObj:=wobjPick; 4 WaitDI diCasePresent, 1; 5 MoveL pAbovePick, v1000, z50, tGripper\WObj:=wobjPick; 6 MoveL pPick, v250, fine, tGripper\WObj:=wobjPick; 7 SetDO doGripperClose, 1; 8 WaitDI diGripperClosed, 1\MaxTime:=5; 9 MoveL pAbovePick, v1000, z50, tGripper\WObj:=wobjPick; 10 ENDPROC

KUKA Pick.src

1 DEF Pick() 2 $BASE = BASE_DATA[1] 3 $TOOL = TOOL_DATA[1] 4 PTP XHOME 5 WAIT FOR $IN[101] ; Case_Present 6 LIN XABOVE_PICK C_DIS 7 LIN XPICK 8 $OUT[101] = TRUE ; Gripper_Close 9 WAIT FOR $IN[102] ; Gripper_Closed 10 LIN XABOVE_PICK C_DIS 11 END

URScript pick.script

1 def pick(): 2 # Frame 1 and tool 1 as set in the installation 3 movej(home, a=1.4, v=1.05) 4 while not get_standard_digital_in(0): sync() end 5 movel(above_pick, a=1.2, v=1.0, r=0.05) 6 movel(pick, a=1.2, v=0.25) 7 set_standard_digital_out(0, True) 8 while not get_standard_digital_in(1): sync() end 9 movel(above_pick, a=1.2, v=1.0, r=0.05) 10 end

One mapping for the whole project

P[2:Above_Pick] pAbovePick

DI[101:Case_Present] diCasePresent

DO[101:Gripper_Close] doGripperClose

Line 8: the wait’s TIMEOUT,LBL[90] branch is reported for review

One mapping for the whole project

P[2:Above_Pick] XABOVE_PICK

DI[101:Case_Present] $IN[101]

DO[101:Gripper_Close] $OUT[101]

Line 8: the wait’s TIMEOUT,LBL[90] branch is reported for review

One mapping for the whole project

P[2:Above_Pick] above_pick

DI[101:Case_Present] digital in 0

DO[101:Gripper_Close] digital out 0

Line 8: the wait’s TIMEOUT,LBL[90] branch is reported for review

How it works

Step by step

  1. 1

    Read the whole project

    Every module, declaration, position and signal is read before any target is written, so shared names stay consistent.

  2. 2

    Fix the mapping

    Each register, flag, position, signal, label and program gets its name in the target once, for the whole project.

  3. 3

    Translate

    Structure first, then motion, then logic, then recovery, where the languages differ most.

  4. 4

    Review in the target’s own view

    The translated programs open in the brand’s own view, with a diff of every later change and its history.

Every difference reported

A construct the target lacks is expanded into the target’s own statements, and every expansion that changes what the robot does is reported.

A FANUC program’s change in Altitude, with the checks run before it and each line added or removed
  • Any of 19 brands to any other
  • One mapping of names for the whole project
  • Detailed mappings for ABB RAPID and FANUC TP in either direction
  • Each brand drawn in its own view, with its own diff

Brands

  • FANUC
  • ABB
  • KUKA
  • Yaskawa
  • Universal Robots
  • Epson
  • Kawasaki
  • Stäubli
  • DENSO
  • Mitsubishi
  • NACHI
  • COMAU
  • Omron
  • Hyundai
  • Doosan
  • Yamaha
  • Techman
  • Panasonic
  • Daihen OTC

FAQ

Questions teams ask first

Does it change the source programs?
No. The translated programs are written as new files, and the source stays as it was.
Does it translate a whole project or one program?
Either. A whole project is read first, so every module shares one mapping of names, then its modules are translated together.

Keep exploring

More ways teams use Altitude

See it on the work your team does every day

We'll walk through the workflows that matter most to your team, on the PLC, robot and HMI platforms you run, from review and troubleshooting to documents and migration.