CNC program fails at LIN moment Vel = 0.0 m/s dispite $Vel_CP = 0.005 m/s- Printable Version +- RoboDK Forum (//m.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: General questions about RoboDK (//m.sinclairbody.com/forum/Forum-General-questions-about-RoboDK) +--- Thread: CNC program fails at LIN moment Vel = 0.0 m/s dispite $Vel_CP = 0.005 m/s (/Thread-CNC-program-fails-at-LIN-moment-Vel-0-0-m-s-dispite-Vel-CP-0-005-m-s) |
CNC program fails at LIN moment Vel = 0.0 m/s dispite $Vel_CP = 0.005 m/s-JeffNickel-04-13-2020 My .scr files fail because when the g-code points are joined together with LIN movements the LIN commands have Vel=0 m/s . These lines of LIN commands are proceeded by a %Vel.CP = 0.00500 line but the system complains about the vel = 0 m/p parameter. $VEL.CP = 0.00500 ;FOLD LIN P3 CONTVel=0 m/sCPDAT3 Tool[1] Base[1];%{PE}%R 8.3.42,%MKUKATPBASIS,%CMOVE,%VLIN,%P 1:LIN, 2:P3, 3:C_DIS, 5:0, 7:CPDAT3 $BWDSTART=FALSE LDAT_ACT=LCPDAT3 FDAT_ACT=FP3 BAS(#CP_PARAMS,0) LINXP3C_DIS ;ENDFOLD ;FOLD LIN P4 CONTVel=0 m/sCPDAT4 Tool[1] Base[1];%{PE}%R 8.3.42,%MKUKATPBASIS,%CMOVE,%VLIN,%P 1:LIN, 2:P4, 3:C_DIS, 5:0, 7:CPDAT4 $BWDSTART=FALSE LDAT_ACT=LCPDAT4 FDAT_ACT=FP4 BAS(#CP_PARAMS,0) LINXP4C_DIS The g-code contains a G1Z-0.079F11.8 line near the top. F11.8 in/min converts to 0.005 m/s I guess this is wherethe $Vel.CP = 0.00500 get this value from. Should the LIN movements not have Vel = 0.005 m/s values or should these be over-ridden by the %Vel = 0.00500 command? Also, these LIN movements are CONT with C_DIS = 1mm For CNC machining should we be using approximate paths? Thanks, Almost there, Jeff RE: CNC program fails at LIN moment Vel = 0.0 m/s dispite $Vel_CP = 0.005 m/s-Albert-04-14-2020 Hi Jeff, The following link shows how you can select and modify a post processor for a specific purpose: //m.sinclairbody.com/doc/en/Post-Processors.html#SelectPost If you want to have 3 decimal values for the speed in your FOLD section:
Code:
;FOLD LIN P%s %sVel=%.3f m/s
Albert |