Here is a line out of the .cfg file can someone explain what some of the settings are for?
Code: Select all
What does fr, tn, tm, jm, jh,sn,sx,sv,lv,lb, and zb stand for?
Tgfx just uses the tinyg config values and groups them by axis, "fr" above corresponds to $yfr in tinyg. Here
is a good overview on what is available.
psppb wrote:Further into tgfx I find these settings
Junction Acceleration 2000000.0
Chordial Tolerance 163.8706
Motor Idle Timeout 2.0 Seconds
The meaning of junction acceleration, junction deviation and chordal tolerance is described in the link I gave above. Most people leave them at default.
Motor idle timeout switches off the power to the motors after they have not been moving for X seconds (depends on the power mode of each motor $1pm $2pm etc). When the motors are not powered, you can move the axes by hand, but the machine will not notice the change and thinks the axes are still at the old position.
Velocity Maximum 630.0 // Should this change along with the feedrate?
Feedrate Maximum 630.0
Travel Maximum 11.732
Travel Min 0.0
I have no idea what these are. Through physics I know the jerk is the 3rd derivative of a postion polynomial. Could someone explain the rest?
Maximum Jerk 197.000
Junction Deviation 0.002
Jerk Homing 1.0
Search Velocity -39.4
Latch Velocity 4.0 Latch Backoff 0.079
Zero Backoff = 0.039
Velocity maximum is used for fast traverses with the G0 command when the machine is not milling (feeding). Good to start low (~400 for screw-driven axes, ~2000 for belt-driven) and when the machine is running stable, tune it up.
While "feeding" (cutter engaged) with gcode commands G1/G2/G3, the machine uses the feedrate that is specified in the gcode file, but it will not allow it to go higher than the feedrate maximum specified for each axis.
[Minimum/maximum travel] is currently not used by tinyg itself, but is used by tgfx to size the tracker area.
[Maximum jerk] takes the place of accelleration, higher values = more accelleration.
The rest is used for a homing cycle if you have limit/homing switches. For example, if you have a minimum limit switch on the X axis, G28.2 X0 will initiate a homing cycle for the X axis:
First, tinyg will move left with the [search velocity] until the limit switch is engaged. Then it will decelerate with [jerk homing], and move X to the right with latch velocity until the limit switch is disengaged again. Finally, from that point it moves to the right for [zero backoff] distance and sets this position to the 0 position for the X axis.
In other words: [Latch velocity] should be very low, [jerk homing] very high (as long as the motors do not lose steps while accelerating/decelerating), [search velocity] also low (so that the machine does not crash into the limit switch or physical endstop).
Hope that helps, and have a lot of fun with tinyg and the Shapeoko!