본문 바로가기
- Malrin

Marlin firmware study_3

by Kevin_Park 2020. 4. 15.
반응형

마를린 펌웨어를 꾸준히 공부하도록 하겠습니다.

본문을 클립해와서 번역기 돌린 내용과 같이 올린 후 보면서 제 의견까지 코멘트하는 방식으로 공부가 진행될 것 같습니다.


Extruder Info

Extruders

#define EXTRUDERS 1

This value, from 0 to 6, defines how many extruders (or E steppers) the printer has. By default Marlin will assume separate nozzles all moving together on a single carriage. If you have a single nozzle, a switching extruder, a mixing extruder, or dual X carriages, specify that below.

This value should be set to the total number of E stepper motors on the machine, even if there’s only a single nozzle.

압출기 정보

압출기

#define EXTRUDERS 1

0에서 6까지의 이 값은 프린터의 압출기 (또는 E 스테퍼) 수를 정의합니다. Marlin은 기본적으로 별도의 노즐이 모두 단일 캐리지에서 함께 움직이는 것으로 가정합니다. 단일 노즐, 스위칭 압출기, 혼합 압출기 또는 이중 X 캐리지가있는 경우 아래에서 지정하십시오.

이 값은 단일 노즐 만 있어도 기계의 총 E 스테퍼 모터 수로 설정해야합니다.

최근 멀티컬러 프린터를 자작하시는 분들이 많은데 이 값을 조정하여야합니다.

물론 보드또한 지정숫자 이상의 모터를 컨트롤할 수 있는 보드여야 남은 XYZ축 모터또한 지정해줄 수 있으므로 보드선정또한 중요하죠. 멀티컬러에서 Duet3라는 보드가 대표적인적으로 알고있습니다. 그외 오스카보드라는 보드가 있습니다.


Filament Diameter

#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00

This is the “nominal” filament diameter as written on the filament spool (1.75, 2.85, 3.0). If you typically use 1.75mm filament, but physically measure the diameter as 1.70mm, you should still use 1.75 if that’s what you have set in your slicer.

This value is used by Marlin to compensate for Filament Width when printing in volumetric mode (See M200), and by the Unified Bed Leveling command G26 when printing a test grid.

You can override this value with M404 W.

필라멘트 직경

#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00

이것은 필라멘트 스풀 (1.75, 2.85, 3.0)에 쓰여진 "공칭"필라멘트 직경입니다. 일반적으로 1.75mm 필라멘트를 사용하지만 물리적으로 직경을 1.70mm로 측정하는 경우 슬라이서에 설정 한 경우 1.75를 사용해야합니다.

이 값은 Marlin에서 체적 모드로 인쇄 할 때 필라멘트 너비를 보정하고 (참조 M200), G26테스트 그리드를 인쇄 할 때 Unified Bed Leveling 명령에 의해 사용 됩니다.

이 값을으로 재정의 할 수 있습니다 M404 W.

제가 알기론 슬라이서에서 추가적으로 필라멘트 직경을 바꿔줄 수 있는 것으로 알고있습니다.


Single Nozzle

#define SINGLENOZZLE

Enable SINGLENOZZLE if you have an E3D Cyclops or any other “multi-extruder” system that shares a single nozzle. In a single-nozzle setup, only one filament drive is engaged at a time, and each needs to retract before the next filament can be loaded and begin purging and extruding.

###Průša MK2 Single Nozzle Multi-Material Multiplexer

//#define MK2_MULTIPLEXER

Enabling MK2_MULTIPLEXER allows one stepper driver on a control board to drive two to eight stepper motors, one at a time.

//#define E_MUX0_PIN 40 // Always Required //#define E_MUX1_PIN 42 // Needed for 3 to 8 inputs //#define E_MUX2_PIN 44 // Needed for 5 to 8 inputs

Override the default DIO selector pins.

단일 노즐

#define SINGLENOZZLE

SINGLENOZZLEE3D Cyclops 또는 단일 노즐을 공유하는 다른 "다중 압출기"시스템이있는 경우 활성화하십시오 . 단일 노즐 설정에서는 한 번에 하나의 필라멘트 드라이브 만 사용되며 다음 필라멘트를로드하고 퍼지 및 압출을 시작하기 전에 각각의 필라멘트 드라이브를 수축해야합니다.

### Průša MK2 단일 노즐 다중 재료 멀티플렉서

//#define MK2_MULTIPLEXER

