Difference between revisions of "SETTINGS/Printer/Custom G-Code/On Connect G-Code"
From MatterControl Manual
< SETTINGS | Printer | Custom G-Code
(Created page with "{{Slice Settings |G-Code to run upon successful connection to a printer. This can be useful to set settings specific to a given printer.|*G-Code Will accept Custom_G-Code_...") |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Slice Settings | {{Slice Settings | ||
− | |G-Code to run upon successful connection to a printer. This can be useful to set settings specific to a given printer. | + | |G-Code to run upon successful connection to a printer. This can be useful to set settings specific to a given printer. For instance, for S3G printers it is used to tell the printer the steps per mm for each axis and the homing offset. |
− | + | '''NOTE:''' All Custom G-Code is subject to [[G-Code Filtering|filtering rules]]. | |
+ | |||
+ | This code is normally not inserted when exporting G-Code files, however it ''is'' processed when exporting X3G files.|*G-Code | ||
+ | *[[Custom_G-Code_Variables|Custom G-Code variables]] | ||
+ | |||
+ | All G-Code must be uppercase to function properly.| | ||
=== G-Code === | === G-Code === | ||
In this example, the printer will home (G28) when MatterControl makes a successful connection.}} | In this example, the printer will home (G28) when MatterControl makes a successful connection.}} |
Latest revision as of 10:40, 8 February 2017
Function
G-Code to run upon successful connection to a printer. This can be useful to set settings specific to a given printer. For instance, for S3G printers it is used to tell the printer the steps per mm for each axis and the homing offset.
NOTE: All Custom G-Code is subject to filtering rules.
This code is normally not inserted when exporting G-Code files, however it is processed when exporting X3G files.
Parameters
- G-Code
- Custom G-Code variables
All G-Code must be uppercase to function properly.
Example(s)
G-Code
In this example, the printer will home (G28) when MatterControl makes a successful connection.