From 95b3ea0b300f0e08a08f8901833be99f2f911f10 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Sat, 30 Aug 2014 14:40:06 +0200 Subject: [PATCH] Canned G-code: distribute new config option to all templates. --- config.gen3.h | 16 ++++++++++++++++ config.gen6.h | 16 ++++++++++++++++ config.gen7-v1.1-v1.3.h | 15 +++++++++++++++ config.gen7-v1.4.h | 16 ++++++++++++++++ config.ramps-v1.2.h | 16 ++++++++++++++++ config.ramps-v1.3.h | 16 ++++++++++++++++ config.sanguinololu-v1.1.h | 16 ++++++++++++++++ config.sanguinololu-v1.2.h | 16 ++++++++++++++++ config.sanguish.h | 16 ++++++++++++++++ config.teensy.h | 16 ++++++++++++++++ config.teensypp.h | 16 ++++++++++++++++ 11 files changed, 175 insertions(+) diff --git a/config.gen3.h b/config.gen3.h index 2b5abe9..d9ee196 100644 --- a/config.gen3.h +++ b/config.gen3.h @@ -572,6 +572,22 @@ DEFINE_TEMP_SENSOR(bed, TT_INTERCOM, AIO1, 0) */ #define ENDSTOP_STEPS 4 +/** \def CANNED_CYCLE + + G-code commands in this string will be executed over and over again, without + user interaction or even a serial connection. It's purpose is e.g. for + exhibitions or when using Teacup for other purposes than printing. You can + add any G-code supported by Teacup. + + Note: don't miss these newlines (\n) and backslashes (\). +*/ +/* +#define CANNED_CYCLE "G1 X100 F3000\n" \ +"G4 P500\n" \ +"G1 X0\n" \ +"G4 P500\n" +*/ + /***************************************************************************\ diff --git a/config.gen6.h b/config.gen6.h index 40586bb..94217b6 100644 --- a/config.gen6.h +++ b/config.gen6.h @@ -558,6 +558,22 @@ PWM value for 'off' */ #define ENDSTOP_STEPS 4 +/** \def CANNED_CYCLE + + G-code commands in this string will be executed over and over again, without + user interaction or even a serial connection. It's purpose is e.g. for + exhibitions or when using Teacup for other purposes than printing. You can + add any G-code supported by Teacup. + + Note: don't miss these newlines (\n) and backslashes (\). +*/ +/* +#define CANNED_CYCLE "G1 X100 F3000\n" \ +"G4 P500\n" \ +"G1 X0\n" \ +"G4 P500\n" +*/ + /***************************************************************************\ diff --git a/config.gen7-v1.1-v1.3.h b/config.gen7-v1.1-v1.3.h index 846968c..a91d36c 100644 --- a/config.gen7-v1.1-v1.3.h +++ b/config.gen7-v1.1-v1.3.h @@ -570,6 +570,21 @@ PWM value for 'off' */ #define ENDSTOP_STEPS 4 +/** \def CANNED_CYCLE + + G-code commands in this string will be executed over and over again, without + user interaction or even a serial connection. It's purpose is e.g. for + exhibitions or when using Teacup for other purposes than printing. You can + add any G-code supported by Teacup. + + Note: don't miss these newlines (\n) and backslashes (\). +*/ +/* +#define CANNED_CYCLE "G1 X100 F3000\n" \ +"G4 P500\n" \ +"G1 X0\n" \ +"G4 P500\n" +*/ /***************************************************************************\ diff --git a/config.gen7-v1.4.h b/config.gen7-v1.4.h index c54d003..b050cfd 100644 --- a/config.gen7-v1.4.h +++ b/config.gen7-v1.4.h @@ -570,6 +570,22 @@ PWM value for 'off' */ #define ENDSTOP_STEPS 4 +/** \def CANNED_CYCLE + + G-code commands in this string will be executed over and over again, without + user interaction or even a serial connection. It's purpose is e.g. for + exhibitions or when using Teacup for other purposes than printing. You can + add any G-code supported by Teacup. + + Note: don't miss these newlines (\n) and backslashes (\). +*/ +/* +#define CANNED_CYCLE "G1 X100 F3000\n" \ +"G4 P500\n" \ +"G1 X0\n" \ +"G4 P500\n" +*/ + /***************************************************************************\ diff --git a/config.ramps-v1.2.h b/config.ramps-v1.2.h index 72d46db..1324899 100644 --- a/config.ramps-v1.2.h +++ b/config.ramps-v1.2.h @@ -567,6 +567,22 @@ PWM value for 'off' */ #define ENDSTOP_STEPS 4 +/** \def CANNED_CYCLE + + G-code commands in this string will be executed over and over again, without + user interaction or even a serial connection. It's purpose is e.g. for + exhibitions or when using Teacup for other purposes than printing. You can + add any G-code supported by Teacup. + + Note: don't miss these newlines (\n) and backslashes (\). +*/ +/* +#define CANNED_CYCLE "G1 X100 F3000\n" \ +"G4 P500\n" \ +"G1 X0\n" \ +"G4 P500\n" +*/ + /***************************************************************************\ diff --git a/config.ramps-v1.3.h b/config.ramps-v1.3.h index 28c5549..b04a5af 100644 --- a/config.ramps-v1.3.h +++ b/config.ramps-v1.3.h @@ -570,6 +570,22 @@ PWM value for 'off' */ #define ENDSTOP_STEPS 4 +/** \def CANNED_CYCLE + + G-code commands in this string will be executed over and over again, without + user interaction or even a serial connection. It's purpose is e.g. for + exhibitions or when using Teacup for other purposes than printing. You can + add any G-code supported by Teacup. + + Note: don't miss these newlines (\n) and backslashes (\). +*/ +/* +#define CANNED_CYCLE "G1 X100 F3000\n" \ +"G4 P500\n" \ +"G1 X0\n" \ +"G4 P500\n" +*/ + /***************************************************************************\ diff --git a/config.sanguinololu-v1.1.h b/config.sanguinololu-v1.1.h index 5fee367..83d9f2f 100644 --- a/config.sanguinololu-v1.1.h +++ b/config.sanguinololu-v1.1.h @@ -566,6 +566,22 @@ PWM value for 'off' */ #define ENDSTOP_STEPS 4 +/** \def CANNED_CYCLE + + G-code commands in this string will be executed over and over again, without + user interaction or even a serial connection. It's purpose is e.g. for + exhibitions or when using Teacup for other purposes than printing. You can + add any G-code supported by Teacup. + + Note: don't miss these newlines (\n) and backslashes (\). +*/ +/* +#define CANNED_CYCLE "G1 X100 F3000\n" \ +"G4 P500\n" \ +"G1 X0\n" \ +"G4 P500\n" +*/ + /***************************************************************************\ diff --git a/config.sanguinololu-v1.2.h b/config.sanguinololu-v1.2.h index c4df15a..b2ab4e7 100644 --- a/config.sanguinololu-v1.2.h +++ b/config.sanguinololu-v1.2.h @@ -566,6 +566,22 @@ PWM value for 'off' */ #define ENDSTOP_STEPS 4 +/** \def CANNED_CYCLE + + G-code commands in this string will be executed over and over again, without + user interaction or even a serial connection. It's purpose is e.g. for + exhibitions or when using Teacup for other purposes than printing. You can + add any G-code supported by Teacup. + + Note: don't miss these newlines (\n) and backslashes (\). +*/ +/* +#define CANNED_CYCLE "G1 X100 F3000\n" \ +"G4 P500\n" \ +"G1 X0\n" \ +"G4 P500\n" +*/ + /***************************************************************************\ diff --git a/config.sanguish.h b/config.sanguish.h index 302419f..a96678c 100644 --- a/config.sanguish.h +++ b/config.sanguish.h @@ -570,6 +570,22 @@ PWM value for 'off' */ #define ENDSTOP_STEPS 4 +/** \def CANNED_CYCLE + + G-code commands in this string will be executed over and over again, without + user interaction or even a serial connection. It's purpose is e.g. for + exhibitions or when using Teacup for other purposes than printing. You can + add any G-code supported by Teacup. + + Note: don't miss these newlines (\n) and backslashes (\). +*/ +/* +#define CANNED_CYCLE "G1 X100 F3000\n" \ +"G4 P500\n" \ +"G1 X0\n" \ +"G4 P500\n" +*/ + /***************************************************************************\ diff --git a/config.teensy.h b/config.teensy.h index 85efdd6..163408a 100644 --- a/config.teensy.h +++ b/config.teensy.h @@ -624,6 +624,22 @@ PWM value for 'off' */ #define ENDSTOP_STEPS 4 +/** \def CANNED_CYCLE + + G-code commands in this string will be executed over and over again, without + user interaction or even a serial connection. It's purpose is e.g. for + exhibitions or when using Teacup for other purposes than printing. You can + add any G-code supported by Teacup. + + Note: don't miss these newlines (\n) and backslashes (\). +*/ +/* +#define CANNED_CYCLE "G1 X100 F3000\n" \ +"G4 P500\n" \ +"G1 X0\n" \ +"G4 P500\n" +*/ + /***************************************************************************\ diff --git a/config.teensypp.h b/config.teensypp.h index 0fdc2ea..9dc4c5e 100644 --- a/config.teensypp.h +++ b/config.teensypp.h @@ -638,6 +638,22 @@ PWM value for 'off' */ #define ENDSTOP_STEPS 4 +/** \def CANNED_CYCLE + + G-code commands in this string will be executed over and over again, without + user interaction or even a serial connection. It's purpose is e.g. for + exhibitions or when using Teacup for other purposes than printing. You can + add any G-code supported by Teacup. + + Note: don't miss these newlines (\n) and backslashes (\). +*/ +/* +#define CANNED_CYCLE "G1 X100 F3000\n" \ +"G4 P500\n" \ +"G1 X0\n" \ +"G4 P500\n" +*/ + /***************************************************************************\