Difference between revisions of "G-Code Filtering"
Line 19: | Line 19: | ||
Certain printers do not accept [http://reprap.org/wiki/G-code#G0_.26_G1:_Move G0] as a valid command for movement, so MatterControl sends the more common [http://reprap.org/wiki/G-code#G0_.26_G1:_Move G1] command instead. | Certain printers do not accept [http://reprap.org/wiki/G-code#G0_.26_G1:_Move G0] as a valid command for movement, so MatterControl sends the more common [http://reprap.org/wiki/G-code#G0_.26_G1:_Move G1] command instead. | ||
− | Starting in version 1.6, the [[ | + | Starting in version 1.6, the '''[[Settings/General/Output Options/File Settings/Use G0|Use G0]]''' setting will allow for the use of G0 if desired. |
=== Coordinate Truncation === | === Coordinate Truncation === |
Latest revision as of 17:45, 21 November 2016
MatterControl filters G-Code as it sends it to the printer via serial USB communication to maintain compatibility with a large range of printer types.
Automatic Changes
M109
MatterControl automatically converts M109 commands to M104 commands.
M190
MatterControl automatically converts M190 commands to M140 commands...
G91
MatterControl accepts G91 commands for relative positioning, but instead of just allowing them straight through it interprets them as absolute coordinates and feeds those to the printer.
G0
Certain printers do not accept G0 as a valid command for movement, so MatterControl sends the more common G1 command instead.
Starting in version 1.6, the Use G0 setting will allow for the use of G0 if desired.
Coordinate Truncation
To save bandwidth, MatterControl truncates superfluous coordinates in movement commands. For example, if the printer is currently at coordinates X30 Y40 Z50 and the next G-Code command is:
G1 X30 Y70 Z50
then MatterControl will truncate this command to:
G1 Y70
since the X and Z coordinates are the same as the current position.