-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add GT for hints & gcodes documentation
- Loading branch information
Showing
10 changed files
with
213 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
--- | ||
tag: m122 | ||
title: TMC Debugging | ||
brief: Get TMC Debug Info | ||
author: mbuc | ||
|
||
experimental: false | ||
since: 1.1.7 | ||
requires: HAVE_TMC2130|HAVE_TMC2208,TMC_DEBUG | ||
group: debug | ||
|
||
codes: | ||
- M122 | ||
|
||
long: | ||
- When sent without a parameter, returns a table of current register settings for any Trinamic TMC2130 or TMC2208 stepper motor drivers. Sending the command with the `S` parameter and a following boolean will respectively enable or disable reporting the debugging information on a continous basis. | ||
|
||
notes: | ||
- Need to have `TMC_DEBUG` enabled in `Configuration_adv.h`. | ||
|
||
parameters: | ||
- | ||
tag: S | ||
type: boolean | ||
optional: true | ||
description: Flag to enable/disable continuous reporting of debugging information. | ||
|
||
examples: | ||
- | ||
pre: 'Enabling debugging output:' | ||
code: M122 S1 | ||
- | ||
pre: 'Example Output:' | ||
code: | | ||
SENDING:M122 | ||
X Y | ||
Enabled false false | ||
Set current 850 850 | ||
RMS current 826 826 | ||
MAX current 1165 1165 | ||
Run current 26/31 26/31 | ||
Hold current 13/31 13/31 | ||
CS actual 13/31 13/31 | ||
PWM scale 41 41 | ||
vsense 1=.18 1=.18 | ||
stealthChop true true | ||
msteps 16 16 | ||
tstep 1048575 1048575 | ||
pwm | ||
threshold 0 0 | ||
[mm/s] - - | ||
OT prewarn false false | ||
OT prewarn has | ||
been triggered false false | ||
off time 5 5 | ||
blank time 24 24 | ||
hysterisis | ||
-end 2 2 | ||
-start 3 3 | ||
Stallguard thrs 0 0 | ||
DRVSTATUS X Y | ||
stallguard | ||
sg_result 0 0 | ||
fsactive | ||
stst X X | ||
olb | ||
ola | ||
s2gb | ||
s2ga | ||
otpw | ||
ot | ||
'Driver registers:' | ||
X = 0x80:0D:00:00 | ||
Y = 0x80:0D:00:00 | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
tag: m852 | ||
title: Bed Skew Compensation | ||
brief: Misalignment in the XYZ axes. | ||
author: HekTron802 | ||
|
||
experimental: true | ||
group: calibration | ||
|
||
codes: | ||
- M852 | ||
|
||
long: | ||
- Bed Skew Compensation corrects for misalignment in the XY, XZ, and ZY axes through the use of correction factors. | ||
|
||
notes: | ||
- Correction factors have a range of -1 to 1. | ||
- See Bed Skew Compensation section in the configuration file for more information on calculating the correction factors. | ||
|
||
parameters: | ||
- | ||
tag: I | ||
type: float | ||
optional: true | ||
description: Skew correction factor for XY axis. | ||
- | ||
tag: J | ||
type: float | ||
optional: true | ||
description: Skew correction factor for XZ axis | ||
- | ||
tag: K | ||
type: float | ||
optional: true | ||
description: Skew correction factor for YZ axis | ||
- | ||
tag: S | ||
type: float | ||
optional: true | ||
description: Alias for `I` when only XY skew correction is enabled | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,72 @@ | ||
--- | ||
tag: m913 | ||
title: Set Hybrid Threshold Speed | ||
brief: If you know what this is… | ||
author: thinkyhead | ||
brief: TMC driver switching to spreadCycle | ||
author: mbuc | ||
|
||
experimental: false | ||
requires: HAVE_TMC2130,HYBRID_THRESHOLD | ||
requires: HAVE_TMC2130 or HAVE_TMC2208,HYBRID_THRESHOLD | ||
group: control | ||
|
||
codes: | ||
- M913 | ||
|
||
long: | ||
long: | ||
- When `HYBRID_THRESHOLD` is enabled, the TMC driver is switched from the quieter StealthChop to spreadCycle when the feed rate for a given stepper motor is over its `_HYBRID_THRESHOLD`. | ||
- | | ||
### Individual Threshold Values | ||
- X_HYBRID_THRESHOLD | ||
- X2_HYBRID_THRESHOLD | ||
- Y_HYBRID_THRESHOLD | ||
- Y2_HYBRID_THRESHOLD | ||
- Z_HYBRID_THRESHOLD | ||
- Z2_HYBRID_THRESHOLD | ||
- E0_HYBRID_THRESHOLD | ||
- E1_HYBRID_THRESHOLD | ||
- E2_HYBRID_THRESHOLD | ||
- E3_HYBRID_THRESHOLD | ||
- E4_HYBRID_THRESHOLD | ||
notes: | ||
- At least one parameter must be used. | ||
- Setting `X`, `Y`, `Z`, or `E` will set the hybrid threshold for all motors that fall under that category that have the `_IS_TRINAMIC` flag set. See examples below. | ||
|
||
parameters: | ||
- | ||
tag: X | ||
type: int | ||
optional: true | ||
description: Set `X_HYBRID_THRESHOLD` and `X2_HYBRID_THRESHOLD` to the provided value. | ||
|
||
- | ||
tag: Y | ||
type: int | ||
optional: true | ||
description: Set `Y_HYBRID_THRESHOLD` and `Y2_HYBRID_THRESHOLD` to the provided value. | ||
|
||
- | ||
tag: Z | ||
type: int | ||
optional: true | ||
description: Set `Z_HYBRID_THRESHOLD` and `Z2_HYBRID_THRESHOLD` to the provided value. | ||
|
||
- | ||
tag: E | ||
type: int | ||
optional: true | ||
description: Set `E0_HYBRID_THRESHOLD` and `E1_HYBRID_THRESHOLD` and `E2_HYBRID_THRESHOLD` and `E3_HYBRID_THRESHOLD` to the provided value. | ||
|
||
examples: | ||
- | ||
pre: 'In this case, assume that `X_IS_TRINAMIC` and `X2_IS_TRINAMIC` are both enabled in `Configuration_adv.h`. ' | ||
post: 'Both `X_HYBRID_THRESHOLD` and `X2_HYBRID_THRESHOLD` are set to 100.' | ||
code: M913 X100 | ||
|
||
- | ||
pre: 'In this case, assume that `X_IS_TRINAMIC`, `X2_IS_TRINAMIC`, `Y_IS_TRINAMIC`, `E0_IS_TRINAMIC`, and `E2_IS_TRINAMIC` are enabled in `Configuration_adv.h`.' | ||
post: '`X_HYBRID_THRESHOLD` and `X2_HYBRID_THRESHOLD` are set to 100. `Y_HYBRID_THRESHOLD` is set to 120. `E0__HYBRID_THRESHOLD` and `E2_HYBRID_THRESHOLD` are both set to 30. `E1_HYBRID_THRESHOLD` is not changed since the `E0_IS_TRINAMIC` flag is not set.' | ||
code: M913 X100 Y120 E30 | ||
|
||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<base href=".."> | ||
<!-- Bootstrap --> | ||
<link href="libs/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> | ||
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script> | ||
<script src="libs/jquery/dist/jquery.min.js"></script> | ||
<!-- Include all compiled plugins (below), or include individual files as needed --> | ||
<script src="libs/tether/dist/js/tether.min.js"></script> | ||
<script src="libs/bootstrap/dist/js/bootstrap.min.js"></script> | ||
|
||
<div id="google_translate_element"></div><script type="text/javascript"> | ||
function googleTranslateElementInit() { | ||
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.FloatPosition.TOP_RIGHT}, 'google_translate_element'); | ||
} | ||
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> |