Posts by deadlyrefuge

    These are files taken directly from our controller. These files run. Every part of the file was copied and added into this forum post.


    As for the questions about "not working" as in I can change the values in the program, but that doesn't change the values in the .dat file. The motion files are created using the move menu options.


    As for user level. I have specified that. It was in t1 operating mode. Modules were both opened and edited, as well as then we selected them and edited. Both times produced the same results. And no messages before or after. There were no errors. The only reason I noticed the difference was because I went into the .DAT file and noticed the velocity was different than what we had in the .src file.


    Though at the end of the day, we tried running it one more time and it seemed like the program was accurate for speed. Kinda hard to tell other than measuring it out in a linear straight motion though.


    But if it is accurate. Why is the .dat file not being updated with the velocity speeds?

    Hey guys, so I am training a new guy at our company on the use and programming of our Kuka KR16. Our controller is KRC2 and the system is running software version KSS 5.6.54. The problem we are facing is that the when we program the PTP and LIN motions with a velocity. The velocity that we have set in those motion lines is not updated into the .Dat file. I did notice this before with another program I had written but the program was large and I did not have time to troubleshoot. So I just lowered the global speed override to something that was applicable for the job I was doing. The program runs but the speeds are wrong and I can't change them. I have tried using the CHANGE softkey to change the velocity, but that doesn't work. I have tried changing them directly in the .dat and that does change them, but when I use CHANGE on the points in the .src file, it then changes the .dat speeds back to the standard settings for velocity. Which are 100% for PTP, and 2.0 m/s for LIN.


    Here is the .src file;

    And here is the .dat file;


    As well, we have tried doing all this in multiple user groups; programmer, expert, and administrator. Nothing seems to work.


    What am I missing?

    Okay, I added the msglib to my system. I can't remember where I got it from but I had it on a usb. The program now recognizes the message. And will state the message in the message window, but it doesn't count. Is there a way to make it count. Say "Robot just completed cycle number 1 times" "Robot just completed cycle number 2 times" and so on. Or something like that?

    So I believe this will work for me. I inputted it into my program as this code

    Code
    MsgNotify("Robot just completed cycle number $1","CENTERL",n)

    But I get the error that the name is not declared as a subroutine.


    I've searched through the expert manual for this but I can't find where it says to declare names as subroutines. What am I missing here.

    Hey SkyeFire, So I tried out the info that people had given me today, the looping worked for me. Thanks for that. The problem im facing now is that I can not get the shifting to work.


    Here is my program I am using to test the shifting;


    When I input these lines;

    Code
    BASE_DATA[2] = {FRAME: X 2222.546,Y 57.559,Z 1201.456,A 0.0,B 0.0,C O.O}
    
    BASE_DATA[3] = {FRAME: X 2222.546,Y 57.559,Z 1201.456,A 0.0,B 0.0,C O.O}
    
    BASE_DATA[3]=BASE_DATA[2]: {X O,Y O,Z 100,A 0,B 0,C 0}

    I get an error on the syntax check. Error 2224 constant expected.

    The error is for the 3 lines of code. See the attached photo to get more info on the error. The first line is line 12, then line 14, then line 41 is the last line.


    What have I done wrong. Line 12 and 14 are actually copied from another program that works, I have only changed the base number from [1] to [2], and [3].

    Hello, so I have an urgent situation. The place I work for recently purchased a used KR16 with a controller running KRC2. We are trying to use this robot for applying a coating to very complex surfaces. Our original plan was to use offline programming through our CAM department. But the software we are using (ROBODK) is not sophisticated enough to write a program for our application. Mostly that it does not have collision avoidance.


    SO the responsibility has fallen to me to manually write a program, use 2 lines of linear position movements and then loop those lines and shift.


    My experience is with MOTOMAN on older robots and I was able to do roughly the same job with these older motomans. Unfortunately those robots are not ideal for this situation and we had just happened to purchase the KR16. Right now, if I could use the motoman I would, so far the programming seems way more user friendly.


    I have done extensive research into programming this KUKA but I have been continually been running into problems.


    My first question is, is it possible to do loops and shifts in a regular (non-expert) program? I have been trying to input the following codes with no success;

    INT N


    ;INI

    ;OTHER NECESSARY PARTS OF THE CODE


    FOR N=1 TO 4


    ;DO SOMETHING


    N=N+1


    ENDFOR


    Whenever I put these in, I get an error message saying (object is not available)


    I also haven't figured out how to shift either.


    I have tried making an expert module but whenever I input the lines;


    DECL INT N


    ;VELOCITY

    ;$VEL_AXIS[1]=100

    ;$VEL_AXIS[2]=100

    ;$VEL_AXIS[3]=100

    ;$VEL_AXIS[4]=100

    ;$VEL_AXIS[5]=100

    ;$VEL_AXIS[6]=100

    ;ACCELERATION

    ;$ACC_AXIS[1]=20

    ;$ACC_AXIS[2]=20

    ;$ACC_AXIS[3]=20

    ;$ACC_AXIS[4]=20

    ;$ACC_AXIS[5]=20

    ;$ACC_AXIS[6]=20


    It also says those lines of code are (object is not available).


    Is it possible to write expert programs faster than having to input each line of code, whenever I try to copy more that 2 lines of code and paste it, it will disappear.


    And yes before some of you ask, I have read the read first. I have not taken any training programs(if I could I would, but my workplace will not send us for it right now) as well I do not have time to take anymore training or get better software, this job is due and I need to get it done.


    If someone could also give me input on how to shift the robot, that would be great.


    I have attached a copy of the program I am using in non expert mode.

    Sorry guys, when I posted this question it had been an extremely busy time at work and I had forgotten I posted it. TSGIR, what board do I connect the external input of the trip dog to? I have looked up the diagrams and I believe I ether found the CN10 connector or the CN11. Unless I am wrong.

    Hey guys, so my company picked up some cheap old ES200's with XRC 2001 controllers. They work fine for what we want to use them for. What I am wondering is if I have a rotating platform with a electronic trip dog on it, is there any way to input the signal from that trip dog to the controller? And then to make the controller wait for that signal before moving to the next programmed position? And what code would I need to input into the program to make it do so?


    Thanks.

    he said that xrc controllers could never connect to FTP and that the xif02 board only takes ethernet and converts it to rs232. I think he said that my best bet would be to use the rs232 on the xcp01 board and then buy software from them, I think it was called VDE or something. I can't remember. But that just sounds like he doesn't want to promote FTP because he doesn't gain any money from us then.

Advertising from our partners