How is a welding robot programmed? Three methods
Teach-pendant programming, offline programming from CAD, automatic generation from a 3D file: how each method works, what it costs in time and which batch sizes it suits.
A welding robot can do nothing without a program. It is that program, more than the machine, that decides whether the robot pays off on your parts. Seventh article in our series From STEP file to welded part.
Method 1: teaching (teach pendant)
An operator moves the robot with a pendant, point by point: approach, weld start, weld end, retract. Each position is recorded, then the robot replays the sequence.
- Advantages: no CAD software needed, proven method, suited to a part repeated identically.
- Limits: the robot is tied up during programming, time grows with the number of welds, and a trained operator is needed. In small batches this time weighs heavily: it is one of the reasons robots struggle to pay off on small batches.
Collaborative robots have simplified this step: you guide the arm by hand to record positions. The effort remains proportional to the number of different parts.
Method 2: offline programming
Software simulates the cell and the part from the CAD model. The programmer defines paths in the software, checks torch accessibility and collisions, then exports the program to the robot.
- Advantages: the robot keeps producing during preparation, collisions are detected beforehand, programming is reusable.
- Limits: you need software, a programmer, and a calibration between the simulated world and the real one (fixture position, part tolerances). Paths often have to be corrected by joint detection (touch sensing or a laser sensor).
This is the method for medium to large batches, where preparation work is spread over hundreds of parts.
Method 3: automatic generation from the 3D file
The software produces the program from the 3D model. An operator only steps in to validate.
This is the approach of our robotic welding cell: from STEP file to welded part, with no dedicated programmer. For it to work, you need a clean model: one solid per component, real contacts between parts (see STEP file mistakes).
Automatic generation has a scope: it targets common geometries, such as structural steel fillet welds. For an exotic joint, you fall back on manual programming.
Comparing preparation time
| Teaching | Offline | Automatic | |
|---|---|---|---|
| Skill | Trained operator | Programmer | Operator validation |
| Robot tied up | Yes | No | No |
| Time per new part | High | Medium | Low |
| Target batch | Repetitive | Medium to large | Small and varied |
The exact time depends on the part and the tools: we give no universal figure, and be wary of any offered without seeing your parts.
How to choose
- Same parts, large batches: teaching or offline; it is a one-off investment.
- Varied parts, small batches: the bottleneck is preparation, so automatic generation or an equipped subcontractor.
- Doubts: compare with the autonomous cell versus cobot.
Last article in the series: calculating the ROI of a welding robot in five steps.