#linuxcnc | Logs for 2014-01-06

[00:04:45] <ChuangTzu> link?
[00:13:47] <RyanS> ah yes here we go http://www.youtube.com/watch?v=kLqYUZ-JoP0&feature=player_detailpage#t=686
[00:15:03] <RyanS> We don't need no earmuffs
[00:16:57] <tjtr33> haha just saw Linus giving Nvidia the finger www.youtube.com/watch?v=Q1lSCI0bO_c
[00:17:28] <tjtr33> ^^ re: openGL & X
[00:17:42] <CaptHindsight> all those safety features slow you down
[00:18:47] <CaptHindsight> same in China, why both with machine guards, if you snooze you lose
[00:18:56] <CaptHindsight> both/bother
[00:19:15] <ChuangTzu> looks like any blacksmith shop to me
[00:19:19] <ChuangTzu> with bigger machines
[00:19:30] <RyanS> heh
[00:19:38] <ChuangTzu> but the ones in blacksmith shops are already big enough to do the same amount of damage to a human
[00:20:14] <CaptHindsight> they are wearing helmets, what else do you want?
[00:20:54] <RyanS> yeah , like those pneumatic hammers about the size of a turret mill
[00:21:37] <RyanS> awesome meat tenderiser
[00:21:41] <ChuangTzu> hehe
[00:23:36] <RyanS> I can imagine hours of doink,doink,doink,doink could get old pretty quickly
[00:26:55] <RyanS> old skool http://www.youtube.com/watch?v=E8kzMTHLTzk&feature=player_detailpage#t=306 that would be a good winter hobby
[02:26:34] <Deejay> moin
[04:29:29] <Loetmichel> mornin'
[05:42:34] <jthornton> morning
[06:32:35] <skunkworks> -21f on the way in
[06:39:17] <Tom_itx> 1 F
[06:40:12] <archivist> I just opened my front door to let the war in :)
[06:40:32] <R2E4> Hiya
[06:40:45] <archivist> warm
[06:40:58] <skunkworks> heh
[06:41:13] <jthornton> 7F here
[06:41:22] <skunkworks> pretty consistant - -20 to -21 the whole drive in
[06:41:43] <R2E4> you guys familiar with 7i77?
[06:41:49] <skunkworks> quite windy though - that is the worse
[06:42:08] <skunkworks> is that the servo interface or stepper?
[06:42:17] <R2E4> I am trying to connect mpg to it.
[06:42:17] <Tom_itx> R2E4 don't interrupt the morning weather report!
[06:42:34] <R2E4> servo interface. I am trying to get a mpg connected and tested today
[06:42:50] <R2E4> ITs fucking cold and icy. What else is there to say
[06:42:58] <Tom_itx> R2E4 run dmesg or halcmd show pin to find the encoder pins
[06:43:27] <skunkworks> R2E4, did you read back?
[06:43:30] <skunkworks> [03:50:43] <pcw_home> R2E4: you need to set the sserial mode to 3 to have the MPG option available
[06:43:30] <skunkworks> [03:50:45] <pcw_home> (though I dont know if this is supported in pncconf) If not supported you will have to add the
[06:43:30] <skunkworks> [03:50:46] <pcw_home> MPG plumbing in the HAL file yourself
[06:43:48] <Tom_itx> oh yeah, and that ^^
[06:43:50] <R2E4> Its not connected yet, thats the point. Pncconf
[06:43:54] <R2E4> ah, shit
[06:44:07] <skunkworks> don't be afraid...
[06:44:18] <Tom_itx> make sure your field voltage isn't more than the mpg will be happy with
[06:45:09] <R2E4> the docs says you can use it on pins 16, 17,18 and 19, but there is no option in pncconf there, just the encoder slots you can select hand wheel
[06:45:10] <jthornton> I have a 7i77, let me look that up for you in the manual
[06:45:11] <Tom_itx> read up on it grasshopper
[06:45:37] <R2E4> I have been reading for weeks, and I don't think its going to work out!!!
[06:45:46] <jthornton> pncconf can not do it all, sometimes you have to venture out on your own
[06:45:59] <Tom_itx> just when you start to think that, it will all fall together
[06:46:21] <Tom_itx> yeah jump off the deep end and open up the config files yourself
[06:46:33] <R2E4> I wanted to get a head start on it, thought hooking up an mpg was a start, but apparantly not. I dont want to start with the servo amps....
[06:46:45] <Tom_itx> good idea
[06:46:49] <Tom_itx> start with estop
[06:46:56] <Tom_itx> then maybe the mpg
[06:47:04] <Tom_itx> then work to the limit switches
[06:47:08] <Tom_itx> then maybe the amps
[06:47:12] <jthornton> start with a blank config and go from there
[06:47:55] <Tom_itx> may the force be with you
[06:48:00] <R2E4> I started with pncconf with adding the pwm for axis and encoders. I can start linuxcnc with it. Can I start from there?
[06:48:45] <jthornton> you can drop pncconf any time you like if that is what you mean
[06:48:46] <Tom_itx> long as it matches the boards you have
[06:48:50] <R2E4> Listen, maybe your not hearing me...... I am not Frodo's brother, I dont have the ring, so starting with a blank config is just asking for Orc visitors.
[06:49:20] <R2E4> haha
[06:49:35] <Tom_itx> last drop in the cup is gone... i'm out
[06:49:36] <jthornton> but you will know what you have after
[06:50:34] <R2E4> So I have used pncconf for motors and encoders so I will start looking at that and then try for the e-stop, then mpg with manually configging the hal.
[06:52:05] <R2E4> Let me look at your docs on the 5i25 and 7i77 configs and see if mine are similar
[06:52:32] <jthornton> what mode did pnconf leave you in for the 7i77
[06:52:34] <jthornton> ?
[06:52:49] <R2E4> let me check
[06:54:22] <jthornton> what does the loadrt hm2_pci config= line have on it in your .hal file?
[06:58:26] <R2E4> loadrt hm2_pci config=" num_encoders=6 num_pwmgens=0 num_3pwmgens=0 num_stepgens=0 sserial_port_0=000xxxxx "
[06:59:16] <jthornton> ok, that is mode 0 change it to sserial_port_0=300xxx" for mode 3 which enables the mpg inputs
[07:02:02] <R2E4> weirdweird, why just one "
[07:06:38] <jthornton> just one what?
[07:06:44] <R2E4> "
[07:07:27] <jthornton> well it is only part of the whole config line
[07:07:41] <R2E4> it is in my hal file like that
[07:08:07] <jthornton> " num_encoders=6 num_pwmgens=0 num_3pwmgens=0 num_stepgens=0 sserial_port_0=000xxxxx "
[07:08:16] <jthornton> one " one each end
[07:08:40] <R2E4> I see it...... dixlexia in command
[07:14:15] <jthornton> so now you can connect your MPG to 16,17,18 and 19
[07:14:53] <R2E4> wel, mine only has two pins, no need for 18,19
[07:17:13] <R2E4> I am going to try and find a full blown hal file so I can study it...... re: e-stop and mpg, cause I don't know even where I should put the entries, under which section.
[07:17:22] <R2E4> I would assume HALUI
[07:23:47] <jthornton> hal files don't have sections
[07:24:00] <jthornton> HALUI is in the ini file
[07:24:27] <jthornton> my guess is you need to use 16 and 18
[07:24:28] <R2E4> yeah I see that, but they keep everything nice and neat with comment sections
[07:24:33] <Jymmm> jthornton: What?! It's not in pconfig?!?!?!?!
[07:25:58] <jthornton> here is the main hal file for my BP http://pastebin.com/cHg5fD6c
[07:26:10] <jthornton> Jymmm, what is pconfig?
[07:26:21] * jthornton heads for the shower
[07:45:57] * JT-Shop starts a fire to warm the shop up
[07:48:23] <JT-Shop> dang it is 48f in the shop
[07:50:40] <JT-Shop> R2E4, run your config, open a terminal and type in halcmd show pin > pins.txt
[07:51:01] <R2E4> its crashing now since I have been editing it....lol
[07:51:30] <R2E4> I added pin for estop and I am arguing with it.... It wont listen to me, it says no pin...
[07:52:22] <JT-Shop> can you back your edit up till it works?
[07:52:29] <archivist> got to get the speelin rite
[07:52:41] <JT-Shop> then print a list of pins to the text file
[07:53:11] <JT-Shop> I happen to know HAL is very stubborn to deal with when he is right
[07:54:03] <R2E4> yeah yeah, I am just trying to learn it, I got it running again
[07:54:26] <JT-Shop> ok, now print a list of pins
[07:54:37] <R2E4> it shows nothing
[07:55:01] <JT-Shop> open your home directory and you will fine a file pins.txt
[07:55:16] <JT-Shop> you just learned a linux terminal command
[07:55:26] <R2E4> I know that one.
[07:55:45] <R2E4> I am pretty good getting around linux, learned on Slakware way back when
[07:56:18] <R2E4> took me 6 months to get a desktop in 93, and 7 more months to get on the net.....lol
[07:56:26] <JT-Shop> then you should have known where it sent the file LOL
[07:57:09] <R2E4> no, I didnt redirect, di just a show pin, on screen it showed no pins
[07:57:55] <JT-Shop> while your config is running
[07:58:08] <JT-Shop> halcmd show pin > pins.txt
[07:58:34] <automata> hi
[07:59:00] <automata> anyone have pointers on how to get started with linuxcnc and xenomai on ubuntu 12.04?
[07:59:11] <automata> mah?
[07:59:31] <skunkworks> automata, http://wiki.linuxcnc.org/cgi-bin/wiki.pl?NewRTInstall
[07:59:45] <R2E4> I got it, wont show on the screen but it redirect to pins.txt
[08:00:05] * JT-Shop suits up to take my girlfriend out for her morning potty run
[08:00:05] <skunkworks> automata, and http://wiki.linuxcnc.org/cgi-bin/wiki.pl?NewRTInstall
[08:00:43] <JT-Shop> if you want to see them all wizz by leave out the redirect
[08:01:01] <automata> thanks skunkworks
[08:02:19] <JT-Shop> be back in a bit
[08:02:34] <R2E4> thats why it didnt work. its named 5i25.0.gpio.001
[08:02:47] <R2E4> HTF am I suppose to know that.....hehe
[08:05:07] <eric_unterhausen> did you do it through pncconf?
[08:05:28] <automata> the NewRTInstall site says to refer to http://static.mah.priv.at/public/UnifiedBuild.html for instructions.
[08:05:35] <automata> but http://static.mah.priv.at/public/UnifiedBuild.html does not exist.
[08:06:02] <eric_unterhausen> who wrote newrtinstall?
[08:06:57] <eric_unterhausen> there is a link to ub3 on the wiki somewhere, I think
[08:07:46] <eric_unterhausen> http://static.mah.priv.at/public/html/common/UnifiedBuild.html#_installation
[08:13:15] <R2E4> yes I did
[08:14:26] <JT-Shop> 5i25.0.gpio.001 is a pin on the 5i25 card
[08:14:41] <R2E4> not the 7i77?
[08:14:48] <JT-Shop> no
[08:16:10] <JT-Shop> hm2_5i25.0.7i77.0.0.input-00
[08:16:19] <JT-Shop> that's a 7i77 pin
[08:16:49] <R2E4> I'm pretty sure if I ref that it will say, pin not found?
[08:16:59] <R2E4> cool.
[08:18:31] <JT-Shop> pcw_home, setting mode 3 only configures hm2_5i25.0.7i77.0.0.input-16,17,18,19 electrical properties?
[08:18:43] <R2E4> http://irmtl.com/LinuxCNC/pins.txt, theres my pins.txt for now, I can ref it
[08:18:52] <JT-Shop> what is "that"
[08:19:14] <JT-Shop> yes, much easier to cut and paste pin names and avoid typos
[08:22:15] <R2E4> oops, comma at the end of that url...... http://irmtl.com/LinuxCNC/pins.txt
[08:22:51] <JT-Shop> lol it still worked
[08:23:19] <JT-Shop> you can also get a list of parameters and signals with show param and show sig
[08:26:04] <eric_unterhausen> I see wiki page NewRTInstall has wrong link
[08:27:31] <JT-Shop> fix it
[08:27:36] <eric_unterhausen> cain't
[08:27:42] <eric_unterhausen> no login
[08:27:50] <R2E4> remove the i and you can
[08:28:00] <eric_unterhausen> cain't don't come in a can
[08:29:13] <skunkworks> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?action=editprefs
[08:30:02] <R2E4> jthornton: how are you allowed to use the input for e-stop if you havent ref it in your file anywhere. I try that and it spits at me.
[08:30:25] <skunkworks> eric_unterhausen, the second paragraph
[08:30:25] <skunkworks> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?BasicSteps
[08:30:36] <eric_unterhausen> maybe I'll look at how to edit later, just addressing autmata's complaint above
[08:33:18] <eric_unterhausen> http://static.mah.priv.at/public/html/common/UnifiedBuild.html#_installation http://wiki.linuxcnc.org/cgi-bin/wiki.pl?NewRTInstall
[08:33:40] <eric_unterhausen> would be nice if someone with edit capabilities would fix the first link on the second link
[08:34:06] <cradek> everyone can edit the wiki
[08:36:16] <Jymmm> eric_unterhausen: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?BasicSteps
[08:39:22] <Jymmm> eric_unterhausen: So, GIT ER DONE!!!
[08:39:45] <JT-Shop> R2E4, what is the exact error?
[08:44:47] <R2E4_> VM40.hal:188: Pin 'hm2_5i25.0.7i77.0.0.input-01' does not exist
[08:44:47] <R2E4_> 4249
[08:51:51] <JT-Shop> pastebin you hal file
[08:51:54] <JT-Shop> your
[08:52:31] * JT-Shop fires up the wonderwood in the garage for the first time since adding the shop
[08:53:10] <jdh> http://labs.autodesk.com/utilities/miller
[08:53:47] <jdh> wonder what it would do with gcode for real machines
[08:59:23] <R2E4> http://pastebin.com/P2N99C12
[08:59:34] <archivist> jdh, see openscam for real free
[09:00:18] <R2E4> e-stop is near the bottom
[09:04:26] <R2E4> I added your estop from http://www.gnipsel.com/linuxcnc/configs/external-estop.html with the same result.
[09:05:00] <R2E4> Do I need to have field power on the 7i77 for this to work? I think I read for inputs to work you need to have field power.
[09:05:05] <JT-Shop> yes
[09:05:28] <R2E4> just screaming newbieness!!!
[09:05:34] <JT-Shop> the 7i77 I/O is dead without field power
[09:05:57] <JT-Shop> I'd use my example estop
[09:06:06] <R2E4> ok, let me connect 12v to it.
[09:06:15] <R2E4> I added it.
[09:17:29] <R2E4> WooHoo!!!
[09:18:23] <archivist> another bunny is happy and hooked :)
[09:18:43] <R2E4> hooked on one pin....
[09:19:01] <R2E4> I hope their strong pins, cause it might break.
[09:22:44] <R2E4> The "not" means it needs to be normally closed. The machine is in e-stop with no jumper on input, if I remove the "not" from the line I am out of e-stop. net remote-estop estop-latch.0.fault-in <= hm2_5i25.0.7i77.0.0.input-01-not correct?
[09:26:21] <JT-Shop> http://linuxcnc.org/docs/html/man/man9/estop_latch.9.html
[09:27:32] <JT-Shop> if your running Axis open up Show Hal Configuration and add the pins to the watch window
[09:36:39] <R2E4> 7i77, There is only one terminal for each input, so would I assume connect vfield through a contact and into input pin? Cause it is not saying to do that in the manual, but i see no other way.
[09:38:37] <R2E4> inputs sync positive input voltages relative to field ground.
[09:42:09] <JT-Shop> http://www.gnipsel.com/linuxcnc/configs/7i77.html
[09:42:22] <JT-Shop> I/O diagrams at the bottom of that page
[09:43:15] <R2E4> haha, thanks
[09:46:52] <R2E4> I can see I will probably another 7i77 with 12v field power and one with 24v field power
[09:57:28] <archivist> your mpg is 5v though
[09:58:24] <archivist> you can voltage convert with an open collector device though
[09:58:42] <R2E4> http://irmtl.com/LinuxCNC/VM40/MPG/mpg.jpg
[09:58:45] <R2E4> 5-12v
[09:59:36] <pcw_home> JT-Shop: setting sserial mode 3 on a 7I77 enables a local encoder counter
[09:59:37] <pcw_home> in the I/O processor (and sets its input thresholds to 2.5V)
[10:01:32] <JT-Shop> what would the pin name be for the encoder?
[10:02:12] <JT-Shop> enc1?
[10:02:25] <JT-Shop> hm2_5i25.0.7i77.0.0.enc0.count?
[10:03:19] <pcw_home> yeah something like that
[10:03:40] <JT-Shop> ok, thanks
[10:03:45] <pcw_home> hal show pin | grep 7i77
[10:03:53] <JT-Shop> and enc0 is pins 16,17
[10:04:01] <JT-Shop> and enc1 is pins 18 19
[10:04:05] <pcw_home> yes
[10:04:09] <JT-Shop> ok thanks
[10:05:21] <pcw_home> (the normal input pins are still there with standard 1/2 field voltage threshold)
[10:06:36] <JT-Shop> ok, I see that in my pin list
[10:07:55] <pcw_home> but the standard inputs wont see the encoder A/B pins because of the higher threshold
[10:09:08] <pcw_home> (basically just means you dont lose the second MPG inputs if they are not used for a MPG)
[10:09:17] <R2E4> I'm showing hm2_5i25.0.7i77.0.0.enc0 and hm2_5i25.0.7i77.0.0.enc1, thats 16 and 17?
[10:11:33] <JT-Shop> R2E4, enc0 is 16,17
[10:14:53] <R2E4> Well, at least e-stop is working.....
[10:20:37] <JT-Shop> and you know how it works
[10:25:02] <R2E4> thanks
[10:25:48] <R2E4> took a bit to figure out input 1 is not terminal 1....lol
[11:03:36] <JT-Shop> anyone seen my tape measure?
[11:04:18] <skunkworks> it is where you last put it
[11:04:41] <R2E4> or where someone else put it.
[11:06:17] <skunkworks> (unless you have ghosts)
[11:09:35] <R2E4> JT-Shop: What kind of MPG do you have on your encoder.05?
[11:15:12] <JT-Shop> that's where I have the MPG until I move the wires to 16,17 and change the code for enc0
[11:20:20] * JT-Shop fires up the plasma table...
[11:22:55] <R2E4> you use up 2 inputs, but if I put it in the encoder 6 slot like you have it, You dont lose inputs. I just dont know if my mog will work in encoder 6
[11:23:42] <R2E4> Just dont know if my mpg will work there.
[11:24:39] <JT-Shop> I have a problem using the encoder input with counts getting lost
[11:25:10] <JT-Shop> it's better to use 2 inputs, you have a ton of them
[11:27:18] <pcw_home> The reason to use the MPG inputs is that they
[11:27:19] <pcw_home> support 1X quadrature mode, the normal encoder inputs do not
[11:27:56] <pcw_home> so if you have a standard 100 PPT MPG, the MPG inputs are better
[11:28:17] <R2E4> ok, pins 16 and 17 it is then.
[11:29:48] <pcw_home> remember that the 5V MPG power needs to have a common gnd with the field power
[11:30:15] * JT-Shop takes notes
[11:30:26] <R2E4> It will be powered with the field power 12vdc.
[11:30:43] <pcw_home> OK
[11:31:19] <R2E4> I have a 5-12v mpg, http://irmtl.com/LinuxCNC/VM40/MPG/mpg.jpg http://irmtl.com/LinuxCNC/VM40/MPG/mpg1.JPG
[11:33:19] <pcw_home> as long as the outputs swing near ground that should be fine at 12V
[11:33:41] <pcw_home> (the threshold is set to 2.5V for MPG inputs)
[11:34:14] <R2E4> Then I'll power it with 5v to be sure no problems.
[11:35:12] <R2E4> nad tie the gnds together....:-)
[11:36:36] <pcw_home> Either way should be OK
[12:06:11] <IchGuckLive> hi all B)
[12:19:26] <IchGuckLive> someone in the USA at the big freezze
[12:23:13] <einar_> Is something wrong with the forum? I tried to post, but it does not show up in the thread.
[12:30:22] <jthornton> forum works for me
[12:30:29] <jthornton> where did you try and post
[12:31:49] <einar_> Here: http://linuxcnc.org/index.php/english/forum/26-turning/26991-converting-a-boxford-250b?start=10
[12:32:18] <einar_> I'll try to log out, then back in...
[12:32:40] <jthornton> I just posted a reply to the thread
[12:32:48] <jthornton> as a test, so I'll delete it now
[12:35:21] <einar_> Logging out, then back in fixed it!
[12:36:26] <einar_> I did not get any warning that my reply was not accepted. It just was not ther.
[12:42:03] <jthornton> yea, the forum does not give out warnings
[12:42:43] * jthornton thinks a nap is in order
[13:02:59] <R2E4> this is adding a thread but nothing is using it.... http://linuxcnc.org/docs/html/examples/mpg.html
[13:03:02] <Tom_itx> is this global warming?
[13:03:13] * Tom_itx just doesn't feel it
[13:06:04] <Jymmm> Tom_itx: What happens when ice melts?
[13:10:33] <archivist> there was a funny statement on a news site about people diving into -26 deg c water
[13:11:37] <R2E4> anyone have a working mpg on a 7i77 pins 16,17?
[13:12:10] <pcw_home> R2E4:
[13:12:11] <pcw_home> loadrt mux4 count=1
[13:12:13] <pcw_home> addf mux4.0 servo-thread
[13:12:14] <pcw_home> are the only thread/functions needed
[13:13:44] <pcw_home> You might want the lowpass version of that hal code as well
[13:14:38] <pcw_home> (if no low pass is used, jogs are done at maximun accel which may be a bit jarring)
[13:14:52] <R2E4> just want to get it working first.
[13:15:11] <R2E4> The axis are not connected, I'm in the learning phase.
[13:15:56] <pcw_home> that example should be fine with some substitutions and deletions
[13:21:16] <Tom_itx> yeah the low pass works great for mpg
[13:22:58] <R2E4> it doesnt like this => setp encoder.0.x4-mode 0
[13:24:32] <pcw_home> sure, theres no encoder comp to setp
[13:25:40] <R2E4> yeah, deleted it and it found the other encoder sigs I didnt know what to do with.
[13:26:10] <Tom_itx> R2E4 are you writing a book as you go?
[13:26:13] <pcw_home> I would always start by launching linuxcnc
[13:26:13] <Tom_itx> book of notes
[13:26:14] <pcw_home> and then
[13:26:16] <pcw_home> halcmd show all > halobjects
[13:26:53] <pcw_home> and use halobject as a list of available pins,parameters etc
[13:27:48] <pcw_home> the encoder on the 7I77 field I/O has _no_ pins other than the count
[13:28:43] <pcw_home> so the mpg setup is simplified relative to the example
[13:28:45] <R2E4> ok
[13:29:24] <pcw_home> I can't imagine typing in or guessing long hal names
[13:29:45] <pcw_home> cut/pasting is so much easier
[13:33:32] <R2E4> http://irmtl.com/LinuxCNC/VM40/HAL/halobjects.txt , oh I'm printing that.
[13:34:51] <archivist> just open another editor window with it in
[13:36:04] <einar_> Is there a way to run Halscope free running?
[13:38:41] <pcw_home> auto trigger?
[13:54:38] <R2E4> How do I map mpg-inputs to hm2_5i25.0.7i77.0.0.enc0?
[13:55:46] <R2E4> They way they are doing it in the example code wont work. net mpg-a encoder.0.phase-A
[14:01:39] <Tom_itx> just wire it to the pins shown in your dump
[14:02:04] <Tom_itx> the driver has already assigned 'encoder' to them
[14:02:24] <Tom_itx> the example is likely for a parallel port
[14:02:34] <Tom_itx> using software encoder
[14:04:49] <R2E4> I see what your saying, bvut PCW said it could be used for either, input or mpg input, and if so, how would it know the diff if you didnt tell it.
[14:05:11] <R2E4> I'll try it.
[14:05:12] <atom1> yours may be slightly different but here's what i did
[14:05:23] <atom1> setp hm2_[HOSTMOT2](BOARD).0.encoder.00.counter-mode 1
[14:05:24] <atom1> setp hm2_[HOSTMOT2](BOARD).0.encoder.00.filter 1
[14:05:24] <atom1> setp hm2_[HOSTMOT2](BOARD).0.encoder.00.index-invert 0
[14:05:24] <atom1> setp hm2_[HOSTMOT2](BOARD).0.encoder.00.index-mask 0
[14:05:25] <atom1> setp hm2_[HOSTMOT2](BOARD).0.encoder.00.index-mask-invert 0
[14:05:38] <atom1> to set up the encoder parameters
[14:06:00] <R2E4> thats using encoders, I'm using input 16 and 17
[14:06:24] <Tom_itx> ^^ that is to set up the encoder parameters
[14:06:38] <Tom_itx> it may be different on the 5i25, i'm not sure
[14:06:56] <Tom_itx> should be the same as both are hostmot2 drivers
[14:07:42] <Tom_itx> read the hostmot2 manual on encoders to know what parameters you need
[14:09:01] <atom1> http://www.linuxcnc.org/docs/html/drivers/hostmot2.html#_encoder
[14:09:59] <R2E4> its in the firmware when your using mode3, you dont have to do that, besides that is for using one of the 6 encoder inputs. I want to use input 16 and 17 on the 7i77.
[14:10:44] <JT-Shop> R2E4, stuck?
[14:11:32] <Tom_itx> are pins 16 & 17 tied to the encoder functions?
[14:12:07] <R2E4> in mode 3 they are. I think I got it, it loaded with my configuration. Just have to figure out how to test it
[14:12:25] <Tom_itx> view the halconfig pins for it
[14:12:31] <Tom_itx> or counter
[14:12:54] <JT-Shop> http://www.gnipsel.com/linuxcnc/configs/7i77.html
[14:13:26] <JT-Shop> R2E4, ^^^
[14:13:34] <R2E4> I'm looking
[14:14:02] <atom1> wow such fancy diagrams!
[14:14:24] <R2E4> haha, you changed it allready. damn your fast
[14:15:21] <atom1> the bunch here is better than paid tech support in most places
[14:15:37] <atom1> and you don't have to wait on hold for 2 hrs first
[14:16:34] <R2E4> haha..... thats cool
[14:16:46] <R2E4> ITs like christmas. You ask for things and he brings them.
[14:17:37] <JT-Shop> I worked on it a bit during my lunch break
[14:17:45] <atom1> you lied
[14:17:51] <atom1> you said you were napping
[14:18:00] <JT-Shop> did that before the nap
[14:20:58] <atom1> so the MPG works slightly different on the 5i25?
[14:21:24] <atom1> or is that just on the sserial cards?
[14:21:50] * R2E4 jumps up screams RIVERDANCE and slap the ho next to him!!!
[14:22:08] <R2E4> ITs working
[14:22:33] <atom1> you expected something else?
[14:23:11] <R2E4> I expected to throw and break something else. hehe
[14:24:02] <R2E4> Well, took me all day but I got done what i wanted to today....
[14:24:08] <R2E4> Thanks guys....
[14:27:16] <R2E4> I say its working, in the show HAL config I can see the value changing under enc0 when I turn the wheel, so I am assuming it is working. Dont have it hooked up to an axis yet.
[14:27:55] <atom1> what's the count after one revolution?
[14:31:47] <R2E4> I'll check
[14:32:49] <R2E4> 100
[14:33:03] <atom1> must be working then
[14:37:42] <atom1> pcw_home, where are those 'common block' boards listed on your store page?
[14:38:00] <atom1> those look rather handy
[14:41:17] <JT-Shop> R2E4, now you need to set up your axis select and jog increment inputs
[14:44:39] <einar_> I am not able to improve acceleration here. Can someone look at my .INI : http://www.filedropper.com/univstep
[14:45:58] <R2E4> JT-Shop; I have them setup, havent test though
[14:47:02] <JT-Shop> put them in a watch window
[14:47:06] <einar_> I tried to increase in [TRAJ] and [AXIS_2] but don't see any improvement.
[14:48:02] <JT-Shop> use pastebin.org
[14:48:12] <JT-Shop> most people won't sign up for anything
[14:48:24] <R2E4> I'm having arguments with the watch window
[14:48:31] <R2E4> and I am not winning
[14:49:07] <WalterN> knurling tools... it looks like there are some female and male single wheel diamond styles... are those any good?
[14:49:44] <WalterN> to make diamonds, I've always used the two wheel (right and left) ones, never a single wheel
[14:50:02] <einar_> Like this: http://pastebin.com/RrSkb2T4
[14:50:54] <WalterN> http://www.mscdirect.com/product/78126208
[14:51:00] <WalterN> http://www.mscdirect.com/product/78127206
[14:51:12] <einar_> Single wheel knurling require a sturdy lathe.
[14:51:33] <WalterN> so you dont have to press as hard?
[14:51:53] <WalterN> with a two wheel one
[14:52:30] <einar_> You do! That's why a small lathe will have a problem. With 2 wheels the forces are between them and not on the x-slide.
[14:52:54] <WalterN> oh, you are talking about the kind that are not the bump kind
[14:53:05] <WalterN> the bump kind can be two wheel
[14:53:58] <einar_> This type is fine for small lathes: http://pastebin.com/RrSkb2T4
[14:54:20] <einar_> Sorry! Wrong paste!! http://brassandtool.com/Metal-Cutting.html
[14:55:14] <WalterN> thats kinda small... lol
[14:55:29] <WalterN> I'm knurling 4" diameter aluminum
[14:56:01] <einar_> That was just to show the type. You can make it as big as you want. :-)
[14:56:06] <WalterN> yeah
[14:56:13] <WalterN> I've used that kind before
[14:56:23] <WalterN> and the bump style two wheel ones
[14:56:24] <einar_> This is a typical DIY tool.
[14:56:35] <WalterN> but never a single wheel one
[14:57:16] <einar_> I use a single wheel on my big lathe, and really have to force it.
[14:58:15] <WalterN> this lathe is rated at... 30hp I think?
[14:58:50] <einar_> Oops! My big lathe is small. :-) It's just 7Hp
[14:59:06] <WalterN> http://www.mscdirect.com/product/08656209 is the two wheel that I've used before for diamond
[14:59:20] <WalterN> (not exactly that, but something like it)
[15:00:18] <einar_> When diamon knurling with 1 wheel I run twice with left/right angled wheels.
[15:00:48] <WalterN> oh
[15:01:05] <WalterN> I was wondering about the diamond style in one wheel
[15:01:23] <einar_> I would think the diamond wheel do not cut, but press form?
[15:01:39] <WalterN> erm... they all do that though
[15:02:39] <einar_> No, mine remove metal. They should not be plunged, but fed in like any cutting tool.
[15:02:52] <WalterN> oh weird
[15:03:02] <WalterN> I've never used a cutting knurl before
[15:03:17] <einar_> If plunging, the result is not as clean.
[15:04:36] <WalterN> woah those things are expensive
[15:04:47] <WalterN> cut knurling tools is ~$1,000?
[15:05:43] <WalterN> http://www.mscdirect.com/product/64142912
[15:08:08] <WalterN> I'll try this one out I guess http://www.mscdirect.com/product/78126208
[15:26:16] <JT-Shop> einar_, I've found that max acceleration is usually (for me) 10-20 times max velocity
[15:26:47] <JT-Shop> einar_, is this a velocity control servo drive?
[15:27:21] <R2E4> I can see the inputs changing, but how do i check if the output is being set to what is selectedd?
[15:29:21] <JT-Shop> put the output in the watch window
[15:29:49] <R2E4> output in the watch window.....hmmm
[15:30:08] <einar_> This is a Universal Stepper Controller.
[15:30:53] <einar_> Strangely enough it uses a PID even though it's a stepper system w.o. encoders.
[15:31:28] <PCW> the step generator is a velocity mode servo
[15:32:00] <einar_> I believe what the board does is just to copy the step counter as the encoder input.
[15:32:14] <PCW> the PID corrects for direction change time, timebase errors, etc
[15:33:27] <PCW> one thing I have noticed is that you want FF2 = period (so 0.001 at 1 KHz)
[15:37:20] <einar_> So when CYCLE_TIME = 0.010 I want FF2 the same? Is 0.010 a good choice?
[15:40:18] <einar_> I tried FF2=0.01 and it give a following error now.
[15:41:17] <R2E4> What output you talking about?>
[15:41:47] <R2E4> I really didnt want to ask, but i have been trying to figure that one out, the enco increments allways the same.
[15:52:10] <R2E4> scale is working
[15:59:39] <einar_> I don't understand: Halscope shows it takes >500ms to get from 0 to 2000PPS (max)
[16:01:04] <einar_> My Tektronics says it takes 200ms. Which is about the same as the controller I'm throwing out, so should be OK for the motors & mechanics.
[16:04:11] <tjtr33> einar_, halscope works in multiples of the thread period. so its more accurate if the measurements are using 2x thread period ( sampling limitation )
[16:04:31] <PCW> einar_ no, servo thread period
[16:04:46] <PCW> (so 0.001 at 1 KHz)
[16:05:08] <tjtr33> i used to go nuts trying to measure 10uS pulses with hal. 1) i couldnt generate them with my thread 2) icouldnt measure them to 1 unit of thread period accuractely
[16:07:48] <einar_> Hmm. I think I'll dig up a frequency to voltage converter and hook up between Step out and Tek. It's quite fiddly to zoom/pan to find the shortest pulses where to place a cursor.
[16:34:11] <Deejay> gn8
[16:41:54] <andypugh> ROFL. (Well, smued giggling anyway) I decided I wasn't actually comfortable with sudo not asking me for a password when I used sudo, so (looking on the internet blindly) I dud sudo visudo, and commented out the %sudo ALL... line.
[16:42:38] <andypugh> And now there are no accounts in the sudoers file to change it back :-)
[16:43:18] <andypugh> (smued = amused) Not sure how I got that that wrong.
[17:47:16] <WalterN> what does TPI mean when buying a knurling tool?
[17:47:20] <JT-Shop> very productive day here, got lots of the garage cleaned up and starting fabricating my hydraulic tank for my splitter. http://gnipsel.com/images/splitter/
[17:47:37] <WalterN> I want to match an existing knurl
[17:48:31] <andypugh> I would guess, turns per inch
[17:49:02] <andypugh> Bit if it is axiallly or circumfrentially I have no idea
[17:49:40] <WalterN> I have no idea
[17:49:49] <Tom_itx> or 'thread' per inch
[17:50:03] <WalterN> teeth per inch?
[17:50:12] <Tom_itx> basically the same thing
[17:50:31] <WalterN> http://www.innovativetoolsales.com/Dorian%20Circular%20Knurling%20Info.pdf
[17:51:17] <WalterN> ok, so I need a 14 tool
[17:54:05] <WalterN> its measured radially... (assuming round part)
[18:11:36] <JT-Shop> say goodnight Gracie
[19:38:27] <andypugh> Goodnight chaps
[22:45:07] <R2E4____> .
[23:34:04] <Tecan> http://www.pastebin.ca/2530807