활성화 MK2_MULTIPLEXER하면 제어 보드의 한 스테퍼 드라이버가 한 번에 하나씩 2-8 개의 스테퍼 모터를 구동 할 수 있습니다.

//#define E_MUX0_PIN 40 // Always Required //#define E_MUX1_PIN 42 // Needed for 3 to 8 inputs //#define E_MUX2_PIN 44 // Needed for 5 to 8 inputs

기본 DIO 선택기 핀을 재정의합니다.

 


Prusa MMU2

#define PRUSA_MMU2

Enable support for the Prusa Multi-material unit 2. This requires a free serial port on your printer board. To use the MMU2 you also have to

All details are configured in [Configuration_adv.h]

프 루사 MMU2

#define PRUSA_MMU2

Prusa 다중 재료 장치 2를 지원합니다. 프린터 보드에 사용 가능한 직렬 포트가 필요합니다. MMU2를 사용하려면

모든 세부 사항은 [Configuration_adv.h]에서 구성됩니다.

 


Switching Nozzle

//#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 { 0, 90 } // Angles for E0, E1 (single servo) or lowered/raised (dual servo) #endif

A Switching Nozzle is a carriage with 2 nozzles. A servo is used to move one of the nozzles up and down. The servo either lowers the active nozzle or raises the inactive one. Set the servo sub-settings above according to your particular extruder’s setup instructions.

스위칭 노즐

//#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 { 0, 90 } // Angles for E0, E1 (single servo) or lowered/raised (dual servo) #endif

스위칭 노즐은 2 개의 노즐이있는 캐리지입니다. 서보는 노즐 중 하나를 위아래로 이동하는 데 사용됩니다. 서보는 활성 노즐을 낮추거나 비활성 노즐을 올립니다. 특정 압출기의 설정 지침에 따라 위의 서보 하위 설정을 설정하십시오.

듀얼노즐 사용시..


Parking extruder (with solenoid)

//#define PARKING_EXTRUDER

Two separate X-carriages with extruders that connect to a moving part via a solenoid docking mechanism. Requires SOL1_PIN and SOL2_PIN.

주차 압출기 (솔레노이드 포함)

//#define PARKING_EXTRUDER

솔레노이드 도킹 메커니즘을 통해 움직이는 부품에 연결되는 압출기가있는 2 개의 개별 X 캐리지. SOL1_PIN 및 SOL2_PIN이 필요합니다.


Parking extruder (with magnets)

//#define MAGNETIC_PARKING_EXTRUDER

Two separate X-carriages with extruders that connect to a moving part via a magnetic docking mechanism using movements and no solenoid

#if EITHER(PARKING_EXTRUDER, MAGNETIC_PARKING_EXTRUDER) #define PARKING_EXTRUDER_PARKING_X { -78, 184 } // X positions for parking the extruders #define PARKING_EXTRUDER_GRAB_DISTANCE 1 // (mm) Distance to move beyond the parking point to grab the extruder //#define MANUAL_SOLENOID_CONTROL // Manual control of docking solenoids with M380 S / M381 #if ENABLED(PARKING_EXTRUDER) #define PARKING_EXTRUDER_SOLENOIDS_INVERT // If enabled, the solenoid is NOT magnetized with applied voltage #define PARKING_EXTRUDER_SOLENOIDS_PINS_ACTIVE LOW // LOW or HIGH pin signal energizes the coil #define PARKING_EXTRUDER_SOLENOIDS_DELAY 250 // (ms) Delay for magnetic field. No delay if 0 or not defined. //#define MANUAL_SOLENOID_CONTROL // Manual control of docking solenoids with M380 S / M381 #elif ENABLED(MAGNETIC_PARKING_EXTRUDER) #define MPE_FAST_SPEED 9000 // (mm/m) Speed for travel before last distance point #define MPE_SLOW_SPEED 4500 // (mm/m) Speed for last distance travel to park and couple #define MPE_TRAVEL_DISTANCE 10 // (mm) Last distance point #define MPE_COMPENSATION 0 // Offset Compensation -1 , 0 , 1 (multiplier) only for coupling #endif #endif

Adjust the relavant settings to your specifications for use with either PARKING_EXTRUDER or MAGNETIC_PARKING_EXTRUDER.

주차 압출기 (자석 포함)

//#define MAGNETIC_PARKING_EXTRUDER

