Visit Zacobria Webshop

MoveL – Move the robot in a Linear path.

By using the example from the MoveJ chapter we will now learn how to make a linear movement.


To learn about the MoveL linear movements we will just continue using the program we created in the last chapter called “My_first_program.urp”. Maybe you need to Load the program into the controller as described above – or simply make a new small MoveJ program as explained in previous chapter.

Because we will just change the MoveJ program into a MoveL program.

So you will have this small program on the Screen


Point on the MoveJ statement and Press so it is highlighted.


If not already in the Command view then – Press the “Command” tab.

Then you will see the definition screen for the MoveJ statement. We can also call it the properties for the MoveJ statement.

At the right hand side lower corner is the definition for the MoveJ statement which by default is a nonlinear movement hence the MoveJ statement in our program.

Below is a parameter called “Move Tool Linearly” with a check box – Check it.


Go back to the Program tree Screen and notice how the MoveJ statement has changed to a MoveL statement.

Remember that the Waypoint_1 and Waypoint_2 is the exact same as in the previous chapter.

Now we can compare the different movement for these two programs.

The programming environment and object to choose in MoveJ and MoveL are the same which is already explained in the previous chapter – so how to start and run the program is the same.

Run these two programs after each other to compare – now press start for this MoveL program – move the robot to the “Home” position and Press start again and see the movement.

Reload the MoveJ program and Run that program.

See the difference ?

See next page.

MoveL                                               MoveJ


MoveL                                               MoveJ

Notice the difference for a MoveL to a MoveJ movement. The middle picture for the MoveJ shows the tool head out fro the centre line. Whereas the tool head stays at the centreline during the MoveL move.

In pick and place the MoveJ is advisable – only rarely a MoveL is necessary.

Singularity during MoveL.

As I described previously when using the MoveL programming method there is a change to run into a Singularity which is an illegal mathematical expression.

To illustrate that I have made a quite stupid program. I am using the exact program as above i.e. only two Waypoints in the MoveL mode. The two waypoints I have chosen are seen below.


Waypoint_1                                                               Waypoint_2

Since I have chosen MoveL I expect that the robot goes in a straight line from Waypoint_1 to Waypoint_2, but notice that it would require the robot to go through the base joint at the centre because the two points are on each side of the base.

But I have been able to make the program and all statements are on green so let’s try to run it.


The robot started to move from Waypoint_1 towards Waypoint_2 in a straight line, but when the physics was in the way the robot showed the phenomena about increasing in speed and then rapid security stopped with “Speed limit violation” and never reaches Waypoint_2.

Let’s just try and change the above program to a MoveJ program with the same Waypoint_1 and Waypoint_2 positions and run it.


The robot runs this program beautifully without any error messages in MoveJ mode because it is allowed to take a bended route from Waypoint_1 and Waypoint_2

Disclaimer: While the Zacobria Pte. Ltd. believes that information and guidance provided is correct, parties must rely upon their skill and judgement when making use of them. Zacobria Pte. Ltd. assumes no liability for loss or damage caused by error or omission, whether such an error or omission is the result of negligence or any other cause. Where reference is made to legislation it is not to be considered as legal advice. Any and all such liability is disclaimed.

If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.

By Zacobria Lars Skovsgaard
Accredited 2015-2018 Universal Robots support Centre and Forum.


Follow @zacobria