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

Post processor not outputting CNT values for Linear Motions. Only FINE

#1
I have adjusted the post processor for CNT100 and it still gives me FINE. I am certain this is what is the source of our poor robot motion. What can I do to make all the motions CNT?

Thank you.
#2
What postprocesor are you using? where did you adjust the CNT?


using the setRounding instruction to 100 in your robot program should set CNT100
   
   
#3
(08-29-2023, 12:21 PM)Alex Wrote: What postprocesor are you using? where did you adjust the CNT?


using the setRounding instruction to 100 in your robot program should set CNT100

Thank you for the prompt reply, Alex.

I have set the setRounding instruction as suggested, previously. However, this carries with it one limitation. Whenever a speed change is encountered, the rounding is no longer applied. I.e. the at the new speed change the linear moves return to FINE motions. I am also currently trying to find a way to make it so I can have one master setSpeed and then apply the setRounding after that as I believe this is a solution, aside from the post-processor taking care of it.

I am using the Fanuc R30i post processor. 

  # set default CNT value (all motion until smooth value is changed)

    # CNT_VALUE = 'CNT5' # 5% smoothing (set CNT1-CNT100)
    CNT_VALUE = 'CNT100' 

This code does not change anything regardless of what you put. I.e doesn't matter whether fine or CNT or 1 or 100. If we can make this work, this will overcome all as well. I tried in quotations as well ("CNT100") and no difference.

Thank you.

Here is a code snippet just so we can be on the same page:

PR[9,6]=-180.000 ;
  27:  UTOOL[9]=PR[9] ;
  28:  UTOOL_NUM=9 ;
  29:  ! Show E25 EXTRUDER HE ;
  30:  ! AD ;
  31:J P[1] 2% CNT1  ;
  32:L P[2] 120mm/sec CNT1  ;
  33:L P[3] 120mm/sec CNT1  ;
  34:L P[4] 120mm/sec CNT1  ;
  35:L P[5] 30mm/sec FINE  ;
  36:  CALL Extrud(2390.01014) ;
  37:L P[6] 30mm/sec FINE  ;
  38:  CALL Extrud(2390.01014) ;
  39:L P[7] 30mm/sec FINE  ;
  40:  CALL Extrud(2389.80021) ;
  41:L P[8] 30mm/sec FINE  ;
  42:  CALL Extrud(2389.80021) ;
  43:L P[9] 30mm/sec FINE  ;
  44:  CALL Extrud(2389.58984) ;
  45:L P[10] 30mm/sec FINE  ;
  46:  CALL Extrud(2389.58984) ;
  47:L P[11] 30mm/sec FINE  ;
  48:  CALL Extrud(2389.37990) ;
  49:L P[12] 30mm/sec FINE  ;
  50:  CALL Extrud(2389.37990) ;
  51:L P[13] 30mm/sec FINE  ;

This is the output, the LS file for the Fanuc we use. This is the Karel Programming Language.
#4
Okay, I think I got it figured out. Little back door solution ;)
#5
Thank you for letting us know. Just to make sure you change it properly, when you trigger a program call (such as the Extruder function), the post processor will force the last movement to have a FINE rounding. You can configure this behavior in the RunCode function of your post processor.
  




Users browsing this thread:
1 Guest(s)