솔레노이드가없는 움직임을 사용하여 자기 도킹 메커니즘을 통해 움직이는 부품에 연결되는 압출기가있는 2 개의 개별 X 캐리지

#if EITHER(PARKING_EXTRUDER, MAGNETIC_PARKING_EXTRUDER) #define PARKING_EXTRUDER_PARKING_X { -78, 184 } // X positions for parking the extruders #define PARKING_EXTRUDER_GRAB_DISTANCE 1 // (mm) Distance to move beyond the parking point to grab the extruder //#define MANUAL_SOLENOID_CONTROL // Manual control of docking solenoids with M380 S / M381 #if ENABLED(PARKING_EXTRUDER) #define PARKING_EXTRUDER_SOLENOIDS_INVERT // If enabled, the solenoid is NOT magnetized with applied voltage #define PARKING_EXTRUDER_SOLENOIDS_PINS_ACTIVE LOW // LOW or HIGH pin signal energizes the coil #define PARKING_EXTRUDER_SOLENOIDS_DELAY 250 // (ms) Delay for magnetic field. No delay if 0 or not defined. //#define MANUAL_SOLENOID_CONTROL // Manual control of docking solenoids with M380 S / M381 #elif ENABLED(MAGNETIC_PARKING_EXTRUDER) #define MPE_FAST_SPEED 9000 // (mm/m) Speed for travel before last distance point #define MPE_SLOW_SPEED 4500 // (mm/m) Speed for last distance travel to park and couple #define MPE_TRAVEL_DISTANCE 10 // (mm) Last distance point #define MPE_COMPENSATION 0 // Offset Compensation -1 , 0 , 1 (multiplier) only for coupling #endif #endif

중 하나를 사용하기 위해 귀하의 사양에 relavant 설정을 조정 PARKING_EXTRUDER하거나 MAGNETIC_PARKING_EXTRUDER.


Switching Toolhead

//#define SWITCHING_TOOLHEAD

Support for swappable and dockable toolheads, such as the E3D Tool Changer. Toolheads are locked with a servo.

스위칭 툴 헤드

//#define SWITCHING_TOOLHEAD

E3D 툴 체인저와 같은 교환 및 도킹 가능한 툴 헤드를 지원합니다. 툴 헤드는 서보로 잠겨 있습니다.

 


Magnetic Switching Toolhead

//#define MAGNETIC_SWITCHING_TOOLHEAD

Support swappable and dockable toolheads with a magnetic docking mechanism using movement and no servo.

마그네틱 스위칭 툴 헤드

//#define MAGNETIC_SWITCHING_TOOLHEAD

서보를 사용하지 않고 움직임을 사용하는 자기 도킹 메커니즘으로 교체 가능하고 고정 가능한 툴 헤드를 지원합니다.


Electromagnetic Switching Toolhead

//#define ELECTROMAGNETIC_SWITCHING_TOOLHEAD

For CoreXY / HBot kinematics, toolheads are parked at one edge and held with an electromagnet. Supports more than 2 Toolheads. See https://youtu.be/JolbsAKTKf4

#if ANY(SWITCHING_TOOLHEAD, MAGNETIC_SWITCHING_TOOLHEAD, ELECTROMAGNETIC_SWITCHING_TOOLHEAD) #define SWITCHING_TOOLHEAD_Y_POS 235 // (mm) Y position of the toolhead dock #define SWITCHING_TOOLHEAD_Y_SECURITY 10 // (mm) Security distance Y axis #define SWITCHING_TOOLHEAD_Y_CLEAR 60 // (mm) Minimum distance from dock for unobstructed X axis #define SWITCHING_TOOLHEAD_X_POS { 215, 0 } // (mm) X positions for parking the extruders #if ENABLED(SWITCHING_TOOLHEAD) #define SWITCHING_TOOLHEAD_SERVO_NR 2 // Index of the servo connector #define SWITCHING_TOOLHEAD_SERVO_ANGLES { 0, 180 } // (degrees) Angles for Lock, Unlock #elif ENABLED(MAGNETIC_SWITCHING_TOOLHEAD) #define SWITCHING_TOOLHEAD_Y_RELEASE 5 // (mm) Security distance Y axis #define SWITCHING_TOOLHEAD_X_SECURITY { 90, 150 } // (mm) Security distance X axis (T0,T1) //#define PRIME_BEFORE_REMOVE // Prime the nozzle before release from the dock #if ENABLED(PRIME_BEFORE_REMOVE) #define SWITCHING_TOOLHEAD_PRIME_MM 20 // (mm) Extruder prime length #define SWITCHING_TOOLHEAD_RETRACT_MM 10 // (mm) Retract after priming length #define SWITCHING_TOOLHEAD_PRIME_FEEDRATE 300 // (mm/m) Extruder prime feedrate #define SWITCHING_TOOLHEAD_RETRACT_FEEDRATE 2400 // (mm/m) Extruder retract feedrate #endif #elif ENABLED(ELECTROMAGNETIC_SWITCHING_TOOLHEAD) #define SWITCHING_TOOLHEAD_Z_HOP 2 // (mm) Z raise for switching #endif #endif

