cncdrive wrote:Programmatically it does not matter, the probing generates an interrupt in the microcontroller and the probed coordinates are then saved in realtime (happens in less than 50 nanoseconds which is 0.00000005 seconds) and then the axis stops and the coordinates sent to the PC, so the user can read them out.
So, if you probe e.g. with 20000mm/min (not likely anone would probe that fast.) then still the travel on the worst case about 50nsec is 0.0000166666 millimeters which is 0.000000656 inches only.
cncdrive wrote:I can't say anything about if it matters in Mach3 or not, I did not use it for a too long time now and I can't remember how this is handled in Mach3.
In the UCCNC as I wrote the probing input is not polled, but a software interrupt is generated on the 2 probe pins on the edge which is set to the active one.
The sofware interrupt means that the code exacution inside the microcontroller jumps to the interrupt service routine as soon as the microcontroller detects the set edge on the probe pin.
This is a hardware microcontroller feature and happens immediately without any delays, the only delay, the max. 50nsec is because the return address to return back after the interrupt has to be saved to the stack prior to doing anything else and then the coordinates are read, these takes upto 50nanoseconds with the 200MHz CPU frequency microcontroller in the UC300ETH, because one micro CPU cycle is 5nanosec and it can take upto 10 CPU cycles to do the mentioned things.
After these are saved the saved coordinates are sent back to the computer via the ethernet, so the user can access them.
It is another thing when and how the probe stops, that can be a problem if the probing is too fast, it does not influance the programmatic measurement accuracy though,
however ofcourse too fast probing could cause the switch to jump/prell and could cause the machine to shake and also the axis stops a bit further since it has to stop,
but again the probe coordinates are already saved when the axis stops, so these things are no more UC300ETH, but machine and sensor dependents.
If the probe trips the coordinates at the trigger point are written into the variables #5061 to # 5066 (axes coordinates X to C in order) and the axis stops with deceleration.
A_Camera wrote:Are you sure that probing speed does not matter for UCCNC? It definitely matters in Mach3, I measured that when I wrote my macro for probing.
beefy wrote:I just looked at the manual and read the description for G31 move.
The thing I was interested in was exactly WHEN the co-ordinates are recorded.If the probe trips the coordinates at the trigger point are written into the variables #5061 to # 5066 (axes coordinates X to C in order) and the axis stops with deceleration.
That seems to say that no matter what the probing feedrate, it should not make any (noticeable) difference because the co-ordinates are recorded at the moment the probe trips.
AFTER that the probe axis will slow down to a stop.
So if I did a probe move at 10,000 mm/min I'm pretty sure the STOP position would be somewhat past the probe trip point due to the deceleration/slowdown, but as for the worst theoretical error for the recorded probe trip point:
10,000 mm/min = 167 mm/sec
167mm x 0.00000005 (50ns) = 0.00000835mm or 8.35 millionths of a mm
I have overrun mechanisms on my plasma table home switches. This allows me to get maximum accuracy from the switches but any overrun causes by deceleration does not break the switches, the spring loaded plunge mechanism just pushes in.
Keith.
Return to General discussion about the UCCNC software
Users browsing this forum: Bing [Bot], Google [Bot] and 23 guests