#linuxcnc | Logs for 2012-11-17

Back
[00:00:11] <roh> thats (7k/5k)*5000mV/1024
[00:00:17] <jdh> hook a battery up to i.
[00:00:20] <jdh> it
[00:00:57] <roh> measure before and after the 1k to ground and see if there is a difference
[00:01:10] <roh> there shouldnt be (much).. few mV max.
[00:01:17] <tjb1> I took that filter off too
[00:01:27] <tjb1> and it still isnt giving me correct values
[00:01:58] <roh> can you pastebin your code?
[00:02:52] <tjb1> http://pastebin.com/q270XcQv
[00:04:34] <ReadError> L84Supper: oh word
[00:04:39] <ReadError> thats where i get all my stuff from
[00:04:40] <ReadError> mostly
[00:04:45] <ReadError> how is their setup?
[00:05:12] <L84Supper> ReadError: just a warehouse with an office in front
[00:05:28] <PCW> 2K and 5K resistors swapped? (that would make 2.5 X error)
[00:05:38] -!- ve7it has quit [Remote host closed the connection]
[00:05:39] -!- logger[mah] has quit [Remote host closed the connection]
[00:05:39] <ReadError> L84Supper: did you see their printers?
[00:05:42] <ReadError> the 3d printer
[00:05:46] <L84Supper> he selling an FDM printer now, open source friendly
[00:05:46] -!- logger[mah] [logger[mah][email protected]] has joined #linuxcnc
[00:05:50] <roh> i dont understand these loops in there...
[00:05:50] <tjb1> im measuring it with my multimeter, im getting 1.270 out of the divider
[00:05:52] <ReadError> ya
[00:05:57] <ReadError> thats what i was curious about ;)
[00:06:03] <tjb1> roh: Its building a list 15 long and averaging it
[00:07:00] <L84Supper> ReadError: he sells them for the makerslide guy
[00:07:12] <roh> hm.. you dont need a list for that ;)
[00:07:20] <L84Supper> he was working on some software for it when I came in today
[00:07:21] <tjb1> I didnt write that code
[00:07:21] <ReadError> did you get to see one L84Supper?
[00:07:48] <L84Supper> ReadError: yeah, it been around for a bit, he wants to carry more pro printers
[00:08:38] <L84Supper> http://www.automationtechnologiesinc.com/products-page/3d-printer/ord-bot-hadron-3d-printer-kits
[00:11:01] <L84Supper> also stopped by http://www.shars.com/
[00:11:23] -!- factor has quit [Ping timeout: 260 seconds]
[00:11:43] <L84Supper> that place is busy
[00:17:35] <r00t4rd3d> http://www.youtube.com/watch?v=rAeQn5QnyXo
[00:17:39] <r00t4rd3d> that is awesome
[00:17:45] <r00t4rd3d> damn thing can run
[00:17:45] <andypugh> L84Supper: That Hardon is quite a neat design.
[00:17:45] <roh> tjb1: try http://pastebin.com/w9QijJEq
[00:18:13] <tjb1> roh: Its not giving me the correct value to begin with
[00:18:26] <roh> that one 'averages' 5 samples
[00:19:49] <roh> ah.. and swap all the doubles for int.
[00:20:25] <roh> well.. atleast the tip and last
[00:20:34] <roh> maybe its broken conversion to double
[00:20:44] <tjb1> im stupid
[00:20:55] <tjb1> the voltage divider was backwards…im sorry to whoever already mentioned that
[00:21:12] <tjb1> It was giving 1.4 v to arduino which is ~289
[00:21:42] <tjb1> ok im going to eat
[00:26:12] <andypugh> is this a forum glitch, or do we need to pay more attention to this? http://imagebin.org/236212
[00:26:49] <abetusk> djdelorie, any effort on migrating eagle files to geda?
[00:27:10] <djdelorie> you'd have to ask on the geda-user mailing list, or #geda on OFTC
[00:27:43] -!- adb has quit [Ping timeout: 260 seconds]
[00:27:51] <andypugh> <ponder> is abetusk in orbit round Mars?
[00:28:03] <djdelorie> we'll find out in a few hours :-)
[00:28:14] <abetusk> ?
[00:29:24] <L84Supper> http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=14122 LinuxCNC (Emc2) How to compile and get it working.........
[00:30:16] <abetusk> #geda redirects you to #eda? or do you need to be invited to #geda?
[00:30:26] <djdelorie> on OFTC, not freenode
[00:30:32] <abetusk> ah
[00:30:54] <L84Supper> andypugh: IMHO the cubieboard is a better fit for LinuxCNC
[00:31:11] <L84Supper> http://cubieboard.org/
[00:31:51] <L84Supper> nobody has tested the GPIO's yet for IRQ timing or bit-bang speeds
[00:31:55] <andypugh> Yes, but Pi has a user base and momentum. Beta was better, VHS won
[00:32:37] <L84Supper> i think they will live side by side
[00:33:31] <L84Supper> the allwinner A10 is in tons of products
[00:33:45] <L84Supper> even $30 dongles
[00:34:53] <roh> pi hasnt any serious amount of gpio
[00:36:20] <L84Supper> you can also buy a10 chips now for ~$10 ea
[00:37:28] <L84Supper> anyone ever buy from http://www.metalsupermarkets.com/MSC-home.aspx ?
[00:37:52] <L84Supper> skip the web orders if you do and just call the local store for better deals
[00:38:23] <andypugh> I have had metal from them, but collected by the guy who wanted the thing made.
[00:38:41] <andypugh> I buy a lot of metal from eBay
[00:39:07] <andypugh> Or Metals4U
[00:39:38] <andypugh> Or if I want a 3m length, and can borrow a car. from the nornal stockholders
[00:40:40] <L84Supper> 21 ft here, I forgot to bring a saw once and drove 10 miles with a full section o the top of a Jeep
[00:41:24] <andypugh> 7m is the other length, but that is "no way"
[00:41:39] <andypugh> L84Supper: Did you see my PM?
[00:45:08] <jdh> the "high speed wifi' in this motel is 52Kb/s
[00:46:40] -!- sliptonic [[email protected]] has joined #linuxcnc
[00:47:15] <L84Supper> broadband prices at dialup speeds
[00:48:11] <andypugh> I rescued an acoustic-coupler terminal from the skip yesterday.
[00:48:27] <andypugh> Finding a phone to fit it might be hard
[00:48:28] <jdh> did you ship it to north florida?
[00:48:48] <andypugh> And it turns out to not be the relic I thought.
[00:49:35] <andypugh> In fact, if you want one, they are still on sale: http://www.uic.edu/depts/accc/telecom/tdd.html
[00:50:26] <jdh> pricey
[00:50:31] -!- rob_h has quit [Ping timeout: 252 seconds]
[00:53:25] -!- Valen1 has quit [Quit: Leaving.]
[00:54:20] <roh> L84Supper: nice board (cubie) .. lets see when they are available without waitinglists
[00:55:34] <andypugh> My jongoism makes me prefer Pi
[00:55:41] <andypugh> (jingoism)
[00:57:42] -!- mhaberler has quit [Ping timeout: 264 seconds]
[00:58:38] -!- mhaberler [[email protected]] has joined #linuxcnc
[01:00:48] <L84Supper> roh; there's also the https://www.miniand.com/products/Hackberry%20A10%20Developer%20Board
[01:00:55] <L84Supper> Hackberry
[01:01:21] <jdh> my replacement Pi ADC seems to have finally been delivered.
[01:01:32] <tjb1> Look at this output :D http://pastebin.com/RQpwd8cS
[01:02:49] <tjb1> starting at line 70 its holding withing 2 volts
[01:03:19] <tjb1> That may be the plate isnt flat or the water table isnt completely level
[01:03:26] -!- toastydeath has quit [Read error: Connection reset by peer]
[01:03:53] -!- toastydeath [[email protected]] has joined #linuxcnc
[01:10:01] -!- mhaberler has quit [Quit: mhaberler]
[01:19:07] -!- andypugh has quit [Quit: andypugh]
[01:20:10] -!- kinglet [[email protected]] has joined #linuxcnc
[01:25:35] <tjb1> https://dl.dropbox.com/u/3090951/filtervsnot.jpg
[01:25:42] <tjb1> Red is unfiltered, green is with the filter
[01:28:22] -!- gambakufu has quit []
[01:34:00] -!- tom3p [[email protected]] has joined #linuxcnc
[01:38:59] <tom3p> tjb1 is that graph the gap voltage for a torch or similar?
[01:39:28] <tjb1> yes
[01:39:30] <tom3p> its very much the ionization/breakdown/discharge features of an EDM spark ( my work is all EDM) but is it voltage? & what are the vert & horz units?
[01:39:44] <tjb1> vertical is arc voltage on plasma
[01:39:58] <tjb1> horizontal is really nothing…i havent timed it yet so I just threw that in there
[01:40:58] <tjb1> Im plotting different filter settings
[01:41:36] <tom3p> teh 120 vertical is volts? i guessed its voltage, but 120V sensing is nuts, I use 21K to 1K res divider for 115V dc and get near 5v out
[01:42:04] <tom3p> (i dont mean what you did is nuts, i means its a bit dangerous )
[01:42:35] <tjb1> its the arc voltage
[01:42:46] <tjb1> Im really only measuring 0-5
[01:42:49] <tom3p> ok
[01:43:04] <tjb1> Plasma cutter steps 350 down to 7 and i step it down to 5
[01:43:41] <tjb1> just trying to get the best line :)
[01:44:00] <tom3p> gtocha, and the horz scale is 1 tic per sample? (whatever poll speed that is on an arduino?
[01:44:15] <tjb1> Yeah im not sure what it is, im trying to figure out how to add a timer here
[01:44:40] <tom3p> in EDM we filter out anything over 500hz ( besides the machines cannot respond to even the 500hz changes )
[01:45:25] <tom3p> got a real scope? you can calibrate and forgo the constant timing
[01:46:01] <tjb1> I do have a scope but im not too hot with it
[01:46:13] <jdh> add millis() to the write line
[01:47:01] <tom3p> it will usually have its own calibration knob/btn, and thats usually a 1khz 5V sqr wave, that oughtta tell you what the arc is doing
[01:47:01] <tjb1> Thats it?
[01:47:28] <tjb1> This is a plasma cutter, im not looking at the arc just the voltage
[01:47:29] <jdh> that will return the # of mS since boot
[01:47:30] <tjb1> :)
[01:47:51] <jdh> or, save the last value, subtract from the current value.
[01:47:53] <tjb1> jdh I want it to tell me how much time has passed from voltage > 150 to voltage < 150 http://pastebin.com/b8HqnVDp
[01:48:17] <jdh> you just sucking it in to excel?
[01:48:55] <tjb1> yes
[01:49:37] <jdh> Serial.print(millis());
[01:49:39] <jdh> Serial.print(",");
[01:49:52] <jdh> put that before your voltage print
[01:52:03] <jdh> or, save the previous millis() and subtract to just show elapsed time between samples.
[01:52:21] <tom3p> btw if you use a scope near any arc discharge, use a cheater on the ground lug of the cord, DONT have a grounded scope ( or invest in scope lead stock )
[01:53:06] <tom3p> and doesnt arduino have micros() as well?
[01:54:21] <jdh> yeah, but kind of overkill for this.
[01:54:27] <tom3p> the hi to low transistion ( when it overcomes the dielectric breakdown strength of air ) aint milliseconds wehn V drop current rises
[01:55:09] <tom3p> "tell me how much time has passed from voltage > 150 to voltage < 150" maybe i misunderstood
[01:55:41] <tjb1> voltage value 150 out of 0-1023
[01:55:43] <jdh> that's not particularly relevant information
[01:56:14] <jdh> (microseconds between )
[01:56:45] <tjb1> commas != new colum in excel :(
[01:57:07] <jdh> data, text-to-table
[01:57:31] <jdh> select the column, data menu
[01:58:03] <tom3p> it tells you dielectric breakdown time, and the current rise time, i dunno what he wants the info for
[01:58:12] <jdh> text-to-column maybe
[01:58:31] <tjb1> Got it
[01:58:37] <tjb1> tom3p this isnt an EDM
[01:58:43] <jdh> if the value is in microseconds, it isn't useful
[01:58:52] <tjb1> Im trying to get a smooth voltage input for a torch height controller
[01:59:04] <tjb1> Im testing which filter is going to give me that
[01:59:28] <jdh> you can change the code to print out every 100mS or wtf
[01:59:33] <tom3p> tjb1 it doesnt matter when you look at high voltage suddenly dropping to low voltage across a gap, its a discharge, good luck with your project
[01:59:58] <tjb1> That variation is the torch moving closer to the work which is resulting in the lower voltage :)
[02:00:12] <tjb1> The arduino isnt printing the value until it reaches a certain value so im not getting garbage
[02:00:55] <tjb1> The start is when the arc is formed, it peaks and then the torch moves from pierce height to cutting height and that is where the voltage stabilizes. It is taking longer than I would like because I am averaging 15 samples but oh well
[02:02:11] <tjb1> jdh, whatever I did in text to columns messed it up
[02:02:15] <tjb1> It broke it like half up
[02:07:02] <tjb1> jdh: The green here is 7 averaged samples with a 1660 ohm - 1uF filter and the red is unfiltered with 15 averages
[02:07:10] <tjb1> https://dl.dropbox.com/u/3090951/7samples.png
[02:07:42] <tjb1> Green is same in this one, purple is 1000 ohm - 1uF with 15 averages - https://dl.dropbox.com/u/3090951/7samples2.png
[02:12:06] <PCW> You will always need a analog input filter with arcs at they will have significant high frequency noise (which will show up as baseline wander/aliased waveforms to a sampled A-D)
[02:12:11] <jdh> It's lovely, I'm sure.
[02:12:32] <tjb1> Its a colorful picture!
[02:12:39] <tjb1> PCW im moving up to 2k 1uf now
[02:14:14] <jdh> PCW: how long have you been doing stuff like this?
[02:14:37] <PCW> too long
[02:14:49] <jdh> heh... you rock!
[02:16:13] -!- r00t4rd3d has quit [Quit: Leaving]
[02:17:41] <jdh> you probably have to select 'delimited' and comma for the text-to-column
[02:17:49] <PCW> bye all
[02:17:52] -!- PCW has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032]]
[02:20:48] <tjb1> jdh: If I put delay(500); after printing, that would make it take a sample every .5 second wouldnt it?
[02:21:13] <jdh> not exactly, but the time period would be consistent.
[02:21:32] <jdh> it would be 500mS + processing time.
[02:22:05] -!- zlog has quit [Ping timeout: 255 seconds]
[02:22:26] <tjb1> Which isnt very long
[02:23:27] <jdh> at the top, get the current millis(), add 500. At the bottom delay for saved_time - millis()
[02:23:27] <tjb1> Its getting almost 200 data points before the torch reaches cutting height and stabilizes
[02:24:23] -!- zlog [[email protected]] has joined #linuxcnc
[02:27:27] <tjb1> yeah that delay killed it
[02:27:31] <tjb1> looks like a sine wave now
[02:27:58] -!- zlog has quit [Remote host closed the connection]
[02:28:01] -!- Tom_itx has quit []
[02:28:28] <jdh> you can sample as fast as you can and only print the average every 500mS or whatever
[02:29:40] -!- Tom_itx [Tom_itx!~Tl@unaffiliated/toml/x-013812] has joined #linuxcnc
[02:29:41] -!- zlog [[email protected]] has joined #linuxcnc
[02:30:50] <jdh> you need to sample at least 2x the freq of whatever it is you want to see.
[02:33:26] <tjb1> Im just testing to get the best for the output I need
[02:35:01] <tjb1> I think my consumables are getting shot
[02:35:42] <tjb1> The same filter, same cutting parameters only difference is averging 8 samples - https://dl.dropbox.com/u/3090951/1660k.png
[02:40:13] <jdh> this will be the feedback for the controller?
[02:40:19] <tjb1> grr im stuck in russian linuxcnc forum
[02:40:38] <tjb1> arduino is going to eventually take the vfd output and use it to find out what voltage I want the arc to be
[02:45:34] -!- factor [factor!~factor@r74-195-219-87.msk1cmtc02.mskgok.ok.dh.suddenlink.net] has joined #linuxcnc
[02:53:00] <tjb1> im going to attempt part of that now
[02:53:05] <tjb1> is || or in arduino?
[02:53:53] <jdh> yes
[02:55:40] <tjb1> so this would work "if(realVoltage =< 118.2 && realVoltage >= 117.8)"
[02:55:45] <tjb1> erm...
[02:55:59] <tjb1> = <
[02:56:35] <tjb1> I guess its <= and >=
[02:56:44] <jdh> yep
[02:57:29] <t12> have you scoped pre/post filter while running it
[02:57:37] <jdh> I'd swap the order, and put parens in :)
[02:57:43] <t12> to see if the filter is really doing what you want
[02:57:53] <tjb1> Yes
[02:58:09] <tjb1> https://dl.dropbox.com/u/3090951/filtervsnot.jpg
[02:58:22] <tjb1> Green = filtered, red = not filtered
[02:58:25] <ReadError> what are you using to graph?
[02:58:33] <tjb1> Thats excel ReadError
[02:58:36] <ReadError> oh
[02:58:39] <tjb1> :)
[02:58:46] <tjb1> Nothin fancy
[02:58:56] <ReadError> what you tryin to measure
[02:58:59] <ReadError> voltage i know
[02:59:01] <ReadError> but what for
[02:59:29] <ReadError> oh nm
[02:59:30] <ReadError> tjb1> arduino is going to eventually take the vfd output and use it to find out what voltage I want the arc to be
[03:00:19] <tjb1> Im going to use "M3 S117" to tell the arduino I want an arc voltage of 117 using the G540 VFD output and then the arduino will sample the arc voltage, compare it to the VFD setting and tell Linuxcnc to move torch up or down
[03:01:00] -!- factor has quit [Read error: Connection reset by peer]
[03:01:54] <t12> can you servo directly on the voltage?
[03:02:30] <jdh> seems like that woudl be better.
[03:02:32] <t12> like cant you just manipulate the voltage output directly
[03:03:13] <tjb1> I have to read what the torch is at
[03:03:20] <t12> of course but
[03:03:32] <t12> rather than manipulating arc voltage with torch height
[03:03:36] <t12> why not just change the voltage
[03:03:50] <tom3p> the voltage is teh result of the position, not an input
[03:03:50] <tjb1> Not something you do with plasma
[03:04:01] <jdh> just use the arc voltage as feedback, let linuxcnc control the height
[03:04:05] <tjb1> Only control you have is the amperage and the height
[03:04:07] <tom3p> proximity/position
[03:04:13] <t12> ah ok
[03:04:14] <tjb1> jdh, I dont have a fancy mesa card :)
[03:04:29] <jdh> you can't just use PID?
[03:04:50] <tjb1> how would I get the voltage into the computer?
[03:04:57] <jdh> serial
[03:06:04] <jdh> http://axis.unpy.net/01198594294
[03:06:22] <ink-> hm
[03:06:33] <ink-> do any of you have any good resources for PID loop tuning?
[03:06:50] <jdh> there are lots of books on the subject.
[03:07:04] <ink-> any recommendations?
[03:07:13] <ReadError> wiki has a good article
[03:07:18] <jdh> heh, it is a voluminous subject.
[03:07:24] <ink-> right :)
[03:07:31] <tjb1> Oh you want me to use the arduino to send voltage over serial?
[03:07:33] <jdh> jt & pcw always seem to have the answers.
[03:07:34] <ink-> hm maybe I'll stop by the engineering library and poke around
[03:07:37] <jdh> jtb1: right.
[03:07:40] -!- factor [factor!~factor@r74-195-217-110.msk1cmtc02.mskgok.ok.dh.suddenlink.net] has joined #linuxcnc
[03:07:50] <tjb1> That requires interfacing arduino with computer
[03:07:57] <tjb1> I wont need it connected to computer once im done
[03:08:05] <jdh> tjb1: then let linuxcnc close the loops... since it is driving the motor anyway
[03:08:15] <tjb1> What loops?
[03:08:35] <jdh> the closed loop torch height controller you would be implementing.
[03:09:33] <tjb1> What should I do differently?
[03:09:53] <jdh> what moves your torch up/down now?
[03:10:56] <tjb1> linuxcnc
[03:11:00] -!- Keknom [[email protected]] has joined #linuxcnc
[03:12:34] <jdh> how does it know where to move it?
[03:12:36] <tjb1> http://pastebin.com/Qe55XSAR
[03:12:45] <tjb1> Those leds will soon be inputs to linuxcnc
[03:13:01] <tjb1> if input torch up is high…it will move torch up until it goes low
[03:13:09] <jdh> heh
[03:13:17] <jdh> interesting baud rate
[03:14:30] <tjb1> do you understand it now?
[03:14:37] <jdh> <tjb1> I wont need it connected to computer once im done
[03:14:56] <tjb1> Its connected to the BOB
[03:15:06] <tjb1> not usb and require the arduino run on the computer
[03:15:46] <ReadError> what kind of modulation do you have on the plasma cutters power unit?
[03:15:49] <ReadError> is it a smooth dial
[03:16:01] <tjb1> you select amperage
[03:16:01] <jdh> it doesn't use the arduino dev stuff. just a comp
[03:16:02] <ReadError> or predetermined clicks ?
[03:16:35] <ReadError> im too accident prone for anything like a plasma cutter ;/
[03:16:44] <ReadError> ive sustained 2 hand injuries in the past 2 weeks
[03:16:52] <ReadError> i put my finger into a belt sander
[03:16:55] <ReadError> and drilled into my hand
[03:18:59] <tjb1> Its a pot ReadError
[03:20:24] <jdh> your led stuff looks backwards to me.
[03:20:49] <tjb1> It is :/
[03:20:54] <tjb1> Thats why it wouldnt work haha
[03:21:33] <tjb1> All I have to do is get those 2 outputs into my c10 bob and into linuxcnc
[03:22:01] <ReadError> tjb1, cant you use a servo to modulate the pot ?
[03:22:09] <jdh> now change the order of the last case to satisfy my coding OCD.
[03:22:33] <tjb1> ReadError: changing the amperage isnt used to change the voltage on plasma
[03:22:59] <tjb1> jdh: How can I get my outputs into this board?
[03:23:16] <jdh> I'd put optos between them.
[03:23:19] <tjb1> Set the inputs as pulled up and pull up the outputs on the arduino and set them as low?
[03:23:32] <tjb1> Set them as low to activate them
[03:23:39] <jdh> either way works fine.
[03:23:46] <tjb1> then share the ground between arduino and the bob?
[03:23:55] <jdh> I'd use optos :)
[03:23:59] <tjb1> why
[03:24:05] <jdh> to isolate them
[03:24:32] <tjb1> that BOB isolated them from computer
[03:24:49] <jdh> how much is the BOB?
[03:25:16] <tjb1> $28
[03:25:27] <jdh> guess it doesn't matter then:)
[03:25:51] <ReadError> which BOB ?
[03:25:55] <jdh> pull-ups on the arduino, drive them low-active
[03:26:11] <tjb1> then pullups on the BOB inputs?
[03:26:19] <jdh> yeah
[03:26:35] <jdh> broken wire will make them both on.
[03:27:34] <tjb1> I can pull the inputs low
[03:27:39] <tjb1> and drive them high ;)
[03:28:01] <jdh> seems likely to be 'safer' that way
[03:28:11] <tjb1> The shared ground would allow that to work right
[03:28:25] <jdh> you have to share it either way
[03:29:33] <jdh> seem like the arduino hal component would make this a simple servo axis
[03:32:29] <jdh> I assume the hardcoded numbers will be replaced with values read from the vfd output?
[03:34:05] <tjb1> yes
[03:34:13] <tjb1> no resistors needed on arduino side if I pull inputs low
[03:34:19] <tjb1> or do I need to pull the outputs low also?
[03:35:19] <jdh> pull the bob low
[03:35:43] <tjb1> Thats it
[03:36:33] <jdh> 5v arduino?
[03:36:38] <tjb1> yes
[03:40:39] <tjb1> jdh: Any comments on this? http://pastebin.com/fp8F6jdA
[03:42:13] <jdh> heh, nope.
[03:44:36] <tjb1> if Im pulling high
[03:44:56] <tjb1> The pin would not need -not at the end correct
[03:44:58] <tjb1> in hal
[03:45:04] <jdh> yep.
[03:45:14] <jdh> he has a mesa reference in there also
[03:45:30] <tjb1> where?
[03:45:47] <jdh> net thc-pos-cmd thcud.z-pos-out => hm2_[HOSTMOT2](BOARD).0.stepgen.02.position-cmd
[03:46:14] <tjb1> erm...
[03:46:31] <tjb1> what do I need to replace that with?
[03:46:45] <jdh> whatever your stepgen.02 is using
[03:47:44] <tjb1> my hal file says "net zpos-cmd axis.2.motor-pos-cmd => stepgen.2.position-cmd
[03:51:08] <jdh> I would guess the right side of yours if adequate
[03:52:13] <tjb1> So I need "net thc-pos-cmd thcud.z-pos-out => stepgen.2.position-cmd
[03:52:31] -!- ve7it [[email protected]] has joined #linuxcnc
[03:52:50] <jdh> that woudl be my guess (for that line)
[03:53:14] <tjb1> What is emcmot?
[03:53:15] <tjb1> net emcmot.02.pos-cmd thc.z-pos-in <= axis.2.motor-pos-cmd
[03:53:54] <jdh> motion controller
[03:54:28] <tjb1> So that can stay the same then
[03:54:36] <jdh> yeah
[03:56:29] <tjb1> anything else you see needs changed?
[03:58:58] <jdh> nope, but I am not that knowledgable.
[04:01:15] <tjb1> Do I need to add line 24 and 25 to my hal file?
[04:01:45] <jdh> those are your inputs from teh arduino
[04:01:59] <tjb1> I know, do those need to be in the HAL file?
[04:02:09] <jdh> no, that is 30,31
[04:02:33] <tjb1> So 30 and 31 dont need to be in the HAL file either?
[04:03:03] <jdh> 30,31 do
[04:03:42] <tjb1> can those stay in the comp file?
[04:03:45] <jdh> 24,25 are just text descriptions
[04:03:59] <jdh> they can stay there also.
[04:04:13] <jdh> everything in side the triple quotes is just text.
[04:05:14] <jdh> the HAL lines in 30-37 have to go in your HAL
[04:06:49] <tjb1> the two files I need at the end…what extension?
[04:07:35] <jdh> none
[04:07:47] <tjb1> just save as M101 and M102
[04:07:48] <jdh> might need to chmod +x them though?
[04:08:08] <tjb1> I dont even know what that means
[04:08:19] <jdh> tells the OS they are executable files
[04:08:43] <jdh> dunno how linuxcnc calls them though. Might not be needed (but probably is)
[04:09:36] <tjb1> I remember you have to open properties and make them executable
[04:09:54] <jdh> or just type "chmod +x M101"
[04:12:15] <tjb1> I need to restart my laptop…brb
[04:12:41] <jdh> I need to go read an old-fashioned paper book. Good luck.
[04:13:01] <tjb1> 1 sec!
[04:14:12] -!- tjb1 has quit [Read error: Connection reset by peer]
[04:14:35] -!- tjb1 [[email protected]] has joined #linuxcnc
[04:14:42] <tjb1> computer about died...
[04:15:22] -!- Loetmichel has quit []
[04:17:46] <tjb1> Im trying to paste the new ones but I have to make an account...
[04:20:33] <tjb1> jdh: http://pastebin.com/b5AvNqNX
[04:20:49] <tjb1> http://pastebin.com/zbDWks6K
[04:20:52] <tjb1> do those look ok? :D
[04:24:51] -!- Loetmichel [[email protected]] has joined #linuxcnc
[04:38:58] <tjb1> Im trying to install a comp file and its telling me "sudo: comp: command not found" after running "sudo comp --install thcud.comp"
[04:40:52] <ReadError> i dont have comp installed on my linuxcnc box
[04:41:46] <tjb1> so I need to install that?
[04:43:15] -!- kmiyashiro has quit [Quit: kmiyashiro]
[04:44:37] <tjb1> found it
[05:02:10] -!- FinboySlick has quit [Ping timeout: 252 seconds]
[05:04:00] -!- r00t4rd3d [r00t4rd3d!~r00t4rd3d@unaffiliated/r00t4rd3d] has joined #linuxcnc
[05:04:07] -!- tjb1 has quit [Read error: Connection reset by peer]
[05:04:29] -!- tjb1 [[email protected]] has joined #linuxcnc
[05:15:42] <tjb1> r00t4rd3d: Help me :(
[05:22:01] <r00t4rd3d> with what
[05:24:54] <tjb1> Well to install a comp file I had to install emc2-dev
[05:25:02] <tjb1> which I guess erased linuxcnc and put emc2 on
[05:27:13] <r00t4rd3d> build emc2-dev from source but dont make install
[05:27:40] -!- Keknom has quit [Quit: Leaving.]
[05:28:35] <tjb1> how do I install 2.5 back again?
[05:28:56] <tjb1> Is it safe to just install 2.5 again and build emc2-dev?
[05:28:58] <r00t4rd3d> update it
[05:29:38] <tjb1> link to do so?
[05:29:44] <r00t4rd3d> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.5
[05:30:08] -!- alpha1125 has quit [Read error: Operation timed out]
[05:30:44] <tjb1> Just follow 10.4 then build emc2-dev
[05:32:51] -!- automata [[email protected]] has joined #linuxcnc
[05:33:05] -!- alpha1125 [[email protected]] has joined #linuxcnc
[05:33:39] <tjb1> I guess I can just install linuxcnc-dev at the same time
[05:34:12] <r00t4rd3d> probably
[05:34:29] <r00t4rd3d> Ive never installed the dev stuff
[05:34:51] <tjb1> I did get the linuxcnc files working on the emc2 lol
[05:35:00] <tjb1> the comp file didnt work though but the table worked again...
[05:35:34] -!- ve7it has quit [Remote host closed the connection]
[05:37:27] <tjb1> thanks a bunch r00t4rd3d
[05:37:30] <tjb1> Back on 2.5 :)
[05:38:05] <r00t4rd3d> now update it to 2.5.1
[05:38:10] <tjb1> it did
[05:38:14] <tjb1> im having another problem
[05:39:02] <tjb1> want to try again? :D
[05:39:21] <tjb1> value 'parport.1.pin-12-in' invalid for bit
[05:39:24] <tjb1> setp failed
[05:40:05] <r00t4rd3d> that is beyond me
[05:40:44] <tjb1> I think it was because it was missing "net" before it
[05:40:50] <r00t4rd3d> hal and mesa and all that junk
[05:41:15] <tjb1> Signal name must not be the same as a pin. did you omit the signal name?
[05:42:15] <r00t4rd3d> i just built my first Android kernel :D
[05:42:45] <tjb1> nice
[05:43:55] <tjb1> oh my…i figured it out
[05:44:01] <tjb1> Been one hell of a day haha
[05:45:13] <r00t4rd3d> what are you trying to do now?
[05:45:33] <tjb1> if i add these mcodes
[05:45:37] <tjb1> the THC should work now :D
[05:46:08] <r00t4rd3d> try better pot
[05:46:58] <tjb1> nothin :(
[05:48:26] <tjb1> Does the hal configuration menu update live?
[05:49:18] <r00t4rd3d> samsung/google piss me off allowing every service provider to fragment the Android OS.
[05:49:38] <tjb1> iOS ftw
[05:50:11] <Jymmm> That just lets one entity phuk it up instead tjb1
[05:51:33] <tjb1> Jymmm: !
[05:51:35] <r00t4rd3d> ios is like ubuntu
[05:51:44] <tjb1> I need a way to track down what isnt working...
[05:51:46] <r00t4rd3d> riding on the back of something else
[05:52:35] <Jymmm> tjb1: That's not necessarily a good thing.
[05:52:40] <roh> i find it kinda funny to see samsung cut pieces out of apples pockets
[05:52:51] <tom3p> tjb1 can you load the comp using halcmd -f yourhalfile.hal? and see if your pins all exist with 'show pin'
[05:52:56] <Jymmm> roh: ?
[05:53:17] <r00t4rd3d> i find it funny that apple devices are filled with samsung chips
[05:53:27] <tom3p> tehn, can you put print style debugs in the mcode files and see them in the terminal that ran linuxcnc?
[05:54:23] <roh> Jymmm: who do you think makes the cpus and displays for apple?
[05:55:13] <Jymmm> roh: I know that, but what did you mean? Did you expect apple to drop samsungs chips overnight?
[05:55:45] <roh> Jymmm: nope. but that suing and countersuing game isnt running since yesterday. rather years
[05:55:52] <tjb1> Oh my! THC IS WORKING
[05:55:58] <tjb1> I forgot a piece in HAL
[05:55:59] <roh> congrats
[05:56:04] <tom3p> cool!
[05:56:07] -!- mk0 [[email protected]] has joined #linuxcnc
[05:56:26] <Jymmm> roh: Well apple made a bold choice in suing samsung. It might have been to break out of contract
[05:57:04] <roh> Jymmm: not an option. you'll see.. that time samsung has the longer lever. they just raised prices for apple massively
[05:57:13] <roh> but thats all ot ;)
[05:58:16] <Jymmm> roh: Again, you dont think that apple wouldn't know that smasung wouldn't retaliate? Of course they would. But like I said, I suspect it's to break out of some long term contract
[05:59:10] <tjb1> apple is already moving to new supplies
[05:59:13] <tjb1> suppliers...
[05:59:21] <tom3p> does it track the correct height? it should work even over a warped uneven surface. it may not work as well at high speeds over varying work surface, but thats further development.
[05:59:31] <Jymmm> They did that FAR before the lawsuit
[05:59:40] <tjb1> im just doing flat right now…im gonna put a high angle and try it soon :D
[06:00:56] <tom3p> well you could just toss a few thick washers coins on the surface and see it ride up & down over them
[06:01:15] <tjb1> its not that fast
[06:01:25] <tjb1> I dont think it could do that
[06:02:02] <tjb1> if I set the correction too high it will over shoot
[06:02:11] <tjb1> I may need to adjust the tolerance on the voltage
[06:02:22] <tjb1> at .0005 a run its still up down up down up down
[06:03:14] -!- Fox_Muldr has quit [Ping timeout: 260 seconds]
[06:03:57] <tom3p> tracking voltage is proportionate to distance. up&down how much ( sounds like servo hunting , this is a new servo loop youve created :)
[06:04:20] <tjb1> I have no way to adjust the amount to go based on voltage
[06:04:24] <tjb1> I could set that up
[06:04:45] <tjb1> A lot of work…but I will see if I can take care of it with voltage tolerance and distance per thread run
[06:05:10] -!- Fox_Muldr [[email protected]] has joined #linuxcnc
[06:07:24] <tjb1> just cut up a 6* incline :D
[06:07:38] <tjb1> It was hunting along the way which is good…I know where to set it now
[06:07:58] <Jymmm> San Francsico Sheriff's Deputy arrested for bank robery
[06:08:07] <tjb1> I guess I could make the arduino output another signal to change the correction amount based on offset from target voltage
[06:08:28] <tom3p> way way cool! ( a little hunt is good, its kinda more sensitive , but avoid anything like +/-.010"
[06:08:44] <tjb1> I have correction set at .00015
[06:09:17] <tjb1> voltage tolerance is +- 1 volt
[06:09:29] <tjb1> Im not sure how critical that is
[06:10:01] <tom3p> i'll go back and read your alg, dunno what 'correction' involves ( my unit was .0001" and my voltage was in .1v increments )
[06:10:13] <tom3p> your system will tell you whats important :)
[06:10:23] <tjb1> every time the comp runs and the input is high it moves .00015
[06:10:30] <tjb1> so its not moving much
[06:10:44] <tom3p> ok, how big is the up down up down?
[06:11:00] <tom3p> ( really sounds great so far )
[06:11:42] <tjb1> well the screw looks to be moving a lot but its not
[06:11:47] <tjb1> ill do a video here and upload it
[06:11:57] <tjb1> Ill probably lose internet for the next 20 minutes or less
[06:12:15] <tom3p> i'll be lookin, again, great work!
[06:14:52] <tom3p> oh, do you have any deadband? could help get rid of any hunt ( the voltage range between HI and Lo states )
[06:15:22] <tjb1> deadband?
[06:16:07] <tom3p> is there a voltage that is not HI and is not LO? between those 2 would be no motion, a deadband,
[06:16:46] <tjb1> yes
[06:16:53] <tjb1> now at 3 volts
[06:17:26] <tom3p> larger dead band is quieter motion ( less nervous ) but not as sensitive
[06:20:06] <tjb1> publishing video now
[06:20:53] <tjb1> I am gonna have to work a lot on this...
[06:21:08] <tjb1> Thats only 30ipm and the cut speed for that material is 140
[06:21:23] <tjb1> If I move that to the base thread will it run faster?
[06:21:29] <tjb1> Well base thread is running faster to begin with
[06:21:52] <tom3p> no fp in the comp?
[06:22:00] <tjb1> fp?
[06:22:27] <tjb1> I changed it to base thread and the error was thcud needs FP
[06:22:29] <tjb1> :)
[06:22:35] <tom3p> floating point math cant be in the classis linuxcnc 'base' thread
[06:22:42] <tjb1> oh...
[06:22:47] <tjb1> I shall speed up servo thread then
[06:23:14] <tom3p> hey whats the url for the video?
[06:23:21] <roh> hm.. what i didnt understand so far... why the arduino etc for thc? arent there analog inputs on whatever you use as interface?
[06:23:44] <tjb1> no
[06:23:59] <roh> and if not.. why not use something readymade
[06:24:01] <tjb1> I dont have a card with analog inputs
[06:24:08] <tjb1> nothing plug and play for linuxcnc
[06:24:11] <roh> like http://axis.unpy.net/01198594294
[06:24:14] -!- mozmck has quit [Ping timeout: 244 seconds]
[06:24:23] <tjb1> plus readymade = expensive
[06:24:33] <tom3p> ( hehe i had to model mine up using the analog pots of a joystick )
[06:24:44] <roh> thats what i did when i needed analog inputs for our machine while playing with plastic printing heads
[06:24:45] <tjb1> http://www.youtube.com/watch?v=vZWv4OYLs1Q
[06:24:49] <tom3p> thx
[06:24:55] <tjb1> Phone cant see the arc so I just filmed the screw
[06:25:58] <tom3p> excellent! i always watch the Z motor coupling to judge this kind of servo!
[06:26:21] -!- mozmck [mozmck!~moses@client-204.235.45.161.wcfltx.partnershipbroadband.com] has joined #linuxcnc
[06:26:27] <t12> was that hunting in both directions
[06:26:28] <tjb1> How did it look?
[06:26:32] <t12> or incrementing in one?
[06:26:34] <tjb1> Once it got to voltage it did pretty good
[06:26:56] <tjb1> t12: It was catching up then just going up every so often
[06:27:08] <tom3p> i cant see that fine in the vid, but it wasnt crazy, and thats real good for a first day
[06:27:12] <t12> could that be natural drift?
[06:27:18] <t12> like metal heating up resistance etc
[06:27:26] <tjb1> That part is on a 6* incline
[06:27:31] <t12> ahhh
[06:27:53] <tjb1> im afraid to try at 140ipm...
[06:27:53] <tjb1> I see bad things happening
[06:28:29] <tjb1> If I made the servo thread faster, will that increase the feed rate at which the z move due to the comp file running faster?
[06:31:40] <t12> i should try and linuxcnc this beast: http://www.dodeca-t.com/photos/shop/_E088457.jpg
[06:31:48] <tom3p> i made the vid full screen, i can see theres some not-even-ness. not bad tho on a rise. keep the part flat and test there for the coupler to be stabile
[06:32:33] <tom3p> when the input should be stabile , and the coupler is stabile, move onto uneven surfaces
[06:35:04] <tom3p> if you make the thread faster, the speed will not be faster, the response will be faster. a high speed would require a long time of same signed HIs or LOs
[06:35:06] <tom3p> it doesnt depend on thread speed as much as consequtive signed decisions from the arduino
[06:36:07] <tom3p> making the thread faster will make it jiggle more, but finer ( like it would approach buzzy )
[06:36:39] <tom3p> making the thread slow could make it 'dopey' or sluggish
[06:38:24] <tjb1> Just made servo thread 150k
[06:38:27] <tjb1> oh boy :D
[06:38:37] <tom3p> great video, i swear i can smell the ozone
[06:38:40] <tjb1> I turned the correction offset down
[06:38:47] <tjb1> and it kept up at 140ipm
[06:38:48] <tjb1> :D
[06:39:27] <tjb1> I have about $60 total in my THC
[06:39:53] <tjb1> arduinos are $12, BOB is $28, db25 cable was $10 then the wire
[06:40:55] -!- kwallace [[email protected]] has parted #linuxcnc
[06:42:37] <tom3p> what was the servo period? the 1000000 from some of the examples?
[06:42:54] <tom3p> >was< before you sped it up
[06:44:34] -!- jpk has quit [Ping timeout: 268 seconds]
[06:50:12] -!- grummund [grummund!~user@unaffiliated/grummund] has joined #linuxcnc
[06:55:47] <tjb1> Yes 1 million
[07:00:04] <tjb1> Well I am off to bed, good night everyone
[07:00:15] -!- tjb1 has quit [Quit: tjb1]
[07:04:54] -!- tom3p [[email protected]] has parted #linuxcnc
[07:18:39] -!- mhaberler [[email protected]] has joined #linuxcnc
[07:40:55] -!- sumpfralle [[email protected]] has joined #linuxcnc
[07:42:02] -!- tronwizard has quit []
[07:47:06] -!- gambakufu [[email protected]] has joined #linuxcnc
[08:02:47] -!- Newtonianb has quit [Ping timeout: 276 seconds]
[08:05:07] -!- DJ9DJ [DJ9DJ!~Deejay@unaffiliated/dj9dj] has joined #linuxcnc
[08:05:23] -!- cevad [[email protected]] has joined #linuxcnc
[08:05:47] <DJ9DJ> moin
[08:08:24] -!- davec_ has quit [Ping timeout: 256 seconds]
[08:53:20] -!- asdfasd [[email protected]] has joined #linuxcnc
[09:27:10] -!- WalterN [[email protected]] has joined #linuxcnc
[09:27:38] -!- mk0 has quit [Quit: Leaving]
[09:36:31] -!- adb [[email protected]] has joined #linuxcnc
[09:55:16] -!- theos has quit [Disconnected by services]
[09:55:34] -!- theos [theos!~theos@unaffiliated/theos] has joined #linuxcnc
[09:58:39] -!- racycle has quit [Quit: racycle]
[10:09:17] <Loetmichel> *SHIT* ... mouth full of coffee... urge to sneeze... *cleaning keyboard, desk and TFTs* :-(
[10:13:29] <archivist> failure to aim at the floor haha
[10:14:00] -!- bedah [[email protected]] has joined #linuxcnc
[10:15:28] <Loetmichel> archivist: its morning over here... not really fast reflexes before the first coffee :-)
[10:15:59] <archivist> mid morning for you
[10:16:26] <Loetmichel> ok, 11:16
[10:16:35] <Loetmichel> bu i just got up
[10:16:38] <Loetmichel> +t
[10:28:46] -!- rob_h [[email protected]] has joined #linuxcnc
[10:46:27] -!- toastydeath has quit [Read error: Connection reset by peer]
[10:46:36] -!- Valen1 [[email protected]] has joined #linuxcnc
[10:46:54] -!- toastydeath [[email protected]] has joined #linuxcnc
[10:48:14] -!- mhaberler has quit [Read error: Connection reset by peer]
[10:59:28] -!- WalterN has quit [Read error: Connection reset by peer]
[11:04:18] -!- mhaberler [[email protected]] has joined #linuxcnc
[11:05:01] -!- b_b has quit [Changing host]
[11:29:48] -!- cncbasher [cncbasher!~quassel@cpc15-hart9-2-0-cust101.11-3.cable.virginmedia.com] has joined #linuxcnc
[11:29:54] -!- archivist has quit [Ping timeout: 240 seconds]
[11:30:00] <mazafaka> http://24.media.tumblr.com/tumblr_mc28laGRU11qm7t0mo1_500.jpg Loetmichel do you like how it looks&
[11:30:19] -!- the_wench has quit [Ping timeout: 246 seconds]
[11:30:45] <Valen1> lol it has a definate style
[11:30:51] <Valen1> no grill though?
[11:32:28] -!- horatio_cromwell has quit [Quit: Leaving.]
[11:37:50] -!- mhaberler has quit [Ping timeout: 255 seconds]
[11:38:19] -!- automata has quit [Ping timeout: 260 seconds]
[11:38:53] <mazafaka> It's a car, not grill
[11:39:43] <Valen1> the car lacks a grill
[11:40:15] <mazafaka> i know, i know!!!
[11:40:19] <mazafaka> :)
[11:40:27] Valen1 is now known as Valen
[11:40:44] <mazafaka> Who needs a grill nowadays...
[11:40:54] <Valen> steel my nick will you, take that!
[11:41:24] <Valen> http://www.vapourforge.com/jake/general/hotness_touched.jpg is mine ;->
[11:41:40] <Valen> spent the past week doing stuff on the bastard lol
[11:41:51] <Valen> new brake rotors and unsiezing the calipers
[11:41:53] <Valen> new pads
[11:41:57] <Valen> new altinator
[11:42:14] <Valen> (which of course crapped itself on the way home with the missus and sister in law in the car)
[11:42:29] <Valen> at least i had a new alternator in the back seat lol
[11:42:44] -!- archivist [[email protected]] has joined #linuxcnc
[11:44:15] <Valen> archivist: (or anybody) whats a not crap serial terminal for linux
[11:44:18] -!- the_wench [[email protected]] has joined #linuxcnc
[11:44:25] <Valen> i'd be happy with a hyperterm equivilent
[11:44:32] <mazafaka> Right steering wheel? You're in Great Britain? You can particippate in the English Rally - the hillclimb
[11:44:42] <Valen> australia
[11:44:54] <Valen> UK couldn't handle a car like that ;->
[11:45:04] <mazafaka> Why?
[11:45:04] <Valen> 4L straight 6
[11:45:13] <mazafaka> Oh///
[11:45:17] <archivist> last terminal I used was to unix and it ran on a pc and was written in assembler, I have teh code
[11:45:23] <Valen> lol
[11:46:19] <archivist> iirc it emulated a wyse terminal mainly
[11:47:24] <archivist> and after some brain work I should remember the terminal PCB and code I did for Unimation robots
[11:51:21] <archivist> main problems with terminals are getting the handshake and both system and terminal to speak the same language( escape codes)
[11:53:43] -!- sumpfralle has quit [Ping timeout: 260 seconds]
[11:56:35] <Valen> i was at a lower level than that
[11:56:47] <Valen> pointing stuff at serial ports was the issue
[11:56:59] <Valen> minicom does the job, its just not paticularly user friendly
[11:58:11] <archivist> cannot see, the backup of the assembler terminal I have, on this box
[11:59:02] <archivist> modern windaz will require some hoops to jump through to use serial
[11:59:29] -!- andypugh [andypugh!~andy2@cpc2-basl1-0-0-cust639.basl.cable.virginmedia.com] has joined #linuxcnc
[11:59:44] <Valen> I have in the past got stuff done with one terminal with a "tail /dev/ttyfoo" and then "echo "bar" > /dev/ttyfoo"
[11:59:44] <Valen> ;->
[12:00:47] <Valen> I'm resetting the password on a cisco 887 adsl modem for my mother
[12:01:31] <Valen> now to go pick the missus and th sister in law up from a "night out with the girls"
[12:01:32] <archivist> er press the reset button if it has one
[12:23:25] -!- mhaberler [[email protected]] has joined #linuxcnc
[12:23:33] -!- Simooon [[email protected]] has joined #linuxcnc
[12:48:40] -!- b_b has quit [Changing host]
[12:54:11] -!- mhaberler has quit [Quit: mhaberler]
[13:04:54] -!- mhaberler [[email protected]] has joined #linuxcnc
[13:23:28] -!- oyildirim [[email protected]] has joined #linuxcnc
[13:29:50] -!- kinglet has quit []
[13:33:04] -!- ybon has quit [Read error: Connection reset by peer]
[13:40:00] -!- Simooon has quit [Remote host closed the connection]
[13:47:22] -!- mhaberler has quit [Read error: Connection reset by peer]
[14:01:00] -!- Valen has quit [Quit: Leaving.]
[14:10:39] -!- oyildirim has quit [Quit: Leaving]
[14:19:40] -!- factor has quit [Read error: Connection reset by peer]
[14:22:35] -!- mhaberler [[email protected]] has joined #linuxcnc
[14:37:03] -!- factor [factor!~factor@r74-195-217-110.msk1cmtc02.mskgok.ok.dh.suddenlink.net] has joined #linuxcnc
[14:42:40] -!- mhaberler has quit [Read error: Connection reset by peer]
[14:44:34] -!- mhaberler [[email protected]] has joined #linuxcnc
[14:52:23] -!- pfred1 [pfred1!~pfred1@unaffiliated/pfred1] has joined #linuxcnc
[14:53:54] -!- skunkworks has quit [Ping timeout: 240 seconds]
[14:58:22] -!- mhaberler has quit [Read error: Connection reset by peer]
[15:45:15] -!- ktchk [[email protected]] has joined #linuxcnc
[15:46:49] -!- ktchk [[email protected]] has parted #linuxcnc
[15:52:24] -!- Tom_L [Tom_L!~Tl@unaffiliated/toml/x-013812] has joined #linuxcnc
[15:53:10] -!- Tom_L has quit [Client Quit]
[16:05:09] -!- andypugh_ [andypugh_!~andy2@cpc2-basl1-0-0-cust639.basl.cable.virginmedia.com] has joined #linuxcnc
[16:07:54] -!- andypugh has quit [Ping timeout: 264 seconds]
[16:07:54] andypugh_ is now known as andypugh
[16:09:31] -!- hm2-buildmaster has quit [Remote host closed the connection]
[16:09:32] -!- linuxcnc-build has quit [Remote host closed the connection]
[16:24:51] -!- tronwizard [[email protected]] has joined #linuxcnc
[16:24:55] -!- Gabriel__ [[email protected]] has joined #linuxcnc
[16:30:42] -!- joe9 [[email protected]] has joined #linuxcnc
[16:31:23] -!- bartek has quit [Ping timeout: 260 seconds]
[16:32:02] -!- pfred1 has quit [Quit: Lost terminal]
[16:44:11] -!- motioncontrol [motioncontrol!~io@host130-76-dynamic.16-87-r.retail.telecomitalia.it] has joined #linuxcnc
[16:45:49] <JT-Shop> andypugh: when you spun that metal did you have to put a lot of pressure on the metal to make it flow?
[16:46:33] <JT-Shop> I'm playing with some 0.012" (0.3mm) aluminum sheet
[16:52:36] <cncbasher> JT:0.3mm ali probably will need some pressure , are you trying by hand or using the crosslide
[16:53:04] <JT-Shop> by hand with a 3' long tool against the tool holder
[16:53:37] <cncbasher> I use a tool with a 608 bearing on the end in my tool post
[16:54:19] <cncbasher> similar to a knurling tool , i.e the kurls replaced with bearing
[16:54:24] <JT-Shop> I'll fab one up... just a U slot with the bearing inbetween?
[16:54:29] <JT-Shop> ah ok
[16:54:30] <cncbasher> yep
[16:55:10] <cncbasher> i regulary spin 400 grade stainless without probs 0.5mm thick
[16:55:25] * JT-Shop goes to look in the bearing hiding spot
[16:57:00] <Tom_itx> JT-Shop, figure what it takes just to bend said piece of metal
[16:57:10] <Tom_itx> then add what it takes to form it
[17:05:23] -!- bartek has quit [Read error: Connection reset by peer]
[17:19:16] <andypugh> It takes a fair bit of force.
[17:19:40] <andypugh> Forget the fact that it is spinning, what force would you expect to need to bend it?
[17:20:04] <andypugh> Ah, I just said the same as Tom_itx
[17:21:54] -!- skunkworks [[email protected]] has joined #linuxcnc
[17:22:11] -!- phantoneD [[email protected]] has joined #linuxcnc
[17:23:00] <JT-Shop> bending the alli is pretty easy, it acts like it is just flexing and springing back
[17:25:21] -!- phantoxeD has quit [Read error: Operation timed out]
[17:26:10] <andypugh> Yes. You need to also stretch/squash it to get the shape.
[17:26:40] <andypugh> I think you use soap to test the temperature when annealing aluminium
[17:27:06] <andypugh> (and ali is very work-hardening-ey
[17:27:57] -!- ve7it [[email protected]] has joined #linuxcnc
[17:31:53] -!- factor has quit [Read error: Connection reset by peer]
[17:33:33] -!- factor [[email protected]] has joined #linuxcnc
[17:45:27] -!- racycle has quit [Quit: racycle]
[17:45:29] -!- bartek has quit [Read error: Connection reset by peer]
[17:47:21] -!- b_b has quit [Changing host]
[17:51:22] <Tom_itx> i wonder after the final pass if you anneal it again or leave it hardened
[17:52:03] -!- kwallace [[email protected]] has joined #linuxcnc
[17:56:22] <andypugh> A friend just found this in his bilges. Anyone any idea what it is? http://zbmc.eu/DSCF5223.JPG
[17:56:51] -!- toastyde1th [[email protected]] has joined #linuxcnc
[17:58:19] -!- toastydeath has quit [Ping timeout: 256 seconds]
[17:59:04] <Tom_itx> what sort of mat is that? you seem to like soldering on it
[17:59:08] <archivist> bit of shafting with something missing from the end
[17:59:31] <archivist> the end was riveted
[18:05:33] <cncbasher> could be an old handle off a bilge pump
[18:06:04] <archivist> search boat for bodged item
[18:06:59] <cncbasher> get off the boat it's sinking , because theirs no handle on the bilge pump
[18:07:29] -!- sumpfralle [[email protected]] has joined #linuxcnc
[18:08:07] <archivist> fetch bukket get back on boat start bailing out
[18:08:58] -!- Gabriel__ has quit [Quit: Ex-Chat]
[18:09:13] <archivist> which reminds me of http://www.walrusbucketsaga.com/
[18:16:18] <pcw_home> yeah, shaft of double acting piston bilge pump pulled out whilst pumping too vigorously
[18:17:29] <s1dev> piston bilge pump pulled out whilst pumping too vigorously.....
[18:17:52] <s1dev> That doesn't sound sexual at all..... :P
[18:18:38] <Jymmm> More BDSM
[18:23:13] -!- IchGuckLive [[email protected]] has joined #linuxcnc
[18:23:36] <IchGuckLive> hi all
[18:23:41] <IchGuckLive> F1 in USA
[18:23:53] <IchGuckLive> Austin Texas the center of Granprix
[18:24:02] <awallin> seen mhaberler ?
[18:24:18] <awallin> hmh, is there a bot that should reply to that?
[18:24:42] <IchGuckLive> he may read the logs
[18:24:46] <awallin> I saw bats under a bridge in Austin... :)
[18:26:40] <IchGuckLive> im off to TV By
[18:26:45] -!- IchGuckLive has quit [Client Quit]
[18:29:25] <archivist> awallin, only if you add a !
[18:29:32] <archivist> !seen mhaberler
[18:29:33] <the_wench> last seen in 2012-11-17 14:57:56GMT 03:31:10 ago, saying Read error: Connection reset by peer
[18:29:47] <awallin> oh, ok
[18:31:38] <awallin> actually I was looking for the dxf2gcode main dev, but maybe mhaberler would know if he is on irc..
[18:33:29] <Jymmm> awallin: Uh, google?
[18:33:59] <Jymmm> awallin: First hit actually... http://code.google.com/p/dxf2gcode/
[18:34:05] <awallin> I did send an email to the dev-list, just thinking it would be faster to have a chat..
[18:34:16] <Jymmm> awallin: or google it
[18:38:44] -!- psha [[email protected]] has joined #linuxcnc
[18:41:51] -!- ve7it has quit [Remote host closed the connection]
[18:46:02] -!- tjb1 [[email protected]] has joined #linuxcnc
[18:46:23] <tjb1> My THC has stopped working...
[18:46:55] <tjb1> Arduino is driving outputs high so im not sure where its broken…either the signals aren't getting in from the BOB or the comp file isnt being enabled
[18:48:16] <tjb1> Any ideas on where to look first?
[18:51:12] <pcw_home> serial link still running?
[18:51:43] <tjb1> How can I check that?
[18:52:49] <pcw_home> How did you check the serial data before?
[18:53:12] <pcw_home> Did it just stop working or did you change something?
[18:53:15] <tjb1> Hal pins come in…I checked that other parport worked by switching gecko to it
[18:53:28] <tjb1> I was changing the correction vel and now its just not doing anything now
[18:53:56] <tjb1> The arduino messed up and I changed it and now its working again, I have LEDs on the outputs and you can see them go high
[18:54:15] <tjb1> I dont know if the comp file isnt starting or what
[18:56:05] <pcw_home> linuxCNC would likely bail if the comp file wont start (if for no other reason than missing hal pins)
[18:56:24] <tjb1> if there a way to watch in real time if the pins are activating inside linuxcnc?
[18:56:41] <pcw_home> Yes
[18:57:16] <tjb1> Under Hal Configurator, the signals torch up and torch down are both true
[18:57:33] <pcw_home> either halmeter, halscope or the machine / show hal configuration menu in Axis
[18:58:26] <pcw_home> but they are correct outputs from the Arduino?
[18:58:27] <tjb1> *configuration
[18:58:27] <tjb1> but I dont know if that means anything
[18:58:53] <tjb1> yes
[18:59:09] <pcw_home> how do they get to the PC?
[19:00:37] <pcw_home> Serial?
[19:02:43] <tjb1> hal meter says they are false
[19:02:43] <tjb1> so I pick the pin/signal and select it to watch it then?
[19:02:50] <tjb1> yes
[19:03:28] -!- toastyde1th has quit [Read error: Connection reset by peer]
[19:03:41] <tjb1> I watched both signals in the hal scope and the line stayed flat
[19:03:52] -!- toastyde1th [[email protected]] has joined #linuxcnc
[19:06:47] <pcw_home> Sounds like communications are not working
[19:07:14] -!- yuvipanda has quit [Ping timeout: 240 seconds]
[19:08:03] <tjb1> the leds were taking too much current from the arduino...damnit
[19:08:03] <tjb1> I hate electronics with a passion
[19:08:03] <tjb1> I took the voltage divider off because that was messing up…is it normal for the resistor value to drop when its all hooked up?
[19:08:04] <tjb1> It went from like 5k to 2k
[19:09:38] -!- sumpfralle has quit [Ping timeout: 255 seconds]
[19:11:38] <pcw_home> Yes it will change because whatever you have connected to it has a resistance as well and the all sum together (well the 1/Rs sum)
[19:11:49] <pcw_home> they all
[19:12:35] <tjb1> So I would need to add enough to get the 2k/5k divider with it all hooked up?
[19:13:06] <tjb1> I just think im not going to divide it…ive never gotten above 4volts when I was trying to get a max out of the plasma cutter
[19:14:01] <pcw_home> your tap from the plasma may well be a resistive divider as well so you put a 7K load on its output, probably dropping it
[19:14:59] <tjb1> Well im not smart enough to find out how to fix that :P
[19:15:22] <pcw_home> The plasma power supply may specify the output impedance/minimum load resistance
[19:16:54] <pcw_home> You can also figure it out by measuring the plasma voltage (voltmeter) with and without your divider connected
[19:19:22] -!- motioncontrol has quit [Quit: Sto andando via]
[19:19:45] <pcw_home> (this only matters if you need actual correct voltage readings, for THC the actual setpoints are probably going to be determined empirically anyway)
[19:21:10] <tjb1> im just not going to divide it
[19:21:15] <tjb1> it created a bunch of problems...
[19:21:21] <tjb1> if the arduino breaks oh well, out $8
[19:28:48] <tjb1> Im going to try the arc spiral code at 350ipm
[19:45:41] <awallin> hrmh, I'm getting "Xlib: extension "NV-GLX" missing on display ":0"." for many OpenGL programs now... any ideas?
[19:46:16] <t12> wrong video driver in x?
[19:47:46] <awallin> maybe, I'm using whatever is installed by default. How do I find out which one is in use?
[19:48:32] <t12> depends on distro, /etc/X11/xorg.conf device section
[19:48:57] <t12> what videocard?
[19:50:11] <awallin> it's some old nvidia card I think..
[19:50:37] <t12> lspci | grep -i nvidia
[19:51:07] <awallin> yeah, GeForce 9800GT
[19:51:34] <t12> i usually just reinstall the nvidia drivers from their package, i dont konw if thats right in the linuxcnc context
[19:51:57] <awallin> this is my desktop machine on ubuntu 12.10, not linuxcnc specific
[19:53:09] <awallin> etc/X11 doesn't seem to have xorg.conf...
[19:54:01] <t12> some modern distros did away with it
[19:54:08] <t12> and kinda automate the driver selection some other annoying way
[19:54:20] <t12> i'd except the nvidia installer to sort it out
[19:54:39] <awallin> what package is that nvidia installer?
[19:54:49] <t12> the binary one that nvidia distributes
[19:55:07] <t12> ubuntu people might still be being opernsource zelots about it and refusing to distribute the package through apt-get
[19:55:56] <t12> you'll find that anytime the kernel is updated you'll need to redo this
[19:56:45] <psha> awallin: there is xorg.conf.d
[19:57:15] <psha> split into parts - one in /usr/share another in /etc
[19:59:27] -!- skunkworks has quit [Ping timeout: 268 seconds]
[20:01:55] -!- FinboySlick [[email protected]] has joined #linuxcnc
[20:02:48] -!- FinboySlick has quit [Client Quit]
[20:09:02] <awallin> well great, there's this "additional drivers" package which is really named "jockey" that should be able to install the nvidia drivers. but it fails with a long error messave in var/log/jockey.log grrr....
[20:09:49] -!- FinboySlick [[email protected]] has joined #linuxcnc
[20:13:13] -!- vladimirek [[email protected]] has joined #linuxcnc
[20:21:27] <kwallace> I thought "vesa" was the driver to use with LinuxCNC. Then the Linux open source drivers, and lastly, the proprietary drivers. I add xorg.conf to /etc/X11. It contains the driver call out and often the monitor timing data and sometimes the screen resolution. If this doesn't work, I just find a different computer.
[20:23:15] <pcw_home> (this is awallins desktop not specifically linuxcnc related)
[20:33:43] -!- vladimirek has quit [Remote host closed the connection]
[20:42:08] -!- Simooon [[email protected]] has joined #linuxcnc
[20:44:14] -!- oyildirim [[email protected]] has joined #linuxcnc
[20:51:58] <MattyMatt> aren't the blob drivers likely to have lower latency on GL than the open ones?
[20:57:20] <MattyMatt> I got my nvidia blob on a debian server libgl1-nvidia-glx + a whole heap of other stuff including kernel modules (becuase I'm getting ready for cuda/CL)
[20:58:24] <MattyMatt> would a debian kernel module work on ubuntu or is it a separte ecosystem?
[20:58:29] -!- chillly has quit [Quit: Leaving]
[21:00:01] <psha> MattyMatt: blobs with very high probability would have extra high peaks
[21:00:09] <psha> since nobody cares about it
[21:00:17] <roh> MattyMatt: no. blobs make sure nobody debugs stuff for you.
[21:00:38] <psha> open source drivers are in better shape since low quality patches are refused from kernel
[21:00:55] <psha> usually, not always :)
[21:01:06] <roh> use an older ati card with fully open drivers. that makes sure it works. i use oldish ati cards. passive cooled.
[21:01:48] <roh> even something like radeon9000 series works great (old agp junk)
[21:02:08] <roh> axis doesnt need that much gl to render a few lines
[21:02:58] <psha> also using libgl1-mesa-swx11 makes your system to use more tested 2d code paths instead of 3d
[21:03:39] <psha> since most of rendering is done in software and hardware just blits result to the monitor
[21:04:33] -!- psha has quit [Quit: Lost terminal]
[21:05:29] <MattyMatt> fair enough
[21:05:56] -!- c60 [[email protected]] has joined #linuxcnc
[21:06:11] <MattyMatt> my only linuxcnc machine has SiS onboard :)
[21:06:33] <MattyMatt> it works, but it works better with 3d view turned off
[21:10:33] <tjb1> http://linuxcnc.org/docs/html/examples/spindle.html
[21:10:43] <tjb1> Is there an error under 2s description
[21:10:55] <tjb1> Nvermind...
[21:10:56] -!- gmagno [[email protected]] has joined #linuxcnc
[21:10:57] -!- sliptonic [[email protected]] has parted #linuxcnc
[21:16:53] -!- toastydeath [[email protected]] has joined #linuxcnc
[21:19:18] -!- toastyde1th has quit [Ping timeout: 264 seconds]
[21:31:18] -!- kwallace1 [[email protected]] has joined #linuxcnc
[21:31:20] <tjb1> Should I be able to measure a voltage off of G540 VFD output to ground?
[21:31:56] <andypugh> Not necessarily.
[21:32:12] <andypugh> It is almost certainly an isolated voltage.
[21:32:53] <andypugh> (Some motor controllers float the control pot at high voltage, 200VDC for the KBIC I had)
[21:33:09] -!- kwallace has quit [Ping timeout: 252 seconds]
[21:33:38] <tjb1> I measured the 10v out and the vfd output against the vfd ground and got nothing
[21:36:56] -!- Yarl has quit [Ping timeout: 252 seconds]
[21:38:17] <tjb1> "ANALOG OUTPUT: This is a 0V to +10V opto-isolated analog output intended for use with VFD drives. VFD OUT goes
[21:38:17] <tjb1> to 0VDC while the G540 is disabled. Connect VFD GND, VFD OUT and VFD +10V to the VFD drive inputs. Make sure the
[21:38:18] <tjb1> VFD drive positive voltage does not exceed +12VDC. Do not short VFD OUT to any other terminal. Do not reverse
[21:38:19] <tjb1> polarity to VFD GND and VFD +10V or the G540 may be damaged."
[21:39:21] <andypugh> Have you connected the VFD +10V?
[21:39:28] <tjb1> I see I need to give it voltage between 7 a nd 9 to get voltage out of 8
[21:39:35] <roh> 6sounds nearly as spooky as our chinese lasercutter-psu
[21:39:36] <tjb1> I dont have a VFD
[21:40:03] <andypugh> Yes, it's a potentimeter-emulator, and give the VFD a proportion of its "own" voltage back.
[21:40:54] <tjb1> If I supply 12v, is the scale then based 0-12v?
[21:41:14] <roh> for the pot. so supply 10V ..
[21:41:29] <roh> or put 2-3 diodes in series to your pot.. then its near 10V
[21:41:46] <tjb1> That message above says a max of 12
[21:42:22] <roh> 12 is just occuring a lot, so they choose it as the max. i guess the 0-10V input maxes out at 10
[21:42:42] <roh> so yeah.. directly connect the pot. but work safe...
[21:42:58] <roh> i've also seen pots on 125V half-line voltage
[21:43:08] <andypugh> Probably this circuit internally http://linuxcnc.org/index.php/forum/30-cnc-machines/25580-grizzly-g1006-milling-machine-cnc-conversion?limit=6&lang=english#25670
[21:43:13] <tjb1> I dont have 10v haha
[21:43:13] <tjb1> Im probably going to rip out all these little wall warts and use a computer power supply soon
[21:52:38] -!- Valen [[email protected]] has joined #linuxcnc
[21:53:40] -!- ve7it [[email protected]] has joined #linuxcnc
[21:59:47] <DJ9DJ> gn8
[22:00:05] -!- cevad has quit [Quit: Leaving]
[22:00:15] -!- DJ9DJ has quit [Quit: bye]
[22:09:04] -!- oyildirim has quit [Read error: Connection reset by peer]
[22:09:23] -!- oyildirim [[email protected]] has joined #linuxcnc
[22:14:49] <andypugh> I struggled to get a PC power supply to run without a PC. (And I know about having a suitable load on the 5V, I ended up with power resistors on all outputs and it still wouldn't keep switched on)
[22:36:31] -!- mhaberler [[email protected]] has joined #linuxcnc
[22:39:54] -!- Thetawaves [[email protected]] has joined #linuxcnc
[22:42:14] -!- ve7it has quit [Remote host closed the connection]
[23:02:02] -!- tjb1 has quit [Quit: tjb1]
[23:02:17] -!- ZinovaS has quit [Read error: Operation timed out]
[23:03:40] <Tom_itx> older supply?
[23:06:04] -!- Loetmichel has quit [Read error: Connection reset by peer]
[23:06:04] -!- ZinovaS [[email protected]] has joined #linuxcnc
[23:06:14] -!- Loetmichel [[email protected]] has joined #linuxcnc
[23:08:31] <Valen> they don't like sudden loads on the 12V either
[23:08:57] <andypugh> No, I suspect the problem was that it was too new
[23:09:14] <andypugh> I never got as far as connecting motors etc
[23:11:34] <L84Supper> http://www.automationtechnologiesinc.com/products-page/ballscrew-supports/bk12-c7-free-end-ballscrew-support not 12mm I.D. as indicated, they are actually 10mm I.D.
[23:12:24] <jdh> did you jumper the green wire?
[23:12:39] -!- skunkworks [skunkworks!~chatzilla@str-broadband-ccmts-ws-26.dsl.airstreamcomm.net] has joined #linuxcnc
[23:32:11] -!- mhaberler has quit [Remote host closed the connection]
[23:32:17] -!- Valen has quit [Quit: Leaving.]
[23:32:36] <Tom_itx> L84Supper did you get a set of those?
[23:32:36] -!- mhaberler [[email protected]] has joined #linuxcnc
[23:33:10] <Tom_itx> you could look it up, it's a 6000z bearing
[23:34:11] -!- gmagno has quit [Ping timeout: 245 seconds]
[23:34:57] -!- mhaberler has quit [Remote host closed the connection]
[23:35:30] -!- mhaberler [[email protected]] has joined #linuxcnc
[23:39:41] -!- mhaberler has quit [Remote host closed the connection]
[23:40:11] -!- mhaberler [[email protected]] has joined #linuxcnc
[23:41:16] <Tom_itx> http://www.aliexpress.com/item/One-Set-of-Fixed-Side-BK12-and-Floated-Side-BF12-Ballscrew-Ends-Supports-CNC/564707519.html
[23:50:06] -!- phantoneD has quit []
[23:50:26] -!- phantoxeD [[email protected]] has joined #linuxcnc
[23:54:52] -!- jpk has quit [Quit: Leaving.]