#hazzy Logs
Feb 19 2020
#hazzy Calendar
01:11 AM Lcvette: D-Flo: i got the touch off subroutine sorted out and added some safe z mnoves in it, it is working well in the sim
01:11 AM Lcvette: but its late here and i was working with tired eyes, so i want to check it in the morning before uploading the update. I will let you know when i make the new version release
01:14 AM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+1/-1/±4] 13https://git.io/JvBfh
01:14 AM Not-c468: [02probe_basic] 07Lcvette 03214348a - made set tool pos read only, fixed touch off and set g30 subs
01:15 AM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JvBJv
01:15 AM Not-c468: [02probe_basic] 07Lcvette 0363ec4f5 - fixed start page in ui
01:15 AM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JvBJf
01:15 AM Not-c468: [02probe_basic] 07traviscibot 037f69eee - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
01:16 AM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JvBJJ
01:16 AM Not-c468: [02probe_basic] 07traviscibot 03a40440a - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
07:26 AM Lcvette: morning
08:04 AM dremeier[m]: morning :-)
08:06 AM dremeier[m]: I´m confused about the offsets🥴
08:06 AM * dremeier[m] uploaded an image: image.png (767KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/aXjXpzFlZtXduvAyoFMqmbAo >
08:07 AM Lcvette: dremeier: morning
08:07 AM Lcvette: whats you confusion, maybe i can help
08:07 AM Lcvette: * whats your confusion, maybe i can help
08:08 AM dremeier[m]: can you explain me the WC offset vs WC current position?
08:09 AM Lcvette: the work offset table is the stored work coordinate offset
08:12 AM dremeier[m]: ok, when i have WC offset all to zero, machine coords all zero, why is wc current positon so different^^
08:12 AM Lcvette: because its the stored position
08:14 AM * dremeier[m] uploaded an image: image.png (373KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ZwDdVscOnQzIzhccAlVFlyNg >
08:15 AM dremeier[m]: G56 all 0, machine all 0, and curent pos. should be 164, 20, 162 ? can´t be??
08:15 AM Lcvette: the offset is the stored position, the woork current position is the current position relative to the offset
08:16 AM Lcvette: how do you get there?
08:17 AM dremeier[m]: that is the question :-)
08:17 AM dremeier[m]: don´t know
08:17 AM Lcvette: what did you do to get there?
08:18 AM Lcvette: im in it right now and testing and its working
08:18 AM Lcvette: i am unable to replicate what you have
08:18 AM dremeier[m]: may be I screwed up something, but don´t know what. but you can confirm that this is not correct what I get?
08:20 AM Lcvette: if the wtored work offset is all zero then machine coords and work current position coords should be the same
08:21 AM dremeier[m]: that was also my thought, thx
08:21 AM Lcvette: i amnot sure how or why that is on your screen, but ive tried alot of things so far and cannot replicate
08:23 AM dremeier[m]: ok, will go back to original pb screen and will find the diff.
08:23 AM Lcvette: if you figure out how to make it happen i can try and make it happen here to see if its a bug or if its caused by an edit you have done somewhere mayb
08:24 AM dremeier[m]: 👍️
08:32 AM Lcvette: i did some work on the tool touch off last night and fixed a few things
08:32 AM Lcvette: im about to make another release
08:33 AM Lcvette: fixed the tool touch off position dro's as well
08:34 AM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+0/-0/±2] 13https://git.io/JvBsH
08:34 AM Not-c468: [02probe_basic] 07Lcvette 03525c050 - fixed minor format issue in ui
08:35 AM dremeier[m]: can you add : FEATURES= 30 in the ini so variables can be pulled in ngc
08:35 AM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JvBsQ
08:35 AM Not-c468: [02probe_basic] 07traviscibot 036039fa8 - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
08:35 AM * dremeier[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/WpuUdcceloUuUYLLqLxcfxYz >
08:35 AM Lcvette: yes
08:42 AM Lcvette: D-Flo: was thinking about what you were doing with the probe and the touch off probe.. probably not a good idea to use two moving probes with each other.. you will only get one of them reading accruately, you should have a point to probe using the touch probe (in spindle that will give the same height as the touch off plate probe when activated.
08:49 AM dremeier[m]: ok, found the mistake: I add a "ON_ABORT_COMMAND= O <on_abort> call" in the ini, that abort sets wrong g-codes
08:49 AM Lcvette: ah
08:50 AM Lcvette: you breakin my gui Dremeier!
08:50 AM Lcvette: lol
08:50 AM dremeier[m]: lol, yes I do 🤣
08:50 AM Lcvette: :D
08:54 AM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+0/-0/±3] 13https://git.io/JvBGX
08:54 AM Not-c468: [02probe_basic] 07Lcvette 033d3f9d2 - added features = 30 to ini files
08:54 AM Not-c468: [02probe_basic] 07Lcvette tagged 033d3f9d2 as 03v0.2.2 13https://git.io/JvBGM
08:54 AM Not-c468: [02probe_basic] 07Lcvette created tag 03v0.2.2 - 13https://git.io/JeDwL
08:55 AM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JvBGQ
08:55 AM Not-c468: [02probe_basic] 07traviscibot 03702ec3a - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
08:55 AM dremeier[m]: but I thing a good abort routine would be nice to set everything correct after ESC or a broken ngc routine.
08:55 AM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JvBG5
08:55 AM Not-c468: [02probe_basic] 07traviscibot 0312d9124 - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
08:56 AM Not-c468: [02probe_basic] 07KurtJacobson published 03v0.2.2 | v0.2.2 - 13https://git.io/JvBGd
08:56 AM travis-ci: kcjengr/probe_basic#294 (v0.2.2 - 3d3f9d2 : Chris): The build passed.
08:56 AM travis-ci: Diff view : https://github.com/kcjengr/probe_basic/compare/v0.2.2
08:56 AM travis-ci: Build details : https://travis-ci.org/kcjengr/probe_basic/builds/652521197
08:57 AM Lcvette: dremeier: elaborate
08:58 AM dremeier[m]: I´m on the way to do :-)
08:58 AM dremeier[m]: I back in 2h
09:19 AM Not-c468: [02probe_basic] 07Lcvette pushed 031 commit to 03master [+0/-0/±1] 13https://git.io/JvBZj
09:19 AM Not-c468: [02probe_basic] 07Lcvette 030fd1c10 - updated docs for v0.2.2
09:21 AM Not-c468: [02probe_basic] 07KurtJacobson pushed 031 commit to 03gh-pages [+88/-0/±0] 13https://git.io/JvBnk
09:21 AM Not-c468: [02probe_basic] 07traviscibot 03261d2f3 - Deploy kcjengr/probe_basic to github.com/kcjengr/probe_basic.git:gh-pages
10:03 AM Lcvette: D-Flo: the latest reelease is up, to upgrade it, go in the probe basic folder and use the maintenance tool, remove all option, then download the latest version from the quick start page and and install. if you will try that out and let me know if that is better. you must first set the position using the set button, thenmeasure the spindle before anything else and put the number from the spindle touch off in the spindle zero
10:03 AM Lcvette: entry box
10:04 AM Lcvette: then all tools measured aftr that will be relative to the spindle nose gauge line. and when you use the in spindle touch probe to find a work coordinate zero position, all of your tools that have been measured will now be ready for use with the correct tool length offsets!
10:20 AM D-Flo[m]: Thank you! I will try that when I get home from work in 6 hours or so.
10:21 AM D-Flo[m]: What is the best way to tie my tool offsets with the Z offset I get from when my probe?
10:21 AM D-Flo[m]: from when I use my probe*
10:21 AM Lcvette: the method i setup it does it automatically
10:22 AM Lcvette: that is the reason for needing the spindle nose height
10:22 AM Lcvette: it acts as a gaugeline for all of the tool offsets to be measured again, including the probe tool
10:25 AM Lcvette: so when you load the probe tool, the G43 offset for your probe tool is activated and when you probe and find say a corner, the z probed position is includes the probe tool length offset. because all tools were measured against the spindle nose height, they are now all set to zero on the work offset Z 0.0000 position
10:25 AM Lcvette: * it acts as a gaugeline for all of the tool offsets to be measured against, including the probe tool
10:25 AM Lcvette: * so when you load the probe tool, the G43 offset for your probe tool is activated and when you probe and find say a corner, the z probed position is including the probe tool length offset. because all tools were measured against the spindle nose height, they are now all set to zero on the work offset Z 0.0000 position
10:26 AM Lcvette: did i explain it so that it made sense?
10:28 AM Lcvette: im guessing you use tts type tool holders?
10:37 AM D-Flo[m]: I was running late to work and I didn't get my coffee this morning, so I'm struggling to think in 3D. What is the best way to find my probe tool length ( https://drewtronics.org/s5000led )? I agree touching the probe tip on the touch plate would not be the most accurate way to get that number. I would need to know the probe length so that the program knows the distance between the spindle nose and the stock material.
10:39 AM Lcvette: i use a analof tool height setter and it has a calibration edge that uses a ground pin to set the gauge face to zero so i use that ground calibration edge to touch off on and know its the same height as the tool touch gauge being at 0.0000
10:39 AM D-Flo[m]: I am going to purchase the TTS tool holders in the coming weeks. Right now I am using R-8 Collets and just plan to touch off the tool each time I switch tools. Not ideal, but I don't want to buy TTS until I have a power draw bar
10:39 AM Lcvette: tts holders make life easy even without a pdb
10:41 AM D-Flo[m]: Do you have a link to your tool height setter?
10:41 AM Lcvette: back to the issue, you could measure the spindle nose and a cutting tool, then cut some stock flat with that tool, set that z position to zero
10:41 AM Lcvette: then probe that machined spot
10:42 AM Lcvette: also check and see where your tool setter triggers, maybe they have it setup to be able to probe the edge also?
10:43 AM Lcvette: its all about getting that distant from the spindle nose to the probe time
10:43 AM D-Flo[m]: Oh that is an excellent idea! I am picking up what you are putting down
10:43 AM Lcvette: * its all about getting that distant from the spindle nose to the probe tip triggering point
10:44 AM Lcvette: machining a stock flat isn't an ideal way because its cumberson, but once you have that measurement stored you never have to do it again unless you crash the probe or adjust it
10:44 AM D-Flo[m]: I like your idea of taking a cut. Im going to do that tonight.
10:44 AM Lcvette: yeah that would be the most accurate way
10:45 AM D-Flo[m]: I appreciate you being so helpful! Thanks man
10:45 AM Lcvette: just remember measure the spindle first and enter its distance into the spindle zero height box
10:46 AM D-Flo[m]: I will touch off just the tip of the spindle and then enter that negative z value into the spindle zero height box
10:47 AM Lcvette: use the positive number
10:47 AM Lcvette: its a distance not a direction
10:48 AM Lcvette: * its a distance not a direction command
10:52 AM D-Flo[m]: Saving my butt again thanks!
10:53 AM Lcvette: i neeed to get some time to make a how to on the touch off stuff but i need to get a touch plate first
10:53 AM Lcvette: so i can run testing on the amchine
10:53 AM Lcvette: * so i can run testing on the machine
11:12 AM * nug45[m] posted a file: hal_load_meter.py (4KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/jLJufkOdtHexYNSZkQIBdAEu >
11:12 AM nug45[m]: Hi KCJ question for later
11:12 AM nug45[m]: i have been casseroling some code today for the HAL Load Meter and have tested it and there’s no glaring errors. I cannot get it into QT Designer under QTPYVCP HAL tab could you explain how you go about this please. Once its in there i can do some testing on it Thanks.
11:15 AM Lcvette: hazzy ^^^
11:15 AM Lcvette: whats up Nugs?
11:15 AM Lcvette: getting close to testing the spindle load meter
11:15 AM Lcvette: :D
11:15 AM Lcvette: \o/
11:16 AM Lcvette: * whats up Nug45?
11:16 AM nug45[m]: Yes am excited got a load of hal pins working yesterday !! and a Button i have also added a extra property to the button to make it an led !!! super excited lol
11:17 AM Lcvette: Very cool are you feeding your load data from your spindle drive?
11:18 AM Lcvette: I can't remember for mine my spindle drive doesn't output that's tuff :(
11:19 AM Lcvette: I was looking for maybe a amperage sensor that had an analog output and maybe use that
11:19 AM nug45[m]: Hmm are you sure ! could always connect current coil to one of the leads !!
11:20 AM nug45[m]: Yes i have 0-10V on the VFD and my servos 0-8 V will have to scale them some how !!
11:20 AM Lcvette: Yeah I researched it ad nauseam and my drive just doesn't have a output for load
11:22 AM nug45[m]: I do some reading i have some good contacts i could ask and we could build a PCB !!
11:22 AM Lcvette: Oh well that would be sweet
11:23 AM nug45[m]: Been learning Fusion and putting all my vise models in what a job that was at first but now its quite easy !!
11:24 AM Lcvette: yeah i watched a few vids on that, i modeled my vises but have not yet set it up
11:25 AM nug45[m]: I seen the coolant Cannon you have made its an impressive piece of work !! looks brilliant
11:26 AM Lcvette: yes but its in reesign right now
11:26 AM Lcvette: * yes but its in redesign right now
11:27 AM Lcvette: the stepper i used was not strong enough
11:27 AM Lcvette: im going to use a 35kg rc servo and control it with pwm from mesa
11:27 AM nug45[m]: Well nothing is ever perfect first time look at Microsoft Windows they have had more that one go at that
11:28 AM Lcvette: lol
11:28 AM Lcvette: true
11:28 AM nug45[m]: I have a 7i76 file that's set up for 4 step gens and a PWM or are you going to use a software PWM
11:29 AM Lcvette: yes
11:29 AM Lcvette: pcw_home was telling me how to do it
11:30 AM Lcvette: and then said that it could use siggen to oscillate
11:30 AM Lcvette: should be pretty cool
11:30 AM Lcvette: :D
11:30 AM nug45[m]: ill send it you i used it on my lathe one of the guys did it for me on LINUXCNC would get you going quick
11:31 AM * nug45[m] posted a file: 7I76x2b_34.bit (333KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/aGaGAXIuDfPiYMjHabrjXuEy >
11:31 AM * nug45[m] posted a file: 7I76x2b_34.pin (2KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/WHyKVoIECpgLffdWqbpqzBXe >
11:32 AM Lcvette: sweet! thanks!
11:32 AM nug45[m]: Anything for you Guys lol !!
11:32 AM Lcvette: lol
11:32 AM Lcvette: much appreciated!
11:33 AM Lcvette: are you getting on good with probe basic?
11:34 AM nug45[m]: I am Trying i have been learning how the Hal pins and things hang together find it very interesting its a tone of work you guys have done i was trying to put my own widgets on but that no easy task i ended up coping yours lol !!
11:36 AM Lcvette: thats the easiest way
11:36 AM Lcvette: i copy and reuse and rename alot
11:37 AM nug45[m]: Ive checked they are correct you can see in the PIN file
11:38 AM Lcvette: thats great!
11:40 AM nug45[m]: i will look and find the hal and ini files won't be to long my mate uses it on his lathe i used a Pic Micro to decode the PWM signal that PathPilot uses for the tool numbers
11:41 AM Lcvette: i a going to try and use subroutines
11:41 AM Lcvette: and either analog calls or digital calls within the macro
11:42 AM Lcvette: i want to make it more easily accessible for users
11:43 AM nug45[m]: That sound good you will have to show me its like pandoras box !!
11:44 AM Lcvette: lol
11:44 AM Lcvette: i will once i sort it out
11:46 AM nug45[m]: I haven't got thos files ill ask George if you want save you messing !! The Micro was the only way i could thing of doing it at the time i know there's more solutions available would be good to see how to do it another way !!
11:49 AM Lcvette: peter was explaning that all the rc servos needs is 2 power wires and the pwm signal, since it has an absolute encoder inside it never requires homing
11:49 AM Lcvette: but it will require being mechanically setup in the correct initial position
11:50 AM Lcvette: im using a servo with a 180 degree sweep and adding an additional 2:1 gear ratio to make the sweep 90 degrees
11:50 AM Lcvette: this will offer more resolution
11:50 AM Lcvette: should be about 0.225 degrees per resolvable position
11:51 AM Lcvette: should be plenty good for coolant
11:53 AM nug45[m]: The motor might run at a higher voltage and the other wire will be the control electronics ! i Think, I have seen some of the bigger servos used on models and the are very strong !!
11:54 AM nug45[m]: Some of them have metal gears !!
11:54 AM Lcvette: the one i got has metal gears
11:54 AM Lcvette: it has a 35kg/cm holding torque
11:55 AM Lcvette: plus with the additional reduction i added for more resolution, it should be strong enough for whatever i need it to do in the coolant cannon
11:55 AM Lcvette: im going to run it at 5v which deerates it to 39kg but still plenty enough i think
11:56 AM Lcvette: * im going to run it at 5v which deerates it to 29kg but still plenty enough i think
11:56 AM Lcvette: * im going to run it at 5v which derates it to 29kg but still plenty enough i think
11:56 AM nug45[m]: What was wrong the the geared stepper thought that would of worked as you are only going slowly where steppers have the most torque, Did you try uping the voltage to the stepper i ran some at 60v !!
11:58 AM Lcvette: i tried 24v, and no microstepping and it was just too tiny
11:58 AM Lcvette: only 20ozin
11:58 AM Lcvette: nema14
11:58 AM nug45[m]: OK i see
12:01 PM nug45[m]: I was listening to you mill working the other day your Z axis motor makes the same kind of noise as mine they Must be pulling a bit more current !! than the other two Axis
12:02 PM Lcvette: its a different motor
12:02 PM Lcvette: its a 2.8kw 1500rpm servo
12:02 PM Lcvette: verse the x and y are 1.8kw 3000rpm servos
12:04 PM nug45[m]: Its impressive, mine keeps tripping the breaker on the Z axis am going to have to get an inductive load one hope it sorts it out .
12:05 PM Lcvette: what size motor is it?
12:06 PM Lcvette: are you running them on 3ph power?
12:07 PM nug45[m]: 750 Watts !! and No single phase 20 amps supply , I don't have 3 phase it would of been better idea to be fair !!
12:08 PM Lcvette: 20 amps for all three?
12:08 PM Lcvette: and spindle?
12:08 PM nug45[m]: There like stepper motors compared with what you running !! I tuned the drives at 3000 and the Z axis was flying !!
12:08 PM Lcvette: what is its rated rpm?
12:09 PM Lcvette: 5mm screws?
12:09 PM nug45[m]: 3000 and they can go to 5000 but don't run them anywhere near that !!
12:09 PM Lcvette: DMM?
12:10 PM nug45[m]: yep 5mm pitch 20mm and 25mm on Z axis all P3 Ground they are great .
12:10 PM Lcvette: fantastic!
12:11 PM nug45[m]: Delta ASDA - A2 they are brill but running them is quite complicated !!
12:11 PM Lcvette: ah
12:12 PM nug45[m]: You can also feed back a Linear Scale for closed loop control !! I have that working ! it has a resolution of 1 um !!
12:13 PM nug45[m]: I ment Tunning Them !
12:13 PM Lcvette: wow
12:14 PM Lcvette: that is pretty sweet!
12:14 PM Lcvette: i am sure im nowhere near that accuracy
12:14 PM Lcvette: my pulse resolution is 1 micron
12:16 PM nug45[m]: Its bloody scary lol , to make it work which was a right job i connected a rotary encoder and put the Z axis half way then slowly turned the encoder backwards and forwards slowly wish i had a video you would laugh it was like it was on an elastic band lol !!
12:17 PM Lcvette: hahaha
12:18 PM Lcvette: you were using the rotary encoder feedback to the drive or linuxcnc?
12:23 PM nug45[m]: Yes i connected it to the delta servo drive it took me ages to get it working then when it did !! i ended up with it in my hand not being able to move because the error was so large i had to head butt the em stop on the from of my mill ! I was funny lol
12:23 PM Lcvette: lol
12:24 PM Lcvette: i had a similar head butt dilema the other day
12:24 PM Lcvette: i went to store a 100mm facemill in the carousel and the arbor diameter was just a but too big to let the carousel come all the way out and it stopped with an error...
12:25 PM Lcvette: i wasn't sure what to do so i had t manually press the drawbar button while jogging z up off the tool so i could remove it maually without it falling onto the table.. it was a circus
12:25 PM Lcvette: lol
12:28 PM nug45[m]: Its amazing where all these things come from i run my machine quite slow so i have time to react !! i am really glad i put the EM switch on the mill head as when i do someone for the first time i can rest my hand on it !! I think a remote feed hold switch would be good what do you think, you could hold it in you hand ready !!
12:29 PM Lcvette: yeah, mine is right at the enclosure door entrance so easy to hold over and watch whats happening
12:30 PM * Lcvette uploaded an image: image.png (93KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/MGUihixYqLcdfKqXfsqnjZBk >
12:31 PM nug45[m]: Bloody Hell that looks good !! You can certainly use fusion 360 !!
12:32 PM Lcvette: lol
12:32 PM Lcvette: just wrapping up the tedious bits
12:32 PM nug45[m]: Its great Designing everything before you make swarf !!
12:33 PM Lcvette: yes
12:33 PM nug45[m]: I am going to get better at the motion side of it so you can actually try it out !!
12:34 PM Lcvette: i can join things so they move but i have not tried playing with motors and stuff like that
12:36 PM nug45[m]: I have, i bet theirs a rotary motion in the joint command all you have to do is set up the limits !!
12:36 PM nug45[m]: How long will it take you to get Rev B going !!
12:38 PM nug45[m]: I been toying with this idea !! What about coolant going through the draw bar !! You could use an old jet washer !!
12:46 PM Lcvette: rev B i hope to have finished by the weekends end
12:46 PM Lcvette: providing everything shows up by friday or saturday at the latest
02:23 PM dremeier[m]: Lcvette: you re very good in CAD 👍️
02:24 PM Lcvette: Thanks
04:04 PM * Lcvette uploaded an image: image.png (152KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/TEJDqnNVmzgwmobcepxMftZp >
04:15 PM TurBoss: nice
04:54 PM dremeier[m]: did someone try to call a qtpyvcp dialog from subroutine?
04:57 PM dremeier[m]: for manual toolchange it would be nice to have a dialog says "Please insert Tool Nr. 10" "confirm" btn and the the clamp goes open.
05:23 PM D-Flo[m]: @Lcvette I can’t find the “maintenance tool” in the probe-basic folder could you give me a pointer?
05:25 PM Lcvette: how did you install? via the quci start installer?
05:25 PM Lcvette: or dev?
05:26 PM Lcvette: its the only thing in the probe basic folder that says maintenance
05:26 PM Lcvette: if you did the quickstart
05:27 PM D-Flo[m]: I did dev
05:27 PM * D-Flo[m] uploaded an image: image0.jpg (1943KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/FPJmaykGqphUQQZEzfcmvPAe >
05:27 PM Lcvette: oh why?
05:27 PM Lcvette: are you doing dev stuff?
05:27 PM Lcvette: or just using it?
05:28 PM Lcvette: if just using it, you should probably uninstall and installer the user version
05:28 PM Lcvette: it is much easier to update
05:28 PM Lcvette: ok time for dinner
05:29 PM D-Flo[m]: It’s the first link on the pypi.org project. https://pypi.org/project/probe-basic/
05:30 PM D-Flo[m]: I honestly didn’t investigate for a user version because the dev installed quickly and worked fine
05:33 PM Lcvette: do you plan on doing dev work?
05:33 PM Lcvette: alot of times dev versions are not ready with very experimental works in progress
05:34 PM Lcvette: if this is for a machine you need to be running the user version
05:34 PM Lcvette: unless you are actively aware of what is going on in dev version master
05:34 PM Lcvette: just safer
05:34 PM D-Flo[m]: I will switch to the user version. I’m definitely interested in this project I’m just more of a hardware guy
05:34 PM Lcvette: ok so save your config files on the desktop somewhere
05:34 PM Lcvette: just your ini and hal files
05:35 PM Lcvette: the sub routines will be updated versions when installed and you can copy them over to your machine config file
05:35 PM Lcvette: once youve saved your configs
05:35 PM Lcvette: run:
05:35 PM Lcvette: ```
05:35 PM Lcvette: pip uninstall qtpyvcp
05:36 PM Lcvette: run it multiple times until you gety a red error message saying its completely uninstalled
05:36 PM Lcvette: next run:
05:36 PM Lcvette: pip uninstall probe_basic
05:36 PM Lcvette: * ```
05:36 PM Lcvette: pip uninstall probe_basic
05:36 PM Lcvette: run it multiple times until you get the red error message
05:37 PM Lcvette: im assuming you are on debian stretch
05:37 PM Lcvette: if so, go from step 4 in the instructions
05:37 PM Lcvette: https://kcjengr.github.io/probe_basic/quick_start.html
06:06 PM Lcvette: D-Flo: get the dev removed and user Installed?
06:14 PM D-Flo[m]: It’s installing now. I have an intel WiFi card and it always throws a fit when I turn it back on
06:14 PM Lcvette: ah
07:05 PM Lcvette: D-Flo: get it resolved and installed?
07:08 PM D-Flo[m]: Lol that took forever. The distance from the spindle to the the touch plate is 323.21mm do I put that value in the spindle zero field?
07:22 PM D-Flo[m]: After clicking set tool touch off position the values don’t populate into the below fields
07:52 PM Lcvette: Did you touch it off.
07:52 PM Lcvette: If so, yes
07:52 PM D-Flo[m]: Yes sir
07:53 PM D-Flo[m]: I am getting some crazy values though for the z offset. I just touched off a drill bit in a chuck and got 402mm
07:53 PM Lcvette: Now every tool you measure will be relative to the spindle nose
07:54 PM Lcvette: Hmmm
07:54 PM Lcvette: Maybe it is supposed to be negative
07:55 PM D-Flo[m]: Approx distance from spindle nose to end of the drill bit is 170
07:55 PM Lcvette: It should spell out to be the actual tool height
07:55 PM D-Flo[m]: Measured roughly with caliper.
07:55 PM * D-Flo[m] uploaded an image: image0.jpg (1365KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/xrUJDbUjVUmvpPUHbOKRdxqT >
07:55 PM D-Flo[m]: 402mm
07:56 PM Lcvette: So so it should be calculation try -323mm
08:01 PM Lcvette: D-Flo: what's the measurement if you use -323mm in the spindle node height entry box?
08:01 PM D-Flo[m]: Eating I will let you know in 10!
08:01 PM Lcvette: Ok
08:17 PM D-Flo[m]: Value is still off new tool length is 243mm
08:29 PM Lcvette: That's not right
08:29 PM Lcvette: You homed the machine and from zero to touch off was 323mm.
08:30 PM D-Flo[m]: Correct.
08:30 PM Lcvette: The new tool length is the difference between the touch and the spindle
08:30 PM D-Flo[m]: In the subroutine it is added
08:30 PM Lcvette: So something is off
08:31 PM Lcvette: I'm not at dev but I'll look through the routine
08:31 PM Lcvette: Doesn't matter
08:31 PM Lcvette: Changes when you put a minus sign in front of it
08:31 PM Lcvette: But out doesn't change the wrong number
08:32 PM D-Flo[m]: Why not ABS[#<spindle_zero_height>] - ABS[#z_slow_probe]
08:32 PM D-Flo[m]: That way it doesn’t matter what the sign is
08:32 PM D-Flo[m]: The spindle height should always be greater than the tool height
08:33 PM Lcvette: Of spindle is 323mm and drill is 170, it should either be showing out should always be a larger number for the spindle zero height
08:33 PM Lcvette: No tool will be shorter
08:34 PM Lcvette: If it is a positive , a CD you add a negative entry for the tool touch it should be a positive number smaller that the spindle distance
08:35 PM Lcvette: And*
08:37 PM Lcvette: So if your measure a 170mm tool, it shoukd record 323 + (-153) = 170mm
08:38 PM D-Flo[m]: Is the value for z_slow_probe based off G53 or active current offsets?
08:38 PM Lcvette: Can't remember how i wore that section I'm on tablet not dev
08:38 PM Lcvette: Will be an hour before I'm back at the computer
08:39 PM Lcvette: But all g38.2 moves should be recording absolute machine chords
08:39 PM Lcvette: Just like in probing routines
08:41 PM D-Flo[m]: No rush. If I zero my active offset, as soon as I click on touch off current tool my z-offset snaps to 237mm. Not sure what that is about
08:42 PM Lcvette: Where did you probe the spindle from?
08:43 PM Lcvette: Machine coordinste zero/home?
08:47 PM D-Flo[m]: Well my z axis was 0 but I had to move x and y to align the spindle with the touch off plate
08:54 PM Lcvette: z is all that matters for the calcs
08:55 PM Lcvette: wait you moved the machine to the touch off position?
08:55 PM Lcvette: or you set the touch off position with the buttopn?
08:56 PM Lcvette: it uses the touch off position to run the routine
08:57 PM Lcvette: so it needs to be set such that z is machine zero in the g30 variables
08:57 PM hazzy-m: D-Flo: Nice machine!
08:57 PM hazzy-m: closed loop steppers?
09:09 PM D-Flo[m]: Thanks Hazzy! No they are open steppers just trying to get the mill up and running before upgrading!
09:10 PM D-Flo[m]: I only moved the spindle nose to the touch plate that one time when setting the touch off position and spindle zero. Every time since I have clicked set tool touch off position
09:12 PM Lcvette: but did you set the tool touch off position?
09:13 PM D-Flo[m]: I did but the z value was 0 as in The spindle was all the way retracted.
09:14 PM Lcvette: thats where ti was supposed to be thats good
09:14 PM D-Flo[m]: The the touch plate fits inside of the spindle. I thought that the x,y coordinates were all that mattered for the position
09:15 PM Lcvette: yeah i probably need to add an offset for x to put the tool edge over the center of the touch plate
09:28 PM * Lcvette posted a file: atom_file_package.7z (2KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/qXtyDXYARfhBSUdynWbArHqr >
09:29 PM D-Flo[m]: So there is a chance you might kill me
09:30 PM Lcvette: :o
09:30 PM Lcvette: /o\
09:30 PM D-Flo[m]: The old dev version of the tool_touch_off was in my Linux CNC NC file folder
09:30 PM Lcvette: lol
09:30 PM Lcvette: forgot to copy the new sub folders over huh..lol
09:30 PM Lcvette: does it work?
09:31 PM D-Flo[m]: It seems to be working now... spindle distance value should be positive
09:31 PM D-Flo[m]: Also the set tool touch off position values are showing up now
09:31 PM Lcvette: yeah the calcs should be with positive spindle distance
09:31 PM Lcvette: im adding some other things to it now too
09:34 PM Lcvette: yeah everything is working in the sim right now
09:34 PM D-Flo[m]: Ooh like what?
09:35 PM Lcvette: just added some things to handle the probe slow feedrate being 0, it does not error out it just skips the slow probe event and uses the initial fast probe event
09:35 PM Lcvette: doubtful many will use it, but no more error
09:36 PM Lcvette: im thinking i should add like an x axis offset by pulling in the tool diameter value from the tool table
09:36 PM Lcvette: so that the edge of the tool is over the center of the touch plate (or more correctly offset the tool radius disstance from the G30 x position
09:37 PM Lcvette: for biger tools like face mills or fly cutters etc
09:37 PM Lcvette: thoughts?
09:37 PM Lcvette: i could make it an optional thing in the touch off settings
09:38 PM Lcvette: do you mind testing this the latest fix on your machine real quick?
09:38 PM * Lcvette sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ijVKwyFgMXATqpGwukdPHCOa >
09:40 PM Lcvette: hazzy: what do you think about a touch off position offset that takes into account the tool diameter?
09:42 PM * D-Flo[m] uploaded an image: image0.jpg (1048KB) < https://matrix.org/_matrix/media/r0/download/jauriarts.org/vGniuQinImsCnHRjPFEdfRxV >
09:43 PM D-Flo[m]: That x-offset for face mills would be a game changer
09:43 PM D-Flo[m]: I just ran some quick tests and everything is still behaving. I’m super pumped
09:43 PM Lcvette: does your probe trip before the edge receeds level with the housing?
09:43 PM Lcvette: great!!!
09:43 PM Lcvette: \o/
09:45 PM D-Flo[m]: I’m confused by your question. I can’t touch the facing mill off because the carbides stick out farther than the base of the mill
09:46 PM Lcvette: in regards to the touch plate
09:46 PM Lcvette: does the plunger receed below the edge before triggering?
09:47 PM Lcvette: trying to determine if that offset might damage tools if they hang off the edge of the touch sirface because they plow into the frame of the touch plate edge before the center triggers
09:48 PM D-Flo[m]: Oh no the plunger doesn’t move at all
09:48 PM Lcvette: so it triggers pretty much on touch
09:48 PM Lcvette: there is no travel really to it before it triggers
09:51 PM D-Flo[m]: That’s correct pretty much instant. But your right if it didn’t trigger it would crush the housing. There is an over travel switch that I have wired to my e stop if it gets pushed too far and that wouldn’t help in this scenario
09:52 PM Lcvette: correct
09:52 PM Lcvette: but if i make it optional and people were aware perhaps it would still be a viable option
09:53 PM Lcvette: would save having to monkey with the offset manuall
09:56 PM Lcvette: hazzy, turboss, tom_l or anyone, do you know if the tool diameter is stored in one of these parameters?
09:56 PM Lcvette: 5401-5409 - Tool Offsets for X, Y, Z, A, B, C, U, V & W. Volatile.
09:58 PM Lcvette: ooh wait i have an idea i can grab it from the tool diameter qlabel on the main panel
10:07 PM D-Flo[m]: I’m off to sleep. Thanks again for getting me all sorted out! I will keep checking in with this discord.
10:07 PM Lcvette: sounds good!
10:44 PM Tom_L: D
10:45 PM Tom_L: http://linuxcnc.org/docs/2.8/html/gcode/tool-compensation.html
10:46 PM Tom_L: http://linuxcnc.org/docs/2.8/html/gcode/g-code.html#gcode:g41-g42
10:54 PM Lcvette: turboss are you on?
10:55 PM Lcvette: im stuck on some python that should be working but is not
10:55 PM Lcvette: im going nuts trying to find whats wrong
11:42 PM Lcvette: D-Flo: i got the tool diameter offset touch off oiption working! it works good
11:43 PM Lcvette: should the button be persistent?
11:43 PM Lcvette: Hazzy can button states be made persistent?