I'm having a difficult time getting a firmware/settings combination that will work on my setup (a heavier duty shapeoko-type cnc router). The original firmware that shipped with the v8 TinyG (380.05?) was working ok, but then I made the mistake of trying the new tgfx feature to upgrade the firmware. It updated it to the current master of 380.08 and things haven't worked right since. I would try going back to the original firmware, but I haven't been able to locate it on the download site. After fighting multiple issues on 380.08, I decided to give the latest edge firmware a try. It solved several of the issues I was having, but I'm currently at a standstill trying to root cause an issue in which the z-axis will suddenly shift by several mm when routing a relief (no problems with simple cuts). It's as if there is a buffer overflow issue when routing reliefs.
I've tried using tgfx, jcnc, and coolterm with XON and with CTS (adjusting both TinyG and the SW accordingly).
Any suggestions on what else I can try? Is there a way to get a firmware that's more recent than 412.01 to test with?
Here are some of the details:
1) For a given relief, the problem occurs at the same spot in the gcode each time. But changing parameters such as $ct can change where the problem occurs. I changed $ct to 0.1 and it eliminated the problem on one relief, but the problem occurs in other reliefs.
2) I've done all the recommendations to test for a z-axis mechanical problem, and the problem does not appear to be mechanical. (e.g. changing $mi, adjusting current, changed to NEMA23 for Z axis, changed velocities and jerk values)
3) Here's a snippet of gcode that was consistently failing until I changed the $ct value.
(Test)
(Material Size) (X=50.000, Y=80.000, Z=3.000)
G90G80G21G49
(Tool Number:1) (0.063 inches dia. ball nose)
G0Z2.0000
M3 S25000
G0 X0.0000 Y0.0050 Z2.0000
G1 Z0.0000 F508
G1 X50.0000 F1270
Y26.4150 Z0.0000
X28.3145 Z-1.1291
X27.6120 Z-1.2767
X27.6101 Z-1.2771
X27.3106 Z-1.2501
X25.6332
X25.4408 Z-1.2727
X25.2279 Z-1.2502
X23.2113 Z-1.2563
X22.5751 Z-1.1268
X21.5795 Z-0.9814
X20.5580 Z-0.9099
X19.2067 Z-0.9108
X18.1675 Z-0.9569
X17.1569 Z-1.0728
X16.1800 Z-1.2774
X15.2104 Z-1.5775
X14.4949 Z-1.8794
G0 Z2.0000
G0 Y0.0000
G0Z2.0000
G0X0.0000Y0.0000
M5
M30
5) Here are my current settings, although I've tried a wide variety of other settings:
[ct] chordal tolerance 0.100 mm
[fb] firmware build 412.01
[fv] firmware version 0.97
[hp] hardware platform 1.00
[hv] hardware version 8.00
[id] TinyG ID 1H4973-HYT
[ja] junction acceleration 20000 mm
[ct] chordal tolerance 0.100 mm
[sl] soft limit enable 0
[st] switch type 0 [0=NO,1=NC]
[mt] motor idle timeout 1000.00 Sec
[ej] enable json mode 0 [0=text,1=JSON]
[jv] json verbosity 3 [0=silent,1=footer,2=messages,3=configs,4=linenum,5=verbose]
[js] json serialize style 1 [0=relaxed,1=strict]
[tv] text verbosity 0 [0=silent,1=verbose]
[qv] queue report verbosity 0 [0=off,1=single,2=triple]
[sv] status report verbosity 1 [0=off,1=filtered,2=verbose]
[si] status interval 1000 ms
[ec] expand LF to CRLF on TX 0 [0=off,1=on]
[ee] enable echo 0 [0=off,1=on]
[ex] enable flow control 1 [0=off,1=XON/XOFF, 2=RTS/CTS]
[baud] USB baud rate 5 [1=9600,2=19200,3=38400,4=57600,5=115200,6=230400]
[net] network mode 0 [0=master]
[gpl] default gcode plane 0 [0=G17,1=G18,2=G19]
[gun] default gcode units mode 1 [0=G20,1=G21]
[gco] default gcode coord system 1 [1-6 (G54-G59)]
[gpa] default gcode path control 2 [0=G61,1=G61.1,2=G64]
[gdi] default gcode distance mode 0 [0=G90,1=G91]
[1ma] m1 map to axis 0 [0=X,1=Y,2=Z...]
[1sa] m1 step angle 1.800 deg
[1tr] m1 travel per revolution 39.8500 mm
[1mi] m1 microsteps 8 [1,2,4,8]
[1po] m1 polarity 1 [0=normal,1=reverse]
[1pm] m1 power management 0 [0=remain powered,1=power down when idle]
[1mp] m1 motor power level 1.000 [0.000=minimum, 1.000=maximum]
[2ma] m2 map to axis 1 [0=X,1=Y,2=Z...]
[2sa] m2 step angle 1.800 deg
[2tr] m2 travel per revolution 39.8500 mm
[2mi] m2 microsteps 8 [1,2,4,8]
[2po] m2 polarity 0 [0=normal,1=reverse]
[2pm] m2 power management 0 [0=remain powered,1=power down when idle]
[2mp] m2 motor power level 1.000 [0.000=minimum, 1.000=maximum]
[3ma] m3 map to axis 1 [0=X,1=Y,2=Z...]
[3sa] m3 step angle 1.800 deg
[3tr] m3 travel per revolution 39.8500 mm
[3mi] m3 microsteps 8 [1,2,4,8]
[3po] m3 polarity 1 [0=normal,1=reverse]
[3pm] m3 power management 0 [0=remain powered,1=power down when idle]
[3mp] m3 motor power level 1.000 [0.000=minimum, 1.000=maximum]
[4ma] m4 map to axis 2 [0=X,1=Y,2=Z...]
[4sa] m4 step angle 1.800 deg
[4tr] m4 travel per revolution 1.0000 mm
[4mi] m4 microsteps 4 [1,2,4,8]
[4po] m4 polarity 1 [0=normal,1=reverse]
[4pm] m4 power management 0 [0=remain powered,1=power down when idle]
[4mp] m4 motor power level 1.000 [0.000=minimum, 1.000=maximum]
[xam] x axis mode 1 [standard]
[xvm] x velocity maximum 2000.000 mm/min
[xfr] x feedrate maximum 2000.000 mm/min
[xtn] x travel minimum 0.000 mm
[xtm] x travel maximum 450.000 mm
[xjm] x jerk maximum 5000 mm/min^3 * 1 million
[xjh] x jerk homing 20000 mm/min^3 * 1 million
[xjd] x junction deviation 0.0500 mm (larger is faster)
[xsn] x switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[xsx] x switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[xsv] x search velocity 3000.000 mm/min
[xlv] x latch velocity 300.000 mm/min
[xlb] x latch backoff 10.000 mm
[xzb] x zero backoff 125.000 mm
[yam] y axis mode 1 [standard]
[yvm] y velocity maximum 2000.000 mm/min
[yfr] y feedrate maximum 2000.000 mm/min
[ytn] y travel minimum 0.000 mm
[ytm] y travel maximum 800.000 mm
[yjm] y jerk maximum 5000 mm/min^3 * 1 million
[yjh] y jerk homing 20000 mm/min^3 * 1 million
[yjd] y junction deviation 0.0500 mm (larger is faster)
[ysn] y switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[ysx] y switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[ysv] y search velocity 3000.000 mm/min
[ylv] y latch velocity 300.000 mm/min
[ylb] y latch backoff 10.000 mm
[yzb] y zero backoff 272.000 mm
[zam] z axis mode 1 [standard]
[zvm] z velocity maximum 200.000 mm/min
[zfr] z feedrate maximum 200.000 mm/min
[ztn] z travel minimum 0.000 mm
[ztm] z travel maximum 75.000 mm
[zjm] z jerk maximum 10 mm/min^3 * 1 million
[zjh] z jerk homing 20 mm/min^3 * 1 million
[zjd] z junction deviation 0.0500 mm (larger is faster)
[zsn] z switch min 0 [0=off,1=homing,2=limit,3=limit+homing]
[zsx] z switch max 1 [0=off,1=homing,2=limit,3=limit+homing]
[zsv] z search velocity 75.000 mm/min
[zlv] z latch velocity 75.000 mm/min
[zlb] z latch backoff 2.000 mm
[zzb] z zero backoff 2.000 mm