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

NC CODE drawing sent with Alphacam

#1
Hello, we have an ABB model robot, we make product drawings from the Alphacam 5 Axis drawing program and get the post output with NC code and add it to the ROBODK program. Then, when we create the code for the robot, all the codes are created in the form of MOVEL and in this case there are thousands of lines, sometimes 2000 lines of code. and our robot pauses while cutting. I think this is due to the nc code we received with Alphacam. Is there another method by which we can transfer the drawing we made with Alphacam to RoboDK without taking a post printout?

Thanks

Some lines from the sample code are as follows.

Code:
%%%
  VERSION:1
  LANGUAGE:ENGLISH
%%%
MODULE MOD_als_tokyo_m2

    ! -------------------------------
    ! Define customized variables here
    ! ...



! Reference variables:
PERS wobjdata tokyo2 := [FALSE, TRUE, "", [[1277.900,-699.970,219.160],[0.99999991,0.00000000,0.00042761,0.00000000]],[[0,0,0],[1,0,0,0]]];

PROC alsancak_tokyo_bosaltma_1()
ConfJ \On;
ConfL \Off;
! Show Montajli_spindle_r2
MoveAbsJ [[-49.461700,-6.005290,17.915100,100.009000,50.508400,-105.511000],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],[250.00,500,5000,1000],z1,Montajli_spindle_r2 \WObj:=tokyo2;
MoveL [[56.952,-13.117,282.415],[0.00000000,-0.00046368,0.83934002,0.54360658],[-1,1,-2,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],[250.00,500,5000,1000],z1,Montajli_spindle_r2 \WObj:=tokyo2;
MoveL [[56.952,16.540,269.123],[0.00000000,-0.00046368,0.83934002,0.54360658],[-1,1,-2,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],[75.00,500,5000,1000],z1,Montajli_spindle_r2 \WObj:=tokyo2;
MoveL [[56.839,86.410,425.021],[0.00000000,-0.00046368,0.83934002,0.54360658],[-1,1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],[133.33,500,5000,1000],z1,Montajli_spindle_r2 \WObj:=tokyo2;
MoveL [[56.838,86.834,425.968],[0.00000000,-0.00046258,0.83993724,0.54268335],[-1,1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],[133.33,500,5000,1000],z1,Montajli_spindle_r2 \WObj:=tokyo2;
MoveL [[56.838,87.408,427.205],[0.00000000,-0.00045653,0.84553678,0.53391699],[-1,1,-2,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],[133.33,500,5000,1000],z1,Montajli_spindle_r2 \WObj:=tokyo2;
...
MoveL [[192.068,-13.116,282.418],[0.00000000,-0.00046368,0.83934002,0.54360658],[-1,1,-2,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],[133.33,500,5000,1000],z1,Montajli_spindle_r2 \WObj:=tokyo2;
MoveL [[192.068,-104.370,323.316],[0.00000000,-0.00046368,0.83934002,0.54360658],[-1,1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],[250.00,500,5000,1000],z1,Montajli_spindle_r2 \WObj:=tokyo2;
ENDPROC
#2
What do you mean that the robot pauses while moving? That you experience vibration movements at each point or jerky motion?

If so, I recommend you to increase the rounding radius, for example, to 5 mm (for ABB, you'll see z5 instead of z1 for each MoveL line). For machining projects you can set this value in the robot machining events:
https://robodk.com/doc/en/Robot-Machinin...ningEvents

Also, if your points are too close to each other you can also increase the filter to not generate points that are too close to each other (default filter is 0.05 mm). You can do so by following these steps:
  1. Select Tools-Options
  2. Select the Program tab
  3. Set the Maximum step size (mm) to 2 mm for example (or any value greater than 0.2 mm).
You'll also see that your programs are smaller.
  




Users browsing this thread:
1 Guest(s)