Short G1 ignored in ver 14.7 CNC Pro
I'm not up to date and don't have a Camsoft maintenance contract, hence my post here.
I never noticed til today that a sequence of very short movements could result in the G0 mode kind of overrunning G1 mode. See the note in my program below. It could be a motor tuning issue, but of course, I do not wish to insert a "WAITUNTIL STOP" command
in my G0 or G01 because of the resultant lousy profiling performance. However, I do use a DECELSTOP command in the G0 before the RAPID command
G90 G80 G40
G53 X0 Z-3.6
G92 X-4. Z0.1
M27 M3
T3 (CUTOFF TOOL ON REAR TOOLPOST)
M8
M98 L100 R29
M5 M9
T0
G98
M40
G99 M2
O100
M0 (RELEASE COLLET AND RECLAMP AFTER WORK MOVES TO STOP)
G0 X-.65 Z0.
M27
G1 X-.45 F4.5
G0 X-.65
G1 Z-.035 <---If I use a G0 here, then the next G1 is ignored and moves at rapid speed
G1 X-.6 Z0.
G0 X-.65
G0 Z.075
M28
G1 X-.5 Z0. F2.5
G1 X0.0000 F4.5
G0 X-1.
M27
M99
Below, is my naked G0 and G1 logic, for as much as you can make of it all by itself
DISPLAY1 t :TEXT 1;t :\81=t
IF\99=0THENIF{\3+\4}=0THENIF\5=1THENLABEL2 YOU FORGOT TO PROGRAM SPINDLE FWD/REV :[CYCLEBUTT] :EXIT
LABEL2 ;11
IF\99=0THENIF\5=1THENLABEL2 SPINDLE IS STOPPED;12 'detect a stopped spindle by M5 flag
DECELSTOP
RAPID z;{x/2};0
IF\99=1THENIFt<>\408THEN\408=t :FILEWRITE (T\408) :READNOTE \409 :FILEWRITE (\409) :FILEWRITE M0
IF\99=0THENIF\5=1THEN [CYCLEBUTT] 'if a dryrun is not in progress then if an M5 was not cancelled my an M3 or M4 ,go to the macro
\100=z
\101=x
-----G0
IF f=0THENLABEL2 YOU FORGOT TO SPECIFY A FEEDRATE;12 :[CYCLEBUTT] :EXIT
LABEL2 ;11
IF\99=0THENIF\5=1THENLABEL2 SPINDLE IS STOPPED;12 'detect a stopped spindle by M5 flag
GO z;{x/2};0
IF\99=0THENIF\5=1THEN [CYCLEBUTT] 'allows the program to run through with axis locked M31
\100=z
\101=x
-----G1
First you get good, then you get fast. Then grouchiness sets in.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)