Measuring difference between IR probe and hotend March 12, 2017 09:07AM |
Registered: 9 years ago Posts: 119 |
M574 Z1 S0 ; use Z end stop M574 Z0 S0 ; Don't use Z end stopSo my first step to investigate the above was to use the following macro which I hoped I would be left with the Z offset in the Z height dialog box:
G91 ; Relative G1 Z15 F200 ; Move Bed Down and out of the way whilst moving to switch G90 ; Absolute M574 Z1 S0 ; Define Z end stop micro switch active low G1 X257 Y48 Z15 F600 ; Move IR pcb over switch G1 Z-40 F600 S1 ; Move +40mm checking for end stop hit G1 Z4 F500 ; Back off 4mm G1 Z-4.5 F200 S1 ; Move more slowly to end stop for accuracy G90 ; Absolute G1 Z15 F200 ; Move slowly up to z 15 G1 X237 Y38 Z115 F600 ; move hot end nozzle over switch G30 S-1 ; Dive until switch pressed M574 Z0 S0 ; Define No Z end stop switch reverting back to use IR probe G90 ; Absolute
G30 P500 X0 Y0 Z(variable-3.0)Regards
Re: Measuring difference between IR probe and hotend March 12, 2017 01:19PM |
Registered: 9 years ago Posts: 119 |
Re: Measuring difference between IR probe and hotend March 12, 2017 05:39PM |
Registered: 10 years ago Posts: 14,672 |
Re: Measuring difference between IR probe and hotend March 12, 2017 06:28PM |
Registered: 9 years ago Posts: 119 |
G30 S-3 T3.0Thanks