Posts by arikrundquist

    The zip file located at http://[ip addr of robot]/MD/TPSCRN.ZIP contains a current .png and .txt representation of the User window on the Teach Pendant. However, accessing these files requires downloading the zip file and manually opening them. This is not a tremendous amount of work, but it would be great if I could access each file individually in my browser. Does anyone know of a way to do this?


    Thanks.


    Edit: the zip archive does not include a .txt file, but rather a .ls file... this contains an ASCII representation of the User window, which can be viewed in a text editor such as Notepad

    It worked! Thanks so much!
    I had been kind of stuck with position registers since I didn't realize that the PR[i, j] command was used to get an element from a position in that register... I had figured out how to set position registers and move to those positions but I had been unable to figure out how to edit position registers.


    Thanks again!

    Also, does anyone know where I could fine a TP programming reference? Right now I am trying to learn the syntax by creating programs on the pendant, pulling them to my computer, and copying their structure in my own files, but I would much prefer an official document to learn from. I was able to find a KAREL reference, and I am currently going through that, but I do not seem to have a manual for offline TP programming. I expect I will work primarily with KAREL in the future, but I thought it important to be able to write TP programs as well, especially since I've heard that KAREL is not very good with robot motion programming.
    If someone could point me to a manual or TP instruction set, that would be fantastic.

    With Kuka robots, it is unnecesary to specify all of the components of a point in space in order to move there. If X, Y, and/or Z are left out of a position, it will automatically assume I do not want to change those values, and if A, B, and/or C (similar to W, P, and R, and quite possibly identical to them) are not given then the robot will take on values that require the minimum amount of axis rotation:

    Code
    PTP {X 50,Y 70,Z 600,A [some value],B [some value],C [some value]}    ; PTP stands for Point To Point, and is essentially a Joint move
    PTP {X -50}


    For the above example, my final position would be (-50, 70, 600), with an unpredictable ABC orientation for my EOT.
    Is there a similar mechanism in Fanuc robots? I want to be able to make my next position a function of my current position, to be able to say if I'm at X = 750, Y = 750, Z = 750, I want to do a joint move to (-750, -750, 750) (a simple negation of the X and Y componants of the EOT position). I don't need any particular orientation of the EOT as long as the position is reached.


    Similarly, is there a way to construct a position during runtime? So far I've had to teach points or hardcode them into a .ls file, and then used

    Code
    :J P[pointNumber] 100% ...;


    to move there. It would be great to be able to do something like this:

    Code
    :J P[12] 100% FINE;
    :P[12].X = (P[12].X + P[13].X) / 2;
    :J P[12] 100% CNT100;
    :J P[13] 100% CNT100;


    but from my minimal experience with Fanuc I doubt it would be that simple in a TP program (though I'm certain it's possible, just not in the way I demonstrated above).


    Thanks!

    Solved!
    There was a syntax error in my file, I had set X to 0 mm, all I did was change it to 0.00 mm and it transfered fine. I guess the precision matters...

    This is the output I get from the command line:

    Code
    ftp> put prog.ls
    200 PORT command successful.
    150 ASCII data connection.
    550 Error occurred during load
    ftp: 1019 bytes sent in 0.17Seconds 5.86Kbytes/sec.

    Hello again everybody,
    Just an hour ago I was able to use ftp to transfer files/programs to my Fanuc LR Mate 200iD/7L (controller: R-30iB Mate Plus), however, now whenever I try to push a .ls file down I get error 550, which is supposed to mean I do not have permissions to write to the directory I am connected to but I did not do anything different than I did earlier today... anyone have any ideas what might have changed? Alternativly, how can I give myself full RW access to the MD directory?
    Thanks!

    Hey guys!
    Is there a way to compile KAREL without roboguide? I do not need the robot planning and simulation capabilities of roboguide and so would rather not pay for that whole suite. Ideally I would like a free command line tool to compile .kl plain text files to .pc executables I can manually load onto my controller.


    From https://www.robot-forum.com/ro…-know-karel-is-installed/:

    Quote

    to build I use the ktrans command line which comes installed with ROBOGUIDE (you can install the trial version and the command will work even without a license)


    As I understand it there is a free trial version of roboguide that comes with the ktrans command line utility... that would be perfect but I cannot find such a download on the Fanuc website. Anyone know where I can get my hands on this trial version, and if not, how I can get the KAREL compiler by itself?


    Thanks!

    bidzej,
    Thanks for your reply!
    We managed to figure out the issue in my previous thread, what had happened was the previous robot owners had set up external axis, and so my Group Mask was set up to handle those axis. To save positions in a program, I just had to edit the group mask when I created that program, and then everything works just fine.

    You're probably right about the robot not being mastered, we're renting this robot and we haven't mastered it yet. However, we were able to make one of the tutorial programs work, and I just checked the joint data for my points and there are definitly values there. I'll master the robot and get back to y'all.


    Are you talking about mastering the robot axis or just external axis? We don't have any external axis controlled by the robot, so I'm not sure how I would go about mastering those since they are non-existant.
    Thanks!

    Oh, I didn't realize it could only be modified by the user. Interesting.


    I really should go back and refactor the sps file. Right now it manages a lot of stuff just in the background, reading and writing files, passing data, etc, but I could pull much of that functionality out. I think right now a lot of the lines are from functions we placed in the sps file, so I might be able to just pull those out into their own src files without changing any code...
    I'll look into that.


    Thanks!

Advertising from our partners