Adjust the relavant settings to your specifications for use with SWITCHING_TOOLHEAD, PARKING_EXTRUDER or MAGNETIC_PARKING_EXTRUDER.

전자기 스위칭 툴 헤드

//#define ELECTROMAGNETIC_SWITCHING_TOOLHEAD

CoreXY / HBot 운동학의 경우 툴 헤드가 한쪽 가장자리에 고정되고 전자석으로 고정됩니다. 2 개 이상의 툴 헤드를 지원합니다. https://youtu.be/JolbsAKTKf4 참조

#if ANY(SWITCHING_TOOLHEAD, MAGNETIC_SWITCHING_TOOLHEAD, ELECTROMAGNETIC_SWITCHING_TOOLHEAD) #define SWITCHING_TOOLHEAD_Y_POS 235 // (mm) Y position of the toolhead dock #define SWITCHING_TOOLHEAD_Y_SECURITY 10 // (mm) Security distance Y axis #define SWITCHING_TOOLHEAD_Y_CLEAR 60 // (mm) Minimum distance from dock for unobstructed X axis #define SWITCHING_TOOLHEAD_X_POS { 215, 0 } // (mm) X positions for parking the extruders #if ENABLED(SWITCHING_TOOLHEAD) #define SWITCHING_TOOLHEAD_SERVO_NR 2 // Index of the servo connector #define SWITCHING_TOOLHEAD_SERVO_ANGLES { 0, 180 } // (degrees) Angles for Lock, Unlock #elif ENABLED(MAGNETIC_SWITCHING_TOOLHEAD) #define SWITCHING_TOOLHEAD_Y_RELEASE 5 // (mm) Security distance Y axis #define SWITCHING_TOOLHEAD_X_SECURITY { 90, 150 } // (mm) Security distance X axis (T0,T1) //#define PRIME_BEFORE_REMOVE // Prime the nozzle before release from the dock #if ENABLED(PRIME_BEFORE_REMOVE) #define SWITCHING_TOOLHEAD_PRIME_MM 20 // (mm) Extruder prime length #define SWITCHING_TOOLHEAD_RETRACT_MM 10 // (mm) Retract after priming length #define SWITCHING_TOOLHEAD_PRIME_FEEDRATE 300 // (mm/m) Extruder prime feedrate #define SWITCHING_TOOLHEAD_RETRACT_FEEDRATE 2400 // (mm/m) Extruder retract feedrate #endif #elif ENABLED(ELECTROMAGNETIC_SWITCHING_TOOLHEAD) #define SWITCHING_TOOLHEAD_Z_HOP 2 // (mm) Z raise for switching #endif #endif

사용하기 위해 귀하의 사양에 relavant 설정을 조정 SWITCHING_TOOLHEAD, PARKING_EXTRUDER또는 MAGNETIC_PARKING_EXTRUDER.


Mixing Extruder

//#define MIXING_EXTRUDER #if ENABLED(MIXING_EXTRUDER) #define MIXING_STEPPERS 2 // Number of steppers in your mixing extruder #define MIXING_VIRTUAL_TOOLS 16 // Use the Virtual Tool method with M163 and M164 //#define DIRECT_MIXING_IN_G1 // Allow ABCDHI mix factors in G1 movement commands #endif

A Mixing Extruder uses two or more stepper motors to drive multiple filaments into a mixing chamber, with the mixed filaments extruded from a single nozzle. This option adds the ability to set a mixture, to save mixtures, and to recall mixtures using the T command. The extruder still uses a single E axis, while the current mixture is used to determine the proportion of each filament to use. An “experimental” G1 direct mixing option is included.

MIXING_EXTRUDER enables M163 - set mix factor, M164 - save mix, and M165 - set mix.

