Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

BASE question on kuka krc2 BAS(#ex_base1) instead of BASE=BASE_DATA[2]

#1
Hi,
I have a kuka krc2 and robodk for several time but dont work too much with it.

I have configured with sucess a turntable and it worked 2 years ago +/-.

Now i need to make a job without the turntable.
I created a fixed frame. Frame Number 2.
I use tool 4.

I already changed everything on post processor, tried the krc2 and krc4 without sucess.

The file produced generate every time :

BAS(#ex_BASE,1)

If i replace that line with $BASE =BASE_DATA[2] everything works good.

What i am doing wrong ?


Attached Files
.rdk   alvarobem.rdk (Size: 1.24 MB / Downloads: 120)
#2
You can customize the reference frame setting for the existing post-processor:
https://robodk.com/doc/en/Post-Processor...amesFilter
#3
ok, it replace the code.
But same problem. The coordinates that use in the automatic code that it puts its wrong.
It is relative to the turntable.

It is not possible to mantain the turntable in the project and use the project to put coordinates from the fixed frame without use the turntable ?
#4
When i remove the turntable from the projet everything is ok.

The problem is the turntable in the project.

Even if i put the fixed frame and the actrive reference the fixed instead of the turntable i get the problem.

Can i make something to correct this issue ?
#5
Have you tried removing the synchronization with the rotary table in the RDK station?
I modified your station a bit (attached): the rotary table is now unsynchronized, and Frame 2 is used for the machining project.
Does this work for you?

kuk.png   


Attached Files
.rdk   alvarobem_md.rdk (Size: 1.24 MB / Downloads: 113)
#6
That worked thank you.

Now i have another problem related to the base definition as well.
I am now using the rotary table.

The BAS comand does not work.

What worked is:
$BASE = EK (MACHINE_DEF[2].ROOT, MACHINE_DEF[2].MECH_TYPE, { X 26.930,Y 139.199,Z 0.000,A -152.400,B 0.000,C 0.000 })

I put custom post processor and is good.

But i have large large file. and more than 20sub programs that i today discovered is the limit.
I am trying to use kukavarproxy.
I already change the BASe definition in robodksync35 to:
$BASE = EK (MACHINE_DEF[2].ROOT, MACHINE_DEF[2].MECH_TYPE, { X 26.930,Y 139.199,Z 0.000,A -152.400,B 0.000,C 0.000 })

but when i execute run in robot the base definition disapear (if i see in monitor /rob position/cartesian)
and the movement is wrong.

I already try to use BASE = BASE_DATA[17] but without sucess too.
I try to use another plugin that you have now KUKA CNC but it say that i dont have license but i do.

What can i do ?
Thank you
#7
I guess you should try using the Kukabridge driver instead of kukavarproxy:

kukabridge.png   
#8
Thank you for your fast support.

I already installed c3 bridge on kcp.
run the exe on kcp.

When i try to execute the script to autoconfigure it say i dont have any kuka robot in my station.

edit.
I try this:
https://robodk.com/doc/en/Robots-KUKA-Au...iverConfig

and when i execute configure force the kcp show error: c3 bridge interface serv ver c3bcompt interface error: the exception privileged instruction
0xc0000096

error

Edit:
I edited the config manual mode and added the last line e6pos that i didnt have.
copy the robodksync562 to robot.
executed with the kukabridge driver and same problem.
The tool is defined as tool 1 and the base is not defined.
where i can correct ?

I already try to modify the robodksync file to this:

;$BASE = BASE_DATA[17]
or this:
$BASE = EK (MACHINE_DEF[2].ROOT, MACHINE_DEF[2].MECH_TYPE, { X 26.930,Y 139.199,Z 0.000,A -152.400,B 0.000,C 0.000 })

and same problem the robot try to move to the robot base instead of the part.


Attached Files Thumbnail(s)
error.png    no kuka robot.png   
#9
Could you please confirm that the 'Provide Cartesian coordinates with respect to the reference'  option is selected on the Tools - Options - Drivers tab?
   


Also, your program in RoboDK should use the same coordinate system you defined in your $BASE variable (the active reference).
kuka_pos.png   
  




Users browsing this thread:
1 Guest(s)