Open c3D-Dan opened 5 years ago
By the way, changes DO occur if I set them in configuration_overall.h file however Running T0/T1 will only cause the gantry to move, the servo does not.
configuration_overall.h `/***
/***
//#define SERIAL_STATS_MAX_RX_QUEUED //#define SERIAL_STATS_DROPPED_RX
//#define ADVANCED_OK //#define EMERGENCY_PARSER
//#define POWER_NAME "Generic"
/*****
//#define DHT_SENSOR
//#define AUTOTEMP
//#define TEMP_STAT_LEDS
//#define PID_ADD_EXTRUSION_RATE
//#define ADAPTIVE_FAN_SPEED
//#define PREVENT_LENGTHY_EXTRUDE
/***
//#define ENDSTOP_INTERRUPTS_FEATURE
//DANS MODS
//#define SWITCHING_NOZZLE_E1_SERVO_NR 1 // If two servos are used, the index of the second
//EOF DANS
//#define PROBE_MANUALLY //#define Z_PROBE_FIX_MOUNTED //#define BLTOUCH //#define Z_PROBE_SENSORLESS //#define Z_PROBE_SLED
//#define PAUSE_BEFORE_DEPLOY_STOW
//#define PROBING_HEATERS_OFF // Turn heaters off when probing //#define PROBING_FANS_OFF // Turn fans off when probing //#define LCD_BED_LEVELING
//#define MESH_EDIT_MENU // Add a menu to edit mesh points //#define LEVEL_BED_CORNERS
//#define LEVEL_CENTER_TOO // Move to the center after the last corner
//#define DISABLE_INACTIVE_EXTRUDER
//#define Z_SAFE_HOMING
//#define MESH_BED_LEVELING //#define AUTO_BED_LEVELING_UBL //#define AUTO_BED_LEVELING_LINEAR //#define AUTO_BED_LEVELING_BILINEAR
//#define MESH_EDIT_GFX_OVERLAY
//#define G26_MESH_VALIDATION
//#define MESH_G28_REST_ORIGIN
//#define UBL_Z_RAISE_WHEN_OFF_MESH 2.5
//#define PROBE_Y_FIRST //#define ABL_BILINEAR_SUBDIVISION
//#define Z_PROBE_END_SCRIPT "G1 Z10 F8000\nG1 X10 Y10\nG1 Z0.5"
//#define BED_CENTER_AT_0_0 //#define MANUAL_X_HOME_POS 0 //#define MANUAL_Y_HOME_POS 0 //#define MANUAL_Z_HOME_POS 0
//#define SLOW_HOMING
/*****
//#define REPRAP_DISCOUNT_SMART_CONTROLLER //#define ULTIMAKERCONTROLLER //#define ULTIPANEL //#define PANEL_ONE //#define G3D_PANEL //#define RIGIDBOT_PANEL //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. //#define ULTRA_LCD //#define RA_CONTROL_PANEL //#define LCD_SAINSMART_I2C_1602 //#define LCD_SAINSMART_I2C_2004 //#define LCM1602 //#define LCD_I2C_PANELOLU2 //#define LCD_I2C_VIKI //#define RADDS_DISPLAY //#define SAV_3DLCD //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER //#define REPRAPWORLD_GRAPHICAL_LCD //#define VIKI2 //#define miniVIKI //#define MINIPANEL //#define MAKRPANEL //#define ELB_FULL_GRAPHIC_CONTROLLER //#define BQ_LCD_SMART_CONTROLLER //#define WANHAO_D6_OLED //#define CARTESIO_UI //#define LCD_FOR_MELZI //#define U8GLIB_SSD1306 //#define SAV_3DGLCD //#define U8GLIB_SSD1306 //#define U8GLIB_SH1106 //#define ULTI_CONTROLLER //#define OLED_PANEL_TINYBOY2 //#define MKS_MINI_12864 //#define FYSETC_MINI_12864 //#define CR10_STOCKDISPLAY //#define ANET_FULL_GRAPHICS_LCD // Anet 128x64 full graphics lcd with rotary encoder as used on Anet A6 //#define MKS_12864OLED // Uses the SH1106 controller (default) //#define MKS_12864OLED_SSD1306 // Uses the SSD1306 controller //#define AZSMZ_12864 //#define SILVER_GATE_GLCD_CONTROLLER
//#define BOOTSCREEN_MKLOGO_ANIMATED // Animated MK4duo logo. Costs ~3260 (or ~940) bytes of PROGMEM. //#define SHOW_CUSTOM_BOOTSCREEN //#define CUSTOM_STATUS_SCREEN_IMAGE
//#define USE_BIG_EDIT_FONT //#define USE_SMALL_INFOFONT //#define DOGM_SPI_DELAY_US 5 //#define OVERLAY_GFX_REVERSE //#define STATUS_COMBINE_HEATERS // Use combined heater images instead of separate ones //#define STATUS_HOTEND_NUMBERLESS // Use plain hotend icons instead of numbered ones (with 2+ hotends)
//#define STATUS_ALT_BED_BITMAP // Use the alternative bed bitmap //#define STATUS_ALT_FAN_BITMAP // Use the alternative fan bitmap //#define STATUS_FAN_FRAMES 3 // :[0,1,2,3,4] Number of fan animation frames //#define STATUS_HEAT_PERCENT // Show heating in a progress bar //#define GAME_BRICKOUT //#define GAME_INVADERS //#define GAME_SNAKE //#define NO_LCD_MENUS //#define SLIM_LCD_MENUS
//#define LCD_SCREEN_ROT_90 // Rotate screen orientation for graphics display by 90 degree clockwise //#define LCD_SCREEN_ROT_180 // Rotate screen orientation for graphics display by 180 degree clockwise //#define LCD_SCREEN_ROT_270 // Rotate screen orientation for graphics display by 270 degree clockwise //#define INVERT_CLICK_BUTTON // Option for invert encoder button logic //#define INVERT_BACK_BUTTON // Option for invert back button logic if avaible //#define REVERSE_ENCODER_DIRECTION //#define REVERSE_MENU_DIRECTION
//#define SPEAKER //#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 2 //#define LCD_FEEDBACK_FREQUENCY_HZ 5000
//#define STATUS_MESSAGE_SCROLLING //#define LCD_DECIMAL_SMALL_XY //#define LCD_TIMEOUT_TO_STATUS 15000 //#define LED_CONTROL_MENU //#define LED_COLOR_PRESETS // Enable the Preset Color menu option //#define LED_USER_PRESET_STARTUP // Have the printer display the user preset color on startup
//#define LCD_PROGRESS_BAR
//#define PROGRESS_MSG_ONCE //#define LCD_PROGRESS_BAR_TEST //#define CUSTOM_USER_MENUS
/*****
//#define INVERTED_FAN_PINS
//#define FAN_KICKSTART_TIME 0
//#define TACHOMETRIC
//#define TOOL_CHANGE_PARK //#define TOOL_CHANGE_NO_RETURN //#define TOOL_CHANGE_FIL_SWAP
//#define VOLUMETRIC_EXTRUSION //#define VOLUMETRIC_DEFAULT_ON
//#define SINGLENOZZLE //#define BARICUDA //#define EXT_SOLENOID //#define COLOR_MIXING_EXTRUDER
//#define MKR4 //#define INVERTED_RELE_PINS //#define MKR6 //#define INVERTED_RELE_PINS //#define MKR12 //#define INVERTED_RELE_PINS //#define MKSE6
//#define PRUSA_MMU2
//#define MMU2_MODE_12V
//#define DONDOLO_SINGLE_MOTOR //#define DONDOLO_DUAL_MOTOR
//#define IDLE_OOZING_PREVENT
//#define EXTRUDER_RUNOUT_PREVENT
//#define LIN_ADVANCE
//#define WORKSPACE_OFFSETS
//#define ENABLED_ALL_SIX_ENDSTOP //#define SD_ABORT_ON_ENDSTOP_HIT //#define G38_PROBE_TARGET
//#define DEACTIVATE_SERVOS_AFTER_MOVE
//#define Z_LATE_ENABLE
//#define QUICK_HOME //#define HOME_Y_BEFORE_X //#define FORCE_HOME_XY_BEFORE_Z
//#define BABYSTEP_DISPLAY_TOTAL //#define BABYSTEP_ZPROBE_OFFSET //#define DOUBLECLICK_FOR_Z_BABYSTEPPING
//#define BABYSTEP_ZPROBE_GFX_OVERLAY //#define BABYSTEP_ZPROBE_GFX_REVERSE //#define FWRETRACT
//#define DUAL_X_CARRIAGE
//#define X_TWO_STEPPER_DRIVERS
//#define X_TWO_ENDSTOPS //#define Y_TWO_STEPPER_DRIVERS
//#define Y_TWO_ENDSTOPS //#define Z_TWO_STEPPER_DRIVERS
//#define Z_TWO_ENDSTOPS //#define Z_THREE_STEPPER_DRIVERS
//#define Z_THREE_ENDSTOPS //#define Z_STEPPER_AUTO_ALIGN
//#define XY_FREQUENCY_LIMIT 15 //#define SF_ARC_FIX //#define BLTOUCH_DELAY 500 //#define BLTOUCH_HIGH_SPEED_MODE //#define BLTOUCH_FORCE_SW_MODE
//#define BLTOUCH_FORCE_MODE //#define BLTOUCH_LCD_VOLTAGE_MENU //#define FILAMENT_WIDTH_SENSOR
//#define FILAMENT_LCD_DISPLAY //#define FILAMENT_RUNOUT_SENSOR //#define FILAMENT_RUNOUT_DAV_SYSTEM //#define EXTRUDER_ENCODER_CONTROL
//#define POWER_CONSUMPTION
//#define POWER_CONSUMPTION_LCD_DISPLAY //#define FLOWMETER_SENSOR
//#define MINFLOW_PROTECTION 4 //#define DOOR_OPEN_FEATURE
//#define POWER_CHECK
//#define PCF8574_EXPANSION_IO
//#define DISABLE_M503 //#define EEPROM_AUTO_INIT //#define EEPROM_I2C //#define EEPROM_SPI
//#define EEPROM_FLASH
//#define USB_FLASH_DRIVE_SUPPORT (NOT USED FOR NOW!!!) //#define ADVANCED_SD_COMMAND //#define SD_HALF_SPEED //#define SD_QUARTER_SPEED //#define SD_EIGHTH_SPEED //#define SD_SIXTEENTH_SPEED //#define SD_CHECK_AND_RETRY //#define SD_EXTENDED_DIR //#define SD_DISABLED_DETECT //#define SD_DETECT_INVERTED
//#define MENU_ADDAUTOSTART //#define SCROLL_LONG_FILENAMES //#define SDCARD_SORT_ALPHA
//#define PHOTO_GCODE //#define PHOTO_POSITION { X_MAX_POS - 5, Y_MAX_POS, 0 } // { xpos, ypos, zraise } (M240 X Y Z) //#define PHOTO_DELAY_MS 100 // (ms) Duration to pause before moving back (M240 P) //#define PHOTO_RETRACT_MM 6.5 // (mm) E retract/recover for the photo move (M240 R S) //#define PHOTO_SWITCH_POSITION { X_MAX_POS, Y_MAX_POS } // { xpos, ypos } (M240 I J)
//#define CHDK
//#define RFID_MODULE
//#define BLINKM //#define RGB_LED //#define RGBW_LED //#define PCA9632 //#define NEOPIXEL_LED
//#define NEOPIXEL_STARTUP_TEST //#define PRINTER_EVENT_LEDS //#define LASER //#define CNCROUTER //#define CASE_LIGHT
//#define CASE_LIGHT_USE_NEOPIXEL
//#define JUNCTION_DEVIATION
//#define ADAPTIVE_STEP_SMOOTHING
//#define DIGIPOT_I2C
//#define SERVICE_NAME_1 "Service 1" //#define SERVICE_TIME_1 100 //#define SERVICE_NAME_2 "Service 2" //#define SERVICE_TIME_2 100 //#define SERVICE_NAME_3 "Service 3" //#define SERVICE_TIME_3 100
//#define ARC_SUPPORT
//#define ARC_P_CIRCLES // Enable the 'P' parameter to specify complete circles //#define CNC_WORKSPACE_PLANES // Allow G2/G3 to operate in XY, ZX, or YZ planes
//#define M100_FREE_MEMORY_WATCHER
//#define NOZZLE_CLEAN_FEATURE
//#define NOZZLE_CLEAN_NO_Z //#define NOZZLE_PARK_FEATURE
//#define ADVANCED_PAUSE_FEATURE
//#define PARK_HEAD_ON_PAUSE // Park the nozzle during pause and filament change. //#define HOME_BEFORE_FILAMENT_CHANGE // Ensure homing has been completed prior to parking for filament change //#define FILAMENT_LOAD_UNLOAD_GCODES // Add M701/M702 Load/Unload G-codes, plus Load/Unload in the LCD Prepare menu. //#define FILAMENT_UNLOAD_ALL_EXTRUDERS // Allow M702 to unload all extruders above a minimum target temp (as set by M302) //#define INCH_MODE_SUPPORT //#define JSON_OUTPUT //#define SCAD_MESH_OUTPUT //#define PINS_DEBUGGING //#define DEBUG_FEATURE //#define USE_WATCHDOG //#define WATCHDOG_RESET_MANUAL //#define START_GCODE
//#define STOP_GCODE
/****
//#define TMC_USE_SW_SPI //#define SENSORLESS_HOMING
//#define SPI_ENDSTOPS //#define IMPROVE_HOMING_RELIABILITY //#define SQUARE_WAVE_STEPPING //#define TMC_DEBUG //#define TMC_Z_CALIBRATION
//#define TMC_SOFTWARE_DRIVER_ENABLE
//#define MONITOR_DRIVER_STATUS //#define MONITOR_DRIVER_STATUS_INTERVAL_MS 500u //#define CURRENT_STEP_DOWN 50 // [mA] //#define REPORT_CURRENT_CHANGE //#define STOP_ON_ERROR //#define HYBRID_THRESHOLD
//#define X_HARDWARE_SERIAL Serial1 //#define X2_HARDWARE_SERIAL Serial1 //#define Y_HARDWARE_SERIAL Serial1 //#define Y2_HARDWARE_SERIAL Serial1 //#define Z_HARDWARE_SERIAL Serial1 //#define Z2_HARDWARE_SERIAL Serial1 //#define Z3_HARDWARE_SERIAL Serial1 //#define E0_HARDWARE_SERIAL Serial1 //#define E1_HARDWARE_SERIAL Serial1 //#define E2_HARDWARE_SERIAL Serial1 //#define E3_HARDWARE_SERIAL Serial1 //#define E4_HARDWARE_SERIAL Serial1 //#define E5_HARDWARE_SERIAL Serial1
Hi, Using 4.3.9 Configured with the online configurator. Have 2 nozzles set up by adding the following to configuration_overall.h
define SWITCHING_NOZZLE
if ENABLED(SWITCHING_NOZZLE)
define SWITCHING_NOZZLE_SERVO_NR 0
//#define SWITCHING_NOZZLE_E1_SERVO_NR 1 // If two servos are used, the index of the second
define SWITCHING_NOZZLE_SERVO_ANGLES { 122, 87 } // Angles for E0, E1 (single servo) or lowered/raised (dual servo)
endif
Running M503 shows Hotend offsets for H0 and H1 Running M218 H1 X10 Y10 appears to do nothing, Running T0 or T1 Nothing happens, servo does not switch and X / Y axis doesn't move, even after being homed M503 shows no changes occured after running the M218 command.
Am I going crazy or is there something I'm missing (or has this feature not been fully integrated yet?).
Thanks for your help.
M218 H1 X50 Y50 Z50 T0 T1 M503 11:38:32.990 : N14 M50316 11:38:32.993 : Config: G21 ; Units in (mm) 11:38:32.997 : Config:Steps per unit: 11:38:32.997 : Config: M92 X80.000 Y44.445 Z240.000 11:38:32.997 : Config: M92 T0 E810.676 11:38:32.997 : Config: M92 T1 E831.000 11:38:33.002 : Config:Maximum Acceleration (units/s2): 11:38:33.002 : Config: M201 X200 Y200 Z50 11:38:33.002 : Config: M201 T0 E1000 11:38:33.005 : Config: M201 T1 E1000 11:38:33.005 : Config:Maximum feedrates (units/s): 11:38:33.006 : Config: M203 X100.000 Y100.000 Z40.000 11:38:33.006 : Config: M203 T0 E30.000 11:38:33.010 : Config: M203 T1 E30.000 11:38:33.014 : Config:Acceleration (units/s2): P V T R
11:38:33.014 : Config: M204 P700.000 V700.000
11:38:33.014 : Config: M204 T0 R1000.000
11:38:33.018 : Config: M204 T1 R1000.000
11:38:33.022 : Config:Advanced: B S V
11:38:33.022 : Config: M205 B20000 S0.000 V0.000
11:38:33.026 : Config:Jerk: X Y Z T* E
11:38:33.026 : Config: M205 X10.000 Y10.000 Z0.400
11:38:33.030 : Config: M205 T0 E5.000
11:38:33.030 : Config: M205 T1 E5.000
11:38:33.030 : Config:Set axis max travel:
11:38:33.030 : Config: M228 S0 X500.000 Y500.000 Z290.000
11:38:33.034 : Config:Set axis min travel:
11:38:33.034 : Config: M228 S1 X0.000 Y0.000 Z0.000
11:38:33.038 : Config:Heater Sensor parameters: H P S A B C R L O:
11:38:33.043 : Config: M305 H0 P0 S1 A100000.0 B4092.0 C0.0000000000 R4700.0 L0 O0
11:38:33.051 : Config:Heater parameters: H P A B C F L O U<Use Pid 0-1> I<Hardware Inverted 0-1> R<Thermal Protection 0-1> Q<Pwm Hardware 0-1>:
11:38:33.055 : Config: M306 H0 P3 A40 B230 C255 F250 L5 O275 U1 I0 Q1 R0
11:38:33.059 : Config:Heater PID parameters: H P I D:
11:38:33.059 : Config: M301 H0 P40.00 I7.00 D60.00
11:38:33.063 : Config:Heater Sensor parameters: H P S A B C R L O:
11:38:33.067 : Config: M305 H1 P2 S1 A100000.0 B4092.0 C0.0000000000 R4700.0 L0 O0
11:38:33.076 : Config:Heater parameters: H P A B C F L O U<Use Pid 0-1> I<Hardware Inverted 0-1> R<Thermal Protection 0-1> Q<Pwm Hardware 0-1>:
11:38:33.079 : Config: M306 H1 P8 A40 B230 C255 F250 L5 O275 U1 I0 Q1 R0
11:38:33.079 : Config:Heater PID parameters: H P I D:
11:38:33.084 : Config: M301 H1 P40.00 I7.00 D60.00
11:38:33.084 : Config:Z raise: Z:
11:38:33.084 : Config: M217 Z0.50
11:38:33.088 : Config:Hotend offset (unit): H X Y Z:
11:38:33.088 : Config: M218 H0 X0.000 Y0.000 Z0.000
11:38:33.092 : Config:Hotend offset (unit): H X Y Z:
11:38:33.092 : Config: M218 H1 X0.000 Y0.000 Z0.000
11:38:33.096 : Config:Fans: P U L X F I<Hardware Inverted 0-1> H T
11:38:33.100 : Config: M106 P0 U6 L0 X255 F250 I0 H-1
11:38:33.104 : Config:Fans: P U L X F I<Hardware Inverted 0-1> H T
11:38:33.104 : Config: M106 P1 U5 L0 X255 F250 I0 H0 T50
11:38:33.108 : Config:Endstops logic:
11:38:33.108 : Config: M123 X1 Y1 Z1 P0
11:38:33.108 : Config:Endstops pullup:
11:38:33.109 : Config: M124 X1 Y1 Z1 P1
11:38:33.112 : Config: M149 C ; Units in Celsius
11:38:33.112 : Config:SD Restart Job
11:38:33.112 : Config: M413 S1
11:38:33.112 : Config:Servo Angles: P L U:
11:38:33.117 : Config: M281 P0 L104 U122
11:38:33.117 : Config:Auto Bed Leveling
11:38:33.117 : Config: M420 S1 Z0.00
11:38:33.120 : Config:Probe Offset X Y Z, speed Fast and Slow [mm/min], Repetitions
11:38:33.121 : Config: M851 X0.000 Y0.000 Z-1.000 F1000 S200 R1
11:38:33.125 : Config:Material heatup parameters
11:38:33.125 : Config: M145 S0 H190 F255
11:38:33.125 : Config: M145 S1 H240 F255
11:38:33.129 : Config: M145 S2 H230 F255
11:38:33.129 : Config:Stepper driver pins E D S L M
11:38:33.133 : Config: M352 X E37 D34 S35 L0 M0
11:38:33.133 : Config: M352 Y E33 D23 S22 L0 M0
11:38:33.133 : Config: M352 Z E24 D26 S25 L0 M0
11:38:33.137 : Config: M352 T0 E48 D46 S47 L0 M0
11:38:33.137 : Config: M352 T1 E45 D36 S44 L0 M0
11:38:33.137 : Config:Stepper Direction
11:38:33.137 : Config: M569 X0 Y0 Z0
11:38:33.141 : Config: M569 T0 E0
11:38:33.141 : Config: M569 T1 E0
11:38:33.145 : Config:Stepper driver control Q D P R
11:38:33.145 : Config: M569 Q1 D0 P2 R500000
11:38:33.145 : Config:Hysteresis Correction
11:38:33.150 : Config: M99 X0.00 Y0.00 Z0.00 F1.00
11:38:33.150 : Stats: Total:0, Finished:0, Failed:0
11:38:33.153 : Stats: Total print time:0s, Longest job:0s
11:38:33.153 : Stats: Power on time:1h 15m 30s
11:38:33.153 : Stats: Filament used:0mm