혼합 압출기

//#define MIXING_EXTRUDER #if ENABLED(MIXING_EXTRUDER) #define MIXING_STEPPERS 2 // Number of steppers in your mixing extruder #define MIXING_VIRTUAL_TOOLS 16 // Use the Virtual Tool method with M163 and M164 //#define DIRECT_MIXING_IN_G1 // Allow ABCDHI mix factors in G1 movement commands #endif

혼합 압출기는 2 개 이상의 스테퍼 모터를 사용하여 여러 필라멘트를 혼합 챔버로 구동하며 혼합 필라멘트는 단일 노즐에서 압출됩니다. 이 옵션은 혼합물을 설정하고 혼합물을 저장하며 T명령을 사용하여 혼합물을 회수하는 기능을 추가합니다 . 압출기는 여전히 단일 E 축을 사용하는 반면, 현재 혼합물은 사용할 각 필라멘트의 비율을 결정하는 데 사용됩니다. "실험적인" G1직접 혼합 옵션이 포함되어 있습니다.

MIXING_EXTRUDERM163-믹스 팩터 설정, 믹스 M164저장 및 믹스 설정을 활성화 M165합니다.

 


Switching Extruder

//#define SWITCHING_EXTRUDER #if ENABLED(SWITCHING_EXTRUDER) #define SWITCHING_EXTRUDER_SERVO_NR 0  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1[, E2, E3] #if EXTRUDERS > 3 #define SWITCHING_EXTRUDER_E23_SERVO_NR 1 #endif #endif

A Switching Extruder is a dual extruder that uses a single stepper motor to drive two filaments, but only one at a time. The servo is used to switch the side of the extruder that will drive the filament. The E motor also reverses direction for the second filament. Set the servo sub-settings above according to your particular extruder’s setup instructions.

스위칭 압출기

//#define SWITCHING_EXTRUDER #if ENABLED(SWITCHING_EXTRUDER) #define SWITCHING_EXTRUDER_SERVO_NR 0  #define SWITCHING_EXTRUDER_SERVO_ANGLES { 0, 90 } // Angles for E0, E1[, E2, E3] #if EXTRUDERS > 3 #define SWITCHING_EXTRUDER_E23_SERVO_NR 1 #endif #endif

스위칭 압출기는 단일 스테퍼 모터를 사용하여 두 개의 필라멘트를 구동하지만 한 번에 하나만 구동하는 이중 압출기입니다. 서보는 필라멘트를 구동 할 압출기의 측면을 전환하는 데 사용됩니다. E 모터는 또한 두 번째 필라멘트의 방향을 반대로 바꿉니다. 특정 압출기의 설정 지침에 따라 위의 서보 하위 설정을 설정하십시오.


Hotend Offsets

//#define HOTEND_OFFSET_X { 0.0, 20.00 } // (mm) relative X-offset for each nozzle //#define HOTEND_OFFSET_Y { 0.0, 5.00 } // (mm) relative Y-offset for each nozzle //#define HOTEND_OFFSET_Z { 0.0, 0.00 } // (mm) relative Z-offset for each nozzle

Hotend offsets are needed if your extruder has more than one nozzle. These values specify the offset from the first nozzle to each nozzle. So the first element is always set to 0.0. The next element corresponds to the next nozzle, and so on. Add more offsets if you have 3 or more nozzles.

핫 엔드 오프셋

//#define HOTEND_OFFSET_X { 0.0, 20.00 } // (mm) relative X-offset for each nozzle //#define HOTEND_OFFSET_Y { 0.0, 5.00 } // (mm) relative Y-offset for each nozzle //#define HOTEND_OFFSET_Z { 0.0, 0.00 } // (mm) relative Z-offset for each nozzle

압출기에 둘 이상의 노즐이있는 경우 핫 엔드 오프셋이 필요합니다. 이 값은 첫 번째 노즐에서 각 노즐로의 오프셋을 지정합니다. 따라서 첫 번째 요소는 항상 0.0으로 설정됩니다. 다음 요소는 다음 노즐에 해당합니다. 노즐이 3 개 이상인 경우 오프셋을 더 추가하십시오.


 

반응형

'- Malrin' 카테고리의 다른 글

Marlin firmware study_5  (0) 2020.04.21
Marlin firmware study_4  (0) 2020.04.16
Marlin firmware study_2  (0) 2020.04.01
Marlin firmware study_1  (0) 2020.03.31