#linuxcnc-devel | Logs for 2012-08-20

Back
[00:26:05] -!- tjb1 has quit [Quit: tjb1]
[00:38:21] -!- Roguish_ has quit [Ping timeout: 245 seconds]
[00:39:05] -!- Roguish_ [Roguish_!~Roguish@2601:9:1400:73:211:11ff:fe57:eefd] has joined #linuxcnc-devel
[00:40:25] -!- Jordan__ has quit [Ping timeout: 245 seconds]
[01:39:37] -!- steves_logging [steves_logging!~Steve@wsip-70-168-134-18.dc.dc.cox.net] has joined #linuxcnc-devel
[01:47:24] -!- geo01005 has quit [Ping timeout: 276 seconds]
[01:55:07] -!- tjb1 has quit [Quit: tjb1]
[02:14:43] -!- sumpfralle has quit [Ping timeout: 245 seconds]
[02:20:54] -!- sumpfralle1 has quit [Ping timeout: 260 seconds]
[02:24:33] -!- jpk has quit [Quit: Leaving.]
[02:30:27] -!- Newtonianb has quit []
[02:41:19] -!- sumpfralle has quit [Ping timeout: 244 seconds]
[02:46:56] -!- vladimirek has quit [Remote host closed the connection]
[02:56:21] -!- demacus_ has quit [Ping timeout: 248 seconds]
[03:26:33] -!- cmorley [cmorley!~chris@S010600c09fc019c2.no.shawcable.net] has joined #linuxcnc-devel
[04:06:55] -!- Roguish_ has quit [Ping timeout: 272 seconds]
[04:22:16] -!- FinboySlick has quit [Quit: Leaving.]
[04:39:40] -!- dhoovie [dhoovie!~noyeaaaaa@122.177.203.195] has joined #linuxcnc-devel
[04:59:09] -!- Komzpa has quit [Ping timeout: 276 seconds]
[05:03:22] -!- Fox_Muldr has quit [Ping timeout: 265 seconds]
[05:13:31] -!- geo01005 has quit [Ping timeout: 265 seconds]
[05:27:07] -!- theos has quit [Ping timeout: 240 seconds]
[05:41:19] -!- Keknom has quit [Quit: Leaving.]
[05:43:42] -!- conscious has quit [Read error: Connection reset by peer]
[05:51:45] -!- ChanServ has quit [*.net *.split]
[05:55:24] -!- mhaberler [mhaberler!~mhaberler@extern-183.stiwoll.mah.priv.at] has joined #linuxcnc-devel
[06:26:31] -!- micges [micges!~micges@adcw54.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[06:49:27] -!- amaldo has quit [Changing host]
[06:57:51] -!- Thetawaves has quit [Quit: This computer has gone to sleep]
[07:03:31] -!- toastydeath has quit [Read error: No route to host]
[07:40:45] -!- ChanServ has quit [*.net *.split]
[07:40:46] -!- rob_h [rob_h!~rob_h@5e016a93.bb.sky.com] has joined #linuxcnc-devel
[07:46:43] -!- emel has quit [Excess Flood]
[08:04:56] -!- psha[work] [psha[work]!~psha@195.135.238.205] has joined #linuxcnc-devel
[08:09:50] -!- JT-Shop-2 has quit [Read error: Connection timed out]
[08:11:12] -!- JT-Shop-2 [JT-Shop-2!~John@184.63.140.99] has joined #linuxcnc-devel
[08:27:20] -!- ed_ has quit [Client Quit]
[08:35:02] -!- micges_ [micges_!~micges@dcb76.neoplus.adsl.tpnet.pl] has joined #linuxcnc-devel
[08:38:51] -!- micges has quit [Ping timeout: 276 seconds]
[09:07:07] -!- jthornton_ has quit [Read error: Connection reset by peer]
[09:07:08] -!- JT-Shop-2 has quit [Read error: Connection reset by peer]
[09:07:14] -!- JT-Shop-2 [JT-Shop-2!~John@184.63.140.99] has joined #linuxcnc-devel
[09:07:20] -!- jthornton_ [jthornton_!~john@184-63-140-99.cust.wildblue.net] has joined #linuxcnc-devel
[09:14:56] -!- grummund has quit [Quit: leaving]
[09:24:05] -!- grummund has quit [Client Quit]
[09:48:22] -!- r00t4rd3d has quit [Read error: Connection reset by peer]
[09:48:46] -!- r00t4rd3d has quit [Changing host]
[09:57:36] -!- toastydeath has quit [Ping timeout: 268 seconds]
[10:11:47] -!- jpk has quit [Ping timeout: 268 seconds]
[10:16:51] -!- emel has quit [Excess Flood]
[10:17:17] jthornton_ is now known as jthornton
[10:41:42] -!- toastyde1th has quit [Ping timeout: 265 seconds]
[10:49:10] -!- ed_ has quit [Ping timeout: 245 seconds]
[10:53:03] -!- hjf has quit [Ping timeout: 245 seconds]
[11:10:04] -!- toastydeath has quit [Ping timeout: 240 seconds]
[11:31:21] -!- mhaberler has quit [Quit: mhaberler]
[11:33:45] -!- mhaberler [mhaberler!~mhaberler@macbook.stiwoll.mah.priv.at] has joined #linuxcnc-devel
[11:36:06] -!- toastydeath has quit [Ping timeout: 244 seconds]
[11:40:05] -!- Vq has quit [Ping timeout: 248 seconds]
[11:40:07] -!- Kent_ has quit [Ping timeout: 240 seconds]
[11:44:50] -!- toastydeath has quit [Read error: Connection reset by peer]
[11:46:53] -!- ed_ has quit [Quit: Page closed]
[11:55:22] -!- dhoovie has quit [Read error: Connection reset by peer]
[11:55:50] -!- ed_d has quit [Ping timeout: 245 seconds]
[12:32:56] JT-Shop-2 is now known as JT-Shop
[12:33:21] -!- BenceKovi11119 [BenceKovi11119!~BenceKovi@polaris.mogi.bme.hu] has joined #linuxcnc-devel
[12:38:46] Vq_ is now known as Vq
[12:39:30] -!- toastydeath has quit [Ping timeout: 252 seconds]
[12:45:58] -!- toastydeath has quit [Ping timeout: 245 seconds]
[12:51:41] -!- toastyde1th has quit [Ping timeout: 245 seconds]
[12:57:50] -!- toastydeath has quit [Ping timeout: 252 seconds]
[13:08:04] -!- mk0 has quit [Quit: Looking for access to www.icdd.com bases.]
[13:28:53] -!- uwe_ has quit [Ping timeout: 248 seconds]
[13:43:49] -!- sumpfralle has quit [Ping timeout: 248 seconds]
[13:49:23] <joe9> is there any mechanism in axis gui that will enable me to call "Home All" after a M6?
[13:49:47] <joe9> or, specifically, the home_all_axes of axis.py
[13:50:27] <micges_> nope
[13:50:36] micges_ is now known as micges
[13:50:38] <joe9> micges: ok, thanks.
[13:51:06] <micges> you didn't answer what are you trying to do
[13:51:21] <joe9> micges: oh, sorry. I thought I did. will do that now.
[13:52:03] <micges> if so I've missed it
[13:52:19] <joe9> micges: I have a tool touch probe that will help me find the tool length. something like this: http://codepad.org/1f6XjeQn
[13:52:33] <joe9> I use the tool length probe switch to set the G55 offsets.
[13:52:59] <joe9> when I include that code as part of my gcode script, i get a message saying that the Z movement exceeds the machine minimum.
[13:53:23] <joe9> which is understanble as linuxcnc would have no way of knowing what G55 Z is, before starting the script.
[13:53:33] <joe9> the script sets the G55 Z value using G10 L..
[13:53:56] <joe9> and, I also noticed that the G55 offset values are carried over on a linuxcnc restart.
[13:54:19] <joe9> whereas with the ini file configuration, the home values are not carried over on a restart.
[13:54:29] -!- paideia has quit [Ping timeout: 248 seconds]
[13:54:42] <joe9> on a restart, I want to change the "home_all_axes" function to also clear the G55 X Y and Z values.
[13:54:53] <joe9> which seems easy enough to do while reading the axis.py
[13:55:19] <joe9> in my gcode, I will have a if statement that ends the program if G55 values are 0 or equal to G54 values.
[13:55:35] <joe9> that will ensure that I will never run the gcode with wrong offsets or wrong tool.
[13:55:50] <joe9> But, there are some places that have a M6 - tool change.
[13:56:28] <joe9> I just want to make sure that if I do a M6 without restarting linuxcnc/machine, it clears the G55 values.
[13:56:34] <micges> you can access G55 origins in gcode
[13:57:29] <micges> parameters 5241-5259 are X-W values of current offsets
[13:57:41] <micges> maybe changing them directly will be easier
[13:58:00] <joe9> micges: yes, that is an option. let me think about it.
[13:58:21] <joe9> changing them directly is what the script above does: : http://codepad.org/1f6XjeQn
[14:01:06] -!- Adventsparky has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
[14:01:08] <micges> there is no easy way for adding homing after toolchange
[14:04:23] <joe9> micges: but, you do understand what I am getting at. correct? it is a genuine concern, isn't it? not something that I am visualising without knowing linuxcnc, correct?
[14:05:19] <joe9> you know like "one of those complex solutions designed by a person who does not understand the current system" -- I do not want to be on that path.
[14:06:44] <joe9> i just want to make sure that I do not run the gcode with the wrong G55 offsets.
[14:07:06] <joe9> I did that once and broke a bit and made a big gash on my fixture.
[14:07:15] <joe9> want to avoid that from happening again.
[14:13:11] <micges> everyone at least once run program with wrong offset
[14:13:13] <micges> :)
[14:16:38] <joe9> it appears to be a simple change to add the clear touchoffs to home_all_axes.
[14:16:50] <joe9> not sure if linuxcnc would be interested in adding that functionality.
[14:16:58] <joe9> if it is, I can send the patch
[14:17:05] <joe9> if not, just keep it locally.
[14:20:37] <joe9> micges, just add the line clear_offsets(2) to the end of the home_all_axes function. or, I can change it to a loop to clear all offsets
[14:22:31] -!- zlog has quit [Ping timeout: 272 seconds]
[14:22:42] -!- Tom_itx has quit [Ping timeout: 246 seconds]
[14:22:46] <joe9> it will probably piss someone off if he has to set the offsets after each homing.
[14:22:56] <joe9> probably better to keep the patch to myself, I guess.
[14:23:11] <joe9> or, it would be cool to have it work off of a .ini parameter.
[14:23:22] -!- BenceKovi11119 has quit [Quit: Nettalk6 - www.ntalk.de]
[14:23:24] <cradek> I suggest using the tool length offset for a tool length
[14:23:31] <cradek> seems like it will work a lot less weirdly
[14:24:00] <cradek> arrange it so the usual tool length (for a typical length of tool) is small in absolute value
[14:24:53] -!- zlog [zlog!~zlog@ip68-102-193-88.ks.ok.cox.net] has joined #linuxcnc-devel
[14:26:23] <joe9> cradek: still the same issue, don't you think? about using the wrong tool length.
[14:27:05] <joe9> cradek, and I do not have depth rings on all tools and the tool length will change after each tool change.
[14:27:38] <joe9> http://codepad.org/ZxtpY54m is what I am thinking of doing now.
[14:30:29] <joe9> if I use the tool length and keep the tool length in the tool table to 0. Have an if statement in my gcode that will error out if the tool length == 0.
[14:31:24] <joe9> but, I cannot think up how using tool length would be different to using offsets for this particular scenario.
[14:32:39] -!- odogono has quit [Read error: Connection reset by peer]
[14:32:39] odogono_ is now known as odogono
[14:36:06] <joe9> cradek: you still around. any thoughts, please?
[14:44:48] -!- the_wench has quit [Ping timeout: 276 seconds]
[14:45:14] -!- archivist has quit [Ping timeout: 260 seconds]
[14:56:38] -!- broofa has quit [Quit: Computer has gone to sleep.]
[14:57:03] -!- wsjr has quit [Ping timeout: 244 seconds]
[15:02:38] -!- JT-Shop has quit [Quit: Leaving]
[15:03:00] -!- JT-Shop [JT-Shop!~John@184-63-140-99.cust.wildblue.net] has joined #linuxcnc-devel
[15:07:28] -!- sumpfralle has quit [Ping timeout: 272 seconds]
[15:07:34] -!- psha[work] has quit [Quit: leaving]
[15:08:37] -!- paideia has quit [Ping timeout: 252 seconds]
[15:09:15] -!- wsjr has quit [Read error: Connection reset by peer]
[15:10:20] -!- wsjr has quit [Read error: Connection reset by peer]
[15:12:37] -!- sumpfralle1 has quit [Ping timeout: 240 seconds]
[15:12:43] -!- joe9 has quit [Quit: Lost terminal]
[15:14:00] -!- joe9 [joe9!~joe9@c-24-126-150-243.hsd1.ga.comcast.net] has joined #linuxcnc-devel
[15:17:03] -!- toastydeath has quit [Ping timeout: 252 seconds]
[15:30:07] -!- syyl has quit [Ping timeout: 240 seconds]
[15:37:44] -!- toastyde1th has quit [Ping timeout: 240 seconds]
[15:45:04] -!- toastydeath has quit [Ping timeout: 240 seconds]
[15:52:37] -!- toastydeath has quit [Ping timeout: 240 seconds]
[16:00:18] -!- tjb1 has quit [Quit: tjb1]
[16:05:34] -!- toastydeath has quit [Ping timeout: 252 seconds]
[16:13:07] -!- phantoxe has quit [Ping timeout: 240 seconds]
[16:13:07] -!- phantoxeD has quit [Ping timeout: 240 seconds]
[16:18:16] -!- skorket has quit [Quit: Leaving]
[16:22:27] -!- toastydeath has quit [Ping timeout: 265 seconds]
[16:33:32] -!- Adventsparky has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
[16:40:16] -!- djcoin has quit [Quit: WeeChat 0.3.2]
[16:40:25] -!- quantegy has quit [Quit: Page closed]
[16:41:40] -!- maximilian_h [maximilian_h!~bonsai@130.255.104.21] has joined #linuxcnc-devel
[16:54:04] -!- geo01005 has quit [Ping timeout: 240 seconds]
[17:04:07] -!- toastydeath has quit [Ping timeout: 240 seconds]
[17:10:21] -!- sumpfralle has quit [Ping timeout: 244 seconds]
[17:17:18] -!- phantone has quit []
[17:19:12] -!- the_wench has quit [Ping timeout: 272 seconds]
[17:19:14] -!- archivist has quit [Ping timeout: 260 seconds]
[17:21:41] -!- wsjr has quit [Read error: Connection reset by peer]
[17:33:17] -!- asdfasd has quit []
[17:40:39] -!- tjb1 has quit [Quit: tjb1]
[17:55:01] -!- toastydeath has quit [Ping timeout: 248 seconds]
[17:55:53] -!- psha [psha!~psha@213.208.162.69] has joined #linuxcnc-devel
[18:03:46] -!- ChanServ has quit [*.net *.split]
[18:05:19] -!- toastydeath has quit [Ping timeout: 260 seconds]
[18:17:07] -!- IchGuckLive has quit [Quit: ChatZilla 0.9.87 [Firefox 14.0.1/20120713225625]]
[18:22:06] -!- wsjr|2 has quit [Read error: Connection reset by peer]
[18:38:21] -!- phantoneD has quit [Ping timeout: 245 seconds]
[18:38:29] -!- odogono has quit [Read error: Connection reset by peer]
[18:39:00] -!- ChanServ has quit [*.net *.split]
[19:02:53] -!- jepler [jepler!~jepler@emc/developer/pdpc.professional.jepler] has joined #linuxcnc-devel
[19:03:30] -!- motioncontrol has quit [Ping timeout: 276 seconds]
[19:15:25] <joe9> need some help, please? I think I am missing something simple here.
[19:15:47] <joe9> http://codepad.org/7UIQCa3k is my patch
[19:16:06] <joe9> http://codepad.org/IlIa7hox is the error log in linuxcnc
[19:16:31] <joe9> as soon as I press "Home All", linuxcnc seems to be going to the ensure_mode(...MDI).
[19:17:10] <joe9> i can remove that ensure_mode command and try.
[19:17:25] <joe9> but, I think I tried that but got an error message. will try again.
[19:20:24] <micges> set [TRAJ]NO_FORCE_HOMING = 1
[19:21:26] <joe9> without the ensure_mode command, I get this message: http://codepad.org/gz1porQ1
[19:22:01] <joe9> micges: instead of setting that, is there anything I can do to run an MDI command after homing?
[19:22:14] <joe9> I am assuming that the command c.home(-1) homes all axes.
[19:22:41] <joe9> what should I do to wait for that homing to be completed and then run a MDI command?
[19:23:13] <micges> poll for joints homing flags
[19:23:29] <micges> and if they are all active, then do 'after homing
[19:23:32] <micges> ' stuff
[19:23:56] <joe9> micges, ok. thanks a lot.
[19:24:33] <joe9> micges: what does s.poll() do?
[19:25:04] <micges> poll nonblocking, there is function that runs along with preview refresh to add that kind of stuff
[19:26:15] <micges> s.poll() reads current emc status from task to gui
[19:27:02] <joe9> micges, i am still searching for how to poll the joint homing flags. I guess s.poll() will not help me, correcT/
[19:27:08] <joe9> s,T/,t?,
[19:27:37] <joe9> there is a "joints_mode" function.
[19:28:17] <micges> there is python list: s.homed
[19:28:30] <micges> there are all homing flags for all axes
[19:31:30] <micges> put your checking code in user_live_update():
[19:31:45] -!- motioncontrol has quit [Quit: Sto andando via]
[19:31:55] -!- cevad has quit [Quit: Leaving]
[19:32:36] <joe9> micges, like this, you mean http://codepad.org/xbagqM7N
[19:33:00] -!- maximilian_h has quit [Quit: Leaving.]
[19:33:28] -!- broofa has quit [Quit: Computer has gone to sleep.]
[19:33:30] <joe9> i probably need a sleep or something in there to do that check again and again.
[19:34:22] <micges> yes but everything after c.home() should go to user_live_update()
[19:34:40] <joe9> what does user_live_update do?
[19:35:04] <micges> c.home() doesn't wait until axes are home
[19:35:17] <micges> bbl
[19:35:21] <joe9> micges, oh, ok.
[19:37:23] -!- toastydeath has quit [Ping timeout: 252 seconds]
[19:40:26] <joe9> micges: like this: http://codepad.org/Ctqa9yrH
[19:40:51] -!- Viesturs has quit [Remote host closed the connection]
[19:41:07] -!- toastyde1th has quit [Ping timeout: 240 seconds]
[19:41:47] -!- JT-Shop-2 [JT-Shop-2!~John@184-63-140-99.cust.wildblue.net] has joined #linuxcnc-devel
[19:41:48] -!- jthornton has quit [Read error: Connection reset by peer]
[19:41:48] -!- JT-Shop has quit [Read error: Connection reset by peer]
[19:41:53] -!- jthornton_ [jthornton_!~john@184-63-140-99.cust.wildblue.net] has joined #linuxcnc-devel
[19:42:55] -!- bedah has quit [Quit: Ex-Chat]
[19:43:07] -!- syyl_ has quit [Ping timeout: 240 seconds]
[19:43:58] jthornton_ is now known as jthornton
[19:46:23] -!- Loetmichel has quit [Ping timeout: 244 seconds]
[19:55:24] JT-Shop-2 is now known as JT-Shop
[20:12:07] -!- wboykinm has quit [Remote host closed the connection]
[20:35:58] -!- tjb1 has quit [Quit: tjb1]
[20:36:32] -!- ScribbleJ has quit [Ping timeout: 246 seconds]
[20:41:39] -!- cmorley has quit [Ping timeout: 276 seconds]
[20:42:34] -!- cmorley [cmorley!~chris@S010600c09fc019c2.no.shawcable.net] has joined #linuxcnc-devel
[20:49:15] -!- Shadowtec has quit [Quit: Leaving.]
[21:03:24] -!- FinboySlick has quit [Quit: Leaving.]
[21:14:10] -!- DJ9DJ has quit [Quit: bye]
[21:16:55] <joe9> micges: i have this working. http://codepad.org/2Gfxoi7y I just need to figure out how it fits into the user_live_update()
[21:17:13] <joe9> anyone knows more details on what/how user_live_update() works?
[21:17:51] -!- psha has quit [Quit: Lost terminal]
[21:18:40] <micges> it is just run about 10 times per second
[21:18:47] <micges> nothing special
[21:18:48] -!- motioncontrol has quit [Quit: Sto andando via]
[21:19:40] <joe9> oh, ok. so, I need a state variable to ensure that I do not run my custom code more than once. Correct/
[21:19:46] <joe9> s,/,?,
[21:21:18] <micges> yes
[21:21:30] <joe9> ok, thanks.
[21:24:19] <joe9> micges, should I define that variable in here: vars = nf.Variables(root_window, ("linuxcnctop_command", StringVar), ("emcini", StringVar),
[21:24:34] <joe9> micges, or, do you recommend some other place?
[21:26:14] <micges> no
[21:26:19] <micges> standard global
[21:30:07] -!- mhaberler has quit [Ping timeout: 240 seconds]
[21:30:46] -!- zod has quit [Ping timeout: 246 seconds]
[21:31:43] -!- mhaberler [mhaberler!~mhaberler@extern-183.stiwoll.mah.priv.at] has joined #linuxcnc-devel
[21:36:59] -!- syyl has quit [Quit: Leaving]
[21:37:40] -!- FredrikHson has quit [Read error: Connection reset by peer]
[21:54:55] -!- toastydeath has quit [Read error: Connection reset by peer]
[21:58:57] -!- toastydeath has quit [Read error: Connection reset by peer]
[22:05:04] -!- jacobtoye has quit []
[22:07:59] -!- toastydeath has quit [Ping timeout: 260 seconds]
[22:07:59] -!- Nick001-Shop has quit [Ping timeout: 260 seconds]
[22:08:04] Nick001-Shop_ is now known as Nick001-Shop
[22:08:14] -!- zzolo has quit [Quit: zzolo]
[22:27:38] -!- broofa has quit [Quit: Computer has gone to sleep.]
[22:29:32] -!- factor has quit [Quit: Leaving]
[22:40:07] -!- toastydeath has quit [Ping timeout: 240 seconds]
[22:52:06] -!- scooter has quit [Quit: leaving]
[23:01:15] -!- toastyde1th has quit [Ping timeout: 252 seconds]
[23:03:57] -!- rob_h has quit [Ping timeout: 256 seconds]
[23:06:57] <joe9> micges: this is what I have now. http://codepad.org/98PAopsc it seems to be working.
[23:07:22] <joe9> but, the function user_live_update seems to be running quite frequently.
[23:07:32] <joe9> is it a bad idea to have so much code in that function?
[23:09:08] <micges> I think it will be ok
[23:12:01] <joe9> micges: where is the frequency of user_live_update() set?
[23:12:26] <joe9> I mean there must be some place where it is defined how many times it will run, I assume.
[23:13:21] <micges> ini file [DISPLAY]CYCLE soemthing
[23:14:54] <joe9> ok, thanks.
[23:18:30] -!- djcoin has quit [Quit: WeeChat 0.3.2]
[23:24:15] -!- mhaberler has quit [Quit: mhaberler]
[23:41:43] -!- FinboySlick has quit [Quit: Leaving.]
[23:44:44] <joe9> my code: http://codepad.org/Il0VbB1O error message: http://codepad.org/sINxHLLU
[23:45:05] <joe9> I seem to be doing something wrong in this call: commands.clear_offset(num="2")
[23:45:21] <joe9> I tried commands.clear_offset(2) , but that did not work.
[23:45:30] <joe9> micges, any thoughts on what I am doing wrong?
[23:46:10] -!- servos4ever has quit [Quit: ChatZilla 0.9.85 [SeaMonkey 2.0.11/20101206162726]]
[23:48:16] <joe9> commands.clear_offset("2")
[23:48:22] <joe9> trying this now.
[23:52:37] <joe9> micges, no that did not work either. I seem to be missing something else. should I even be using commands.clear_offset or should I be prefixing it with just c.
[23:56:29] -!- micges has quit [Quit: Leaving]
[23:57:15] <joe9> micges: the error message http://codepad.org/XgpLS9Cv