-
Notifications
You must be signed in to change notification settings - Fork 199
ZProbing implementation #318
Comments
timer_stop() is like riding a bike and throwing a stick of wood in your front wheel to stop. Take a look into dda.c and the homing procedures. You could extend this with a new command, where the max end position is a bit different and it is not zeroing. |
The homing works by setting the position to an extreme position ( |
I have a commit that records the position where the endstop was triggered. I needed it for Z-Probing the bed using the BLTouch probe. Maybe you can use something similar for your purposes. The change is here, but I haven't tested it with many different printer configs. |
Thank all of you for your support but my problem was bigger. got errors and corrupted status messages like X:120.000start ... I figured out that had to do with the XON/XOFF implementation and my crappy CH340 clone arduino board. I have tested another one with the FTDI chip (arduino duemillanove) and worked perfectly. What system hw and sw is suggested using teacup ? At this point the options are only FTDI chips ? |
It could help, when you post exactly what you've send and received. Do you have any issues when XON/XOFF is disabled? XON/XOFF disabled is the default setting. |
I discovered that either enabled or disabled XON/XOFF CH340 chip stalls. (TX/RX Leds turn off) { TEACUP + FTDI + XONXOFF ---> WORKS } procedure Connect(ComPort:string);
except procedure TForm1.ButtonConnectClick(Sender: TObject); end; procedure TForm1.ButtonSendReceiveClick(Sender: TObject); for i:=0 to 1000 do begin
end; end; |
Hello i have some good news ! http://trustfm.net/hardware/Images/Trustduino/tinyserialv1.0.zip PS : my crude endstop implementation with the |
I am using teacup as a pick and place machine.
I have variable height (Z) colums so i use ZMax endstop as sensor.
I use the
G162 Z100 Command for example
This goes down 100 if i get no click i know that the columd is empty else i do a pick and place movement
This is implemented like this :
Clock.h
uint8_t ZPolling;
int32_t ZMaxRuntime;
clock.cpp
gcode_process.c
Now the question : extremely rarely we get the machine stalled is there any possibility that specially
timer_stop();
queue_flush();
timer_init();
is the problem ?
Can this be implemented differently ?
Via serial i get "E:start" seems to restart arduino ...
I have tried to not flush the hole queue i have made a custom queue_next but does not seem to work as expected.
Thank you for your time
The text was updated successfully, but these errors were encountered: