#linuxcnc | Logs for 2013-06-21

Back
[19:28:11] -!- logger[psha] [logger[psha]!~loggerpsh@195.135.238.205] has joined #linuxcnc
[19:28:18] -!- tmcw has quit [Ping timeout: 264 seconds]
[19:28:26] <Aero-Tec2> so gain is times 60 to convert pps to ppm
[19:33:19] <Aero-Tec2> out = in * gain + offset did not mean much until I figured out that gain was multiply by, so offset I would guess is the amount to add after multiplying
[19:33:50] <Aero-Tec2> not very self explanatory
[19:34:13] <Aero-Tec2> and I am still guessing at the offset, hope I am right
[19:35:18] <Aero-Tec2> BTW thanks for the help, as you can see I really needed it
[19:35:56] <Aero-Tec2> when I have a tad more understanding of it I hope not to be such a pain
[19:37:39] -!- tjb1 [tjb1!~tjb1@cpe-67-252-67-92.stny.res.rr.com] has joined #linuxcnc
[19:38:04] -!- tjb1 has quit [Client Quit]
[19:38:20] <Aero-Tec2> feel like I am going from 0 to a gazillion in under a second, the word splat comes to mind, something like a bug as he hits a fast moving object
[19:40:21] <JT-Shop> you would think that some () would be used as I think it changes the calculation if you add offset first
[19:41:19] <JT-Shop> yep it does make a difference
[19:41:50] <fragalot> order of operations & all that, JT-Shop :)
[19:42:19] <Aero-Tec2> how much more time do you have before your daughter will be there
[19:42:23] <JT-Shop> aye, say you want to change revs/second to revs a minute you pass that through a scale component
[19:43:00] <JT-Shop> she will arrive later but I'm leaving in about an hour when I finish up some work
[19:43:18] <Aero-Tec2> thanks a mill for the help
[19:43:37] <Aero-Tec2> I hope I can get it worked out by then
[19:43:41] <JT-Shop> your welcome
[19:44:12] <fragalot> you're
[19:44:14] <fragalot> :)
[19:45:10] <JT-Shop> aye, my english teacher was cute so I didn't pay much attention to the lesson
[19:45:16] <Aero-Tec2> I understood what his meaning was
[19:45:55] <fragalot> JT-Shop: think of the ' as a pirate hat. and pirates always say "arrr" ... you arrre -> you're
[19:46:33] <Aero-Tec2> lol
[19:47:52] <Aero-Tec2> the idea is to shorten and sped things up, your gets the idea across, not much savings doing you're from you are
[19:48:00] <Aero-Tec2> speed
[19:48:17] <fragalot> whole different meaning though
[19:48:20] -!- skunkworks has quit [Remote host closed the connection]
[19:48:33] <Aero-Tec2> yep
[19:48:53] <Aero-Tec2> but this is the net, we speak new speak here
[19:48:55] <Aero-Tec2> lol
[19:49:13] <fragalot> but it bugs me just as much as my american colleague always using "sight" instead of "website"
[19:49:16] <Aero-Tec2> fast is good, short is better
[19:49:17] <fragalot> P
[19:49:19] <fragalot> :P
[19:52:02] <Aero-Tec2> I know I can use hal scope to see if EMC can see the pin input for encoder channel A
[19:52:24] -!- psha has quit [Read error: No route to host]
[19:52:47] -!- psha [psha!~psha@213.208.162.67] has joined #linuxcnc
[19:52:48] <Aero-Tec2> but how do I know I have it routed the right way through hal and that EMC is seeing it and using it the right way?
[19:53:01] <Aero-Tec2> would hal meter be the tool to use?
[19:54:56] <Aero-Tec2> is there any tools or trick to help one figure out how to write the hal file?
[19:56:43] <JT-Shop> I like to group similar things together so they don't get lost and have a comment to say what that group of hal commands are doing
[19:56:57] <Aero-Tec2> JT-Shop, you said that () may make a difference then it looked like you tested and confirmed it, but you did not explain or give examples of what you tested
[19:57:10] <JT-Shop> you could make a flow chart to follow the hal
[19:57:57] <Aero-Tec2> so order of the text make no difference?
[19:58:09] <Aero-Tec2> unlike programming
[19:58:13] <JT-Shop> the document example should have been out = (in * gain) + offset as out = in * gain + offset can be different depending on the order
[19:58:28] <JT-Shop> it is a document typo
[19:58:39] <Aero-Tec2> where the order is just as important as content
[19:59:10] <JT-Shop> the order of pins on a net line?
[19:59:33] <Aero-Tec2> the order of lines in hal
[19:59:38] -!- tmcw has quit [Ping timeout: 255 seconds]
[19:59:49] <Aero-Tec2> any line can be anywhere in the doc
[19:59:50] -!- mpictor [mpictor!~mark@2601:d:b280:9:d63d:7eff:fe2d:2505] has joined #linuxcnc
[19:59:57] <Aero-Tec2> just as long as it is there
[20:00:03] <JT-Shop> lines are executed in order so loadrt needs to be before addf etc
[20:03:09] <JT-Shop> loadrt can be in anyplace that makes sense
[20:03:59] <JT-Shop> it's best to discuss Linuxcnc here in case I make a mistake someone can correct me :)
[20:05:52] <JT-Shop> yes loadrt must come before you addf the component function(s)
[20:05:53] <Aero-Tec2> cool
[20:06:10] <Aero-Tec2> did not want to clutter things up
[20:06:19] <JT-Shop> I usually do loadrt, addf, then any setp to keep them grouped up
[20:06:31] <Aero-Tec2> cool
[20:07:27] <Aero-Tec2> loadrt lowpass count=1
[20:08:10] <Aero-Tec2> if I want to do channel A and index then count=2 right?
[20:08:30] <Aero-Tec2> 2 filters, one for each channel
[20:08:55] <Aero-Tec2> and they will be 0 and 1
[20:09:12] <JT-Shop> yep
[20:09:25] -!- chesepuff has quit [Read error: Operation timed out]
[20:09:42] <Aero-Tec2> loadrt encoder num_chan=1
[20:09:52] <Aero-Tec2> does that need to be 2?
[20:10:03] <Aero-Tec2> loadrt encoder num_chan=2
[20:10:09] <JT-Shop> no
[20:10:19] <Aero-Tec2> ?
[20:10:27] <JT-Shop> the encoder had A B and Z pins
[20:10:28] <Aero-Tec2> thought I was on a roll
[20:11:38] <Aero-Tec2> so num_chan is not the number of channels I want to use for encoder 0
[20:11:38] -!- chesepuff [chesepuff!~shop@c-24-16-231-45.hsd1.wa.comcast.net] has joined #linuxcnc
[20:12:21] <Aero-Tec2> why use num_chan?
[20:12:46] <JT-Shop> it makes more encoders
[20:13:11] <JT-Shop> do this set it to 2 or 3 and run your config then look in show hal confguration at encoder
[20:13:12] <Aero-Tec2> so is num_chan the name of this encoder?
[20:13:42] <JT-Shop> nope you can only use one or the other but not both
[20:14:42] <Aero-Tec2> loadrt encoder num_chan=2 would make 2 encoders?
[20:14:52] <JT-Shop> aye
[20:15:30] <Aero-Tec2> head hurts, must be from the splat
[20:15:37] <JT-Shop> and loadrt encoder names=fred,blimpy would create two encoders and they would be named fred and blimpy
[20:16:38] <Aero-Tec2> loadrt encoder num_chan=1 what does the num_chan part mean?
[20:16:40] <JT-Shop> so sometimes to make it easier to follow you might do loadrt encoder names=spindle then instead of encoder.0.pinname it would be spindle.pinname
[20:17:35] <JT-Shop> time for me to go, try different things and look at show hal configuration to see the pins
[20:17:52] -!- krolick [krolick!~amk@cpe-24-58-57-45.twcny.res.rr.com] has joined #linuxcnc
[20:17:55] <Aero-Tec2> I have a feeling a hour will not be long enough for me to get this hal file working
[20:18:18] <Aero-Tec2> thanks for the help
[20:18:27] <JT-Shop> your welcome
[20:18:28] <Aero-Tec2> have fun with the kid
[20:19:02] <JT-Shop> well she is not a kid anymore LOL
[20:19:24] <Aero-Tec2> to you she is and will always be
[20:19:36] <JT-Shop> yep
[20:19:52] <Aero-Tec2> have fun
[20:20:36] <Aero-Tec2> is there any place that explains hal files that is more simple and easy to understand?
[20:20:55] -!- motioncontrol has quit [Quit: Sto andando via]
[20:21:24] <Aero-Tec2> something that start at the beginning and walks one through how and why and what for?
[20:21:52] <Aero-Tec2> explains the structure and the flow
[20:23:08] <Aero-Tec2> a basic overview of hoe it works and why and then explains the workings in a not so over whelming way
[20:23:16] <Aero-Tec2> how
[20:24:14] <Aero-Tec2> I need instruction on how to crawl with hal, then walking would be nice and then I can run some
[20:42:39] -!- FinboySlick has quit [Quit: Leaving.]
[20:46:06] <Aero-Tec2> looks like this one is a good starting place
[20:46:08] <Aero-Tec2> http://www.linuxcnc.org/docs/HAL_User_Manual.pdf
[20:49:18] -!- lando5446 has quit [Quit: Page closed]
[20:50:48] -!- EDocToor has quit [Quit: Leaving]
[20:59:12] -!- Simooon has quit [Quit: Leaving]
[21:00:36] -!- zzolo has quit [Quit: zzolo]
[21:00:58] -!- L84Supper2 [L84Supper2!~TheLarch@wsip-184-176-200-171.ks.ks.cox.net] has joined #linuxcnc
[21:00:58] -!- L84Supper2 has quit [Changing host]
[21:00:58] -!- L84Supper2 [L84Supper2!~TheLarch@unaffiliated/l84supper] has joined #linuxcnc
[21:02:01] -!- zzolo has quit [Client Quit]
[21:07:13] <JT-Shop> Aero-Tec2: http://www.linuxcnc.org/docs/html/hal/basic_hal.html
[21:07:16] <JT-Shop> start with that one
[21:07:40] <DJ9DJ> gn8
[21:09:20] -!- DJ9DJ has quit [Quit: bye]
[21:10:31] -!- FinboySlick [FinboySlick!~shark@squal.net] has joined #linuxcnc
[21:10:48] -!- tmcw has quit [Remote host closed the connection]
[21:11:35] <Aero-Tec2> thanks
[21:12:57] -!- bpuk [bpuk!~ben@boopotter.plus.com] has joined #linuxcnc
[21:16:15] -!- tmcw has quit [Remote host closed the connection]
[21:24:41] -!- nextstopsun has quit [Ping timeout: 250 seconds]
[21:27:23] -!- L84Supper2 has quit [Ping timeout: 255 seconds]
[21:33:09] -!- chillly has quit [Quit: Leaving]
[21:37:23] -!- mshaver has quit [Ping timeout: 246 seconds]
[21:45:17] -!- foo303 has quit [Read error: Operation timed out]
[21:47:16] -!- psha has quit [Quit: Lost terminal]
[21:48:24] -!- foo303 [foo303!foocraft@ibawizard.net] has joined #linuxcnc
[22:03:16] -!- paideia [paideia!~paideia@229.237.189.46.rev.vodafone.pt] has joined #linuxcnc
[22:03:52] -!- micges has quit [Quit: Leaving]
[22:07:55] -!- tmcw has quit [Remote host closed the connection]
[22:09:22] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[22:16:13] Guest51024 is now known as abetusk
[22:16:54] -!- R2E4 has quit [Ping timeout: 240 seconds]
[22:21:55] -!- bpuk has quit []
[22:23:38] -!- R2E4 [R2E4!~IceChat9@207.164.206.172] has joined #linuxcnc
[22:36:13] -!- mhaberler [mhaberler!~mhaberler@wsip-184-176-200-171.ks.ks.cox.net] has joined #linuxcnc
[22:37:13] -!- WalterN has quit [Ping timeout: 245 seconds]
[22:41:47] -!- tmcw has quit [Remote host closed the connection]
[22:41:49] -!- chesepuff has quit [Ping timeout: 276 seconds]
[22:43:16] -!- chesepuff [chesepuff!~shop@c-24-16-231-45.hsd1.wa.comcast.net] has joined #linuxcnc
[22:43:32] -!- paideia has quit [Quit: Leaving]
[22:46:25] -!- tmcw has quit [Ping timeout: 248 seconds]
[22:53:45] -!- mhaberler has quit [Quit: mhaberler]
[22:59:27] -!- bedah has quit [Quit: Ex-Chat]
[23:02:31] -!- Servos4ever [Servos4ever!~chatzilla@173-87-52-153.dr01.hnvr.mi.frontiernet.net] has joined #linuxcnc
[23:38:33] -!- mozmck has quit [Quit: Leaving.]
[23:39:42] -!- mozmck [mozmck!~moses@client-204.235.45.143.wcfltx.partnershipbroadband.com] has joined #linuxcnc
[23:39:48] -!- mhaberler [mhaberler!~mhaberler@wsip-184-176-200-171.ks.ks.cox.net] has joined #linuxcnc
[23:43:07] -!- sumpfralle1 has quit [Ping timeout: 264 seconds]
[23:47:32] -!- sumpfralle [sumpfralle!~lars@c.mail.systemausfall.org] has joined #linuxcnc
[23:47:51] -!- xxoxx has quit [Quit: Leaving]
[23:58:16] -!- tmcw has quit [Ping timeout: 256 seconds]