The success of a robot investment depends on how easily the robot can be programmed and how comfortably your team can edit the programs. This guide summarizes the main methods of industrial robot programming, the concepts you need to know and the training your team will need.
Programming with the teach pendant
The most common method is programming with the robot's teach pendant. The programmer jogs the robot step by step, saves the required positions as points and adds the motions between them, the speeds and the I/O commands to the program. Most welding, machine tending and palletizing jobs are programmed this way.
Key concepts
- Coordinate frames: the robot's base (world) frame, the tool center point (TCP) and user frames. A correctly defined TCP is essential for the program to stay accurate when the tool changes; a user frame lets you shift all points at once when a fixture or pallet position changes.
- Motion types: joint motion is the fastest path; linear motion moves the tool in a straight line; circular motion is used for curved paths in welding and dispensing.
- Speed and blending: acceleration, deceleration and how points are approached affect both cycle time and accuracy.
- Inputs and outputs: opening and closing the gripper, reading sensors, communicating with the machine tool or PLC.
- Program flow: subroutines, loops, conditions and a safe return to home after an error.
Offline programming and simulation
In offline programming the robot cell is modeled in 3D on a computer and the program is prepared in the virtual environment. This makes it possible to prepare new part programs without stopping production, check reach and collisions and see the cycle time in advance. When the program is transferred to the real cell, the fixture and tool positions are calibrated and points are corrected where needed. The 3D simulations we run during a project work the same way: we verify layout and reach before installation.
Hand guiding (on cobots)
Many cobots let you teach points by holding the arm and guiding it to the desired position. This speeds up programming for simple pick-and-place jobs; precise paths and complex logic still need fine-tuning on the pendant. For choosing a cobot, see our guide on how to choose a cobot.
Safety while programming
When teaching points, the programmer works close to the robot. That is why the robot runs at reduced speed in teach mode (ISO 10218 limits the tool center point speed to 250 mm/s) and stops as soon as the enabling switch on the pendant is released. When a program runs in automatic mode for the first time, start at low speed and make sure nobody is inside the cell.
Training for your team
| Role | What they need to know |
|---|---|
| Operator | Starting and stopping the robot, selecting programs, reading and resetting alarms, intervening safely |
| Setter / technician | Touching up points, changing speeds and parameters, setting TCP and user frames, changing grippers |
| Programmer | Writing new part programs, I/O and communication, error handling, program backups |
| Maintenance | Periodic maintenance, lubrication, checking cables and connectors, replacing spare parts |
At GP Robotic we write the first programs during installation and then train your operators, setters and maintenance team on site. For your welding robot, palletizing robot or general-purpose industrial robot project, get in touch.
This guide is for general information. Programming screens and commands differ between robot manufacturers; always follow your own robot's manual.
