#linuxcnc Logs

Oct 09 2018

#linuxcnc Calendar

12:26 AM veek: is there a inch to mm chart I can use.. 1/16 -> mm etc NOT 0.0001
02:07 AM Deejay: moin
03:21 AM Blumax: JT-Shop, tank you, sorry, I just come from your answer
04:10 AM -!- #linuxcnc mode set to +v by ChanServ
05:12 AM jthornton: morning
05:14 AM Tom_L: morning
05:15 AM Tom_L: 63░F Hi 69 and more rain on the way
05:17 AM XXCoder: yo
05:18 AM XXCoder: so much watetr here
05:18 AM XXCoder: rain all night lol
05:18 AM jthornton: 72┬░F here quite warm
05:21 AM Tom_L: looks like rain the next several days here
05:21 AM Tom_L: they were just a few days late on their prediction
08:03 AM Timbo_ is now known as Timbo
08:04 AM skunkworks: damp here too
08:04 AM skunkworks: been raining for a few days
08:04 AM pink_vampire: hi skunkworks
08:04 AM skunkworks: pink_vampire: Hi
08:05 AM pink_vampire: did you saw what i did with my mill?
08:05 AM skunkworks: no - what?
08:05 AM pink_vampire: https://www.youtube.com/watch?v=0R2v1B9ewhk
08:06 AM skunkworks: pink_vampire: very cool - spindle as a rotory axis?
08:06 AM pink_vampire: yes, it is set as C axis
08:07 AM pink_vampire: I wish it will also worked as a spindle
08:08 AM pink_vampire: https://imgur.com/a/7Brr6ls
08:09 AM jdh: nice work.
08:10 AM pink_vampire: one day.. it will also become a spindle..
08:11 AM pink_vampire: it is also my "start to finish, first functional part" on the lathe
08:15 AM gregcnc: pink so that tapping isn't G33.1?
08:18 AM pink_vampire: no, it is g1 c z commands
08:19 AM gregcnc: Why did you choose to set it up as C? what else will you use C for?
08:19 AM pink_vampire: C axis is the "rotational Z axis"
08:20 AM gregcnc: that's not the question
08:21 AM pink_vampire: you can only set it as C axis or spindle
08:21 AM pink_vampire: and i have no idea how to set it as a spindle
08:21 AM pink_vampire: so i did C axis http://www.cnc4everyone.com/wp-content/uploads/2017/01/6axes.png
08:22 AM gregcnc: is this because you're using the G320?
08:22 AM pink_vampire: no
08:23 AM gregcnc: all you need to rigid tap is an encoder on the spindle
08:23 AM pink_vampire: the G320x is just a driver that get step/dir signals, i just don't know how to set a step / dir spindle in linux cnc
08:23 AM gregcnc: what else are you doing with the spindle that requires and actual rotary axis?
08:24 AM pink_vampire: I can put my HF spindle on my X axis, and use the C axis as indexer
08:24 AM pink_vampire: I can also tilt the head of the machine
08:25 AM pink_vampire: so it can work as 5 axis machine in 4+1 configuration
08:27 AM gregcnc: OK the hard part of doing that seems to be adding the function of switching between spindle and rotary with the same drive
08:27 AM pink_vampire: yeah
08:27 AM pink_vampire: lets say i just want a spindle
08:28 AM pink_vampire: how do i set step/dir spindle?
08:30 AM beachbumpete1_: Morning linuxCNC
08:31 AM gregcnc: was mentioned setting stepgen to velocity mode
08:31 AM gregcnc: https://forum.linuxcnc.org/38-general-linuxcnc-questions/17804-4th-axis-rotation-angle-limit-problem
08:31 AM gregcnc: I'd start from the last page as that thread begins ages ago
08:36 AM pcw_home: For a parallel port system you could have 2 stepgens (on in position and the other in velocity mode) and just mux the step/dir pins
08:37 AM pcw_home: _one_ in position
08:37 AM pcw_home: you would need to home the C axis when changing back to C axis mode
08:37 AM pink_vampire: the G320x just die!!!!!!!
08:37 AM pink_vampire: WTF!
08:38 AM beachbumpete1_: I did not have too much luck with G320 Gecko drives but I was a noob at the time ;)
08:39 AM gregcnc: some of my g320 have been running since 2006?
08:39 AM gregcnc: but two lost voltage regulators
08:40 AM pcw_home: a G320 driving a lathe spindle would need brake circuit or it would have 1 foot on a banana peel
08:40 AM gregcnc: voltage shunt
08:41 AM gregcnc: makes sense
08:42 AM pink_vampire: it is new g320x that i had, and it was on the c axis, so basically 0 load 99% of the time
08:42 AM gregcnc: not abotu load
08:43 AM pink_vampire: it also worked fine last night
08:43 AM gregcnc: what is your supplied voltage?
08:45 AM pink_vampire: 72V
08:45 AM pink_vampire: it get power
08:46 AM pink_vampire: no leds
08:46 AM pink_vampire: just dead
08:46 AM gregcnc: were you running it when it died?
08:46 AM pink_vampire: nothing
08:47 AM pink_vampire: this is why it is so bizarre
08:47 AM pink_vampire: I just turn on the machine and i see that I can't home the c axis, so i looked at the drive and i see it is dead
08:49 AM gregcnc: hmm
08:50 AM gloops: not a problem, the configs were backed up ..of course
08:56 AM pink_vampire: gloops: what do you mean?
09:03 AM gloops: pink_vampire hard drive has died? at least you can just stick another drive in, install linuxcnc and load your old configs - away you go again
09:04 AM pink_vampire: no
09:04 AM pink_vampire: the servo motor driver
09:08 AM gloops: oh..
09:09 AM gloops: could be loose wire, ground or something?
09:12 AM pink_vampire: no
09:13 AM pink_vampire: it is just charge the capacitor in the driver and no more
09:19 AM pcw_home: do you have a brake circuit?
09:19 AM pink_vampire: yes, but it was 0 load
09:19 AM pink_vampire: it is a spindle...
09:20 AM pcw_home: Lathe spindle + no brake + position mode servo drive = dead drive
09:21 AM pcw_home: it could be a random failure but you _really_ need a brake circuit driving a spindle
09:21 AM pink_vampire: i thought you mean circuit breaker
09:22 AM pcw_home: the problem comes when decelerating (the bus voltage gets pumped up to enough to damage the drive)
09:23 AM Rab: pink_vampire, a power resistor or some other means of absorbing energy generated by the motor as it slows.
09:23 AM pink_vampire: where do i need to connect them?
09:24 AM pcw_home: that is, the stored energy on the spindle (which may be quite large with a large chuck) get dumped back into the power supply raising the voltage
09:26 AM Rab: pink_vampire, not sure how to do that for the G320.
09:27 AM pcw_home: I think the most common way is a clamp circuit on the power supply
09:28 AM pink_vampire: what is "a clamp circuit"??
09:30 AM rmu: pink_vampire: search ebay for "brake chopper"
09:32 AM pink_vampire: https://www.ebay.com/itm/19-21-Mini-Drum-Brake-Chopper-Front-Wheel-Replacement-Shoe-Set-Pair/141712203893?hash=item20feb4a075:g:nLkAAOSwfcVUENJL&vxp=mtr
09:32 AM pink_vampire: that????
09:32 AM rmu: basically, it is a circuit that assures that voltage over you dc-link capacitors doesn't exceed a certain value
09:33 AM rmu: pink_vampire: more something like that https://www.ebay.com/p/Lenze-630-BRAKING-Chopper-Module-340918-6033-G-2c/1763233013
09:34 AM rmu: pink_vampire: you need to get one with appropriate voltage and power
09:34 AM gregcnc: 72V in a 80V drive add braking regen --> kablooey
09:35 AM pink_vampire: gregcnc: what do you mean?
09:36 AM gregcnc: meaning your supply voltage was already very close to max, so it doesn't take much to blow the drive when it brakes the motor
09:37 AM gregcnc: https://www.a-m-c.com/experience/products/accessories/shunt-regulators/
09:37 AM pink_vampire: this is from the manual "If the G320X enters a FAULT condition it will dynamically brake the motor. This means if a FAUL T occurs while the motor is moving the motor will very rapidly decelerate to a stop."
09:38 AM gregcnc: so
09:39 AM gregcnc: https://www.ebay.com/itm//263962950804
09:39 AM rmu: pcw_home: could something like a diode parallel to some power resistors between power supply and drive work?
09:43 AM pink_vampire: gregcnc: Clamping Voltage (VDC) 380
09:43 AM pink_vampire: what clamping voltage do i need??
09:44 AM gregcnc: dang I must be blind i thought it was 80V
09:45 AM gregcnc: http://servosystems.com/pdf/amc/srst.pdf
09:45 AM pink_vampire: my power supply is 70V~
09:46 AM gregcnc: https://www.a-m-c.com/products/?page=product&cid=shunt-regulators&id=SRST80
09:46 AM rmu: pink_vampire: you need a little bit under max voltage the gecko can tolerate
09:46 AM pink_vampire: and more then the power supply?
09:46 AM pink_vampire: the gecko can go up to 80V
09:47 AM pink_vampire: the power supply is 72V
09:47 AM rmu: more than power supply
09:48 AM pink_vampire: i see the one for 70 and the one for 80
09:48 AM pink_vampire: 80 is the max of the g320x
09:48 AM pink_vampire: it will do any good?
09:49 AM Blumax: gloops, I believe that to inhibit an endstop (in my case), you have to modify the file hal whereas before 2.8 only the fileini.
09:49 AM Blumax: http://linuxcnc.org/docs/devel/html/config/ini-homing.html#_home_ignore_limits
09:50 AM rmu: pink_vampire: clamping voltage 80 should be OK, the gecko is not immediately destroyed when voltage goes (slightly) over 80V
09:51 AM pink_vampire: if i will take the 70?
09:51 AM pink_vampire: i will be on the safe side?
09:51 AM gregcnc: the the shunt will be shunting all the time
09:51 AM rmu: pink_vampire: clamping voltage 70 would mean that you power supply and the shunt regulator fight each other: the power supply will try to keep voltage at 72V, the shunt regulator will try to force it down to 70V
09:52 AM gregcnc: basically the shunt will burn up
09:52 AM rmu: so power supply will go into short circuit, some fuse will blow, or something will burn
09:53 AM gregcnc: those shunts are fused, but I'm not sure for what condition
09:53 AM rmu: that could be dangerous... fuse of shunt blows -> everything else dies
09:54 AM gregcnc: right, I'm not sure what exactly it does
09:54 AM rmu: i think a power-zener-diode should also work
09:55 AM rmu: "power zener" usually is some kind of zener + BJTs circuit
09:58 AM pink_vampire: the actual voltage of the power supply is 71V
09:58 AM pink_vampire: is there a way to drop the voltage to 65V?
09:58 AM rmu: something like 1N3337A
10:00 AM jdh: is there a pot on the PS?
10:01 AM pink_vampire: no it is a toroidal transformer
10:01 AM gregcnc: does it have ┬▒taps?
10:01 AM pink_vampire: no,
10:01 AM pink_vampire: nothing you can set
10:02 AM gregcnc: often transformers have ┬▒5% taps, if it doesn't nothing you can do
10:03 AM pink_vampire: but there is a way to waste those 5V. so it will drop to 65V?
10:56 AM Loetmichel: *gnhihi* its hig time that i trash/sell the BMW convertible... its roadworthy check expires this month, its engine loses oil, the airbag and ABS lamps are permanently on, its suspension isnt legal, and now i drove about 1 mile until i saw the "ebrake" light in the dash still on... not noticeable in acceleration at all... those brake pads are done... still no idea what to get next though...
10:57 AM gregcnc: whatever it is, make sure it has lots of problems like the last few cars you've talked about
10:57 AM gloops: cant get through MOT here with any warning lights on
10:58 AM gloops: ABS probably a sensor, nothing, airbag - another sensor but completely different story to locate
10:59 AM Loetmichel: gloops: airbags: the seats. the previous owner of the seats thought it funny to cut the plugs for the belt tightening explosives off
10:59 AM gregcnc: ugh, what about an sd card would make a reader not like it? works fine in a camera
11:00 AM Loetmichel: abs: servo pump shows an error in the ECU... could be either the pump itself or the wiring
11:00 AM gloops: sounds like a load of hassle
11:00 AM gregcnc: my e36 needs an oil change and struts
11:01 AM gloops: i had an airbag light on on an old peugeot, cheap fix parts wise - but then strip out half the interior and locate the sensor
11:01 AM Loetmichel: but its just not worth it. a new suspension thats "eintragbar" (in germany you have to have any aftermarket parts written into the cars papers) is a few 100 eur at least, all the other fauls are manageable, too, but a similar convertible in a better shape is just eur1200 or so... so its not worth it.
11:08 AM pink_vampire: gregcnc: https://www.geckodrive.com/support/servo-drives/returned-energy-dump.html
11:09 AM gregcnc: that's one option
11:10 AM pink_vampire: gregcnc: do you think it can solved the problem?
11:11 AM gregcnc: is that not what gecko say it's for?
11:12 AM pink_vampire: yeah, but i'm asking your professional advice as a pro in that filed.
11:14 AM gregcnc: not a pro, i know some stuff that's all
11:27 AM pink_vampire: gregcnc: do you know how meany watts I need for the 1k resistors?
11:28 AM pink_vampire: for the 33 ohm i see 10W resistor
11:32 AM gregcnc: someone probably knows better than I, but as 1k are for sensing they can be small. 10W is dependent on actual energy dissipation
11:32 AM pink_vampire: so 1k 1/8W will be ok?
12:06 PM CaptHindsight: https://reprap.org/wiki/A5_Powder_bed_printer
12:06 PM CaptHindsight: Question: Where does one obtain precision drawer slides?
12:09 PM gloops: tumble dryer
12:13 PM methods_: geez that's so easy
12:14 PM methods_: at the precision drawer slide store
12:15 PM CaptHindsight: methods_: damn and i wasted a day at Bed Bath and Beyond
12:15 PM methods_: yep
12:15 PM methods_: they didn't have the precision slide section there lol
12:16 PM methods_: right next to the precision weight bedding :P
12:17 PM gloops: dont think kitchen drawer, think tight fitting click into place drawer
12:17 PM CaptHindsight: I did consider re-purposing a file cabinet but
12:18 PM CaptHindsight: the drawers are one on top of another vs side by side
12:19 PM methods_: what price range?
12:19 PM CaptHindsight: we filled the top drawer with sand to test but aqs soon as we tipped the cabinet 90 deg the sand came out the top
12:20 PM methods_: https://us.misumi-ec.com/vona2/detail/221004905171/?Inch=0
12:20 PM methods_: i've used those in heavy applications
12:20 PM methods_: in an acid pump rebuild table
12:21 PM methods_: let me see if i can find the exact ones i used
12:21 PM CaptHindsight: price was more than an electric can opener but less than 500 count queen size sheets
12:21 PM methods_: oh
12:21 PM methods_: you probably don't want the ones i listed then lol
12:21 PM methods_: i think they were kinda spendy
12:22 PM CaptHindsight: I remember the prices of things based on how it might be used on a game show
12:23 PM CaptHindsight: Assembly Show near Chicago next week, lotsa bots
12:23 PM CaptHindsight: http://www.theassemblyshow.com/
12:29 PM skunkworks: yah - in love with this laptop...
12:29 PM skunkworks: battery life could be longer - but I can deal
12:32 PM skunkworks: The speakers sucked on the lenovo w530... this one has some name brand sound - which seems pretty decent
12:33 PM FinboySlick: skunkworks: So, CAD vm, LinuxCNC controller, and now jukebox? You keep that up and it'll unionize on you.
12:35 PM skunkworks: :) usually some randon youtube playing in the background
12:35 PM skunkworks: thunderbird transfered.. Need to get the XP vm transfered and that would almost do it.
12:36 PM skunkworks: even got a bluetooth mouse pared.. (I hate click pads..)
12:38 PM CaptHindsight: methods_: https://hackaday.io/project/86954-oasis-3dp
12:39 PM CaptHindsight: looks like they went all out and used t-slot with FDM printed components
12:46 PM CaptHindsight: https://www.youtube.com/watch?time_continue=9&v=RQpfs-DLBDg there's certainly motion
02:31 PM Deejay: re
04:43 PM Deejay: gn8
05:40 PM CaptHindsight: is proper machine frame construction really becoming a lost art? https://youtu.be/1hto4Epej28?t=31
05:45 PM phaxx: rigid enough to do the job, I guess.
05:50 PM CaptHindsight: mounted on wheels it becomes self propelled
08:54 PM Tom_itx is now known as Tom_L
09:27 PM jdh: wish I would have hooked up the spindle speed control years ago. would have saved quite a few end mills
09:29 PM Tom_L: :)
09:29 PM Tom_L: it's great having that control
09:29 PM jdh: need a relay for the spindle coolant now.
09:29 PM Tom_L: i remember my sherline before i had pid on the motor
09:30 PM jdh: my mill has always had spindle control and my previous router was on/off. Keep forgetting to turn this one one.
09:34 PM skunkworks: i seem to just consistantly forget the m3
09:37 PM Tom_L: makes a good punch
09:46 PM skunkworks: i usually sneak into the part. usually catch it
09:47 PM Tom_L: i've noticed sometimes mine isn't quite up to speed on the way down to the material
09:48 PM Tom_L: i could swap the spindle command around in the post and see if that helps any
09:55 PM ziper: _unreal_, do you use an air file when fairing
10:09 PM skunkworks: do you have an 'at speed' signal?
10:14 PM Tom_L: i'd have to look, it's been a while but i think i do
10:15 PM Tom_L: i know i had to use a 'near' component to get it stable
10:20 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL/new_mill.hal
10:26 PM Tom_L: around line 495ish
10:26 PM Tom_L: i'm currently not using the spindle reverse part although it's still in the code
10:54 PM Tom_L: i could simply add a G4 right after the S command
10:57 PM Tom_L: meh, i'll just move where the spindle comes on
11:01 PM Tom_L: yeah that looks better, i'll try it soon
11:14 PM * flyback bites MarcelineVQ
11:14 PM flyback: CANUCK
11:14 PM flyback: :P
11:14 PM flyback: welcome to channel
11:32 PM MarcelineVQ: You're full of beans
11:35 PM ziper: https://i.redd.it/6ulw3zuee0q11.png