#emc | Logs for 2008-02-24

[00:05:33] <skinny77cncpuppy> jlmjvm: atleast this is a project that could be done in next to no time
[00:08:23] <BigJohnT_> your not done yet?
[00:09:57] <DanielFalck> BigJohnT: nice table you got there
[00:10:40] <BigJohnT_> thanks, can't wait to get it done
[00:13:13] <alex_joni> good night all
[00:13:39] <DanielFalck> night alex_joni
[00:14:58] <BigJohnT_> good night alex
[00:19:58] <tomp> nite alex
[00:21:22] <tomp> jepler: did you post the .py and .hal for the 5 axis simulation? i was wondering about how you drove it with gcode.
[00:27:15] <tomp> oops, ok, i see browsing CVS (nevermind ;)
[01:28:37] <Bil1> Bil1 is now known as Duc05
[01:30:18] <Duc05> hello
[01:32:56] <fenn> hi
[01:40:32] <jlmjvm> skinny77cncpuppy:i finally got my homing problem fixed
[01:45:49] <jmkasunich> would somebody please test this link: http://www.anderswallin.net/2007/08/dah-lih-emc2-conversion/
[01:45:55] <jmkasunich> I think anders is having server troubles
[01:48:14] <Duc05> Error establishing database connection, but the server responds
[01:48:44] <jmkasunich> thats what I get - wordpress seems to think I want to log in, not just read the page
[02:21:32] <tomp> same on any truncation of that path, even root
[02:26:01] <fenn> wordpress uses a mysql backend
[02:26:21] <fenn> probably something wrong with the isp's mysql server
[03:15:41] <tomp> jepler: where can I find the ngc file that drove the 5 axis simulation? (has XYZBC moves)
[03:16:57] <tomp> oops, maybe cradek, he's the listed author
[03:18:25] <fenn> tomp: it's nc_files/cone.ngc
[03:18:39] <tomp> cone, thx
[03:26:48] <jmkasunich> report and pics of the Wichita trip: http://jmkasunich.com/cgi-bin/blosxom/index.html
[03:31:26] <cradek> neat
[03:31:47] <tomp> and a clean shop too
[03:32:11] <tomp> and well lit
[03:32:31] <cradek> it's comfy
[03:33:07] <tomp> i wish the places i go were that nice, usually i wear a headlamp :)
[03:35:18] <DanielFalck> nice report jmkasunich!
[03:35:27] <DanielFalck> thanks for posting that
[03:35:41] <jmkasunich> you're welcome
[03:35:46] <DanielFalck> EMC in the major leagues
[03:36:49] <tomp> 'new sense of scale' haha
[03:37:29] <DanielFalck> that would be a cool write up in Modern Machine Shop Magazine
[03:37:40] <cradek> or digital machinist
[03:38:06] <tomp> hint hint RayH
[03:38:27] <cradek> ray wasn't involved on this one...
[03:38:48] <tomp> i thought Ray published/authored digital machinist
[03:38:55] <DanielFalck> jmkasunich: what kind of bandwidth do you have on your server?
[03:39:04] <jmkasunich> DSL
[03:39:28] <DanielFalck> maybe you could copy it over to linuxcnc.org and then we could link to it to show it off?
[03:39:29] <jmkasunich> but SWPadnos generously lets me host the photos on his dreamhost
[03:39:53] <DanielFalck> do a wiki page
[03:40:10] <jmkasunich> anybody who wants to copy is welcome to do so
[03:40:22] <jmkasunich> I'm going to walk the dog ;-)
[03:40:35] <tomp> nice work
[03:40:48] <DanielFalck> Ok, but does SWPadnos have the linuxcnc server ? maybe we could put it up there too
[03:40:59] <jmkasunich> linuxcnc.org website is also on his dreamhost
[03:42:14] <jmkasunich> it would probably be nice to have a "how to" for doing that kind of scale + encoder thing
[03:42:20] <jmkasunich> but I'm scared
[03:42:30] <DanielFalck> SWPadnos: what do you think about putting it up on linuxcnc.org?
[03:42:49] <jmkasunich> it is a non-trivial thing, and if we make it too easy to try, people who don't understand what they are doing will dig themselves holes
[03:43:10] <cradek> jmkasunich: you did a good job of explaining it in english
[03:43:16] <cradek> I think that's the best way in this case
[03:43:35] <jmkasunich> note that I didn't explain in detail - if you don't already know PID you shouldn't attempt this
[03:43:44] <cradek> right
[03:43:47] <jmkasunich> ditto if you aren't already comfortable with HAL
[03:46:03] <tomp> was there a sizable difference between the report from the linear and the rotary? like a not-consistant difference?
[03:46:05] <DanielFalck> is linuxcnc.org up at the moment?
[03:46:17] <DanielFalck> I get a white screen
[03:46:31] <cradek> looks fine to me
[03:46:47] <tomp> me2
[03:46:59] <jmkasunich> tomp: there is a few thou of lash which shows up as difference between the two
[03:47:25] <jmkasunich> also, we didn't know (and really still don't know) the exact scaling of the rotary
[03:47:37] <cradek> you could see the various screw errors in the difference too
[03:47:45] <jmkasunich> it appears to be a 1/2" pitch screw, but we don't know the ratio of the timing belt between motor and screw
[03:48:07] <tomp> so all scaling was pragmatic
[03:48:12] <jmkasunich> errors other than lash were small, less than a thou IIRC
[03:48:27] <cradek> lash was big - about .006
[03:48:56] <cradek> but we tuned it to correct on reversal in a few tens? of msec
[03:48:57] <jmkasunich> yes, pragmatic - scale is 25400 counts per inch, encoder is something like 24848
[03:49:21] <tomp> you think the tuning was difficult because lash or stiction/mass low accel
[03:49:37] <cradek> it wasn't particularly difficult
[03:50:10] <jmkasunich> its just not as dynamic a machine as something like the mazak
[03:50:11] <cradek> we tuned the motor encoder first, then moved the integrator to the scale
[03:50:30] <jmkasunich> 120 ipm (2 ips), and IIRC 2.5 inches/second squared accel
[03:51:23] <jmkasunich> by contrast, the mazak does 300 ipm (5ips) and 20 inches/second squared accel
[03:51:35] <tomp> yeah, thats snappier than what i imagined, low top end but good response
[03:52:08] <jmkasunich> we had 0.001" indicators at both ends, and were doing 96" rapids and stopping dead nuts on
[03:52:31] <cradek> at 90ipm (taking one minute each direction)!
[03:52:51] <jmkasunich> oh, thats right, I forgot we slowed it down to 90 ipm from 120
[03:53:02] <tomp> those are hard tests when you have to really pay attention for long periods
[03:53:18] <jmkasunich> we discovered an idiosyncracy of the scales and their electronics
[03:53:23] <jmkasunich> they don't generate a uniform pulse train
[03:53:33] <tomp> !!?
[03:53:45] <jmkasunich> every 50uS, the electroncis reads the scale, and bursts out any counts that have happened in that 50uS period
[03:54:06] <tomp> wow, some buffer dump
[03:54:19] <jmkasunich> the pulse length (in the burst) is settable with jumpers, and initially it was too short for the PPMC to detect
[03:54:46] <tomp> but then realtime has a problem if the thread runs faster
[03:54:52] <tomp> doesnt it?
[03:54:58] <jmkasunich> so we could reliably count 0, 1, or 2 counts per 50uS period, but if we went fast enough to have 3 counts, we would stop counting totally
[03:55:22] <jmkasunich> the G&L is using Jon Elson's PPMC cards, counting in hardware
[03:55:27] <jmkasunich> so the threads aren't an issue
[03:55:44] <jmkasunich> but jon's boards filter the input digitally, a pulse less than 3uS is ignored
[03:57:42] <jmkasunich> and of course, the scale manual explains this in engrish....
[03:58:15] <tomp> haha japanese scales? oh yeah sony magnetron
[03:58:37] <cradek> these tiny tiny tools in huge machines are funny: http://willepadnos.net/jmkasunich/cinci-spindle-1850.jpg
[03:58:52] <jmkasunich> yep
[03:58:59] <jmkasunich> that machine has about a 10 foot long table
[03:59:19] <jmkasunich> over on one corner is a Kurt vise, and in the vise is a 3 x 5" plate about 1/16" thick
[03:59:20] <cradek> seems like they could really use something the size of a bridgeport but with a 6-10krpm spindle
[03:59:31] <jmkasunich> they're drilling 1/8" (or smaller) holes in it
[03:59:53] <jmkasunich> well, in that case, they were spinning that drill bit at a few hundred RPM
[04:00:00] <jmkasunich> the part is inconel ;-)
[04:00:03] <cradek> ohhh
[04:01:36] <jmkasunich> well, its 30 mins since I said I was going to walk the dog, and he's whining at me
[04:01:38] <jmkasunich> goodnight all
[04:01:49] <tomp> gnite
[04:01:55] <cradek> me too, goodnight
[04:02:01] <tomp> gnite^2
[04:06:09] <tomp> i got some math err... 90ipm = 1.5ips = 38.1mm/s = 1um/26.247uS. the linear scale was 1um. oh, ok it broke at 3 counts in 50uS ( almost broke at 2 )
[04:06:46] <tomp> yeah 2 counts per 50uS was on the edge
[04:49:29] <fenn> i find it interesting that the g&l has a tiny integrated computer/monitor
[04:56:50] <fenn> http://www.mpm1.com:8080/machines/GandL/pictures/S1030251.JPG
[04:57:29] <DanielFalck> what brand is that?
[04:58:17] <DanielFalck> fenn: can you get to linuxcnc.org at the moment?
[04:58:27] <fenn> probably a gateway profile 3
[04:58:28] <DanielFalck> I can't seem to reach it from here
[04:58:47] <fenn> works for me
[04:58:52] <DanielFalck> hmm...
[04:59:22] <tomp> i can get to http://www.linuxcnc.org but cant get that last pix posted
[05:00:12] <DanielFalck> I restarted firefox- now it works
[05:00:28] <LawrenceG> JPG is coming down very slowly here
[05:00:39] <fenn> anderswallin.net is in the first page of google results for 'gateway profile'
[05:15:39] <JymmmEMC> DAMN... eta 7minutes
[05:16:06] <JymmmEMC> 714Bytes per second... somebody needs to get some bandwidth
[05:17:32] <JymmmEMC> fenn: what website is that?
[05:17:55] <JymmmEMC> and it's only a 308K file too
[05:18:11] <fenn> well, it worked for me
[05:18:46] <JymmmEMC> I even connected to my server at the datacenter, so it aint my dsl that's for sure =)
[05:18:57] <JymmmEMC> ETA: 3m
[05:18:59] <JymmmEMC> lol
[05:19:13] <JymmmEMC> fenn: this better be some damn good p0rn =)
[05:19:38] <fenn> http://fennetic.net/pub/irc/S1030251.JPG
[05:20:13] <JymmmEMC> fenn: Um, where's the boobies?! There's no boobies in that!
[05:20:39] <JymmmEMC> What computer is that? Never seen one quite like that before.
[05:20:51] <fenn> JymmmEMC: http://evenement.branchez-vous.com/upload/2007/11/corn_porn.jpg
[05:21:12] <JymmmEMC> lol
[05:22:04] <JymmmEMC> fenn: http://lebris.cedric.free.fr/hidden/wallpapers/Catherine%20Bell%2006%20-%201600.jpg
[05:22:42] <JymmmEMC> fenn: THOSE are boobies fyi.
[05:23:55] <fenn> google sees all
[05:24:47] <fenn> even your 'hidden' wallpaper collection
[06:36:06] <JymmmEMC> hidden my ass =)
[11:41:04] <jlmjvm> BigJohnT:good morning
[11:41:24] <BigJohnT_> hi
[11:41:35] <BigJohnT_> still waiting on the coffee maker
[11:41:56] <jlmjvm> i hear ya,on my second cup
[11:44:14] <BigJohnT_> mmmm, first sip
[11:44:48] <BigJohnT_> I found a way via fenn to get the config path so it won't have to be hard coded into tlo
[11:45:22] <jlmjvm> cool
[11:45:58] <BigJohnT_> I haven't tried it yet, I was reassembling my plasma cutter after a round with my mill modding parts...
[11:46:22] <jlmjvm> thats gonna be a good looking machine
[11:46:50] <BigJohnT_> thanks, it's taking long enough...
[11:47:26] <jlmjvm> i sure liked that idea yesterday,cant get it out of my head
[11:48:33] <jlmjvm> a bolt on plasma attachment
[11:49:36] <BigJohnT_> just keep in the back of your head that your mill might not reach the speeds you need for the best cuts on thinner material
[11:49:58] <BigJohnT_> however it would work for a small part every now and then
[11:50:07] <jlmjvm> do you need more than 100 ipm?
[11:50:28] <BigJohnT_> on thin material like 22 gauge I cut at 415IPM
[11:50:50] <BigJohnT_> but it will cut at slower speeds
[11:50:53] <jlmjvm> good to know
[11:50:59] <BigJohnT_> just has more droos
[11:51:08] <BigJohnT_> slag
[11:51:13] <BigJohnT_> to clean off
[11:51:19] <jlmjvm> how fast for something like 1/4 inch
[11:52:44] <BigJohnT_> for my hypertherm 1250 with the 80 amp tip it's 105 IPM with the 40 amp tip its 48 IPM for mild steel
[11:53:32] <BigJohnT_> that will depend on your plasma cutter
[11:53:40] <BigJohnT_> do you own one now?
[11:54:01] <jlmjvm> no,but im seriously considering 1
[11:54:30] <jlmjvm> tractor supply had 1 for 700 bucks that caught my eye
[11:54:58] <BigJohnT_> ok, some advice on them. the thickness rating is usually for severing. severing is a french word for fxxking ugly cut
[11:55:35] <BigJohnT_> you can start from an edge on thicker material than you can blowing through
[11:56:38] <BigJohnT_> do you have an oxy/ac torch?
[11:56:44] <jlmjvm> no
[11:56:56] <BigJohnT_> that would cut thicker material...
[11:57:07] <BigJohnT_> just depends on what you want to cut
[11:57:11] <BigJohnT_> or make
[11:58:46] <jlmjvm> i will get with ya before i purchase 1 to make sure its correct for the application
[11:59:22] <BigJohnT_> ok, what type of materials do you think you might cut
[11:59:43] <jlmjvm> alum and mild steel probably
[12:01:00] <BigJohnT_> they are the same until you get above 3/4" for speeds and amps
[12:17:40] <BigJohnT_> looks like fenn's fix only returns the hardcoded path to the nml file not the one that is in use...
[12:19:41] <jlmjvm> http://cgi.ebay.com/40-Amp-Plasma-Cutter-Inverter-Dual-Voltage-110-220-Volt_W0QQitemZ180216268431QQihZ008QQcategoryZ113743QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
[12:19:55] <jlmjvm> do you think that 1 would work
[12:25:31] <BigJohnT_> more coffee brb
[12:32:18] <BigJohnT_> it is 40 amp so it "should" cut 1/4" ok. Don't expect too much from a cheap plasma cutter and you won't be disapointed
[12:32:50] <jlmjvm> k
[12:33:05] <BigJohnT_> he has enough bad feedback to scare me away from buying from him even if he has 8k transactions...
[12:34:22] <jlmjvm> didnt even check that
[12:45:58] <micges> morning all
[12:55:27] <BigJohnT_> morning
[13:04:09] <BigJohnT_> jlmjvm: also make sure you can purchase consumables for the plasma torch. <Very Important
[13:19:36] <jlmjvm> http://www.tractorsupply.com/webapp/wcs/stores/servlet/ProductDisplay_10551_10001_36265_-1______?rFlag=true&cFlag=1
[13:19:58] <jlmjvm> they dont have the 700 dollar 1 any more
[13:20:27] <BigJohnT_> for that price range look for a Hypertherm...
[13:20:35] <jlmjvm> k
[13:21:01] <BigJohnT_> the $700 one might have been a local special
[13:25:32] <jlmjvm> prolly was,it was around christmas
[13:25:50] <jlmjvm> http://www.youtube.com/watch?v=EHBiuCbqQXY&feature=related
[13:27:19] <BigJohnT_> i'm on dialup so it will take me a while to see it
[13:28:42] <jlmjvm> k,its just a plasma cutting a mud flap lady
[13:31:04] <BigJohnT_> notice the bandaged finger LOL
[13:33:44] <jlmjvm> i see that
[13:35:55] <BigJohnT_> that's plasma cutting at it's finest
[13:36:09] <BigJohnT_> http://951753.pastebin.ca/916232
[13:37:25] <BigJohnT_> what's on my mind is to "read" the list of tools from the tool table and then you pick the one you want to update, what do you think?
[14:08:00] <jlmjvm> if you could make this 1 not force you to enter a dia and not overwrite an existing dia it would be awesome
[14:09:08] <jlmjvm> looking good
[14:13:52] <BigJohnT_> that's why I'm thinking that you pick the tool you want and it pops the existing values in there and you change what you want
[14:18:23] <jlmjvm> do you have an email?
[14:35:50] <BigJohnT_> me?
[14:40:34] <jlmjvm> yes
[14:41:27] <jlmjvm> BigJohnT:yes
[14:43:39] <BigJohnT_> jlmjvm: I opened another dialog window
[14:46:14] <jlmjvm> BigJohnT:how do you do that,never done it before
[14:46:28] <BigJohnT_> I just right click on your name
[14:46:35] <BigJohnT_> did you see it?
[14:48:24] <jlmjvm> try it again
[14:50:30] <BigJohnT_> ok
[14:51:00] <BigJohnT_> did you see it pop up under #EMC?
[14:51:31] <jlmjvm> nope.i think i may have to register my nick for that to work
[14:51:54] <jlmjvm> seems like i saw something about that before
[14:52:31] <jlmjvm> brb,breakfast time,will register and reboot chatzilla after i eat
[14:52:34] <BigJohnT_> ok anyhow at home its jet1024 at semo dot net
[15:15:38] <Duc05> Duc05 is now known as Duc05_
[15:20:00] <jlmjvm> BigJohnT:i sent ya 1,gonna turn this off and try to register
[15:43:04] <Duc05> Does anyone know how to setup syntax highlighting for .ngc files in gedit? I tried to follow the guide at linuxcnc but that seems to be for an older version of gedit. There isn't the option to change the colors in the menu anymore
[15:48:00] <DanielFalck> I might be able to help you
[15:48:12] <DanielFalck> let me look at my notes
[15:49:43] <Duc05> sounds great
[15:50:55] <DanielFalck> I'm looking for the particular directories....
[15:52:59] <Duc05> well the guide I followed had me put a ngc.lang file in /usr/share/gtksourceview-1.0/language-specs
[15:53:20] <Duc05> but now I think it uses gtksourceview-2.0, and the formatting of the file is different
[15:53:51] <DanielFalck> yes, I think formatting is different
[15:54:02] <DanielFalck> you can look at another language file to see how
[15:54:28] <DanielFalck> /usr/share/gtksourceview-2.0/language-specs/ngc.lang
[15:54:47] <DanielFalck> give me your email over in #cam and I will send what I have
[15:55:10] <Duc05> ok
[15:56:36] <tomp> maybe /usr/share/gedit-2/plugins/snippets/ seems to be xml desciptions of different file types, then you select one from menu bar View | highlight mode | others
[15:57:36] <tomp> descriptions
[16:02:28] <DanielFalck> I think ngc.xml would be for the snippets actions
[16:03:54] <tzak> anyone running a mesa 5i20 card .. i have a couple of questions
[16:05:35] <tomp> tzak: just ask, maybe someone knows
[16:07:09] <tzak> well i had my system up and runnig, fully servoed and running programs... then i started up my machihne yesterday and all the limits were on and i couldnt start the machine. Then i had one of my amps blow ,and im not sure if i damaged the mesa at all
[16:07:55] <tzak> i turned it back on and tried a working amp , i am getting counts on the encoder and limt switches are working however i cant get a servo???
[16:08:02] <tzak> any ideas
[16:10:34] <tomp> "all limits on and couldnt start" sounds undesirable to you but a correct action for the control. maybe power loss thru limit swx and e-stop circuit? "get counts , limits work, cant get servo" sounds like e-stop really didnt release or no enable to amps.. check with hal meter or voltmeter.
[16:12:17] <tzak> is there anyway to check the card to see if the pwm and dir are working
[16:14:48] <tzak> i looked at the enable and they seem to be getting the correct voltages .. nothing has changed since the original setup which was working ??
[16:14:57] <tomp> scope ( or a meter knowing low velocity pwm is read as a lower voltage and hi vel is read as a higher voltage. ) exercise the mesa using hal ( not emc2 )
[16:15:13] <tomp> oh and something has changed, you dont know where right now
[16:15:31] <tzak> yeah i guess you right on that
[16:16:34] <tzak> how should i test using hal ??
[16:19:17] <tomp> this is real crude.. the basic idea.. 1) you run a halconfig that starts the realtime system and asks that a 5i20 be recognized for use 2) you get a list of the pins by asking hal 3) you force some values and observe the outputs
[16:19:35] <tomp> the specifics... i'm looking for an example in the wiki now...
[16:22:19] <tzak> thanks
[16:22:25] <tomp> this may be handy, it's a gui that shows you what hal thinks is happening ( despite possibly blown ioutputs ) http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?M5i20_Halvcp_Test_Panel
[16:24:12] <tomp> yes, i think his shell script sets it all up without using emc2
[16:26:01] <tzak> how do you run the test panel ... from terminal?
[16:27:20] <tomp> wait, there's bug in script, i made it run, will pastebin.. put all 3 files in /home/yourdirectory/youremc2root/ ok?
[16:28:30] <tzak> ok i'll give it a try
[16:30:06] <tomp> tzak: http://pastebin.ca/916388
[16:31:52] <tomp> tzak: also chg permissions on the shell script so it's executable, then change to the directory where it is, and type './iotest.sh'
[16:32:23] <tomp> can you see the panel?
[16:33:30] <tzak> i have to try this on my linux machine right now im on my windows box
[16:33:39] <tomp> k
[16:36:37] <tzak> i will have to get back to you on the results... what do i need to look for one i get the test panel up and running?
[16:37:15] <tomp> wait a 2nd path dependancy in script... need to pastebin again
[16:37:29] <tzak> ok
[16:39:26] <tomp> tzak: http://pastebin.ca/916399
[16:41:49] <tzak> i should just copy this script ???
[16:43:23] <tomp> hmm, i'm still having trouble with the script, it closes the halcmd session communications to the terminal, so some debug isnt available, like 'show pins'...
[16:44:11] <tomp> so i have a m5i20 and am trying to manually type the commands so it doesnt do that...
[16:44:31] <tzak> ok .. well i'll give it my best this type of testing is new to me
[16:45:03] <tzak> another question is there a way to switch the enable signal .. to reverse it ?
[16:46:38] <tomp> yes, (if reverse means change its logic level ) use a 'comp' or route the output thru an inverted output
[16:48:50] <tzak> how do you route the output through a inverted output?
[16:50:52] <tomp> i'm in the shell scripts now, bu ti think if you look at the hal docs for m5i20, the outputs may have normal and inverted pins ( or i'm thinking of the parport...) this is a good reason to get the halcmd running with the panel, then you can see the resources available :)
[16:52:15] <tzak> yeah i understand.. well i'll try getting the panel running and see if that works
[16:54:26] <lerneaen_hydra> jmkasunich; that's quite a mill! (the giddings & lewis)
[17:03:53] <tomp> tzak: i can exercise the dac enables and dac outputs values, but havent gotten the simple digital i/o to work yet
[17:04:20] <tzak> thats through the test panel
[17:04:28] <tomp> tzak: yes
[17:04:44] <tomp> click enable, slide the thumb, see the output
[17:05:50] <tzak> ok i'll try that.. like i said i have to go try it on my linux box but i'll let you know how it turns out
[17:06:04] <tomp> for the digital i/o i thought the output was warpped to the input so clicking the output btn should change the led color
[17:06:44] <tomp> but not on mine !?!? not on panel, not in halcmd show pin
[17:08:08] <tomp> dang i had built a breakout to breadboard for it, and its at work, had leds and dip swx and test points
[17:08:51] <tomp> ok, try it, and i'm off to openGL machine design land :-)
[17:09:29] <tzak> yeah i have to go and test everything at my work to .. ill let you know the results
[17:16:44] <BigJohnT_> nap time for /me
[17:16:50] <BigJohnT_> bbl
[17:48:56] <Duc05> I have a question about comments in .ngc files. How can you do a block comment, and how can you comment out just a line or portion of code
[17:49:10] <jmkasunich> no block comments as far as I know
[17:49:21] <alex_joni> () are comments
[17:49:36] <alex_joni> there is block delete, iirc
[17:49:36] <jmkasunich> can ( and ) be used to span multiple lines?
[17:49:52] <alex_joni> * alex_joni looks it up
[17:50:05] <alex_joni> re: block delete..
[17:50:11] <alex_joni> you can prefix lines with '/'
[17:50:23] <Duc05> yeah so it can be deleted at runtime
[17:50:26] <jmkasunich> there is a hack using O-words to "comment out" a large (or small) block of code - just put "O400 sub" at the start, and "O400 endsub" at the end
[17:50:29] <alex_joni> those lines get interpreted, executed only if the block delete is on
[17:50:42] <Duc05> ah
[17:50:47] <jmkasunich> 400 could be any number not used for any other O-word in your program
[17:51:05] <alex_joni> A left parenthesis always starts a comment. The comment ends at the first right parenthesis found thereafter. Once a left parenthesis is placed on a line, a matching right parenthesis must appear before the end of the line.
[17:51:18] <jmkasunich> ok, so () comments are one line only
[17:51:19] <alex_joni> http://www.linuxcnc.org/docview/html//gcode_main.html#sec:Comments
[17:51:23] <Duc05> I think I'll just stick with () in case I run this on a different machine
[17:51:25] <alex_joni> yup
[17:51:26] <jmkasunich> also, you can't nest () comments
[17:51:39] <Duc05> alex_joni, thanks for the link
[17:54:19] <tomp> tzak: (ok u not here) it all 'works', but i have better luck using the terminal and the panel than using the script, and i just saw the whole section "# link digital outputs to button" is missing (may be why the button didnt cause anything to happen ;)
[17:54:41] <tomp> will pastebin new scripts and a recording of the shell session
[17:54:46] <alex_joni> jmkasunich: nice blog entry
[17:55:07] <alex_joni> will you write a small description on the encoder + scales thingy?
[17:55:19] <jmkasunich> I did ;-)
[17:55:23] <alex_joni> it might be good to include in the integrators manual, and send to the user list
[17:55:32] <alex_joni> you did? didn't see the commit :P
[17:55:43] <jmkasunich> its in the blog posting
[17:56:04] <tomp> u didnt see it cuz it was very small
[17:56:06] <jmkasunich> I gain for the scale PID, P+D+FF for the encoder PID, sum them in HAL
[17:56:35] <alex_joni> tomp: oh, I saw it.. but was hoping jmk could bring it more into a manual form :)
[17:56:41] <jmkasunich> anyone who isn't sufficiently PID and HAL proficient to start with that shouldn't be doing this, IMO
[17:57:08] <jmkasunich> (call me an elitist if you want....)
[17:57:22] <jymm> jmkasunich: you elitist you =)
[17:57:26] <tomp> if you dont know what diddywadiddy mean, then dont mess with it lady (R Crumb) ==> PIDdywadiddy
[18:00:01] <lerman> jmkasunich: The sub, endsub trick will work in some places, but not within another sub.
[18:00:20] <lerman> Instead, use if [0] ... endif
[18:00:35] <jmkasunich> ah, better
[18:00:45] <lerman> That should work anywhere and to disable it, change the zero to one.
[18:01:01] <jmkasunich> yeah, dunno what I was thinking
[18:01:09] <lerman> (Or, I should say, to reenable the code.)
[18:01:11] <jmkasunich> guess I can claim its early
[18:01:27] <jmkasunich> oh, since you are here....
[18:01:31] <tomp> or to value of variable at top of pgm? so you can edit the block at top of pgm easily
[18:01:57] <lerman> tomp: good idea.
[18:02:08] <jmkasunich> maybe I already asked about this? how hard would it be to error out when a second Oword with the same number is encountered?
[18:02:45] <lerman> You mean in the case of two subs with the same o-word?
[18:03:07] <jmkasunich> or two while loops, etc
[18:03:36] <jmkasunich> I have a habit of writing say a roughing loop, then copying it farther down and modifying it for finish passes, or roughing another feature
[18:03:46] <lerman> If and when I get a machine to work on EMC with, I'll be implementing named o-words.
[18:03:50] <jmkasunich> the endwhile of the 2nd loop goes back to the while of the first one
[18:04:17] <lerman> Yup. It will do that. I should be able to generate an error in that case.
[18:04:44] <jmkasunich> I've learned that when a program takes a long time to load/preview, its time to hit escape and check for that particular mistake
[18:04:52] <tzak> <tomp> question for ya
[18:05:01] <tomp> yep?
[18:05:23] <lerman> I'll also make o-words be local, so that two subs can have the same (internal) o-words. That should eliminate a lot of clashes.
[18:05:28] <tzak> im trying to load the test panel and not sure where the files need to go in the linux file system
[18:05:47] <tomp> tzak: i making sure the m5i20 stuff is reproducable ;)
[18:05:59] <tomp> tzak: ok, the files go...
[18:06:18] <lerman> jmkasunich: If you generate a bug report for that with low priority and assign it to me, I might remember to do that. :-)
[18:06:30] <tzak> ok well i can test thing now so let give it a try
[18:06:45] <jmkasunich> is it a bug or just a feature request?
[18:07:14] <tomp> tzak: where is emc2 installed on your system? find out. we'll call that the 'root' of emc2
[18:07:20] <lerman> You can call it a bug. It was probably caused by my being lazy.
[18:07:58] <tzak> well im logged in as 'root' as the user
[18:08:19] <tomp> no, dont do that and that's a different meaning of the word
[18:08:36] <tomp> log in as you ( a plain ol user )
[18:08:45] <tzak> ok ...
[18:09:09] <tomp> this meaning of root is like root of a tree ( a computer file directory tree )
[18:09:44] <tomp> did you get my private message? got that facility?
[18:11:10] <tzak> no i didnt
[18:12:24] <tomp> never mind, we can talk here
[18:12:37] <tomp> are you a normal user now?
[18:12:43] <tzak> ok yeah normal user
[18:12:53] <tomp> then open a terminal
[18:12:58] <tzak> ok
[18:13:32] <tomp> cd to your emc2 installation directory (maybe /home/tzak/emc2.2somethingsomething )
[18:13:49] <alex_joni> bbl
[18:15:37] <tzak> ok
[18:15:51] <tomp> copy these files to that directory 'iotest.sh' 'iotest.xml' 'pyiotest.py'
[18:17:30] <tzak> sorry i can't see the emc2.2 directory???
[18:18:08] <tomp> ok, what is the linux you are running? ( for example, ubuntu )
[18:19:35] <tzak> yeah ubuntu with emc2.2
[18:22:38] <tomp> oh crap, it's been so long since i used the instlled version, i always use a run-in-place.... sorry i'm a bit lost where to put your files... we need input
[18:23:01] <jmkasunich> tomp: what exactly are you trying to do? what files?
[18:23:41] <tomp> jmkasunich: thx, he wants to test/exercise the m5i20, thinks maybe hdwr failure, using awallinns pyvcp test panel
[18:24:27] <tomp> jmkasunich: where would the files go http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?M5i20_Halvcp_Test_Panel
[18:24:47] <jmkasunich> why not just use halcmd show?
[18:25:10] <jmkasunich> the original project was "test m5i20", but now the project has become "get pyvcp scripts working"
[18:25:28] <tomp> yes, i thought the gui was a good starting place :(
[18:26:25] <tzak> im having a hard time trying to figure out what went wrong with my system and tomp suggested the test panel which look like it could help
[18:27:03] <jmkasunich> tzak: have you read the hal tutorial? do you know how to use halcmd?
[18:27:30] <tzak> i have used the halcmd
[18:27:38] <tomp> tzak: i'm working on a recording of a terminal session where i look at and examine the m5i20 pins, it aint ready yet
[18:27:51] <jmkasunich> then I would suggest simply using halcmd to see what the 5i20 is doing
[18:29:11] <tzak> im just not sure what to check ??
[18:29:54] <jmkasunich> well, what do you think is broken?
[18:30:11] <jmkasunich> I seem to recall that encoders count, so that part must be OK
[18:32:08] <tzak> encoders are counting my amps are working i think something with the enable maybe ..
[18:32:42] <jmkasunich> so put a meter (real one) on the enable output, and use setp or sets to toggle it from halcmd
[18:32:55] <jmkasunich> see if the physical pin toggles when you tell it to
[18:33:59] <tzak> i have done that when i turn on/off the power in emc and it seems to change.. i will try with halcmd
[18:34:00] <Roguish> hey guys, if i do a cvs update on trunk, am i getting the 'all tags / default branch' ???
[18:38:42] <tomp> tzak: a halcmd session in a terminal http://pastebin.ca/916503
[18:50:31] <tomp> beware you make one error in the terminal and halcmd drops out to prompt leaving you with a mess to clean up, if so, rerun halcmd -f, type 'unload all', then 'quit', then, back in terminal, type 'scripts/realtime stop', then close that terminal, open a NEW terminal, and start again.
[18:50:58] <jmkasunich> tomp: ?
[18:51:20] <jmkasunich> "halcmd -kf" means "take input from stdin, and keep going in the event of an error"
[18:51:30] <jmkasunich> it won't drop out until you say halcmd quit
[18:52:10] <tomp> oh, thanks
[18:52:13] <jmkasunich> also, even if halcmd does exit, that doesn't change the running HAL configuration, you can simply restart halcmd and keep doing stuff
[18:53:16] <tomp> didnt know you could re-enter either, was always trying to clean up and start anew
[18:53:32] <jmkasunich> halcmd is kind of like a shell for HAL
[18:53:58] <jmkasunich> if you do "mv <somefile> <somewherelese>" in bash, then close the shell, the file is still where you put it
[18:54:22] <jmkasunich> likewise, if you do "setp <someparam> <somevalue>" then exist halcmd, that param still has the value you gave it
[18:54:35] <tomp> ok, got a typo and dropped out now, will re-enter with halcmd -kf
[18:57:35] <tomp> cool, i was in midst of adding all the functions and could just continue
[18:57:41] <tomp> thx
[18:58:52] <tomp> tzak: if you look at the pastebin of the terminal session, just change 'halcmd -f' to 'halcmd -kf'
[18:59:29] <tzak> ok
[18:59:47] <tzak> i tried what is in the paste bin and it seem to be working
[19:00:23] <tomp> tzak: ok, try the enable , begin by looking "show pin m5i20.0.dac*"
[19:01:14] <tomp> tzak: then try to enable dac0 with 'setp m5i20.0.dac.00-enable 1'
[19:01:57] <tomp> tzak: and see if the real meter shows the amp is enabled
[19:03:11] <tzak> is that going to be on pin 1?
[19:04:36] <tomp> tzak: for pinout of m5i20 see Hal Users Manual section 6.5
[19:05:42] <tomp> pin 23 connector P2 is dac-00-enable output
[19:06:00] <tomp> (theres differences between mesa's naming and hal naming )
[19:07:14] <tzak> so i am going off the 5i20 pinout
[19:07:57] <tomp> yes, other breakouts or amps we wouldnt know about unless you tell us :)
[19:10:26] <tomp> tzak: going to put you on audible now, the irc client should read me your messages ;)
[19:12:11] <tzak> ok so i tried turning the enable on/off true/false and the voltage stays at 3.00v
[19:13:21] <tomp> 'setp m5i20.0.dac.00-enable 1' not true not on but 1 worked for me
[19:14:07] <tomp> maybe try it unloaded ( not connected to device )
[19:14:26] <jmkasunich> make sure that the appropriate hal functions are in a thread and that threads are running
[19:14:55] <tomp> jmkasunich: i hope the pastebin did that http://pastebin.ca/916503
[19:15:29] <jmkasunich> looks like it does
[19:15:44] <jmkasunich> any reason thread tt2 is a 1 second period? seems very slow
[19:15:59] <tomp> just what awallin had
[19:16:09] <tomp> yeh a billiion
[19:16:28] <jmkasunich> actually, you don't seem to be adding anything to that thread at all.... why have it?
[19:16:35] <tzak> unloaded?? i have it into a breakout board and the only thing runnign is the computer everything else is off
[19:17:26] <tomp> tzak, then its unloaded unless the breakout is suckin it down/nailing it, try another output
[19:18:13] <tomp> jmkasunich: yes, its useless, just what was in the orig scripts
[19:21:09] <tzak> ok i will try m5i20.0.dac.01-enable
[19:23:42] <tomp> use a meter to measure FROM your pin under test TO connector P2 on any even pin ( all those are GND)
[19:24:52] <tzak> i checked all the enables 00-03 and they are all at 3v when i switch them on and off
[19:25:13] <tomp> ok, check P2 pin49 to GND to see if your supply voltage is ok
[19:28:23] <tomp> and when you say "the only thing runnign is the computer everything else is off " I'd like everything else disconnected, at least the one wire under test
[19:31:19] <tzak> i checked all the enables 00-03 and they are all at 3v when i switch them on and off same result
[19:32:14] <tzak> i took the ribbon cable straight and measure pin 49 to gnd and had 3v then did the enable and its still 3v
[19:32:51] <tomp> ok, the outputs dont do what your ask... is your m5i20 working on 5V or 3.3V? ( what do you measure on pin 49 to 50)
[19:33:30] <tomp> (49 = 'POWER' 50 = 'GND')
[19:35:25] <tzak> soory my mistake pin 49 to gnd is 5v and pin 47 is 3v
[19:36:16] <alex_joni> good night all
[19:37:20] <tzak> anything else to check ?
[19:37:45] <tomp> tzak: what does hal think about this? type 'setp m5i20.0.out-00 1", then ask by typing 'show pin m5i20.0.out-00'... does hal say it's 1?
[19:38:35] <tomp> then dbl check with type 'setp m5i20.0.out-00 0", then ask by typing 'show pin m5i20.0.out-00'... does hal say it's 0?
[19:39:02] <tzak> ok i will check
[19:39:32] <tomp> if hal says its what hal set it to, and the meter sez no, then the hardware is broken
[19:39:57] <tomp> or not connected
[19:40:34] <tomp> ? did the 'other end' come off?
[19:41:38] <tzak> ok so setp m5i20.0.out-00 1 = true
[19:41:55] <tzak> setp m5i20.0.out-00 0 = false
[19:43:11] <tomp> yes, do that , each time checking what hal thinks and what the meter sez
[19:43:32] <tzak> which pin is out-00
[19:44:49] <tomp> you'll need this for reference, the Hal Users manual, in section 6.5 it shows out-00 is connector P3 pin 33
[19:45:50] <tomp> on your system the manuals should be on the menu bar Applications | CNC | HAL_User_Manual
[19:46:11] <tzak> yeah i found it was pin 33
[19:46:20] <tzak> still no change in voltage
[19:46:36] <tomp> and does hal say it changes? this is important
[19:47:09] <tzak> yeah it says its false =0 true =1 but the voltage stays put
[19:48:01] <tomp> last idea: can you check the end of the cable going into the breakout , without connecting it to the breakout?
[19:48:34] <tzak> i tried that on the enable signal but i'll try on the out-00 just to make sure
[19:50:52] <tzak> still no luck the voltage doesn't change
[19:51:19] <tomp> sorry, i think the board is not working
[19:51:42] <tzak> well at least thats then end of that goose chase..
[19:51:55] <tzak> would mesa be able to repair it?
[19:52:41] <tomp> dunno, i cant see the board so dont know if drivers are socketed or what
[19:52:42] <jmkasunich> they made it in the first place, so they can certainly repair it - however, the cost to repair might be high
[19:53:03] <jmkasunich> there are no drivers, so if it is really fried then the FPGA probably needs replaced
[19:53:58] <jmkasunich> from what I have seen scroll by, I don't trust the testing that tzak has done
[19:55:55] <tzak> what dont you trust ? is there something else i should check
[19:56:30] <jmkasunich> it sounds like you are following instructions without really knowing what is going on
[19:56:38] <jmkasunich> whenever that happens I don't trust the results
[19:57:21] <tzak> well im not sure what else i can do .. i had this thing working it was running programs a week ago without any issues
[19:57:58] <jmkasunich> "working" is the big picture - that means many little things were all working correctly
[19:58:16] <jmkasunich> when the big thing stops working, the thing to do is to track it down to which little thing has stopped
[19:58:16] <tomp> tzak: do any of the onboard leds turn on? ( a gross indicator )
[19:58:52] <tzak> yeah the three of the led are on
[19:59:13] <tomp> which 3 ( please refer to the pdf on your desktop )
[19:59:19] <tzak> yeah the big thing that happend was a amp cooked
[19:59:20] <jmkasunich> the 5i20 board has many functions - digital inputs, digital outputs, encoder counting, and ADC/PWM outputs
[20:02:18] <tzak> <tomp> with the current halcmd setup you recommended only CR8 is on
[20:02:56] <ottos> Good Day gents..
[20:03:14] <tomp> i gotta lookup cr8, but am slicing chicken now
[20:03:56] <tomp> wait no chgs should be needed to configs or jmprs
[20:04:53] <ottos> if anyone is interested I have 6 pairs of Yaskawa 200w driver / motors pure servo speed driven..
[20:05:23] <tomp> interested :)
[20:06:02] <jmkasunich> what is max speed? how large (physically) are the motors?
[20:06:29] <tzak> im going to check what leds are on when i start emc
[20:06:45] <ottos> they are new in the box.. the are the CACR series.. let me get the specs...
[20:07:00] <tomp> good idea, look for diff b4 + after
[20:08:24] <tzak> so with emc running cr2 cr3 and cr8 are lit
[20:08:57] <jmkasunich> tomp, tzak: unless you have some documentation that says what the LEDs mean you are wasting time
[20:09:08] <jmkasunich> I don't think any hal pins are connected to the LEDs
[20:09:48] <tomp> right
[20:10:02] <tzak> well here is something else .. emc is telling me that the xlimit is tripped and its not even connected
[20:10:32] <ottos> ok.. the motors are ( face plate ) 3" x 3" and 6" deep.. max speed is 3000 rpm, 4000rpm max, these are ac servos ( brushless , if needed all specs can be posted.. )
[20:10:47] <jmkasunich> that in itself doesn't mean much - a properly designed limit switch setip is failsafe, so it will report tripped if disconnected or broken wire
[20:11:09] <tomp> ottos: with encoders? with brakes?
[20:11:15] <jmkasunich> you (tzak) are the one who designed the limit wiring, right? you should know how it is connected and what it should report if not connected
[20:11:59] <jmkasunich> ottos: thanks - I'm looking for something in the 100-200 watt range but fast, to drive an engraving or grinding spindle
[20:12:17] <jmkasunich> how much are you looking to get for one motor and drive?
[20:13:07] <tzak> <jmkasunich> yeah when i fired it up yesterday all the limits were tripped which never happened before. Then about five minutes later my amp burnt so i have no idea whats going on
[20:13:26] <jmkasunich> who designed the system?
[20:13:39] <tzak> me
[20:13:59] <jmkasunich> but you don't know how it works?
[20:14:02] <ottos> I bought them at 200$ a pair.. and newer used tham.. they are still the original packaging.. with manuals.. I can offer you the same.. how many ware you interested in..?
[20:14:08] <tzak> my limits were working fine
[20:14:33] <jmkasunich> ottos: one, maybe
[20:15:10] <tzak> im just learning how all this goes together so far i have managed to get thing running so when unexplained errors start happening im not sure what to do
[20:15:10] <jmkasunich> the main issue is speed - I will be using belts to increase, but my target is 15000 RPM or more, so a 3000 RPM motor needs more of an increase than say a 5000 RPM motor
[20:15:16] <JymmmEMC> Bah, I have way too many PS's (type, not qty)
[20:15:51] <jmkasunich> ottos: where are you? usa or elsewhere?
[20:16:16] <ottos> canada ( toronto )
[20:16:19] <tomp> tzak: unless you can get one input or output to work, the board is not useful
[20:17:00] <jmkasunich> if NO inputs or outputs work, either the board is totally fried (maybe) or you are not testing it properly (more likely)
[20:17:12] <jmkasunich> I thought you said encoders still work
[20:17:56] <tzak> yeah they were just working until this limit switch thing just started happening like 5mins ago
[20:18:41] <tomp> if things are changing then get power off these expensive things untill you know its safe to power up
[20:18:43] <jmkasunich> I thought you said the limits stopped working yesterday, then a drive smoked, but the encoders were still working
[20:19:23] <jmkasunich> you've been talking to tomp for a LOT more than five minutes - if things that were working before you started talking are not working now, that means you probably broke them poking around with the meter or something
[20:19:48] <jmkasunich> ottos: I pm'ed you, did you get it?
[20:21:00] <ottos> yes..
[20:21:35] <tzak> here is what happend .. i started the system yesterday.. i go emc thinking that all the limits were tripped then the amp cooked i shut everything off check it all took out the bad amp and fired it up again. Now the encoders were counting but no servo. So between the suggestions that tomp has been getting me to do this same strange limit switch problem is happening . Hopefully that make some sense
[20:26:29] <tomp> chicken schnitzels done!
[20:28:46] <tomp> tzak: it makes some sense, i'd look at the m5i20 with nothing connected to it, not even the breakout. just one flatband , the one on P2 and see if i cloud get output 8 (for instance) to do what i ask.
[20:29:01] <tomp> if not, i'd say the m5i20 was bad
[20:31:59] <tzak> ok tomp thanks for all the help i have to run now enjoy the chicken
[20:32:18] <tomp> best of luck, we're all learning this stuff :0
[20:32:46] <tzak> yeah i hope i didnt sound like a complete moron .. i made it this far didnt i
[20:33:26] <tomp> yep, i make a practice of being a moron 1st thing every day, then it doesnt bother me later ;)
[20:33:41] <tzak> ok cheers have a good one
[20:35:39] <tomp> are the 200w's a good deal?
[20:36:56] <jmkasunich> I dunno - I really need something faster than 3000 RPM, so I decided to pass
[20:37:36] <jmkasunich> so many projects, so little time - I can keep busy for quite a while without a motor
[20:37:46] <tomp> :)
[20:45:32] <tomp> and now for something completely different: tomorrow, BBC7 will start the 2nd series of "the Spaceship" i find it very funny, it's about her majesty's ship, the 'Really Invincible 3'
[20:51:30] <JymmmEMC> is that anything like the unsinkable titanic?
[20:52:17] <tomp> yeh, if you dont the joke in the name, dont listen to the series
[20:54:23] <JymmmEMC> heh
[22:45:03] <cradek> hi, ray
[22:45:21] <cradek> microwave link?
[22:45:35] <jmkasunich> "dial.com", guessing not
[22:46:12] <cradek> rayh: did you see http://jmkasunich.dyndns.org/cgi-bin/blosxom/index.html
[22:46:44] <rayh> Hi chris
[22:46:56] <rayh> fast-air.net
[22:50:13] <rayh> Wow. That is great stuff.
[22:50:24] <jmkasunich> it was a fun trip
[22:50:49] <rayh> I got a call recently about fitting a K&T 5 axis.
[22:51:30] <rayh> Fantastic. We are proving that we can make real machine tools work.
[22:51:56] <alex_joni> hi ray
[22:52:13] <alex_joni> seems you'll be joining the real internet soon ;)
[22:52:30] <alex_joni> (actually internet-experience ;)
[22:54:18] <rayh> Yep I was a member once back in about 95 but got lost someplace.
[22:54:49] <alex_joni> I think modems where the thing up to ~99..2000
[22:55:10] <rayh> I've got a pile of dead ones.
[22:55:42] <rayh> I guess I fell behind about 8 years ago then.
[22:55:56] <alex_joni> fortune lake?
[22:56:22] <rayh> It's what I get for living in the wilderness.
[22:56:39] <alex_joni> I bet it's nice there..
[22:56:56] <alex_joni> does it mean you plan to be more often online?
[22:57:01] <rayh> You bet. Someday we need to have a mini fest here.
[22:57:21] <rayh> Always on with my own dotted address.
[22:57:50] <rayh> Hence the server.
[22:58:00] <alex_joni> cool.. then I guess you'll want to look at irssi & screen ;)
[22:58:10] <rayh> Don't plan to put much on there.
[22:58:22] <rayh> irssi & screen??
[22:58:36] <alex_joni> irssi is a text mode IRC client
[22:58:44] <rayh> Ah.
[22:58:47] <rayh> okay
[22:58:48] <alex_joni> screen is a virtual terminal, which you can detach from, then attach later on
[22:59:10] <alex_joni> I think a couple of us use the technique, to keep the client always running
[22:59:19] <alex_joni> then one can connect from virtually anywhere through ssh
[22:59:23] <rayh> Okay. I plan to run my current LAN behind firestarter on the athalon box.
[22:59:24] <alex_joni> and see what's happening..
[22:59:51] <rayh> Sure. Right know I port knock to get on to one customer's network.
[23:00:00] <rayh> now not know
[23:00:10] <alex_joni> port knocking is fun
[23:00:24] <rayh> I see folk trying it all the time on my dialup.
[23:00:48] <rayh> Question about a mini HAL.
[23:01:11] <rayh> I need to write a script to check the status of a parport pin.
[23:01:40] <rayh> This is an EMC 2.1.7 based system.
[23:01:59] <rayh> So I've created the docs from source.
[23:02:29] <rayh> Are we good to go with the way that the HAL doc talks about starting a real time system, adding a thread, and such?
[23:02:36] <alex_joni> might be overkill to use HAL for that.. do you need RT?
[23:02:50] <rayh> No. Is there a simpler way?
[23:03:01] <alex_joni> small C application
[23:03:20] <alex_joni> or even tkio, or what that was called in emc1
[23:03:41] <alex_joni> direct access to the port.. needs sudo or setuid though
[23:03:48] <rayh> The parport is connected to a PMDX-131 board. But I think input IO is passed through anyway.
[23:04:51] <rayh> Without charge pump and all.
[23:06:50] <alex_joni> hmm.. maybe steve knows better
[23:07:40] <rayh> Do I have sudo problems if I start realtime on a EMC2 machine?
[23:08:04] <jmkasunich> shouldn't
[23:08:27] <jmkasunich> if run-in-place: scripts/realtime start
[23:10:42] <rayh> I got halrun to go
[23:10:53] <rayh> so I can just enter commands.
[23:11:12] <rayh> That looks like a pretty direct path.
[23:16:08] <steve_stallings> boing... I am actually here, instead of just failing to adjust my user name since last reboot
[23:16:45] <steve_stallings> so Ray, who did you have to threaten to get your link installed?
[23:18:07] <rayh> My congressman.
[23:18:46] <steve_stallings> on PMDX-131 pin 10 is dedicated to E-Stop, all others are direct real time inputs but somewhat bandwidth limited by the optocouplers
[23:18:57] <rayh> He steve. If the 131 is powered but no charge pump, will I still see input signals from switches?
[23:19:29] <rayh> Okay. So I should be able to see the polarity of the limit switches.
[23:19:47] <fenn> wow $100 install + $35/mo is about what we pay for DSL
[23:20:14] <rayh> Hi Fenn
[23:20:31] <steve_stallings> charge pump status has no effect on reading input bits of PMDX-131
[23:20:47] <rayh> Thanks, Steve
[23:21:59] <steve_stallings> Cradek - reading back, new office is almost there, hope to move in about 2 weeks, have electric, heat, water, etc. just need final inspect and occupancy permit
[23:23:36] <steve_stallings> oh, and a little detail like getting Asterisk Voip PABX running since we installed ethernet but no phone wiring 8-)
[23:24:19] <fenn> hey can't you run phone signals over the unused ethernet pairs?
[23:25:10] <fenn> eh voip is better anyway
[23:25:12] <steve_stallings> of course, if there are enough unused drops, but we did not plan dual drops in each outlet
[23:30:43] <BigJohnT_> I noticed that even though there is a place to specify the home location in the stepconf wizzard it does not put that value into your ini file
[23:31:09] <alex_joni> BigJohnT_: sounds like a bug to me.. please file a bugreport
[23:31:17] <alex_joni> * alex_joni heads to bed
[23:31:26] <alex_joni> rayh: glad to see you around again ;)
[23:31:43] <BigJohnT_> ok, alex
[23:31:46] <rayh> Glad to be around. Hope to be more often
[23:33:51] <alex_joni> * alex_joni sticks around 5 more minutes
[23:33:56] <alex_joni> rayh: I pm'ed you
[23:43:01] <BigJohnT_> it's just not close to the other HOME entries... hmm, now why do I get some experiance and not what I expected...
[23:43:32] <alex_joni> BigJohnT_: you're subscribed to the emc-users mailing list.. right?
[23:43:39] <BigJohnT_> yex
[23:43:41] <BigJohnT_> yes
[23:43:58] <alex_joni> follow jmkasunich's steps for the bugreport
[23:44:23] <BigJohnT_> no bug alex, just it was not where I expected it to be
[23:44:34] <BigJohnT_> in the ini file
[23:45:14] <alex_joni> BigJohnT_: he had a very nice way of putting things
[23:45:17] <alex_joni> 1. I did this
[23:45:20] <alex_joni> 2. I expected this
[23:45:24] <alex_joni> 3. instead this happened
[23:45:50] <alex_joni> (would fit here too)
[23:46:02] <BigJohnT_> I saw that, I say if I don't get what I expected I just got some experiance
[23:46:16] <BigJohnT_> now I have to learn from it
[23:46:42] <BigJohnT_> I need to put that step by step on wiki it was very good
[23:46:52] <jmkasunich> well, sometimes your expectations may be wrong, but other times your expectations are quite reasonable and the program is wrong
[23:47:27] <BigJohnT_> the task is to figure out which is which...
[23:49:29] <fenn> its the great existential question of life
[23:50:04] <alex_joni> at least the answer is simple
[23:50:17] <fenn> if you can get ahold of the author
[23:56:09] <BigJohnT_> hmm, I'm missing some piece of information... and thus drawing a wrong conclusion I must assume... I think it might be the min/max limit
[23:56:53] <BigJohnT_> my Y axis is 0 to -50 inches should the min_limit be 0 or -50?
[23:57:12] <alex_joni> -50
[23:57:27] <BigJohnT_> that's what I have
[23:58:15] <BigJohnT_> hmm, I have home=0, home_offset=0.25 but after homing it does not move off the limit switch by .25
[23:58:47] <alex_joni> it can't
[23:58:58] <BigJohnT_> both search and latch vel are positive as in example 2 of the inegrator manual
[23:59:04] <BigJohnT_> what did I miss?
[23:59:14] <alex_joni> hang on, let me reread that
[23:59:22] <BigJohnT_> ok, thanks
[23:59:22] <alex_joni> but I think you want offset to be negative aswell
[23:59:27] <alex_joni> and the home not on 0