how to change homing sequence
-
; CONFIGURATION FILE for Duet Maestro
; K'Tana Nozzle
; Last modified October 1, 2018; Executed by the firmware on start-up
; Headers within parenthesis are headings in Duet3D documentation=https://duet3d.com/wiki/Configuring_RepRapFirmware_for_a_Cartesian_printer
; Visit https://reprap.org/wiki/G-code for an explanation of G-code commands; --- SECTION: GENERAL PREFERENCES ( ) ---
M564 S1 H1 ; Enables Homing Requirement For Motor Activation and set axes limits
; --- SECTION: Z-PROBE & MESH COMPENSATION ---
M98 Pmachine_zprobe.g ; configure the z probe
M98 Pmachine_bedmesh.g ; configure the bed mesh
G29 S1 ; Load heightmap after power cycle
; --- SECTION: DRIVES (MOVEMENT SECTION) & ENDSTOPS ---
M667 S1 ; Enable coreXY mode
M569 P0 S0 D3 V0 ; Drive 0 goes forwards, CoreXY_1, stealth chop, disable spread cycle
M569 P1 S1 D3 V0 ; Drive 1 goes forwards, CoreXY_2, stealth chop, disable spread cycle
M569 P2 S1 D3 V0 ; Drive 2 goes forwards, Z Motor, stealth chop, disable spread cycle
M569 P3 S0 D3 V800 ; Drive 3 goes forwards, Left Extruder, stealth chop, spread cycle only on retractions (basically)
M569 P4 S1 D3 V800 ; Drive 4 goes forwards, Right Extruder, stealth chop, spread cycle only on retractions (basically)
M98 Pmachine_endstoptypes.g ; set endstop types
M98 Pmachine_steppercurrent.g ; set stepper currents
M98 Pmachine_stepperspeed.g ; set stepper speeds
M98 Pmachine_axisdimension.g ; configure the axes dimensions
M98 Pmachine_axissteps.g ; configure the axes steps per mm
M98 Pmachine_extruderstep.g ; configure the extruder steps
G21 ; Work in millimetres
G90 ; Set to absolute coordinates...
M84 S1 ; Set idle timeout; --- SECTION: HEATERS, BED & THERMISTOR ---
; H0 is bed
; H1 is left heater
; H2 is right heaterM570 H0 P25 T30 ; Allow heater to be off by as much as 30C for 25 seconds
M570 H1 P15 T30 ; Allow heater to be off by as much as 30C for 15 seconds
M570 H2 P15 T30 ; Allow heater to be off by as much as 30C for 15 seconds
M305 P0 T100000 B4138 C0 R2200 ; Set thermistor + ADC parameters for heater 0, For heated Bed thermistor
M305 P1 X501 R2200 ; Define left side extruder PT1000
M305 P2 X502 R2200 ; Define right side extruder PT1000
M307 H0 A78.9 C265.2 D9.5 S1.00 V24.0 B0 ; Forcing heated bed PID control after power-cycle. Basic bed heating auto-tune
M307 H1 A309 C96 D5.2 S0.75 V24.1 B0 ; Set PID values use M303 auto-tune calibration settings
M307 H2 A309 C96 D5.2 S0.75 V24.1 B0 ; Set PID values use M303 auto-tune calibration settings
M302 P1 ; Allow Cold extrudes
M98 Pmachine_maxtemp.g ; set bed and extruder max temperatures; --- SECTION: FANS ( ) ---
M106 P0 S0 I0 F4 H-1 L0.3 ; Filter fan. Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
M106 P1 S0 I0 F4 H-1 L0.3 ; Cold-Section fan. Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
M106 P2 S0 I0 F4 H-1 L0.3 ; Nozzle fan. Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%; --- SECTION: TOOLS ( ) ---
; Comment: Remember! H0 is the heated bed!
; Comment: D0 is the first driver after movement (X, Y and Z) drives, which is left extruder
; D1 is right extruderM98 Pmachine_ktana_tools.g ; Define ktana tools
T0 ; Automatic tool select
; --- SECTION: NETWORKS (PROLOGUE & COMMUNCATIONS SECTION) ---
M98 Pmachine_access.g ; set machine name and IP
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; --- SECTION: MISCELLANEOUS ---
M572 D0:1 S0.07 ; Extruder Pressure Advance
;M98 Pqc.g ; Do NOT uncomment unless you really know what you're doingcorexy printer setup
how to change sequence homing x,y
i am using M3D promega and i need to change sequence first y axis home after x axis
manual working fine by hand trigger switch x limit and y limit -
You need to edit homeall.g
-
@patel said in how to change homing sequence:
M305 P0 T100000 B4138 C0 R2200 ; Set thermistor + ADC parameters for heater 0, For heated Bed thermistor
B4138 is most likely false and needs to be adjusted for the actual thermistor used.
-
@patel said in how to change homing sequence:
M3D promega
There's a full guide to this on M3D's Promega support pages. See: Promega Support
-
@patel said in how to change homing sequence:
corexy printer setup
how to change sequence homing x,y
i am using M3D promega and i need to change sequence first y axis home after x axis
manual working fine by hand trigger switch x limit and y limitSee https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_files and then https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Homing_files.
-
This post is deleted! -
Error: Height map file heightmap.csv not found
-
you need to either replace G29 S1 with G29
or do a probing manually with G29 once -
@veti
https://youtu.be/YL8uC7bgR6Ui try to change s2 to s1 but same did not change anything. x axis did not stop why switch located to corner .
-
@patel
my response was to your heightmap.csv not found -
@veti still popup massage during all home axis process
-
@dc42
patel 5 Aug 2019, 12:13
this file copy from M3D promega; homeall.g
; called to home all axes
;; Front left corner is (0,0)
; ============ HOME X & HOME Y ==============
M98 Phomex.g ; Run the homex.g file, also homes the Y axis
; ============ HOME Z ==============
M98 Phomez.g ; Run the homez.g file
this is homex.g file
; homex.g
; called to home the X axis
; October 4, 2018; same as homey.g because of coreXY
; Front left corner is (0,0); ============= PRE-HOMING =====================
; Ignore Machine boundaries
M564 H0 S0; Turn off bed leveling during homing
G29 S2 ; Does the same as M561!; Switch to Origin Tool
T0; Relative positioning
G91; Provide Z height clearance
G1 Z10 F750 S1; ================== HOME Y ============================
; Rapid Y until limit switch triggers
G0 Y450 F1500 S1; Back off to release limit switch
G0 Y-6 F1500; Slow advance to trigger limit switch
G0 Y10 F120 S1; Set this location as Y = 384mm
G92 Y384; Move the gantry slightly away from back of printer, to allow travel past the bolt mounting the gantry bracket
G0 Y-5 F1200; ============= HOME X ====================
; Rapid X until limit switch triggers
G0 X450 F1500 S1; Back off to release limit switch
G0 X-6 F1500; Slow advance to trigger limit switch
G0 X10 F120 S1; Set this location as X = 380mm
G92 X380; Move away from the limit switch, to prevent damage to it upon next move
G0 X-5 F1500; ============ Post-Homing ==============
; Revert to absolute coordinates
G90; Re-enable mesh leveling
G29 S1M98 Pmachine_axisdimension.g ; Set Axes Limits
; Stop movement across limits, enable boundaries, homing requirement
M564 H1 S1 -
@patel said in how to change homing sequence:
G29 S1
because you still have the same command in your homing file
-
@veti
need to delete or just change G29 only
can you enplane more detail -
@patel said in how to change homing sequence:
G29 S1
https://duet3d.dozuki.com/Wiki/Gcode#Section_G29_Mesh_bed_probe
S0 (default if no S parameter) Probe the bed, save the height map in a file on the SD card, and activate bed compensation. The height map is stored in file is
S1 Load the height map from file and activate bed compensation. The default filename is as for S0 but a different filename an be specified using the P parameter.
-
I need to fix first homing problem if you have idea.
-
@patel said in how to change homing sequence:
Error: Height map file heightmap.csv not found
M569 P1 S0 ; Drive 1 goes forwards, CoreXY_1
change S1 to S0 know homing process fix