Endstop for Z axis and offset not working? July 15, 2016 03:07PM |
Registered: 7 years ago Posts: 109 |
Re: Endstop for Z axis and offset not working? July 15, 2016 04:50PM |
Registered: 10 years ago Posts: 14,672 |
Re: Endstop for Z axis and offset not working? July 16, 2016 02:45AM |
Registered: 7 years ago Posts: 109 |
Re: Endstop for Z axis and offset not working? July 16, 2016 04:01AM |
Registered: 10 years ago Posts: 14,672 |
Re: Endstop for Z axis and offset not working? July 17, 2016 05:31PM |
Registered: 7 years ago Posts: 40 |
Re: Endstop for Z axis and offset not working? July 18, 2016 04:47AM |
Registered: 10 years ago Posts: 14,672 |
Re: Endstop for Z axis and offset not working? July 18, 2016 07:24AM |
Registered: 7 years ago Posts: 109 |
Quote
dc42
Btw there is a web based configuration tool in beta that will generate the configuration gcodes for you.
Re: Endstop for Z axis and offset not working? July 18, 2016 08:36AM |
Registered: 7 years ago Posts: 40 |
Quote
dc42
This is covered in the section on homing files in [duet3d.com].
Re: Endstop for Z axis and offset not working? July 24, 2016 09:06PM |
Registered: 11 years ago Posts: 118 |
Re: Endstop for Z axis and offset not working? July 25, 2016 07:30AM |
Registered: 7 years ago Posts: 40 |
Re: Endstop for Z axis and offset not working? July 25, 2016 02:41PM |
Registered: 10 years ago Posts: 14,672 |
Quote
Calvinx66
...
FOR EXAMPLE
If you want to set up a Cartesian printer's Z axis to act as an end-stop using a micro switch ONLY. (using a normally closed switch plugged into the duet boards Z axis end-stop)
You should edit the config.g to use the following G-code xxxxxxxxxxxxxxxxxxxx
And you should edit the homeall & homez files with the following G-code's xxxxxxxxxxxxxxxxxxxxxxxx
Maybe that is being too simplistic but in all honesty that is what nearly everyone wants.
Regards
Quote
If you home Z using a microswitch instead, then you can use a pattern similar to homex,g and homey.g. However, if you use a low-end homing switch that triggers a little before Z=0, then you can't use M208 to define the homing position, because it would prevent you moving below the trigger height. You can use a G92 command after homing instead. Here is an example, for the case where you have a low-end homing switch that triggers at Z=0.3mm:
G91 ; relative mode
G1 Z4 F200 ; raise head 4mm to ensure it is above the switch trigger height
G90 ; back to absolute mode
G1 X0 Y0 F2000 ; put head wherever you want it to be when you home Z (omit this line if it doesn't matter)
G91 ; relative mode
G1 Z-200 S1 F100 ; move Z down until the switch triggers
G90 ; back to absolute mode
G92 Z0.3 ; tell the firmware that we are at Z=0.3mm
Re: Endstop for Z axis and offset not working? July 25, 2016 04:17PM |
Registered: 7 years ago Posts: 40 |
Re: Endstop for Z axis and offset not working? July 26, 2016 08:41AM |
Registered: 7 years ago Posts: 109 |
Re: Endstop for Z axis and offset not working? July 26, 2016 11:59AM |
Registered: 11 years ago Posts: 118 |
Re: Endstop for Z axis and offset not working? July 26, 2016 01:58PM |
Registered: 10 years ago Posts: 14,672 |
Re: Endstop for Z axis and offset not working? July 26, 2016 03:07PM |
Registered: 11 years ago Posts: 118 |
Re: Endstop for Z axis and offset not working? July 26, 2016 09:20PM |
Registered: 11 years ago Posts: 118 |
Re: Endstop for Z axis and offset not working? July 27, 2016 02:37AM |
Registered: 10 years ago Posts: 14,672 |
Quote
To calibrate the sensor for Z homing and bed probing, home X and Y, then position the head over the centre of the bed. With the nozzle at operating temperature, lower the head so that it is just touching the bed or just gripping a sheet of paper, then send G92 Z0 to define that position as Z=0. Raise the head 5mm and remove the paper. Then send G30 S-1 to probe the bed at that point without adjusting the Z height setting. Read off the Z height and use that value for the Z parameter in your G31 command in config.g.
Re: Endstop for Z axis and offset not working? July 27, 2016 02:39AM |
Registered: 10 years ago Posts: 14,672 |
Re: Endstop for Z axis and offset not working? July 27, 2016 06:59AM |
Registered: 11 years ago Posts: 118 |
Re: Endstop for Z axis and offset not working? July 27, 2016 08:21AM |
Registered: 10 years ago Posts: 14,672 |
Re: Endstop for Z axis and offset not working? July 27, 2016 12:19PM |
Registered: 11 years ago Posts: 118 |
Re: Endstop for Z axis and offset not working? July 28, 2016 04:10PM |
Registered: 10 years ago Posts: 14,672 |
Quote
joestefano
David, I had everything functioning fine. I then attempted a print, after purging the bed raised above the nozzles and they crashed into the side of the bed. I shut off power to the board. I reapplied power and homed all and have lost the Z0 the bed would not stop at 0. Home Z does not work either. This happened the last time I thought I had it figured out. What could be happening? what info do you need to help me with this? The only change I made today was using your homeall file.
Update: I cycled power 3 times and it fixed it self. It seems to happen if I kill power in the event of failure. What should be the procedure after a shut down?
Re: Endstop for Z axis and offset not working? July 28, 2016 04:24PM |
Registered: 11 years ago Posts: 118 |
Re: Endstop for Z axis and offset not working? July 28, 2016 05:56PM |
Registered: 10 years ago Posts: 14,672 |
Quote
joestefano
David, for clarification, when the sensor is anywhere else besides over the black paper target is it conducting readings? I'm not using it for multi position bed probing.