Learn ABB-RAPID with Real Code Examples
Updated Nov 27, 2025
Code Sample Descriptions
1
Move to a Target Position
MoveJ [[500,0,400],[1,0,0,0]], v100, z50, tool0;
Move the robot to a specific position using joint coordinates.
2
Open and Close Gripper
SetDO gripperOpen, 1;
WaitTime 1;
SetDO gripperOpen, 0;
Control a digital output to open and close the robot gripper.
3
Linear Movement
MoveL [[500,100,300],[1,0,0,0]], v50, z10, tool0;
Move the robot linearly to a target position.