#emc | Logs for 2010-12-24

[00:02:20] <JT-Shop> http://www.youtube.com/watch?v=SN90QKx_2Ns&feature=related
[00:04:06] <theorb> theorb is now known as theorbtwo
[00:05:10] <JT-Shop> have you seen my pry bars? I can't locate them...
[00:05:13] <andypugh> -25 is much easier than -28. -30 is really difficult. However, I am very impressed.
[00:06:09] <JT-Shop> yea, with a hand crank no less
[00:06:09] <andypugh> Though the problem we get at -28 is that the battery chemistry stops working, I guess that is not a problem with a hand-cranked engine.
[00:06:48] <JT-Shop> in Alaska all the cars had engine heaters and if you didn't plug in at night you didn't go anywhere the next day
[00:08:07] <andypugh> An option with out cars is a fuel-fired heater. You can set it to come on 10 minutes before you want to drive, and it has a little catylitic burner that heats the coolant. It also means that the heater works as soon as you get in.
[00:08:42] <JT-Shop> in southern Alaska it rarely got below -30F
[00:08:55] <JT-Shop> that is a warm option
[00:09:00] <andypugh> I was talking degree C
[00:09:04] <JT-Shop> yea
[00:09:13] <JT-Shop> I assumed that
[00:09:40] <andypugh> So -30F is way outside what we even try to manage
[00:10:49] <JT-Shop> here it is rare to see minus temperatures :)
[00:11:00] <andypugh> Here too.
[00:11:07] <andypugh> Or it used to be.
[00:11:08] <JT-Shop> not to hot not to cold
[00:12:08] <JT-Shop> did you see the chap with the 12 ton vmc asking about what to do to hold his Z up when the motion.enable was off?
[00:12:23] <JT-Shop> on the forum
[00:13:06] <andypugh> Yes, reading it now
[00:13:12] <andypugh> He needs a brake
[00:13:56] <andypugh> But a counterweight would be a good idea. I would be surprised if neither were fitted.
[00:14:23] <JT-Shop> that is what I kinda thought
[00:16:47] <JT-Shop> ok he was just confused as to what to do...
[00:23:08] <andypugh> It's all very baffling when you first start
[00:25:09] <andypugh> I rather think that this will be bid rather higher at the last minute: http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=250745712980
[00:27:24] <JT-Shop> keep looking long enough and you'll get one
[00:27:38] <andypugh> Or spend enough money.
[00:27:57] <JT-Shop> yea
[00:28:05] <JT-Shop> where is that one?
[00:28:15] <andypugh> I am half tempted to make one, to my cunning electrically-actuated design
[00:28:16] <JT-Shop> ah I see germany
[00:28:36] <JT-Shop> yea, that would be cool
[00:29:09] <andypugh> Yeah, it's worth shopping around the EU for stuff. I bought my welder from eBay italy, because italians bid lower for them. It still came from the same supplier.
[00:29:13] <JT-Shop> looks like many have MT shank
[00:29:30] <andypugh> The shanks are all replacable on the UPA 3 and bigger.
[00:29:48] <JT-Shop> I didn't know that
[00:30:17] <JT-Shop> so the shank don't matter much in the long haul
[00:30:41] <andypugh> Not as much as people seem to assume.
[00:33:29] <andypugh> In fact: http://cgi.ebay.it/Einspannschaft-SK40-DIN-69871-fur-Wohlhaupter-UPA4-/120662575904?pt=Industriemaschinen&hash=item1c180ccb20#ht_500wt_922
[00:33:58] <andypugh> It looks like it is held on with a bolt inside the shank, and easily overlooked.
[00:34:42] <JT-Shop> ok, that makes sense
[00:34:57] <JT-Shop> they are kinda proud of that one
[00:35:15] <andypugh> Who are? Wohlhaupter?
[00:39:25] <JT-Shop> that flea bayer
[00:39:50] <JT-Shop> 200 for an adapter seems high to me
[00:40:24] <JT-Shop> * JT-Shop heads inside to cook some home made sausages for dinner :)
[00:40:56] <andypugh> Yeah, did seem rather steep.
[00:41:38] <JT-Shop> goodnight andypugh
[00:41:54] <andypugh> Goodnight. Time I slept, actually.
[01:32:02] <MarkusBec_> MarkusBec_ is now known as MarkusBec
[01:39:52] <leo> so glade vcp is leaning towards replacing pyvcp and halvcp?
[01:55:39] <leo> what happens if the commanded spindle speed command exceeds max?
[01:56:08] <leo> do I need a comp file to generate an alarm or is that already part of motion?
[02:23:58] <leo> i hve questions not explained in the documentation on pwmscale
[02:24:10] <leo> or pwmgen scale
[02:24:22] <leo> setp hm2_5i20.0.pwmgen.03.scale 4000
[02:24:32] <leo> what does the 4000 mean in that line?
[02:24:56] <leo> I assume its max rpm
[02:26:58] <droid> droid is now known as Guest93919
[02:41:37] <emcrules> A comp file is for screw compensation i think
[02:58:47] <leo> how do you see line numbers in gedit?
[03:14:00] <leo> i have an error on the line addf pwmgen.update servo-thread
[03:14:17] <leo> says function pwmgen.update not found
[03:14:34] <leo> is this old code or how do I dfind this function?
[03:23:26] <emcrules> you can check my file im using a 7143 but should mostly be the same structure
[03:24:22] <emcrules> www.linuxemc2.pmiautomation.com go to downloads and my hal and ini files are there.
[03:32:00] <leo> and if I am running a durapulse gs3 drive with feedback, do I load the gs2 component?
[03:32:10] <leo> even if notusing modbus?
[03:36:12] <emcrules> I thought the GS2 component was just to provide spindle control via modbus so I would say no
[03:37:11] <emcrules> How are you commanding your spindle? analog?
[03:40:33] <leo> not commanding it at all right now but want analog from a 7i33ta
[03:40:55] <leo> 20 hp vector spindle motor with feedback
[03:41:22] <leo> seeing the encoder count but the terminology is a bit of a major stumbling block
[03:41:38] <leo> i can run any machine in the world but am not much of a linux coder
[03:42:04] <emcrules> I am using a 7133 for my servos and plan to use it for my spindle as well
[03:42:27] <emcrules> Did you follow the example on the wikki
[03:42:58] <leo> you are just as screwed as I am trying to find a mesa example of a mesa with feedback then
[03:44:04] <emcrules> nope my machine runs just fine
[03:44:27] <emcrules> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Analog_Spindle_Speed_Control
[03:45:48] <leo> but that does not use the feedback does it?
[03:46:05] <emcrules> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Closed_Loop_Spindle_Speed_Control sorry wrong one
[03:46:32] <emcrules> can you pastebin your hal file?
[03:47:12] <leo> my halfile is all over, been trying alll kinds of stuff mostly unsuccessfully
[03:47:34] <leo> was planning on loading a separate component gs3.hal
[03:47:44] <leo> but its mostly commented out right now
[03:48:01] <leo> about 90% of the example stuff I had found crashed emc
[03:48:37] <leo> my encoder is 4096 ppr
[03:49:06] <leo> and the closed loop example runs through a parrallel port
[03:49:10] <emcrules> I have found great sucess with them. Just understand that that example used a parapor setup and not a mesa setup so some mods are required
[03:50:12] <emcrules> yes you will have to modify the paraport references wit mesa equivelents
[03:50:15] <leo> on your mesa card, you running a 5i20 base card?
[03:50:53] <leo> soif I am hooked up to the last servo channel on the first 5i20 thats channel 4 or 3?
[03:50:59] <emcrules> 7i43 with a 7133 but it's the same
[03:51:09] <emcrules> yep
[03:51:21] <leo> labeled 0-3 on the card, with I assume servo channel 4-7 on the second 5i20
[03:52:06] <emcrules> second headder?
[03:52:34] <leo> i have 2 5i20's, could not fit 4 axis servos, a spindle, and a mpg on 1 5i20
[03:53:21] <leo> the pid.o.pgain 0 - what does that line mean?
[03:53:54] <leo> setp - excuse me
[03:53:57] <emcrules> P gain term =0
[03:54:28] <leo> and term = 0 means what?
[03:54:37] <emcrules> once you have the hal file configured you will have to tune the loop
[03:55:23] <emcrules> zero Proportional term applied within the PID loop
[03:55:30] <leo> after the initialize pwmgen - I had the pwmgen.update servo-thread in my file before - said it could not find that component
[03:56:22] <emcrules> you mean addf pwmgen.update servo-thread
[03:56:56] <leo> yes - it crashed
[03:57:19] <emcrules> one sec let me go out to my machine and open my hal file
[04:00:34] <emcrules> how many pid channels do you have loaded
[04:00:44] <leo> at least 5
[04:00:57] <leo> 6 i think
[04:01:39] <leo> on mesa - I don't know how to turn on line numbers in gedit
[04:01:44] <emcrules> are you possibly not loading a component in the begining of the hal file?
[04:02:15] <emcrules> pastebin you hal it's much eaiser that way
[04:02:20] <leo> it beats me what I am missing, I don't know what I am looking for
[04:02:42] <leo> net spindle_enable motion.spindle-on => pwmgen.3.enable => pid.3.enable
[04:03:18] <leo> do I need to change pwmgen.3.enable to more like 5i20.0.pwmgen.03 ?
[04:03:46] <emcrules> yes
[04:04:25] <emcrules> setp hm2_[HOSTMOT2](BOARD).0.pwmgen.pwm_frequency 40000 this is what i have
[04:05:36] <emcrules> net emcmot.00.enable => hm2_[HOSTMOT2](BOARD).0.pwmgen.00.enable another example
[04:06:27] <leo> but pid.3.enable is just a label and alright correct?
[04:07:39] <emcrules> yes pid is internal to emc
[04:08:07] <leo> do you have a spindle feedback encoder?
[04:08:30] <emcrules> yes just havent connected it yet
[04:10:11] <leo> and you just copy an axis encoder section and renumber it?
[04:11:05] <leo> # encoder feedback
[04:11:05] <leo> setp hm2_[HOSTMOT2](BOARD).0.encoder.03.counter-mode 0
[04:11:05] <leo> setp hm2_[HOSTMOT2](BOARD).0.encoder.03.filter 1
[04:11:05] <leo> setp hm2_[HOSTMOT2](BOARD).0.encoder.03.index-invert 0
[04:11:05] <leo> setp hm2_[HOSTMOT2](BOARD).0.encoder.03.index-mask 0
[04:11:06] <leo> setp hm2_[HOSTMOT2](BOARD).0.encoder.03.index-mask-invert 0
[04:14:39] <leo> net pwmgen_out hm2_[HOSTMOT2](BOARD).1.pwmgen.03.pwm => parport.0.pin-16-out
[04:15:14] <leo> that line, i need hooked to 5120.0.018 and .020 - how do I tell what wire is what?
[04:15:40] <leo> out0 and out1 -
[04:15:55] <leo> which wire is 0v and which is 10v?
[04:16:05] <leo> i assume out1 is 10v
[04:16:27] <emcrules> you mean the analog signal
[04:16:29] <leo> is that where the pwmgen opin connects?
[04:17:52] <emcrules> there is a .pin file that documents what pins are where
[04:18:11] <leo> [263611.851267] hm2/hm2_5i20.0: IO Pin 018 (P2-37): PWMGen #3, pin Out0 (PWM or Up) (Output)
[04:18:12] <leo> [263611.851271] hm2/hm2_5i20.0: IO Pin 019 (P2-39): PWMGen #2, pin Out0 (PWM or Up) (Output)
[04:18:12] <leo> [263611.851275] hm2/hm2_5i20.0: IO Pin 020 (P2-41): PWMGen #3, pin Out1 (Dir or Down) (Output)
[04:18:15] <emcrules> but to 10V you will need the 7133
[04:18:16] <leo> out of dmesg
[04:19:22] <emcrules> one sec i ned to see my machine file
[04:20:50] <leo> net spindle_rev_count encoder.03.position => motion.spindle-revs
[04:21:29] <leo> where the encoder.03.position - does that need to be 5i20.0.encoder.03?
[04:22:29] <leo> I have not powered the drive yet - its still temped in on the bench with the spare motor do I don't let the smoke out of it
[04:22:32] <elmo40> leo, that is my name ;)
[04:22:46] <leo> want to get command signal before I power it
[04:23:08] <leo> good name elmo, serves me well
[04:23:45] <emcrules_mill> http://pastebin.com/SU40SvUi
[04:24:01] <emcrules_mill> leo thats what i have so far
[04:24:03] <elmo40> so... AMD Fusion is competing with Intel Atom?
[04:24:39] <elmo40> or is it competing with nVidia ION?
[04:26:23] <emcrules_mill> leo yes that hal file use the encoder function and connected paraport pin to it. you have an encoder datatype via hostmot2 so all encoder reference would have to change
[04:30:14] <leo> addf encoder.update-counters base-thread
[04:30:20] <leo> base-thread not found
[04:30:50] <leo> where do I load a base thread?
[04:33:47] <leo> or do i need different terminology?
[04:36:01] <leo> http://pastebin.ca/2027854
[04:36:57] <leo> http://pastebin.ca/2027856
[04:37:44] <leo> http://pastebin.ca/2027857
[04:38:37] <emcrules_mill> change it to servo-thread for now
[04:40:39] <leo> insmod: error inserting '/usr/realtime-2.6.24-16-rtai/modules/emc2/pid.ko:-1 file exists
[04:41:26] <leo> fuck it I am done for tonight,, thanks all and merry christmas
[04:41:48] <emcrules_mill> can you load your hal file without the spindle
[04:41:54] <leo> yes
[05:55:33] <L84Supper> http://www.youtube.com/watch?v=M9cSxEqKQ78&feature=player_embedded view from RC plane with camera over NYC
[06:01:59] <L84Supper> elmo40: AMD Fusion puts CPU and GPU in the same chip
[06:02:46] <L84Supper> elmo40: AMD has versions to compete with Atom on up to desktops
[06:03:36] <L84Supper> elmo40: http://sites.amd.com/us/fusion/apu/Pages/fusion.aspx
[06:04:00] <psha> L84Supper: to be honest all recent cpu's have gpu onboard :)
[06:04:16] <psha> s/all/most
[06:04:22] <psha> btw good morning :)
[06:07:01] <L84Supper> psha: fusion is cpu+gpu in the same die, vs cpu and gpu in chipset or on PCIe card
[06:08:13] <psha> L84Supper: that's true for intel i3/i5/i7 too
[06:09:50] <psha> and for atoms too i think
[06:10:38] <L84Supper> I guess you could call Intel HD graphics gpu's :)
[06:10:43] <psha> at least comparison table on intel states that recent processors have integrated gpu
[06:10:56] <psha> heh, why not? :)
[06:12:00] <psha> it's not as fast as ATI's but it's displaying something? :)
[06:12:19] <psha> http://ark.intel.com/MySearch.aspx?IntegratedGraphics=true
[09:40:42] <mhaberler__> mhaberler__ is now known as mhaberler_
[10:45:21] <roberth_> roberth_ is now known as robh_
[10:45:51] <robh_> robh_ is now known as Guest97797
[12:39:57] <jthornton> anyone know if you can use DDR3 1600 memory in a motherboard for DDR3 1333 memory?
[12:41:33] <psha> usually you can
[12:41:50] <psha> it will work on 1333 rate
[12:42:14] <psha> but there is small chance that it won't
[12:42:17] <jthornton> thanks, I'm trying to find a motherboard for my AMD AthlonII that has a floppy header
[12:43:06] <psha> wow, you still use floppies?
[12:43:26] <jthornton> yea, on my BP VMC
[12:45:14] <psha> we have here strange form of 'digital tax reports' -- instead of printing you write them on floppy _and_ print :)
[12:46:42] <theorbtwo> You could get a USB floppy drive instead of trying to find a somewhat obscure motherboard feature.
[12:47:17] <psha> +1 to usb floppy drive
[12:47:59] <jthornton> I have one of those but it keeps falling off the top of the case... maybe some twine and bubble gum to hold it on with
[12:49:03] <psha> place it inside in 3.25 bay for floppy drives :)
[12:49:20] <psha> usually there are internal USB headers available
[12:49:40] <jthornton> or figure out how to network the BP that runs DOS 6.22
[12:49:43] <theorbtwo> Double-stick tape?
[12:50:00] <jthornton> I think I have some of that
[13:01:41] <JT-D510> psha: when I try and run gladevcp button.ui I get this error RTAPI: ERROR: could not open shared memory (errno=2) Segmentation fault
[13:02:32] <psha> you need to initialize realtime stuff first
[13:02:54] <psha> for example run emc 'some-config'
[13:03:19] <JT-D510> in another terminal
[13:04:18] <psha> yes, but in RIP environment
[13:05:09] <JT-D510> ok, thanks
[13:05:45] <JT-D510> might want to mention that on the wiki page
[13:07:03] <psha> i'm running it in simulator mode that's why i've not encountered this
[13:09:23] <JT-D510> YEA! it works
[13:12:06] <psha> :)
[13:59:14] <jthornton> ohh, I can see the pins in HAL Configuration
[14:02:28] <JT-D510> why is everything on my test panel grayed out?
[14:02:55] <JT-D510> did I not go far enough with the tutorial
[14:09:06] <JT-D510> Cool the OAT shows up on the date bar when you add your home location
[14:09:26] <JT-D510> * JT-D510 heads out for some breakfast
[14:40:20] <leo__> what does the term insmod mean?
[14:43:29] <skunkworks> insert module I think.
[14:44:03] <skunkworks> the only time I used it was inserting the rtai_smi.ko module :)
[14:45:41] <leo__> thats crashing for me. it says look at dmesg for more info, but I don't know what the ^&&*) nI am looking for to tell me whats wrong
[14:46:08] <psha> run 'dmesg' and look into it?
[14:46:18] <leo__> it says all my pwmgens are not enabled I think
[14:46:29] <leo__> but not sure igf that the issue
[14:47:02] <psha> JT-D510: everything is inactive if you use hal table/vbox
[14:52:35] <leo__> how do I show line numbers in gedit?
[14:57:44] <Jymmm> go to the menu in gedit:
[14:57:44] <Jymmm> edit->preferences
[14:57:44] <Jymmm> and check the box:
[14:57:45] <Jymmm> display line numbers
[15:03:06] <leo__> setp pwmgen.3.pwm-freq 1000
[15:03:07] <leo__> setp pwmgen.3.scale 10000
[15:03:07] <leo__> setp pwmgen.3.dither-pwm true
[15:03:51] <leo__> i don't have anything in hal config past value and enable, is that all I have to connect to?
[15:04:04] <leo__> or do I need to create this stuff?
[16:06:27] <pcw_home> leo__ you dont want to use pwmgen, as thats EMC's software PWMgen and you have hardware in the 5I20 for this
[16:06:28] <pcw_home> All you want to do is enable all the hardware PWMgens you need on a the firmware loading line like:
[16:06:30] <pcw_home> loadrt hm2_pci config="firmware=hm2/5i20/SVST4_4.BIT num_encoders=4 num_pwmgens=4 num_stepgens=0"
[16:06:31] <pcw_home> then for example on a 3 axis machine you could use the 4th channel (03 because they start at 0) for the spindle:
[16:06:33] <pcw_home> setp hm2_5i20.0.pwmgen.03.scale 3600
[16:06:34] <pcw_home> # 3600 RPM = full scale = 10V
[16:06:36] <pcw_home> setp hm2_5i20.0.pwmgen.03.output-type 3
[16:06:37] <pcw_home> # use PDM for 7I33
[16:06:39] <pcw_home> setp hm2_5i20.0.pwmgen.pdm_frequency 6000000
[16:06:40] <pcw_home> # 6 MHz PDM is optimum for 7I33
[16:06:42] <pcw_home> net scmd motion.spindle-speed-out hm2_5i20.0.pwmgen.03.value
[16:06:44] <pcw_home> net SpindleEnable => hm2_5i20.0.pwmgen.03.enable
[16:19:53] <leo__> emc starts but I am not getting analog signal to the drive
[16:20:42] <leo__> http://pastebin.ca/2028244
[16:21:19] <leo__> thats what I have copying from a couple sources but explanation line by line I have not found
[16:21:28] <leo__> emc starts, but thats all I can say
[16:22:20] <leo__> from what you are saying I may not even need the pwmgen section at lines 19-25
[16:22:49] <leo__> i want to go closed loop spindle for real, but want to play some on the bench
[16:23:52] <leo__> [HOSTMOT2]
[16:23:52] <leo__> DRIVER=hm2_pci
[16:23:52] <leo__> BOARD=5i20
[16:23:52] <leo__> CONFIG="firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=4 num_stepgens=0,firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=4 num_stepgens=0"
[16:24:05] <leo__> thats my config line in the inifile
[16:34:56] <pcw_home> Right you dont need the software pwmgen setup in line 19-25
[16:34:58] <pcw_home> Also not sure how your 7I33s are connected but with that config you could connect both 7I33s to one 5I20 (and set the pwmgens and encoders enabled to 8)
[16:35:11] <pcw_home> 8
[16:36:57] <leo__> have 2 5120's, 1 7133ta on each and (2) 7137ta io cards on each
[16:37:47] <leo__> its hard wired so I am leaving it
[16:39:45] <leo__> but I should be gatting signal voltage out even without the drive under power right?
[16:39:57] <leo__> or doesit need a blip that the drive is ok?
[16:47:42] <jepler-> jepler- is now known as jepler
[16:51:03] <pcw_home> Depends on how the enable signal is connected in your HAL file
[16:51:04] <pcw_home> To get an analog output from a 7I33 you need
[16:51:06] <pcw_home> PWM freq (or PDM freq) setup
[16:51:07] <pcw_home> PWM mode setup
[16:51:10] <pcw_home> PWM enable true
[16:51:11] <pcw_home> some non-zero value for pwm.value (1//2 scale = 5V would be 1/2 of the fullscale value so 5000 in your example HAL file)
[16:56:49] <leo__> ok, I am getting confused - pwmgen in both hardware and software is messing me up
[16:56:56] <pcw_home> If you unhook the HAL signals driving the pwmgen by temporarily commenting them out like this:
[16:56:58] <pcw_home> # net spindle-vel-cmd => hm2_5i20.0.pwmgen.03.value
[16:56:59] <pcw_home> # net spindle-enable => hm2_5i20.0.pwmgen.03.enable
[16:57:01] <pcw_home> You should be able to setp them manually and get a measurable analog out
[16:57:32] <leo__> pwmfreq is set in main halfile
[16:57:32] <leo__> pwm mode setup - where is it generally?
[17:01:31] <leo__> pwm enable - what do the numbers mean? I think I am either 0 or 1
[17:01:49] <leo__> excuse me, pwm mode setup
[17:02:34] <pcw_home> open a terminal window and type man hostmot2, The hostMot2 manula page has all that information
[17:02:58] <pcw_home> (manual)
[17:06:38] <JT-Shop> pcw_home: so for 2 7i29's do you have to split the 50 pin cable?
[17:08:41] <pcw_home> No, theres a 50 pin connector on the 7I29 (but it only connects to 1/2 of the signals)
[17:08:42] <pcw_home> so for 4 channels you daisy chain the cable (and jumper the 7I29s differently)
[17:11:15] <JT-Shop> Ok, I understand now
[17:11:27] <JT-Shop> thanks
[17:15:49] <JT-Shop> yuk it is sleeting now
[17:18:31] <leo__> ok i am getting motion.spindle-on but no pwmgen enable or spindle enable signal
[17:20:31] <leo__> so doing a setp to try to enable the pwmgen did not work
[17:20:44] <pcw_home> Beautiful sunny day in CA
[17:21:31] <pcw_home> You cant do the setp unless you unhook the pin in the HAL file
[17:38:04] <leo__> how do I tell it what pin to send tha value out on or does it know?
[17:38:35] <leo__> i am still getting 0 on hm2_5i20.0.pwmgen.03.value
[17:39:46] <leo__> i see its networked to spindle-vel-cmd signal which is also 0
[17:42:41] <leo__> motion.spindle-speed-out is 5000
[17:46:53] <pcw_home> I meant HAL pin, the drive knows what physical pin to drive
[17:47:04] <pcw_home> (driver)
[17:48:21] <leo__> in watch hal window the hm2_5i20.0.pwmgen.03 enable is live
[17:48:37] <leo__> motion.spindle-on is live
[17:49:00] <leo__> motion.spindle-speed-out is 5000
[17:49:19] <leo__> spindle-vel-cmd is 0
[17:49:36] <leo__> hm2_5i20.0.pwmgen.03.value is 0
[17:50:28] <leo__> so how do I connect motion.spindle-speed out to spindle-vel-cmd?
[17:51:32] <JT-D510> psha: is it disabled if you use both a hal table and a hal vbox? I see you used a hal table on the wiki example
[17:52:34] <psha> JT-D510: hal containers are used to enable/disable groups of widgets via bool pin
[17:52:52] <psha> in example i'd used it to demonstrate
[17:54:36] <psha> i think it deserves usage only in complex panels like toolchanger
[17:56:47] <psha> in pyvcp there were disable pins as i recall
[17:56:57] <psha> in gtk they are replaced with container widgets
[18:04:38] <JT-Shop> ok, thanks
[18:05:08] <skunkworks> another 3 inches of snow
[18:06:08] <pcw_home> leo__ Looks like they are connected in line 87
[18:06:10] <pcw_home> note I dont think the PWM values are readable (manual shows the pin as type in:
[18:06:11] <pcw_home> (float input) value: The current pwmgen command value, in arbitrary units.
[18:07:15] <psha> btw is it possible to obtain up limit of Z axis?
[18:07:27] <psha> without parsing .ini file?
[18:19:34] <JT-Shop> I don't think there is a parameter for that psha
[18:29:56] <JT-D510> psha: ok, I see how that works now :)
[18:39:09] <psha> i'm just trying to imagine sane gladevcp example panel :)
[19:41:43] <Connor> Hey guys, I have a few questions about using multiple tools on the same part, changing them out and such.
[19:43:33] <Connor> I had a part that I used my 1/4" End Mill on, however, their was 1 cut that it was too large for.. so I would have to change it out for a 1/8".. My question is.. How do you change it out so that it's the same height as the 1/4" bit.. and my other issue is.. I had to really hack the CAD drawing in CAM, (even so far as to go back to the CAD and rework the part) so I could easily do this...
[19:44:29] <Connor> I was making a new router mount, which had a 2.75" hole, with a 1/8" cut through it...
[19:44:34] <Jymmm> you cna use tool holders are set to the same height
[19:44:53] <Jymmm> you cna use tool holders that are all set to the same height
[19:45:56] <Connor> That the only option? One CAM package I looked at, looked as if you could set the tool height, but, not in CamBAM, which is what I'm evaluating at this time..
[19:46:33] <Connor> I know that some of my other bits have those little round endstops that makes it easy, but not on my 1/8 and 1/4 bits.. and of course, you have to change the collets too.
[19:46:53] <morfic-> Merry Christmas everyone
[19:47:05] <Connor> can you touch-off in the middle of a tool change ?
[19:47:06] <Jymmm> Well, you could "zero" ToolA, then insert ToolB, let it free fall to the same height, then tighten the chuck
[19:48:39] <Jymmm> By "zero" I mean on top of a block of know height. so you'll have clearnace to remove / insert tools
[19:49:36] <Connor> To be honest, I never got to do the tool change.. I messed up on my spacing and my hold down tabs ended up not working and had to end the process before I got to the tool change.. I ended up remounting the parts and squaring them off using a 1/8" calibration bit, and doing the cut manually.
[19:49:42] <Jymmm> Or just seperate the gcode for each tool, then change out tools and run "part 2"
[19:50:16] <Jymmm> one gcode file per tool, so to soeak
[19:50:22] <Jymmm> speak
[19:51:32] <Connor> yea. I know that you can also start a file from a specific line too.. so, if I killed the job at tool change.. did the tool change and touched off again.. and started the job back up at the point it moves the new tool into position..would that work?
[19:52:56] <Jymmm> *I* don't know. My CAM lets me save one file per tool, and that's what I've done.
[19:54:30] <Connor> Ah. What CAM do YOU use? and what about the deal with having to "hack" the CAD drawing to handle the 1/8" cut?
[19:55:41] <Jymmm> I've used ArtCam in the past.
[19:58:04] <atmega> in this case, couldn't you just do everythign with the 1/8" end mill?
[19:58:33] <Jymmm> Just depends on how much is 1/8 and how much is 1/4
[19:59:06] <Connor> I could have.. but, the 1/4" cuts cleaner
[19:59:30] <Jymmm> Connor: what tooling and material?
[20:00:38] <atmega> I use cut-2d, I generate single files for things that fit together and start new files when I want to change tooling, or screw something down
[20:01:07] <Connor> MDF, the 1/8" bit is from precisebits.com, MM208-1250-113FL
[20:01:15] <Connor> using their PG 1/8 collet.
[20:01:23] <atmega> it does tabs, but there is often some internal place I can use midway for hold downs before cutting outside rofiles
[20:01:31] <Connor> the 1/4 is Bosch 1/4 spiral upcut, wit stock collet
[20:01:38] <Jymmm> Connor: 1/8 spiral upcut?
[20:01:56] <Connor> yea. http://www.precisebits.com/products/carbidebits/deepreach125f2f.asp
[20:02:12] <Jymmm> Connor: use CMT
[20:02:14] <Connor> 2 Flute.
[20:02:55] <Connor> CMT ?
[20:03:16] <Connor> atmega: Midway?
[20:03:18] <Jymmm> http://routerbitworld.com/CMT-191-001-11-1-8-Diameter-Solid-Carbide-Upcut-S-p/cmt%20191.001.11.htm
[20:03:32] <Jymmm> Connor: CMT is a brand of router buts, damn good quality.
[20:03:36] <Jymmm> buts
[20:03:39] <Jymmm> bits
[20:04:33] <Connor> I think part of my issue with the 1/8 was it's so long and flexes.. I had some major backlash on my Y I just figured out.. and.. I wasn't running it high enough RPM.
[20:18:30] <leo__> I always lean towards bigger cutters as well. good machining practice
[20:22:17] <Connor> So, how many of you all cut a part, and then have to put it back on the router and make more cuts? How do you all insure it's square with the gantry etc?
[20:23:03] <leo__> not running a vise? can't resweep it?
[20:23:17] <leo__> how do you set it straight the first time?
[20:23:48] <Connor> Normally I use a oversize stock and just clamp it down.. doesn't mater if it's square or not.
[20:24:10] <Connor> This is a router, so no vise.
[20:24:16] <Connor> Just T-Rails and Clamps.
[20:24:22] <Connor> which, I'm finding I don't like.
[20:24:43] <Connor> and now, is going to be even worse on small parts now that I have my dust shoe made.
[20:25:08] <leo__> is there a straight edge on it after machining, or can there be?
[20:25:19] <Connor> for this case, yes.
[20:25:51] <leo__> then get your indicator out and sweep it
[20:25:57] <Connor> I ended up loose clamping the part, and ran a 1/8" blank bit along the edge and let the head align it.
[20:36:50] <psha> bb
[20:51:52] <leo__> how do I do a zero speed hold at orient with a gs3?
[20:52:03] <leo__> s0 turns off the pwmgen
[20:54:36] <leo__> and how do i scale the pwmgen voltage output?
[20:54:52] <leo__> a midway spindle speed is putting out 4.48v instead of 5.0
[21:07:00] <pcw_home> Did you set the PWM mode to 3 and PDM frequency to 6000000?
[21:07:02] <pcw_home> (this is for PDM which is the optimum mode for the 7I33, though PWM mode (1) will work)
[21:07:03] <pcw_home> If you are using PWM I dont see where the frequency is set in your HAL file, this could cause funky output values
[21:07:05] <pcw_home> (the output should be within ~2% of the requested value, 4.48V is more than 10% low which indicates a problem unless its your meter)
[21:10:52] <leo__> i don't see pwm output type 3 in the man pages
[21:10:58] <leo__> whats it mean?
[21:11:25] <leo__> all I see is 0,1,2
[21:13:38] <pcw_home> (s32 rw) output-type:
[21:13:40] <pcw_home> This emulates the output_type load-time argument to the software pwmgen component.
[21:13:41] <pcw_home> This parameter may be changed at runtime, but most of the time you probably want to set it at startup
[21:13:43] <pcw_home> and then leave it alone.
[21:13:44] <pcw_home> Accepted values are
[21:13:46] <pcw_home> 1 (PWM on Out0 and Direction on Out1),
[21:13:48] <pcw_home> 2 (Up on Out0 and Down on Out1),
[21:13:49] <pcw_home> 3 (PDM mode, PDM on Out0 and Dir on Out1), and
[21:13:51] <pcw_home> 4 (Direction on Out0 and PWM on Out1, "for locked antiphase").
[21:13:56] <pcw_home> (from man hostmot2)
[21:14:13] <JT-Shop> pcw_home: beat me to it :)
[21:14:25] <skunkworks> http://linuxcnc.org/docs/2.4/html/man/man9/hostmot2.9.html
[21:18:59] <leo__> pwm frequency alarms above 195309, pdm frequency - i do a setp line just like pwm frequency?
[21:21:27] <pcw_home> Yep
[21:22:55] <pcw_home> If you use PWM, 24 KHz is the best
[21:23:10] <pcw_home> (for 5I20 and 7I33)
[21:25:10] <pcw_home> bbl time for a hike w/dog in the big blue room
[21:28:37] <leo__> right now at s1000 i show 1020 on the drive, s500 shows 490, s250 shows 110
[21:28:50] <leo__> don't know why it drops off at low rpm but it does
[21:49:29] <JT-Shop> * JT-Shop makes a clutch alignment tool for the F40
[21:53:05] <leo__> on a closed loop spindle - since a spindle is not a friggin axis instead of hooking to a motor.xx.pos-fb I hook to what?
[21:54:10] <leo__> and at what frequency can emc count spindle feedback?
[21:54:31] <leo__> I have a 4096 ppr encoder with a 10k rpm max
[22:04:43] <leo__> i can hear the crickets now
[22:20:03] <leo__> who wrote the closed loop spindle narrative on the wiki?
[22:23:58] <JT-Shop> the last one to edit it should be on the bottom of the page
[23:27:35] <leo__> hm2_5i20.0.encoder.03.velocity reads in what unit?
[23:27:51] <leo__> is this pulses per second?
[23:47:40] <robh__> (Float, Out) Estimated encoder velocity in position units per second.