Learn URSCRIPT with Real Code Examples
Updated Nov 27, 2025
Code Sample Descriptions
1
Move to a Position
movej([0.0, -1.57, 1.57, 0.0, 1.57, 0.0], a=1.2, v=0.25)
Move the robot to a specific position using joint coordinates.
2
Open and Close Gripper
set_digital_out(0, True) # Open gripper
sleep(1.0)
set_digital_out(0, False) # Close gripper
Control a digital output to open and close the robot gripper.
3
Move in a Linear Path
movel(p[0.3, 0.1, 0.2, 0, 3.14, 0], a=1.2, v=0.25)
Move the robot's end effector linearly to a target pose.