#emc | Logs for 2009-02-10

[00:04:03] <toastydeath> asldfkg
[00:04:04] <toastydeath> oops
[00:04:07] <toastydeath> wrong window
[04:51:10] <Guest804> In the wiki under installing EMC2, is the script in 1.2 the same as 2.1.1 line 7? Title ine 1.2 is precompiled, title for 2 is from source?
[04:53:09] <cradek> I think it's the same script. the easiest way to get a realtime kernel is to install the release version of emc2 and its dependencies. then you can rebuild that version, or cvs trunk, or whatever other version you like
[04:54:06] <Guest804> I'm trying to figure out if it is possible to build it with the 8.04.1 ubuntu released kernel
[04:54:24] <cradek> if you do not want to control machinery, you can build in simulator mode with no realtime kernel
[04:54:39] <Guest804> no I want to control hardware
[04:54:50] <cradek> you need a realtime kernel then
[04:54:56] <cradek> maybe I don't understand your question?
[04:55:54] <Guest804> the 8.04.1 version works with my computer, when I run the script to install emc it takes the kernel back and no longer works
[04:56:17] <cradek> what doesn't work?
[04:56:43] <Guest804> computer won't boot, hangs at the splach screen
[04:56:55] <cradek> hmm
[06:08:19] <eric_unterhausen> I've built real time linux kernels 100 times, but I would use the live cd as a start nowadays
[06:34:34] <eric_unterhausen> self healing chair, or infernal way to get rid of your mother in law? http://www.youtube.com/watch?v=vlXh8RvvcuI
[10:15:58] <shrdlu-> hm, I'm trying to create a script to turn a 1 bit bitmap to gcode, creating a printer head like scanning, anyone have any tips?
[10:16:05] <shrdlu-> I guess it's not too complex
[10:51:13] <piasdom> g'mornin all
[11:13:49] <JymmmEMC> shrdlu-: http://timeguy.com/cradek/image-to-gcode
[11:17:52] <shrdlu-> yah, I'm using that as a base. It's not very good though, tbh
[11:18:31] <shrdlu-> well, it's a good start
[11:23:52] <shrdlu-> ugh, gimp is annoying
[11:25:20] <shrdlu-> nothing behaves like I expect it to
[11:45:52] <shrdlu-> hm, this is no good at all. emc is taking like 5 mins to load these raster to gcode files
[14:22:14] <motioncontrol> good morning.i have the problem with spindle index.i want searchthe bindex encoder spindle for tool change.i want connect hm2.5i20.0.encoder.03.index-enable at un classicladder.0.out.00, but the terminal display the error :already has output pin
[14:23:05] <motioncontrol> which search the index spindle?
[14:24:26] <motioncontrol> in the demo mazak the drives have internal procedure for search the index spindle , but normaly in the common drive this procedure not exist
[14:53:20] <tomp> motioncontrol: if i understand, you want to 'orient' the spindle before a tool change. The mazak has no special built in function. it is a sequence of commanded events. moving in one direction until index pulse is one of the events needed.
[14:54:11] <tomp> to begin, can you see your index pulses change state?
[14:54:20] <tomp> /pulse/
[14:55:23] <jepler> index-enable is a pin of type IO, and classicladder out.## is a pin of type OUT. You cannot connect pins of type IO with pins of type OUT. This is why the demo-mazak uses a 'tristate_bit' component in between.
[14:56:32] <jepler> index-enable works like this: if you want to zero the encoder count next time it crosses index, write "1" on index-enable. Then, to know when this occurred, read index-enable; when it goes from 1 to 0, then the index mark was passed and the encoder is reset
[14:57:36] <jepler> if you could directly connect classicladder out.## to index-enable this wouldn't work as desired, because out.## would continually put either 0 or 1 into the bit, according to classicladder's rules
[14:58:17] <jepler> but tristate-bit with in set to 1 and enable hooked to classicladder out.## will do the right thing: set the pin to 1, then let the encoder reset it to 0
[15:00:23] <BigJohnT> jepler: can't you use a rising edge contact to only output for one scan?
[15:00:45] <jepler> BigJohnT: no, you have to use a tristate-bit component
[15:01:08] <BigJohnT> ok thanks
[15:02:05] <jepler> BigJohnT: HAL forbids you to connect IO and OUT on the same signal, so it doesn't matter what the rungs in classicladder actually do
[15:02:36] <BigJohnT> I missed that part :)
[15:03:33] <BigJohnT> too many monitors to look at here :)
[15:04:15] <jepler> you must have a real high-tech datacenter over there
[15:05:20] <BigJohnT> yea 4' of monitors!
[15:06:25] <it0> Hi All,
[15:06:39] <BigJohnT> hi
[15:06:47] <it0> when setting up EMC i'm seem to keep hitting the soflimits
[15:07:03] <it0> in what unit is the travel min max?
[15:07:35] <BigJohnT> machine units
[15:07:48] <it0> ok, what is a machine unit?
[15:07:58] <jepler> the same as all other distances in the inifile. If you have [TRAJ]LINEAR_UNITS=mm, then it's millimeters for X Y and Z axes.
[15:08:27] <it0> ok,i'll have another go at it when I'm at home
[15:09:05] <it0> also i programmed my own stepper driver, am I correct in the assumption that the direction for each axis is a PULSE and not a constant high or low ?
[15:09:36] <BigJohnT> AFAIK it is off or on
[15:10:08] <it0> i'll check it with some led or halmeter then
[15:10:13] <jepler> with software stepgen, the direction value is maintained for at least dirsetup ns before and dirhold ns after a step pulse. At other times, direction is unspecified.
[15:10:17] <it0> perhaps a big in my code
[15:10:20] <it0> bug that is
[15:11:21] <it0> jepler: in that case a bug in my code ;)
[15:12:33] <it0> thanks for your help!
[15:17:10] <BigJohnT> jepler: my desk by day http://imagebin.ca/view/7qjVSY0.html
[15:18:28] <eric_unterhausen> I found that when I was using dual 24" monitors I would lose things on there, dual 20" is ok
[15:19:50] <BigJohnT> I'm trying to figure out how to fit one on the right side of the main one :) but I would have to move the HP plotter :/
[15:20:06] <eric_unterhausen> go up
[15:20:21] <BigJohnT> then I can't look at the guns :)
[15:21:04] <eric_unterhausen> aim them through the cracks
[15:21:12] <BigJohnT> LOL
[15:26:45] <motioncontrol> good evening.I want one help for search index on pindle.i don't can connection pin hm2.5i20.0.encoder.03.index-enable because?
[15:28:31] <jepler> 08:56:07 <jepler> index-enable is a pin of type IO, and classicladder out.## is a pin of type OUT. You
[15:28:34] <jepler> cannot connect pins of type IO with pins of type OUT. This is why the demo-mazak uses a
[15:28:37] <jepler> 'tristate_bit' component in between.
[15:28:38] <jepler> logger_emc: bookmark
[15:28:38] <jepler> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2009-02-10.txt
[15:28:52] <jepler> motioncontrol: If you missed what I said because you got disconnected, please review it in the log file.
[15:29:47] <jepler> (and to everyone else, please excuse the bad paste above)
[15:33:14] <motioncontrol> ok excuse for my quit but i have problem on internet line
[15:36:21] <tomp> i have trouble thinking tristate when the solution seems to be 'one-shot'.i think that was BigJohnT's take on it too. something must 'disarm' the comp.
[15:38:08] <tomp> i'll reboot to an emc partition to read
[15:38:41] <motioncontrol> ok i close for study the tristate component and prove it
[16:58:37] <skunkworks_> #electronics
[16:58:39] <skunkworks_> heh
[17:08:56] <UncleGemc> off topic I know, but does anyone in here live in the USA and are willing to accept a fax from me and tell me if it sent correctly?
[17:09:41] <UncleGemc> It seems I am having trouble getting pmbtog3 to convert the files correctly and I cannot tell if they are sending out as the correct size.
[17:12:13] <eric_unterhausen> that's a new approach for a fax spammer to take :)
[17:12:24] <UncleGemc> lol you douche
[17:12:31] <UncleGemc> what are you up to today?
[17:12:49] <eric_unterhausen> bike frames
[17:13:01] <UncleGemc> tig welding them or something of the like?
[17:13:13] <eric_unterhausen> I wish, just researching tools
[17:13:58] <eric_unterhausen> I gave my torch away many years ago, can't figure out where to keep the oxy/ acetylene tanks
[17:14:18] <UncleGemc> What do you mean where to keep them?
[17:14:28] <eric_unterhausen> can't keep them in the house
[17:14:36] <UncleGemc> lol, why not?
[17:14:48] <alex_joni> oxy/acetylene sucks
[17:15:01] <alex_joni> use a TIG
[17:15:33] <UncleGemc> a tig does not replace a torch :)
[17:15:57] <alex_joni> depends what you want to do
[17:16:21] <eric_unterhausen> for bikes it's a toss-up
[17:16:58] <eric_unterhausen> tig will never replace brazing entirely
[17:17:10] <alex_joni> you can MIG braze though
[17:19:47] <eric_unterhausen> I might learn to tig, but I decided to stick to what I do best for now
[17:20:52] <UncleGemc> tigging will be your preferred typed of welding when you learn how to
[17:21:04] <UncleGemc> overall best welds
[17:21:17] <alex_joni> UncleGemc: close ;)
[17:21:26] <eric_unterhausen> brazing is pretty much specialized to bike frames for me
[17:21:28] <UncleGemc> Compared to what?
[17:21:30] <alex_joni> PPAW is nicer
[17:21:44] <alex_joni> plasma powder arc welding
[17:21:45] <UncleGemc> I do not know what PPAW is
[17:21:48] <UncleGemc> ohhh
[17:22:04] <alex_joni> basicly a constricted TIG turns into plasma, then you feed metal poweder into the shielding gas
[17:22:07] <UncleGemc> Is it easier than tig?
[17:22:13] <UncleGemc> neat
[17:22:15] <alex_joni> a bit
[17:22:18] <alex_joni> bbl.. gotta run
[17:22:25] <UncleGemc> k
[17:22:27] <UncleGemc> later
[17:22:28] <alex_joni> (lots more expensive though)
[17:22:34] <eric_unterhausen> I think the best frames are carbon now anyway
[17:22:40] <eric_unterhausen> not trying to compete for that
[18:26:14] <motioncontrol> Good evening. i have implementation tristate component with succefull.Thanks jepler.
[18:26:32] <motioncontrol> and alex_Joni
[18:27:57] <motioncontrol> the ultimate point for complete my maschine is comand the position tool change whit t1 m6 command.some idea?
[18:28:18] <motioncontrol> for axis x y and z
[18:30:32] <SWPadnos> there's a tool change coordinate setting in the ini file
[18:30:37] <SWPadnos> I don't remember what it's called
[18:31:33] <motioncontrol> yes i see in the ini file of demomazak, but not see the call the tool_change_position
[18:32:49] <motioncontrol> teoricaly if load the float in pid.0.comand the x axis go to position load
[18:33:14] <motioncontrol> whith pid.0 enable at on
[18:33:31] <SWPadnos> the tool change process moves the machine to the tool change position, then asserts tool-prepare
[18:33:43] <SWPadnos> you don't have to do it in HAL, the motion controller does it for you
[18:34:20] <motioncontrol> yes send the the tool-prepare in classicladder but after?
[18:34:46] <SWPadnos> I don't understand what you're asking
[18:35:10] <SWPadnos> emc moves to tool change position, asserts tool-prepare, then waits for tool-prepared
[18:35:36] <SWPadnos> the motion controller knows the machine position, and will correctly execute the next programmed move
[18:36:02] <motioncontrol> when i read in part program t1 m6, the first step is go to the axis x-y-z in tool change position.which?
[18:36:09] <SWPadnos> as far as I know, the motion controller will not attempt to move back to where it was before the tool change, since you could have loaded a longer tool (which would cause a crash)
[18:37:02] <SWPadnos> t1m6 will set the tool-number output to 1, move to the tool change position, and after the move is complete it will assert tool-prepare
[18:37:56] <motioncontrol> the movement axis in tool change position is automatic, or is necessary modification in hal file?
[18:38:16] <SWPadnos> the movement is automatic
[18:38:41] <SWPadnos> but only if you have specified a tool change position in the ini file, and only for the axes which are included (I think)
[18:39:06] <motioncontrol> ok i have only write in ini file TOOL_CHANGE_POSITION 100 70,55 30,46 ?
[18:39:23] <motioncontrol> for a -y-and z axis
[18:39:46] <SWPadnos> something like that, but with decimals instead of commas (I don't think the ini read dunctions know about locale settings)
[18:40:03] <SWPadnos> functions
[18:40:03] <motioncontrol> excuse the 100 , 70,55, 30,46 are position of x y and z axis for tool canghe
[18:40:11] <SWPadnos> I would assume so
[18:40:29] <SWPadnos> 100, 70.55, 30.46
[18:40:47] <motioncontrol> ok for comma
[18:41:27] <SWPadnos> :)
[18:42:53] <motioncontrol> for my confirm : i write in part program t1 m6 : the emc read in the INI file the line: Tool_CHANGE_POSITION 100, 50.55, 70.55 and axis x and y and z move at 100, 50.55 70.55. is correct?
[18:44:15] <SWPadnos> as far as I know, yes
[18:44:42] <motioncontrol> ok thanks tomorrow i prove this step.
[18:45:18] <SWPadnos> take a look at the manual first, I wouldn't trust me on this subject :)(
[18:45:20] <SWPadnos> :)
[18:46:11] <motioncontrol> ok no problem thanks for all
[18:46:17] <SWPadnos> you're welcome
[19:07:54] <jepler> motioncontrol: I suspect you have to use american-style decimal numbers: 100 7.55 30.46
[19:08:45] <jepler> also I don't think you use commas to separate the values, just spaces
[20:01:17] <motioncontrol> ok thanks jepler tommorrow i prove
[20:32:15] <shrdlu-> I can't seem to get gcnccam to load any type of dxf and display/gen code from it
[20:32:59] <shrdlu-> I've tried like 10 different dxf formats, including just attempting to output a simple square from qcad in both it's formats
[20:33:30] <shrdlu-> and followed the tutorials on the EMC wiki and the manual from sourceforge
[20:33:32] <shrdlu-> nuttin
[20:34:04] <shrdlu-> anyone used it successfully?
[20:36:49] <shrdlu-> oops
[20:46:06] <psehorne> I have installed EMC2 from the Ubuntu 8.04 Hardy Heron live CD. I now want to install CAD Salome. SALOME 4.1.4 supports Debian 3.1 Sarge, Debian 4.0 Etch. I understand that Ubuntu is based on Debian and my guess is that I need Salome for Debian 4.0 Etch. Just looking for confirmation that I am right.
[20:47:04] <alex_joni> psehorne: it might work, it might not work
[20:47:34] <alex_joni> if it uses debian packages to install, and proper dependencies, then it either will work or not
[20:47:50] <fenn> you need ubuntu intrepid or jaunty to get the opencascade libs
[20:47:50] <alex_joni> but if it uses custom shell scripts, and binaries, then it's very likely you can trash half the system
[20:48:03] <fenn> or else you can try the instructions on opennovation.org
[20:49:55] <fenn> http://www.opennovation.org/ubuntu/
[20:50:48] <psehorne> Thanks, guys. I'll proceed to opennovation.org
[20:52:06] <fenn> while you're at it, you should check out heekscad
[20:52:21] <fenn> http://code.google.com/p/heekscad/
[20:53:00] <fenn> the cad tool in salome looks rather.. primitive
[20:53:39] <fenn> but i havent tried it, so maybe it's great
[20:53:42] <fenn> let me know
[20:54:58] <psehorne> Okay, thanks.
[21:00:27] <psehorne> Reading about heekscad now....
[21:00:42] <psehorne> later...