PR been changed from Cartesian to Joint

  • Hello Guys,
    I've been working on a R-2000iC/125L with pretty standard software package (handling tool/DCS).
    There's a taught position with PR[1] as tool offset to slightly adjust this taught position.
    And this robot was running for almost a week without program, been through that taught position thousands time.
    But one day, robot just went to middle of nowhere and hit axis limit and I found that PR[1] was changed from Cartesian to joint format, and also the numbers in PR[1] were completely different then before.
    And I'm positive that I'm the only person who can change coordination via teach pendant, and there's no such command like PR[1]=JPOS in my program.
    Just want to ask, is there any setup/routine/ that could overwrite numbers and coordination in position register?
    Thanks

  • Place your Ad here!
  • I know exactly from first hand experience what causes this. It took my years to figure this out.


    There is a karel program called Get_Home that if someone runs this program it causes PR1 to change to Joint.


    Best solution I found was to disable the karel programs with the variable so there are not seen in the program list.


    Another solution is to just not use PR1. I have done this before just to be extra safe.


  • That is incredibly helpful. One of our machines requires a Karel program to connect to a computer system, so we often leave the Select list filtered to Karel programs. One day it was stopped in cycle and our techs tried to get back to home and had no idea that they needed to re-filter to TP programs and ran Get_Home instead. They were very confused when it said it was running but did not move the robot to home or bring up the normal Edit screen. It is good to know what that program does!


  • Thanks a lot for the explanation!

  • Get_Home does more than just change PR[1] to joint, it copies the values stored in refpos one and then throws those into PR[1] as a joint representation. In the auto industry, most of the big players use PR[1] as their home position.

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now

Advertising from our partners