Configration_adv.h //line:2390-2472
/**
* Universal tool change settings.
* Applies to all types of extruders except where explicitly noted.
*/
#if HAS_MULTI_EXTRUDER //多挤出头
// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 2 // (mm) 定义z轴升起距离
//#define TOOLCHANGE_ZRAISE_BEFORE_RETRACT // Apply raise before swap retraction (if enabled) 在交换撤回之前施加升起
//#define TOOLCHANGE_NO_RETURN // Never return to previous position on tool-change 更换工具时不要回到以前的位置
#if ENABLED(TOOLCHANGE_NO_RETURN) //改变工具不返回
//#define EVENT_GCODE_AFTER_TOOLCHANGE "G12X" // Extra G-code to run after tool-change 在更换工具后需要额外的G代码去运行
#endif
/**
* Extra G-code to run while executing tool-change commands. Can be used to use an additional //需要额外的G代码去执行更换工具命令
* stepper motor (I axis, see option LINEAR_AXES in Configuration.h) to drive the tool-changer.//可以用一个额外的步进电机去使能更换工具
*/
//#define EVENT_GCODE_TOOLCHANGE_T0 "G28 A\nG1 A0" // Extra G-code to run while executing tool-change command T0
//#define EVENT_GCODE_TOOLCHANGE_T1 "G1 A10" // Extra G-code to run while executing tool-change command T1
//#define EVENT_GCODE_TOOLCHANGE_ALWAYS_RUN // Always execute above G-code sequences. Use with caution!
/**
* Tool Sensors detect when tools have been picked up or dropped. //工具传感器去判断工具何时升起或降落
* Requires the pins TOOL_SENSOR1_PIN, TOOL_SENSOR2_PIN, etc. //需要引脚TOOL_SENSOR1_PIN 去控制
*/
//#define TOOL_SENSOR
/**在更换工具时收回并启动灯丝,以减少渗液和出线,获得更清洁的过渡。
* Retract and prime filament on tool-change to reduce
* ooze and stringing and to get cleaner transitions.
*/
//#define TOOLCHANGE_FILAMENT_SWAP
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
// Load / Unload
#define TOOLCHANGE_FS_LENGTH 12 // (mm) Load / Unload length
#define TOOLCHANGE_FS_EXTRA_RESUME_LENGTH 0 // (mm) Extra length for better restart, fine tune by LCD/Gcode)
#define TOOLCHANGE_FS_RETRACT_SPEED (50*60) // (mm/min) (Unloading)
#define TOOLCHANGE_FS_UNRETRACT_SPEED (25*60) // (mm/min) (On SINGLENOZZLE or Bowden loading must be slowed down)
// Longer prime to clean out a SINGLENOZZLE
#define TOOLCHANGE_FS_EXTRA_PRIME 0 // (mm) Extra priming length
#define TOOLCHANGE_FS_PRIME_SPEED (4.6*60) // (mm/min) Extra priming feedrate
#define TOOLCHANGE_FS_WIPE_RETRACT 0 // (mm) Retract before cooling for less stringing, better wipe, etc.
// Cool after prime to reduce stringing
#define TOOLCHANGE_FS_FAN -1 // Fan index or -1 to skip
#define TOOLCHANGE_FS_FAN_SPEED 255 // 0-255
#define TOOLCHANGE_FS_FAN_TIME 10 // (seconds)
// Swap uninitialized extruder with TOOLCHANGE_FS_PRIME_SPEED for all lengths (recover + prime)
// (May break filament if not retracted beforehand.)
//#define TOOLCHANGE_FS_INIT_BEFORE_SWAP
// Prime on the first T0 (If other, TOOLCHANGE_FS_INIT_BEFORE_SWAP applied)
// Enable it (M217 V[0/1]) before printing, to avoid unwanted priming on host connect
//#define TOOLCHANGE_FS_PRIME_FIRST_USED
/**
* Tool Change Migration 工具更换迁移
* This feature provides G-code and LCD options to switch tools mid-print.这个功能在打印中提供切换G-code和LCD工具选项
* All applicable tool properties are migrated so the print can continue.所有适用的工具属性都被迁移,以便打印可以继续。
* Tools must be closely matching and other restrictions may apply.工具必须紧密匹配,可能会有其他限制。
* Useful to: 适用于
* - Change filament color without interruption 不间断地改变灯丝颜色
* - Switch spools automatically on filament runout 在丝材断流时自动切换线轴
* - Switch to a different nozzle on an extruder jam 在挤出机堵塞时切换到不同的喷嘴
*/
#define TOOLCHANGE_MIGRATION_FEATURE
#endif
Marlin固件 Configration_adv.h 翻译
于 2022-05-03 21:35:52 首次发布