# Linearmovement using MoveJ

**URL:** <https://tech-community.robotics.abb.com/t/linearmovement-using-movej/10919>\
**Category:** RobotStudio\
**Tags:** movej, movement, movel\
**Created:** [October 30, 2022, 8:35pm UTC](https://tech-community.robotics.abb.com/t/linearmovement-using-movej/10919 "2022-10-30T20:35:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![setyowmv](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@setyowmv](https://tech-community.robotics.abb.com/u/setyowmv)\
**Post date:** [October 30, 2022, 8:35pm UTC](https://tech-community.robotics.abb.com/t/linearmovement-using-movej/10919/1 "2022-10-30T20:35:14Z")

</div>

How to move in linear line when using different Robot Configurations on both Targets?  
I want to move from (X,Y,Z) 300,1000,620 to 300,1000,950, but because the Robot need 2 different configurations for both target I can only use MoveJ.  
But MoveJ give a slight curve move between those 2 lines.  
Is there any way to minimize the curve move of MoveJ?  
Or should I just make more targets between the 2 Targets?

---

<div class="post-metadata">

**Author:** ![innebandy](https://avatars.discourse-cdn.com/v4/letter/i/67e7ee/32.png) [@innebandy](https://tech-community.robotics.abb.com/u/innebandy)\
**Post date:** [October 31, 2022, 2:46am UTC](https://tech-community.robotics.abb.com/t/linearmovement-using-movej/10919/2 "2022-10-31T02:46:29Z")

</div>

Hi, Try a command, ‘ConfL’ to avoid robot configuration issues as follows.

MoveJ p10, …  
ConfL\Off;  
MoveL p20, …  
ConfL\On;

---

<div class="post-metadata">

**Author:** ![setyowmv](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@setyowmv](https://tech-community.robotics.abb.com/u/setyowmv)\
**Post date:** [October 31, 2022, 11:35am UTC](https://tech-community.robotics.abb.com/t/linearmovement-using-movej/10919/3 "2022-10-31T11:35:26Z")

</div>

I tried the solution but it said 50026 - close to singularity  
when I try to move the TCP with Jog Linear the robot can perform what I want but it can not move automatically

---

<div class="post-metadata">

**Author:** ![lemster68](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/lemster68/32/1945_2.png) [@lemster68](https://tech-community.robotics.abb.com/u/lemster68)\
**Post date:** [October 31, 2022, 12:04pm UTC](https://tech-community.robotics.abb.com/t/linearmovement-using-movej/10919/4 "2022-10-31T12:04:36Z")

</div>

Then you can add SingArea/wrist or even LockAxis 4 if your robotware supports that latter command.

---

<div class="post-metadata">

**Author:** ![EricH](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@EricH](https://tech-community.robotics.abb.com/u/EricH)\
**Post date:** [November 1, 2022, 4:30pm UTC](https://tech-community.robotics.abb.com/t/linearmovement-using-movej/10919/5 "2022-11-01T16:30:01Z")

</div>

This looks more like a problem of reachability, if you run into singularity. Should work if you bring your part or tool somewhere else. Often times you can avoid such problems by giving your tool an angle, but it highly depends on the positioning of everything in your cell.

Also try another orientation, if possible.

---

<div class="post-metadata">

**Author:** ![setyowmv](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@setyowmv](https://tech-community.robotics.abb.com/u/setyowmv)\
**Post date:** [November 4, 2022, 10:34pm UTC](https://tech-community.robotics.abb.com/t/linearmovement-using-movej/10919/6 "2022-11-04T22:34:49Z")

</div>

Thank you for all the help  
SingArea \LockAxis 4 together with moveL fulfill my need
