#emc | Logs for 2007-09-21

[00:00:13] <fenn> machine on should send a signal that turns the power on
[00:00:25] <fenn> (imagine that)
[00:00:27] <Adam_> does that
[00:00:45] <fenn> even after you come out of estop?
[00:00:58] <Adam_> yes because its jsut a hardware estop
[00:01:35] <fenn> what's the difference between 'just a hardware estop' and 'combined hardware and software estop'?
[00:01:58] <rayh> Hey what's that paste image url?
[00:01:59] <Adam_> that emc knows there was a hardware estop
[00:02:16] <Adam_> or a softlimit
[00:02:18] <fenn> imagebin.org
[00:03:11] <Adam_> ok what about that mesa output... it latches on the F2 from the gui, and if the hardware isnt estopped that machine powers.
[00:04:09] <Adam_> could it also know that there is a voltage going through it?
[00:04:20] <fenn> not an output
[00:04:57] <Adam_> so if i put an input in parralel with the output
[00:05:17] <Adam_> if voltage goes to the input machine on, if voltage doesnt machine off
[00:05:50] <Adam_> my head hurts
[00:06:05] <fenn> did you draw a diagram?
[00:06:20] <Adam_> right now its in my head
[00:06:23] <Adam_> :|
[00:06:29] <fenn> well draw stuff
[00:06:29] <Adam_> and on the machine
[00:06:47] <fenn> put emc on the left and the estop chain on the right
[00:07:15] <fenn> m5i20 in between
[00:08:03] <Skullworks-PGAB> http://www.ucsc.edu/news_events/press_releases/text.asp?pid=1534
[00:09:07] <rayh> http://imagebin.org/10514
[00:09:34] <rayh> Is this a bit like you are thinking only without the limits in the circuit.
[00:10:20] <SWPadnos> note that the 24V supply is switched only by the physical power switch, not the estop chain
[00:11:16] <rayh> Good thought.
[00:11:29] <SWPadnos> that's pretty necessary IMO :)
[00:11:59] <SWPadnos> unless you want to require several people to hold buttons down to start the machine ;)
[00:12:01] <Adam_> yeah thats how we have it
[00:13:15] <rayh> Looks like I missed a line between +24 and the mesa in1
[00:13:30] <Adam_> yeah, thats the thing
[00:13:30] <rayh> Must have been to thin to show up.
[00:13:50] <Adam_> ours stops recieving 24V when the estop chain is broken
[00:14:21] <rayh> Let me finish that missing line cause there's a relay contact in there.
[00:14:40] <Adam_> we need to get that to disable the machine in the software, and stop looking so we can start the machine up again from F2
[00:17:01] <Adam_> im thinking that if our input is linked to a machine disable, then it wont let us power back up cause its voltage is missing.... is there a way to turn off that input after its been tripped... and turn it back on when we press F2?
[00:17:26] <rayh> http://imagebin.org/10519
[00:17:41] <rayh> That should show the estop return signal to the mesa.
[00:18:55] <Adam_> is that a capacitor? whats its story?
[00:19:00] <SWPadnos> relay contact
[00:19:12] <SWPadnos> CR1 is the coil, the lower line is the contacts
[00:19:16] <rayh> That is a dry contact on control relay one
[00:19:31] <SWPadnos> oh, is that what CR stands fro?
[00:19:33] <SWPadnos> for
[00:19:41] <rayh> You got it.
[00:19:55] <SWPadnos> cool. learn something new (or old) every day :)
[00:19:56] <fenn> what does "dry contact" mean?
[00:20:01] <SWPadnos> no power flow
[00:20:06] <SWPadnos> at least, none expected
[00:20:18] <rayh> So the trick is to energize the coil of control relay 1 using the mesa out5
[00:20:35] <rayh> and it signals the emc through mesa in1 that estop is up.
[00:20:58] <fenn> why dont you just hook mesa-in1 to the estop chain?
[00:21:02] <rayh> Now you have an impossibility
[00:21:25] <SWPadnos> fenn, it's hooked through the relay
[00:22:25] <rayh> fenn you could by wiring down to mesa in1 from the chain.
[00:22:49] <rayh> But that doesn't tell you the relay has been pulled
[00:22:53] <SWPadnos> well - where would you connect the two contacts?
[00:23:07] <fenn> i'd hook mesa-in1 to where CR1 is now
[00:23:10] <SWPadnos> you need to put some current through the input opto
[00:23:26] <SWPadnos> hmmm. that could work
[00:23:40] <fenn> and get rid of CR1 CR1-2
[00:23:52] <rayh> Um no!
[00:24:05] <fenn> what does CR1 do?
[00:24:08] <SWPadnos> CR1 is likely to have other contacts that do other things
[00:24:15] <rayh> cause that's a short circuit through the mesa card.
[00:24:21] <SWPadnos> like contact 3-phase power to the motor
[00:24:36] <SWPadnos> true - that should be a low current chain, but not that low
[00:25:02] <SWPadnos> (something like 50-100 mA, instead of the 10 mA you want through the mesa)
[00:25:04] <rayh> You could put all of the estop chain into mesa in1
[00:25:12] <rayh> and not have an out
[00:25:29] <fenn> yeah, connect mesa-in1 to the left end of the estop chain
[00:25:42] <fenn> but that's always getting +24V arg
[00:25:53] <SWPadnos> you still want an out, so hitting F1 will stop the machine
[00:25:57] <rayh> But I prefer, and most USA standards require an estop chain without silicon.
[00:26:31] <fenn> right. so this relay is a current sensor basically
[00:26:32] <Adam_> Each input has a + and a - terminal... how does that work? is the internal resistor between them? i was expecting to just have a voltage input to one terminal
[00:26:59] <rayh> In the case I drew, you can kill power to the system, CR1 without the mesa doing anything.
[00:27:49] <fenn> does CR cut off power in other parts of the system?
[00:28:19] <SWPadnos> other contacts from CR1 would probably turn off mains contactors for the spindle and servo power supply
[00:28:28] <fenn> ok that makes sense
[00:28:39] <SWPadnos> or they'd turn off relays that then turn off those large contactors
[00:28:39] <Adam_> (ive never hooked an input up to the 7i37... so bear with me on that input terminal question)
[00:29:02] <SWPadnos> Adam_, it's an optoisolator. an LED (possibly with a resistor)
[00:29:12] <Adam_> ah
[00:29:13] <fenn> * fenn hates the disconnected coil/contact stuff
[00:29:15] <SWPadnos> you need to run a little bit of current through it to turn it on
[00:29:27] <Adam_> so does it sense current, or voltage between the terminals?
[00:29:34] <rayh> supper bbiab
[00:29:52] <SWPadnos> it doesn't sense anything. the LED turns on when some current is run through it
[00:30:47] <Adam_> but the input has to tell emc that the stop has been pressed... what exactly is it measuring to get that signal?
[00:30:54] <Adam_> current i take it?
[00:31:15] <fenn> RTFM :)
[00:32:05] <Adam_> ahh
[00:33:21] <Adam_> (i did, but its a lot of EE jargon... ill have to do some research to understand, for instance what an optoisolator is)
[00:33:36] <fenn> The opto-isolated inputs have 4.4K Ohm series resistors and reverse input
[00:33:36] <fenn> protection diodes across the opto-isolator LEDS. Input current an the maximum 24V input
[00:33:40] <fenn> is approximately 5mA. The isolated inputs will work with input voltages from 4 to 24V.
[00:34:06] <fenn> "an" should be "at"
[00:34:17] <Adam_> yeah
[00:34:20] <fenn> V=IR
[00:34:54] <Adam_> right, so i cant just supply the + terminal a voltage and assume the resistor is grounded... i have to complete the circuit with the -ve terminal
[00:34:56] <fenn> so if you give it 24V, I = 24/4400 == .005
[00:36:46] <Adam_> nm, i got it i think
[00:37:06] <fenn> this way you have separate grounds for each opto
[00:37:13] <Adam_> ive programmed a plc before, but its inputs didnt work the same
[00:37:14] <Adam_> i see
[00:38:18] <fenn> an opto is just an led and a light sensor
[00:38:46] <fenn> and usually an amplifier to boost the output from the light sensor
[00:38:58] <Adam_> gotcha
[00:46:28] <Adam_> so how do i do this in the config?
[00:46:31] <fenn> keroppi keropp meet ribbito
[00:49:56] <ribbito> fenn: tomp testing a laptop wit DSL ( damn small linux )
[00:50:05] <fenn> i guessed from your ip
[00:50:12] <ribbito> clever
[00:52:07] <ribbito> enuf 4 me... byebye (tomp)
[00:55:43] <fenn> Adam_: by "this" you mean ray's diagram?
[00:57:56] <Adam_> i mean, im wiring it to my input1 on the 7i37.... what do i have to do in the config to use this signal?
[01:00:02] <fenn> hook it to iocontrol.0.emc-enable-in i suppose
[01:00:25] <dougztr> hi all. hey, i'm trying to create some sort of bootable USB version of linux that includes emc that will run on a 2Gb usb stick. i'm thinking about putting a stripped down version of debian on it and taking it from there, any ideas?
[01:00:56] <fenn> Adam_: " Should be driven FALSE when an external estop condition exists"
[01:01:17] <Adam_> ok thanks, ill fumble my way through that :)
[01:02:42] <fenn> dougztr: use the emc livecd as an image. you might have to do some grub-install stuff on the usb key to get it to boot
[01:03:16] <fenn> then you can mount /home as unionfs or jffs from somewhere else on the usb key
[01:05:28] <dougztr> fenn: the livecd says it needs 2+ Gb though, I only have 2 total
[01:05:56] <fenn> how are you going to fit 2GB on a CD? that's silly
[01:06:28] <SWPadnos> it's compressed
[01:06:53] <fenn> so, keep it compressed
[01:07:14] <SWPadnos> skunkworks did thi - he has a bootable USB stick that's like the CD
[01:07:34] <SWPadnos> I don't remember if he ever put up a wiki page, but there will be links to the web pages he used in the IRC logs
[01:07:58] <SWPadnos> s/thi/this/
[01:08:04] <fenn> that's whats neat about 'overlay' filesystems like unionfs, you dont have to uncompress everything else
[01:08:08] <dougztr> fenn: i really don't need all that fluff from the livecd, yeah its just a pet project.
[01:08:46] <dougztr> fenn: i'll have to research unionfs, i first experienced it just the other day toying with DSL
[01:08:53] <fenn> dougztr: the reason i suggested the livecd is that it already boots from a realtime kernel
[01:08:53] <SWPadnos> http://pendrivelinux.com/2007/01/25/usb-x-ubuntu-610
[01:09:06] <dougztr> fenn: i know how to copy a kernel, :-)
[01:09:23] <Adam_> i have this so far (emc-enable-in is TRUE, and isnt driving FALSE when i cease input to 01)
[01:09:24] <Adam_> -newsig EstopSense bit
[01:09:25] <Adam_> linksp EstopSense <= m5i20.0.in-01
[01:09:25] <Adam_> linksp EstopSense => iocontrol.0.emc-enable-in
[01:09:25] <Adam_> -
[01:10:28] <fenn> dougztr: you could just install debian on a usb-key and download the emc .deb's then
[01:11:27] <dougztr> SWPadnos, fenn: great! I'm working on preparing a R&D project at work to deploy emc2 on some big stuff
[01:11:33] <fenn> i never had much luck booting computers from usb keys
[01:12:12] <dougztr> fenn: my new system doesn't have a floppy, and its panic time when i wipe my bootsector out
[01:12:34] <fenn> use netboot (pxe)
[01:12:48] <fenn> even old stuff that wont boot from usb seems to have pxe
[01:13:02] <dougztr> fenn, if i had half a brain i'd get that set up on my toy server
[01:13:30] <fenn> its not that hard really
[01:14:15] <dougztr> anyways, guys, suppose i wanted to convert a old manual table mill to cnc, and use emc2. what HP steppers do you think i'd need?
[01:14:31] <fenn> steppers are usually rated in oz*in
[01:14:57] <fenn> also there's the frame size (nema 23 34 etc)
[01:15:39] <dougztr> fenn: duly noted. i've seen some kits for bridgeports. i presume something like that would probably do the job
[01:16:06] <SWPadnos> is it a BP sized mill?
[01:16:20] <dougztr> thats the smallest one we have
[01:16:56] <SWPadnos> ok. I have a BP 9x42, and the servos I have are 27 in-lb
[01:17:11] <SWPadnos> I think newer ones are ~31 in-lb, due to nicer magnets and stuff
[01:17:30] <dougztr> ty for the tip.
[01:17:57] <SWPadnos> they're 2500 RPM, 9.7A continuous, 39A peak (meaning ~108 in-lb peak), max 150V
[01:18:19] <SWPadnos> at full speed/full torque, they'd be 6KW, wihch is a lot
[01:18:47] <SWPadnos> for steppers, you'd need higher initial torque, since the torque falls off the faster the motor goes
[01:19:03] <fenn> around 500 oz*in is good for bridgeport steppers isnt it?
[01:19:17] <SWPadnos> that's undersized for a pro machine
[01:19:22] <fenn> ==450 watts or so
[01:19:25] <SWPadnos> for a hobby or home shop, it's probably OK
[01:19:49] <SWPadnos> my servos are 27 in-lb, which is 432 oz-in
[01:20:00] <SWPadnos> but they're that torque continuously, and at 2500 RPM
[01:20:16] <fenn> what's peak torque?
[01:20:22] <SWPadnos> ~108 in-lb
[01:20:38] <SWPadnos> 1728 oz-in
[01:21:11] <SWPadnos> but again, they can do that when they're spinning at 1000 RPM or higher, which a stepper can hardly even reach let alone deliver any torque
[01:21:33] <dougztr> i don't think i'd need 1000 rpm
[01:21:33] <fenn> right, so more like 2-3 times that value
[01:21:48] <fenn> unless your name is mariss :P
[01:21:52] <SWPadnos> 1000 RPM at the motor, through a 2:1 drive, with a 5 TPI screw, means 100 IPM rapids
[01:22:15] <SWPadnos> this motor is intended to be used at 2:1
[01:22:18] <SWPadnos> or higher
[01:22:58] <jlmjvm> how would the stepper compare to the servo at 10 ipm cutting steel?
[01:23:27] <SWPadnos> using the same drive rations (2:1, 5TPI), that means 100 RPM, so the stepper will probably be at full torque
[01:23:47] <SWPadnos> a very latrge stepper might not be though
[01:23:49] <SWPadnos> large
[01:23:51] <fenn> um.. wtf is this doing on the ubuntu website "Restart your computer, remove the CD and boot back into Windows"
[01:24:03] <SWPadnos> heh
[01:24:59] <Adam_> hey, i have 24V applied to input 1, but when i take it away EstopSense doesnt revert back to false... any idea why?
[01:25:18] <jlmjvm> gotta get back to work,wiring up the usc tonite
[01:25:44] <SWPadnos> Adam_, you'll need to check the manual. I think estop was turned into a read/write pin at some point - there's some handshaking that has to go on (I think)
[01:25:58] <Adam_> yeah there is an EstopWrite
[01:26:00] <Adam_> but i dont use it
[01:26:03] <Adam_> im just sensing
[01:26:27] <SWPadnos> what I'm saying is that it may need something more than just being hooked to an input pin
[01:26:33] <SWPadnos> but I don't know what that something is :)
[01:27:19] <Adam_> ok
[01:27:48] <fenn> no it's not an i/o pin
[01:27:50] <Adam_> im new to these configs... its still a little mysterious to me... but i can see that EstopSense is a 'bit' signal
[01:28:01] <Adam_> thus it has an ON/OFF state
[01:28:12] <Adam_> and its linked to input 1
[01:28:20] <Adam_> and to emc-enable-in
[01:28:52] <fenn> and emc-enable-in is an IN pin
[01:28:53] <Adam_> if i throw not at the end of the input1 link, then emc thinks the estop is on and wont let me do anything
[01:29:07] <Adam_> but i cant get the voltage at input 1 to switch this for me
[01:30:37] <fenn> linksp EstopSense m5i20.0.in-1-not right?
[01:31:24] <fenn> * fenn doesnt have an m5i20 to play aorund with
[01:31:28] <Adam_> yeah. this is a simple way that i checked that emc-enable-in was going to false and disabling things for me
[01:31:50] <fenn> or is m5i20.0.in-1-not a parameter?
[01:32:25] <Adam_> i dont think so
[01:32:26] <Adam_> :S
[01:32:40] <Adam_> i know im missing something simple
[01:32:47] <Adam_> but im not fluent in this yet
[01:32:48] <fenn> ok google tells me in-01-not is a pin
[01:33:06] <Adam_> newsig EstopSense bit
[01:33:05] <Adam_> linksp EstopSense <= m5i20.0.in-01
[01:33:05] <Adam_> linksp EstopSense => iocontrol.0.emc-enable-in
[01:33:18] <jepler> for HAL digital inputs, generally a regular and an inverted form is available: in-NN and in-NN-not
[01:33:25] <Adam_> right
[01:33:43] <Adam_> i want the non inverted, i just inverted it to test that the estop was in fact tripping
[01:34:04] <Adam_> my problem is that the 24V at input 1 can be removed and EstopSwitch doesnt see it
[01:34:09] <Adam_> it doesnt change to false
[01:34:16] <fenn> you might need a pull-down resistor
[01:34:20] <Adam_> ahh
[01:34:38] <fenn> check the voltage on the actual pin
[01:34:44] <fenn> with a multimeter
[01:34:47] <Adam_> i am
[01:34:55] <Adam_> its definitely going from 24 to 0
[01:35:04] <Adam_> i thought maybe i was missing some code
[01:35:24] <Adam_> would those 3 lines above be enough? is that properly linking the input?
[01:36:02] <fenn> you have to add the m5i20 functions to a thread of course
[01:36:21] <fenn> besides that i think it should work
[01:36:24] <Adam_> ok
[01:36:45] <Adam_> addf m5i20.0.digital-in-read servo-thread 1
[01:36:51] <Adam_> this wouldl be the line you want
[01:36:55] <Adam_> ?
[01:37:00] <fenn> ya
[01:37:04] <Adam_> ok, its there
[01:38:03] <fenn> did you attach a ground to the opto input?
[01:38:07] <SWPadnos> if you short the two input contacts together, does the input change state?
[01:38:21] <SWPadnos> (don't do this with the 24V signal still connected)
[01:38:36] <Adam_> u mean, attach pin1 to pin 2?
[01:39:07] <SWPadnos> yes
[01:39:36] <SWPadnos> if you do that, and the input doesn't change, then the problem is somewhere between the terminals and EMC
[01:39:39] <Adam_> what would that do.... doesnt it need power to activate the input?
[01:39:54] <SWPadnos> if it does turn off, then the problem is in the circuit it's connected to
[01:40:33] <SWPadnos> you said if you power it then un-power it, the input bit changes frmo 0 to 1, but never goes back to 0
[01:40:35] <SWPadnos> (I think)
[01:41:21] <Adam_> not exactly... the bit doesnt change either way
[01:41:28] <Adam_> it doesnt seem to be seeing the input
[01:41:43] <SWPadnos> oh. I thought you saw one transition and not the other
[01:41:44] <Adam_> and shorting the terminals doesnt do anything.... (i dont know why it would)
[01:41:47] <Adam_> neg
[01:41:54] <SWPadnos> are you looking at the bit itself, or a signal connected to it?
[01:42:17] <Adam_> both
[01:42:29] <SWPadnos> err - so you have two halmeters open?
[01:42:30] <Adam_> the signal is definitely switching (via voltmeter)
[01:42:35] <Adam_> yeah
[01:42:38] <SWPadnos> ok
[01:42:43] <fenn> Adam_: and there's current going through the opto right?
[01:42:46] <SWPadnos> disconnect the bit from the signal
[01:42:49] <Adam_> yeah there is
[01:43:09] <Adam_> hold up i dont know if i checked the actual pin in the halmeter, ill do that
[01:43:11] <SWPadnos> and you're probing the two input terminals, not one terminal plus a known ground?
[01:43:23] <SWPadnos> (with the physical voltmeter)
[01:43:58] <Adam_> ok, the pin switches to false when i connect the 24V
[01:44:04] <Adam_> but estopsense doesnt
[01:44:40] <fenn> do 'halcmd show all *estop*'
[01:44:49] <Adam_> no i have to probe both... the powersupply doesnt work as a node relative to the ground... it seems to be two out of phase ac signals that average to dc
[01:44:58] <Adam_> ok
[01:46:10] <fenn> oh damn its case sensitive
[01:46:56] <fenn> show sig EstopSense
[01:47:16] <Adam_> when i did that it stated 03 and 07 as the input and output pins... is that my problem?
[01:47:28] <fenn> probably
[01:47:42] <fenn> you want something like
[01:47:55] <fenn> bit TRUE EstopSense
[01:48:09] <fenn> <= m5i20.0.in-01
[01:48:21] <fenn> => iocontrol.0.emc-enable-in
[01:50:41] <Adam_> hahha it works!!
[01:50:48] <Adam_> i didnt realize it wanted pin 3
[01:51:04] <Adam_> i was trying to use input1.. i switched it all to 3 and it toggles
[01:51:09] <Adam_> thanks very much
[02:08:05] <CIA-8> 03fenn 07TRUNK * 10emc2/docs/man/man1/halui.1: added teleop/joint pins
[02:32:27] <jepler> fenn: thanks for your halui improvements and for improving the docs with it
[02:44:31] <fenn> i'm thinking about adding a man page for emcsh and friends
[02:45:01] <fenn> man pages are great - you just type 'man whatever' and it pops up with what you need
[03:07:23] <fenn> hehe i found a bug that causes the robot visualization to go berserk
[03:12:57] <CIA-8> 03fenn 07TRUNK * 10emc2/src/emc/usr_intf/axis/scripts/axis.py: limit teleop jogging to XYZABC because UVW doesn't make sense
[03:23:32] <CIA-8> 03fenn 07TRUNK * 10emc2/configs/scara/scara.ini: missing halfile causes emc not to load
[03:58:01] <Skullworks-PGAB> does the wiki support tables?
[03:59:17] <Skullworks-PGAB> the wiki - wiki says it can if certain plug-ins are installed, just wondering if they are.
[03:59:58] <SWPadnos> I'm pretty sure that tables work
[04:00:09] <SWPadnos> using the | | notation in the instructions
[04:00:51] <fenn> ||a||b||c||
[04:05:53] <Skullworks-PGAB> ok - I'll give it a shot once I have all the info condensed
[04:15:04] <fenn> grarr i know there's some stupid c library function that gives me the length of an int
[04:15:34] <fenn> but google is being coy
[04:16:19] <fenn> aha! sizeof
[04:21:40] <SWPadnos> heh
[04:21:45] <SWPadnos> not just for ints :)
[04:27:24] <ds2> sizeof is not a function nor is it part of a library :P
[04:28:16] <SWPadnos> it's a compiler function
[04:28:51] <SWPadnos> or at least it really looks like one, because of the parentheses :)
[04:33:02] <fenn> technically it's an operator
[04:33:02] <fenn> i'm going to flaunt my apathy and call it a function though
[04:44:33] <CIA-8> 03fenn 07TRUNK * 10emc2/src/emc/task/taskintf.cc: new code doesnt break when you have axes out of order, for example XYZC which has a mask of 39 and 4 axes. this change tightens the error checking a bit too since axes cant be 0
[05:12:18] <CIA-8> 03fenn 07TRUNK * 10emc2/configs/scara/scara.ini: it wasn't the R axis anyway; now works in teleop mode (again?)
[12:28:06] <skunkworks> jlmjvm: http://www.cnczone.com/forums/showthread.php?p=345396#post345396
[12:43:42] <highoctanejg> Has anyone here ever installed emc2 on Feisty Fawn?
[12:45:12] <highoctanejg> Can anyone hear me? Am I logged in OK?
[12:47:03] <jepler> highoctanejg: yes we can hear you
[12:47:24] <jepler> highoctanejg: you will have to compile it yourself, the official packages are for Ubuntu 6.06 LTS only
[12:47:39] <jepler> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Why_aren_t_there_packages_for_Ubuntu_7_04_Feisty_Fawn http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Simulator_on_Ubuntu_Feisty_Fawn_7_04
[12:48:02] <jepler> if you want to control hardware and you are not a pro at patching and compiling kernels, I recommend you use Ubuntu LTS and the official packages
[12:48:28] <jepler> if you want to run the simulator only, the compile is much easier, so if you have some experience building from source code you should give it a try
[12:48:39] <jepler> if you don't have any experience building things from source, then you should use LTS
[12:49:00] <highoctanejg> What is LTS?
[12:49:07] <jepler> Ubuntu 6.06 LTS, also called Dapper Drake.
[12:49:24] <jepler> It's the version that is supported for security bugfixes for 5 years -- LTS means "Long Term Support"
[12:49:51] <highoctanejg> Oh. Yeah. I started with that. But it did not have proper support for my video drivers, intel 845g. So i had to update to Feisty Fawn.
[12:50:26] <highoctanejg> I realize I need to compile it myself. I have been attempting to compile it, but am getting hung up at a certain point in the process. I am wondering if anyone here has ever done that.
[12:52:02] <jepler> I have built the simulator version on feisty, but not the real version suitable for controlling hardware
[12:53:13] <highoctanejg> was it pretty straight forward?
[12:53:17] <jepler> unfortunately I really need to drive in to the office .. I'm already late...
[12:53:25] <highoctanejg> OK. Thanks for your help.
[12:53:49] <jepler> highoctanejg: I think there were some important problems keeping version 2.1.7 from working on feisty; the wiki instructions say to use CVS TRUNK.
[12:54:08] <jepler> besides whatever fixes I made in CVS TRUNK I don't remember any gotchas
[12:55:08] <jepler> I'll be around later, and a fair number of the other people here also have experience compiling emc, so if you show the error you're getting using http://pastebin.ca/ somebody may be able to help
[12:59:09] <alex_joni> highoctanejg: do you want to drive a machine with emc2 on feisty?
[14:35:13] <highoctanejg> alex_joni: yes, I want to drive a machine with emc2 on feisty
[14:37:36] <skunkworks> highoctanejg: is your video card 'on the motherboard'?
[14:38:35] <highoctanejg> yes, it is.
[14:39:42] <skunkworks> Normally - on-board vidoe that uses shared memory do not work with realtime. You would be better off sticking a old video card into the computer which would allow you to run dapper
[14:40:17] <skunkworks> older video card
[14:41:36] <highoctanejg> Oh, really. So, even if I got emc2 running on Feisty, I would still have video card issues because it would not work with real-time linux?
[14:41:54] <SWPadnos> you would have issues because of the video chipset, not because of Feisty
[14:44:15] <highoctanejg> I guess what I meant was... I have spent two days trying to get this video driver to display at 1024x768... finally got that right by updating to Feisty, and now emc2 doesn't work. So, I was going to try compiling it. Have I been wasting my time completely here?
[14:44:29] <SWPadnos> it's possible :(
[14:44:40] <SWPadnos> have you run any latency tests on that PC?
[14:46:55] <SWPadnos> if you can boot from the LiveCD (even at the wrong resolution), you should run the latency tests as described here:
[14:46:58] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TroubleShooting
[14:52:00] <highoctanejg> SWPadnos, by the way. Does Feisty come with the real-time kernel installed, or do you have to compile it? If so, how difficult is that?
[14:52:18] <SWPadnos> it does not come installed - you'll have to compile it
[14:53:13] <SWPadnos> it isn't so hard to patch and compile, it's configuring the kernel "just so" that's time consuming
[14:53:45] <SWPadnos> I don't think I've figured out a good formula for Feisty (and gutsy is coming in a few weeks anyway)
[14:55:03] <highoctanejg> Even though I want to get 6.06 installed from CD so I can use emc2, I am interested in developing possibly.
[14:55:23] <SWPadnos> welcome aboard! :)
[14:56:29] <SWPadnos> if you want to get started with 6.06, then it may be best to install an old cheap video card - something from Matrox or a low end nvidia (using the open source driver - their proprietary one is fast but not compatible with RT)
[14:58:03] <highoctanejg> O.K. - I'll see what I can dig up. By the way, what is emc2 like without realtime?
[14:58:21] <SWPadnos> err - what do you mean?
[14:58:43] <highoctanejg> will emc2 run without realtime linux kernel?
[14:58:45] <SWPadnos> you can build it as a simulator, and it will do everything except I/O
[14:58:53] <highoctanejg> Oh, I see.
[14:58:54] <SWPadnos> yes, but you can't control a machine that waty
[14:58:55] <SWPadnos> way
[14:59:28] <highoctanejg> Does emc2 control industrial I/O cards other than just parallel ports?
[14:59:43] <SWPadnos> sure
[14:59:55] <SWPadnos> from at least 5 or 6 companies
[15:00:33] <skunkworks> highoctanejg: what are you planning on using emc2 for?
[15:00:50] <highoctanejg> Controlling my CNC machine.
[15:01:05] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Supported_Hardware
[15:01:21] <skunkworks> highoctanejg: what kind of machine?
[15:01:47] <SWPadnos> and more or less the same info, I think: http://www.linuxcnc.org/component/option,com_weblinks/catid,11/Itemid,7/lang,en/
[15:03:22] <Adam_> Hello all
[15:03:45] <SWPadnos> run awaaaaayyyyy!
[15:03:49] <SWPadnos> err - hi Adam_ :)
[15:04:04] <Adam_> haha you know two people use this not just me
[15:04:18] <Adam_> I am the real adam
[15:04:23] <Adam_> lol
[15:04:24] <SWPadnos> oh, phew
[15:04:46] <SWPadnos> "if the real Adam should not be able to perform his duties, the runner-up will have to take his place"
[15:05:18] <Adam_> true, I am leaving my post next week so that will be the case
[15:05:30] <SWPadnos> bummer
[15:05:32] <Adam_> Moving to Bermuda for a cnc managment position
[15:05:35] <Adam_> not bummer
[15:05:40] <Adam_> :p
[15:05:45] <skinnypuppy1334> Schweet!!
[15:05:50] <jlmjvm> cool
[15:06:02] <Adam_> CNC stone work its pretty cool
[15:06:08] <Adam_> CMS brembana machine
[15:06:24] <Adam_> using osai's xp based control
[15:06:30] <Adam_> on the machines
[15:07:18] <SWPadnos> too hot
[15:07:21] <SWPadnos> :)
[15:07:44] <SWPadnos> but if you need consulting services in the winter, let me know ;)
[15:07:53] <Adam_> haha sure
[15:08:07] <Adam_> I will switch it to linuxcnc
[15:08:09] <highoctanejg> skunkworks: cnc routers
[15:08:22] <skunkworks> jlmjvm: did you see someone is looking for a wiki on 'closed loop' steppers.
[15:08:53] <skinnypuppy1334> jlmjvm, Have you done anything with that pico card?
[15:09:06] <jlmjvm> yes,gotta try to get that done this weekend
[15:09:26] <skunkworks> highoctanejg: what controlls are used now?
[15:09:42] <jlmjvm> wiring it up right now,have the whole plate from the control box here
[15:10:12] <jlmjvm> should have a motor spinning today,hopefully
[15:10:13] <highoctanejg> skunkworks: I have used different controls. Mainly wincnc, but also indexer lpt, mach3, and others.
[15:10:23] <skinnypuppy1334> Great !
[15:10:48] <Adam_> I am not sure if anybody here is in western canada, But i am looking for a reliable supplier that ships quickly. Mostly purchasing 3 flute high helix EM's for AL, also some 5-6 flute ultra high helix EM's for SS.
[15:11:21] <Adam_> I have tried KBC and the niagra EM's but they dont even stock them
[15:11:24] <SWPadnos> http://www.mscdirect.com
[15:11:32] <SWPadnos> and http://www.mcmaster.com
[15:11:46] <skunkworks> highoctanejg: don't give up on emc2 - once you get your hardware straitened out - I think you will love it. very powerful.
[15:12:04] <jlmjvm> yes,its worth the effort
[15:12:06] <highoctanejg> i already love it.
[15:12:21] <Adam_> I am also having a bastard of a time finding a NST30 facemill, or even just a shell and holder.
[15:13:09] <highoctanejg> I first tried emc about 2 years ago. I had a BDI CD, and could never install it. SO, i gave up. I love ubuntu, though. It looks and feels more natural than XP or Mac OS.
[15:14:05] <skunkworks> highoctanejg: same here.
[15:14:13] <skinnypuppy1334> Ubuntu was an excellent choice
[15:14:52] <SWPadnos> it's excellent for getting new users, but I'm convinced we need a headless / low graphics distribution also
[15:15:08] <skinnypuppy1334> I'll occasionally build a virtual machine of other distros but ubuntu always wins out
[15:16:52] <highoctanejg> Low graphics distribution? For what? Do the graphics cause performance issues?
[15:18:29] <SWPadnos> highoctanejg, well, what have we been saying about realtime and onboard graphics? :)
[15:18:37] <SWPadnos> also nvidia drivers
[15:18:39] <SWPadnos> and other things
[15:19:18] <highoctanejg> Point taken. So emc2 can run on older machines without problems, right?
[15:19:19] <SWPadnos> EMC has the ability to run the machine on one PC, and have the UI remote, so why bother having a full office suite and web browser/email and all that stuff on the PC that directly controls the machine
[15:20:00] <SWPadnos> for the most part. it seems that a P3-800 or so is a sweet spot for RT performance
[15:20:19] <cradek> * cradek hugs his collection of P3 machines
[15:20:28] <cradek> and matrox cards
[15:20:31] <skunkworks> heh
[15:20:43] <SWPadnos> CPU speed isn't really related to latency, and latency is the killer when you're trying to generate steps on a parport
[15:20:58] <SWPadnos> and the other killer is I/O speed, but that's another issue entirely :)
[15:22:10] <highoctanejg> You mean to tell me you can control emc from a remote computer, in the same facility, or even from the internet?
[15:22:20] <skunkworks> closed loop servo machines using encoder counting cards are actually less of a load on emc than steppers are. (unless your using hardware step generation)
[15:22:21] <SWPadnos> yes
[15:22:51] <cradek> highoctanejg: you can control/monitor it from several places if you want
[15:22:59] <SWPadnos> I used to develop with my Windows PC using Cygwin/X to connect to the little kiosk PC for the mill
[15:23:16] <highoctanejg> Incredible.
[15:23:17] <skunkworks> * skunkworks goes in for the kill
[15:23:20] <skunkworks> its free
[15:23:30] <SWPadnos> I couldn't stand using the 800x600 screen when I had 3 1280x1024 monitors on the other conputer
[15:23:49] <cradek> free is a nice price, but freedom is better (it has that too of course)
[15:24:17] <skinnypuppy1334> While on the subject, is there anything in ubuntu settings that increases the font sixe in all programs?
[15:24:26] <skinnypuppy1334> size
[15:24:35] <cradek> hey did you see our photos in digital machinist? it showed our rigid tapping demo part too
[15:24:55] <cradek> skinnypuppy1334: yes, increase dpi in font preferences/advanced
[15:25:08] <highoctanejg> SWPadnos/All: OK, I have done a latency test.
[15:25:21] <SWPadnos> how bad is it? ;)
[15:25:24] <skunkworks> cradek: is it on line somewhere?
[15:25:33] <cradek> skunkworks: no it's on glossy dead tree
[15:25:38] <skunkworks> aww
[15:25:49] <highoctanejg> SWP: I don't know how to read the figures yet... Does the test just keep running indefinitely?
[15:26:02] <jlmjvm> i did a latency test,didnt look good
[15:26:20] <SWPadnos> highoctanejg, yes it does, until you press ctrl-c
[15:26:33] <SWPadnos> what are the numbers in the "max lat" column?
[15:26:43] <skunkworks> highoctanejg: yes. As it is running - you don't want any overruns. also you want to take note of the max lat.
[15:26:52] <SWPadnos> (when you launch programs, drag them around, run glxgears, etc)
[15:27:02] <skunkworks> surf the internet - open and close applications..
[15:27:07] <skunkworks> and listen to SWPadnos
[15:27:10] <skunkworks> ;)
[15:27:11] <skinnypuppy1334> I got mine WAY down going from an onboard agp to an older pci vid. Whole system was faster after that
[15:27:41] <highoctanejg> SWPadnos: lat max as low as 7500 and as high as 13000.
[15:27:42] <jlmjvm> im showing overruns
[15:28:02] <skinnypuppy1334> Mine went from somewhere near 7000000 to only 26000
[15:28:07] <cradek> how about "ovl max" and "overruns"?
[15:28:27] <highoctanejg> SWPadnos: no overruns, ovl max is 14500
[15:28:29] <SWPadnos> oh right - it's ovl_max I was thinking of
[15:28:40] <SWPadnos> that's not too bad actually
[15:28:45] <cradek> highoctanejg: you win
[15:28:48] <SWPadnos> make sure you mess with it for a couple of minutes
[15:28:50] <cradek> skinnypuppy1334: you lose
[15:28:54] <cradek> jlmjvm: you lose too...
[15:29:35] <skinnypuppy1334> Yeah cradek, I tested the amd machine and it is down in the 16000 range after letting run a long time
[15:29:56] <highoctanejg> What is the best latency you can hope for? What configuration will accomplish it?
[15:29:57] <cradek> skinnypuppy1334: only thing you changed was the video card to pci?
[15:30:06] <skinnypuppy1334> Think the no cache on the celeron was the prob
[15:30:09] <SWPadnos> heh - well, I've gotten ~200 ns on one computer :)
[15:30:29] <SWPadnos> but that was with no X, and almost every service disabled
[15:30:46] <skinnypuppy1334> Yep that was all I did on the celeron comp to get that low, I trimmed an extra 2000 off slimlining the bios
[15:30:48] <cradek> the best you can get will be with smp, but that's a very advanced setup, and certainly not necessary for using emc
[15:31:19] <SWPadnos> that's what I got the 200 lat on - a Core 2 duo in text mode
[15:31:27] <SWPadnos> now if only I could reproduce that config ...
[15:32:09] <cradek> for emc and especially a servo machine, if you get overruns=0 you'll be fine
[15:32:41] <highoctanejg> Is the latency especially important for the accuracy of the timing of the steps, or what?
[15:32:49] <skinnypuppy1334> Cradek my overruns also went to 0 with the swap to pci on that machine
[15:32:50] <SWPadnos> yes
[15:33:20] <SWPadnos> it's not necessarily accuracy, it's more the dastest you can generate steps without locking up the PC
[15:33:24] <SWPadnos> fastest
[15:34:04] <jlmjvm> | lat min| ovl min| lat avg| lat max| ovl max| overruns
[15:34:04] <jlmjvm> RTD| -2027| -2069| 3348| 7955| 141268| 419
[15:34:10] <SWPadnos> ouch
[15:34:17] <cradek> 419 > 0
[15:34:22] <SWPadnos> 419 >> 0
[15:36:12] <jlmjvm> ?
[15:36:49] <fenn> any positive number is greater than zero
[15:37:00] <Adam_> You guys are using that rtai iso?
[15:37:10] <SWPadnos> no, the EMC2 liveCD
[15:37:13] <fenn> Adam_: the test suite is included with emc
[15:37:19] <Adam_> ohhhhhhhhhhhhhh
[15:37:51] <jlmjvm> cant believe my numbers are that bad
[15:37:54] <Adam_> I tried that test suite on its own it kernel panicked on me
[15:38:26] <fenn> jlmjvm time to start turning stuff off in the bios
[15:40:11] <jlmjvm> k,all unused ports
[15:43:40] <jlmjvm> something must be wrong,emc wont even start
[15:46:14] <skunkworks> if you don't ctrl-c out of the latency test - and just close the termial - emc will not start because the latency test is actually still running.
[15:46:31] <skunkworks> but now that he isn't here - he didn't see that.
[15:49:58] <fenn> how do you stop it?
[15:50:38] <fenn> i think /etc/init.d/realtime stop should work, but there's probably a better way
[15:50:52] <skinnypuppy1334> ctrl + c to stop
[15:51:10] <fenn> oh
[15:51:40] <skinnypuppy1334> I think that is just standard to things running terminal
[15:52:58] <skunkworks> I think I have reopend terminal and re-ran the latency test - which takes off where it was. then you can ctrl-c it.
[15:53:22] <skunkworks> but don't qoute me on that.
[15:53:34] <skunkworks> quote even
[16:03:35] <fenn> is Q a g-code word? because RPQ would work for roll/pitch/yaw and wouldnt conflict with UVW
[16:04:29] <cradek> R P Q are all already used
[16:04:59] <cradek> before you bother to look, just let me tell you that there are no free letters :-)
[16:05:04] <fenn> heh
[16:05:06] <cradek> E was the last one
[16:05:16] <fenn> gcode is obsolete
[16:05:41] <cradek> the boss has an interesting scheme to not run out of words
[16:05:57] <cradek> you can use the same word over
[16:06:14] <cradek> like there's a facing canned cycle that takes center, size, some clearances, feed
[16:06:29] <cradek> G173 X_ Y_ Z_ X_ Y_ Z_ P_ P_ F_
[16:06:52] <cradek> first xyz are start/center, next xyz are size/depth
[16:07:12] <cradek> some cycles have a different plunge feed, so you specify F_ F_
[16:07:28] <cradek> I'm not sure I like it, but it's an interesting solution
[16:08:09] <cradek> for that kind of case, if you don't need a separate plunge feed, you can leave the last F_ off
[16:08:17] <fenn> before i fell through this time portal, i could swear that the .ini files said AXES = X Y Z A
[16:16:36] <CIA-8> 03fenn 07TRUNK * 10emc2/src/emc/task/taskintf.cc: previous change breaks sim-lathe and other configs that rely on AXES= number for assignment of joint numbers; revert until we can figure out a solution that works for everyone
[16:16:39] <JymmmEMC> fenn: irc is just rotting your brain
[16:16:54] <fenn> like a fine cheese
[16:17:20] <JymmmEMC> fenn: I'm just glad that irc aint got smell-o-vision
[16:18:02] <JymmmEMC> fenn: More like Balut than cheese
[16:18:19] <JymmmEMC> fenn: or Durian Fruit
[16:24:57] <Adam_> I have a question for you guys, why is it when I home my Y-axis it sets co-ordinates to 0.000 but when I home my x-axis its sets my co-ordinates to 5.000 :|
[16:25:21] <cradek> either HOME in your ini file is 5.000, or you have some offsets
[16:25:45] <Adam_> home is 0 in my ini
[16:25:54] <cradek> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?CoordinateSystems
[16:26:08] <cradek> this is a great new page that explains all about offsets and coordinate systems
[16:31:47] <JymmmEMC> has 802.11n been finalized yet?
[16:32:37] <skunkworks> acording to everthing you can buy at bestbuy it is..
[16:32:47] <JymmmEMC> heh
[16:33:36] <JymmmEMC> WE've boycotted BestBuy about 4-5 years ago
[16:34:31] <alex_joni> it's not afaik
[16:37:00] <JymmmEMC> k
[16:40:38] <skunkworks> http://finance.groups.yahoo.com/group/geckodrive/message/13108
[16:40:41] <skunkworks> hmm
[16:41:05] <skunkworks> I for some reason is humming a tune from the wizard of oz
[16:42:52] <skunkworks> am
[16:43:29] <JymmmEMC> You know what that means.... skunkworks you'll have an LOT of tech support calls to answer now
[16:46:20] <fenn> * fenn hears the sound of computers crashing in the distance
[16:46:48] <JymmmEMC> computers, cnc machines, etc
[17:00:19] <Adam_> hey, we dont have our z servo yet, and we want to use the machine
[17:00:22] <Adam_> with readouts
[17:00:30] <JymmmEMC> I got a laptop that has everything on it... DVD burner, build in fdd, usb2, firewire, parallel and serial port, card-reader, 1440x1080 internal resolution, 768MB, 60GB, P4 3GHz, 802.11b/g, but the battery life is like 1Hr, so I dont use it as much as a laptop than I do as a portable desktop...
[17:00:31] <Adam_> but we get a joint2 error
[17:00:51] <Adam_> we use: linksp Zpos-fb <= m5i20.0.enc-02-position
[17:00:56] <JymmmEMC> I have the ability to get a different laptop, what ya think/suggest?
[17:01:08] <Adam_> then: linksp Zpos-fb => axis.2.motor-pos-fb
[17:01:44] <Adam_> that gives us readouts, but as soon as we move the z with the machine on it gives us an error due to the feedback
[17:02:03] <Adam_> how can we get around this? can we link zpos-fb straight to the display without the feedback?
[17:05:24] <alex_joni> you can increase the ferror limit
[17:05:42] <skunkworks> heh - that is a really good idea.
[17:05:53] <Adam_> our z gives us about 5.5 in so just go to 6
[17:06:04] <Adam_> that would be smart
[17:08:46] <Adam_> I like that way alot
[17:08:52] <Adam_> works beauty
[17:09:05] <Adam_> easier than playing with hal
[17:10:43] <Adam_> is machining that penguin from the sample files the final test?
[17:13:15] <skunkworks> you guys have already tuned the pid loops?
[17:14:24] <Adam_> well basically
[17:14:32] <Adam_> I need to test a bit
[17:14:46] <Adam_> the machine does what i tell it
[17:15:23] <Adam_> I want to make some part and check my dimensions etc.
[17:15:42] <skunkworks> cool
[17:15:52] <skunkworks> that was a quick conversion in my book.
[17:15:57] <skunkworks> seems you had just started.
[17:16:03] <Adam_> about 2 weeks
[17:16:07] <skunkworks> impressive
[17:16:12] <Adam_> well I had you guys
[17:16:29] <skunkworks> nice bunch - aren't they
[17:16:33] <Adam_> sure are
[17:16:50] <Adam_> better support than any manufacturer pretty much
[17:17:30] <Adam_> one thing I would liek to work on is incremental spindle speed with the joypad
[17:17:48] <Adam_> and rumble
[17:17:51] <Adam_> haha j/k
[17:18:21] <highoctanejg> Here's an interesting story for you... Yesterday, I installed EMC2 from the live CD(ubuntu 6.06) onto my hard drive. It would not display in 1024x768 video mode, no matter what I did (only 800x600). I upgraded to Feisty Fawn. I now had video support, but no emc2. I thought about compiling it, but too much work setting up the realtime stuff. So, i reinstalled 6.06 from the Live CD.
[17:18:24] <Adam_> A vibration sensore on the table that feedsback to the joypad
[17:19:09] <highoctanejg> Lo and behold! I now had support for my intel driver in 1024x768 video mode when I rebooted, and EMC2 works properly. Go figure!
[17:19:45] <skunkworks> on dapper?
[17:20:11] <Adam_> why isnt someone working on emc in xubunu?
[17:20:15] <skunkworks> if the monitor isn't on while dapper is booting - it defaults to only to low res.
[17:20:17] <Adam_> xubuntu*
[17:20:17] <highoctanejg> Yes, on dapper now.
[17:20:34] <skunkworks> highoctanejg: re-run the latency test.
[17:20:39] <skunkworks> just to be sure
[17:20:42] <highoctanejg> Ok.
[17:20:49] <skunkworks> biab
[17:24:36] <Adam_> bbl running latency's
[17:25:38] <highoctanejg> skunkworks, do you know.. If the network cable is not hooked up when you boot, do you have to reboot after connecting in Ubuntu?
[17:26:18] <skinnypuppy1334> hioctanejg did you install all the 6.06 updates. My res is low until after
[17:27:18] <highoctanejg> Aargghhh.... I just rebooted to get the network up and my resolution is back to 640x480 with no other choice in the screen resolution.
[17:27:43] <highoctanejg> What's that skinnypuppy? Your res is low until after what??/
[17:27:53] <skinnypuppy1334> Run the live updates
[17:29:21] <skinnypuppy1334> Here's another trick, boot into the live cd. Find xorg.conf , mount your hardrive with root partition, then sudo cp xorg.conf /media/YOUR HDD MOUNT/etc/X11
[17:30:57] <skinnypuppy1334> You may also want to look at what the differences are b/t that 7.04 live cd xorg.conf and the one on 6.06
[17:31:43] <highoctanejg> i can't... i didn't have a 7.04 live cd
[17:31:47] <highoctanejg> it was an update
[17:41:43] <skunkworks> highoctanejg: I have had these issues when I didn't have the monitor plugged in/on when i booted dapper.
[17:42:06] <skunkworks> or switched to the wrong computer on the kvm
[17:42:17] <skinnypuppy1334> I'll second that it doesn't like not finding a monitor on the boot up
[17:44:54] <Adam_> Latency test: Lat Min -1793, Ovl Min -1800, Lat Avg 2190, Lat Max 10140, Ovl Max 10479
[17:45:00] <Adam_> What do you think about that?
[17:45:18] <alex_joni> pretty good
[17:45:40] <alex_joni> what cpu?
[17:46:14] <Adam_> Abit NF7 S2.0 400Mhz FSB, AMD 3200+, 1 gig PC4000 OCZ, Geforce FX5500
[17:47:32] <Adam_> is this something that I can improve very much in you opinion?
[17:47:37] <alex_joni> nope
[17:47:43] <Adam_> schweet
[17:47:58] <skunkworks> that is great for a stepper machine. servos are not as taxing
[17:49:32] <Adam_> I am a servo machine with: SEM 140V 30A servos, Servo Dynamic drives, MeSA 5i20, 7i33 7i37
[17:49:54] <alex_joni> you are?
[17:49:54] <Adam_> Anilam d10 series glass scales
[17:50:02] <SWPadnos> with that hardware, you'd be OK with 1/10 the CPU speed :)
[17:50:13] <alex_joni> I would have bet your are a human
[17:50:18] <Adam_> I am machine
[17:50:25] <Adam_> I eat AL
[17:50:40] <SWPadnos> who's Al?
[17:50:44] <Adam_> aluminu
[17:50:46] <Adam_> m
[17:50:53] <Adam_> anyways
[17:50:59] <SWPadnos> but you doesn't have to call me Johnson
[17:51:04] <Adam_> I run VMware on this machine also
[17:51:11] <Adam_> Xp pro install for mastercam
[17:51:23] <Adam_> Thats why we have a decent pc
[17:52:23] <skunkworks> so - I think you are the first person to use external scales. How is it working out?
[17:52:39] <Adam_> really nice
[17:52:49] <skunkworks> must not be any backlash.
[17:52:51] <Adam_> weird scale though 2525 per inch
[17:53:19] <tomp> Adam_: what video are you using?
[17:53:28] <Adam_> Geforce FX5500
[17:53:29] <SWPadnos> are you sure that's not 2540 per inch?
[17:53:30] <tomp> tx
[17:53:45] <skunkworks> * skunkworks would think so also
[17:54:01] <Adam_> SWPandos, I need to get a real answer from anilam
[17:54:15] <SWPadnos> I'd bet it's 0.01mm, or 2540/inch
[17:54:21] <Adam_> 2525 was what I came up with
[17:54:32] <SWPadnos> how did you measure?
[17:54:39] <SWPadnos> or calculate or whatever :)
[17:54:46] <Adam_> I used a mic
[17:54:54] <SWPadnos> over what range of motion?
[17:54:55] <Adam_> very half assed
[17:55:01] <SWPadnos> heh
[17:55:11] <Adam_> a few inches, prob not enough
[17:55:27] <Adam_> yes 2540 would make more sense
[17:55:51] <Adam_> I think RogerN used scales aswell
[17:56:25] <Adam_> not sure though
[17:59:06] <Adam_> So I called the anilam Fax line, they just fed me a bunch of jibberish couldnt understand a thing. I better call there 1-800
[18:01:34] <SWPadnos> or use the google to look up the part number
[18:03:20] <Adam_> So I have 10micron resolution on the scales
[18:03:58] <Adam_> so 4/10 of an inch
[18:03:59] <skinnypuppy1334> Guys, what can I do to increase the font size in emc ?
[18:04:08] <Adam_> or thou
[18:04:09] <Adam_> sry
[18:04:11] <Adam_> :p
[18:05:32] <skinnypuppy1334> I'd followed cradeks advice earlier about preferences,font, increase size... restarted X and Xchat is better, as well as firefox. But I'm straining in emc
[18:06:03] <jepler> AXIS will react to the gnome "DPI" preference in emc 2.2, but it doesn't in 2.1.7.
[18:06:32] <skinnypuppy1334> Thanks jepler, sounds like it's just around the corner then
[18:07:37] <jepler> in 2.1.7 you can use the X Resource Database to set the font that axis uses for most things -- see section The X Resource Database of http://linuxcnc.org/docs/html/gui/axis/
[18:08:12] <skinnypuppy1334> Thank you again Jepler!
[18:08:50] <jepler> "*Axis*optionLevel: widgetDefault" combined with "*font: Helvetica -24" would make most things in AXIS have a 24-pixel Hevetica (sans serif) font, I think
[18:09:57] <jepler> hm that doesn't work...
[18:10:56] <jepler> Axis*optionLevel: widgetDefault
[18:10:56] <jepler> Axis*Label*font: Helvetica -24
[18:11:07] <jepler> this pair of lines changes the font on Labels but not on Buttons and other types of widgets
[18:14:09] <jepler> Axis*optionLevel: widgetDefault
[18:14:09] <jepler> Axis*font: Helvetica -24
[18:14:09] <jepler> Axis*Togl*font: -*-courier-medium-r-*-*-34-*-*-*-*-*-*-*
[18:14:15] <jepler> this gets almost everything...
[18:15:03] <jepler> put those lines in the file ~/.Xresources, and arrange for this command to be run when you log in, or at any rate before you run emc: xrdb -load ~/.Xresources
[18:15:04] <Adam_> Where is this going, X Resources?
[18:15:26] <Adam_> ok
[18:15:30] <Adam_> thats cool
[18:16:30] <jepler> many "old" X applications are quite configurable in this way but the art is mostly lost
[18:17:32] <jepler> Axis*font is the font used for "almost everything besides the DRO", and Axis*Togl*font is the one used for the dro; for unfortunate technical reasons they have to be specified in different formats
[18:17:54] <jepler> well that's not quite true -- Axis*font can be specified in the way I show Axis*Togl*font being specified
[18:18:21] <jepler> you can find the -*-*-*- format string for any font available on your system with the program 'xfontsel', if you can figure out how to use it.
[18:18:57] <Adam_> now a basic question how do I get that into Xresources, I dont know where it is
[18:19:35] <jepler> ~/.Xresources is the name of a file ".Xresources" in your home directory (~)
[18:19:51] <jepler> you would create this file with a text editor and add the lines above
[18:21:07] <skinnypuppy1334> Jepler, thanks. I'll try this out when I get a few minutes.
[18:25:23] <Adam_> wow thats really nice having the DRO fonts big in relation to everything else
[18:25:25] <jepler> on the one hand unix and X have all these great configurable things .. on the other hand you need a manual published in 1996 or someone who's been using linux for a decade and a half or you'll never know about them
[18:25:28] <Adam_> What about Bold?
[18:25:53] <jepler> Adam_: change "medium" to "bold", xrdb -load ~/.Xresources, and restart emc
[18:25:55] <skinnypuppy1334> That's unfortunately so jepler
[18:26:57] <skunkworks> * skunkworks still knows how to sort with the DIR command in dos.
[18:27:06] <Adam_> jepler that is pretty thanks for that
[18:27:43] <jepler> this line gives an even bigger font .. starting to get silly-big: Axis*Togl*font: -*-bitstream vera sans mono-bold-r-*--50-*-*-*-*-*-*-*
[18:28:03] <skinnypuppy1334> That working out for you good Adam? I'm diggin on fleebay or I'd be on it too
[18:29:35] <Adam_> whats that paste img site?
[18:30:31] <skinnypuppy1334> imagebin
[18:30:36] <jepler> imagebin.org is one
[18:30:50] <Adam_> ahh i was trying pasteimg.org for some reason
[18:31:19] <Adam_> http://imagebin.org/10536
[18:31:21] <jepler> http://emergent.unpy.net/files/sandbox/my-fonts.png
[18:31:31] <Adam_> skinnypuppy1334 ^
[18:32:14] <Adam_> I will try silly big
[18:32:21] <skunkworks> yikes - now jepler - can you make them transparent.. :)
[18:32:59] <skinnypuppy1334> Adam that looks great
[18:34:08] <LawrenceG> Adam_: can you please post your xresources file on pastebin.ca ?
[18:36:38] <JymmmEMC> jepler: In the top right corner, three cyan buttons X X X ???
[18:37:15] <skunkworks> JymmmEMC: he could tell you but...
[18:38:17] <Adam_> LawrenceG what was the line that jepler pasted earlier in the convo with courier as the font I lost that...
[18:38:20] <jepler> yeah it's supa-sekrit
[18:38:27] <Adam_> then I can give it to you
[18:38:27] <jepler> 13:14:11 <jepler> Axis*Togl*font: -*-courier-medium-r-*-*-34-*-*-*-*-*-*-*
[18:38:37] <Adam_> I f'ed it up
[18:40:09] <Adam_> LawrenceG
[18:40:10] <Adam_> http://pastebin.com/m2a70b56d
[18:40:13] <Adam_> thats all it is
[18:40:21] <Adam_> 2 liner
[18:40:30] <Adam_> Thanks jepler
[18:41:33] <Adam_> so what do all the -* do dads mean jepler?
[18:42:33] <alex_joni> different things to set on the font
[18:42:50] <skinnypuppy1334> Adam , what is the cone icon with the two arrows b/t perspective and clear live plot icons?
[18:42:58] <Adam_> I noticed if i just change the font size for example i get errors
[18:45:11] <Adam_> skinnypuppy1334 not sure what you are talking about here, you mean the tool point on the live plot?
[18:46:18] <skinnypuppy1334> Icon just to the left of the chip brush icon, I do not have when that same file is open, not the tool tip indicator
[18:46:35] <Adam_> oh the perspective view
[18:46:48] <cradek> that puts you in rotate mode
[18:47:00] <cradek> when it's down, the left mouse button rotates the view instead of panning
[18:47:13] <cradek> it's probably useful just for touchscreens
[18:47:22] <Adam_> cradek I just get pan
[18:47:25] <Adam_> no rotate
[18:47:33] <skinnypuppy1334> Take a l ook at mine.
[18:47:35] <skinnypuppy1334> http://imagebin.org/10538
[18:47:54] <skinnypuppy1334> Rotate is on center mouse button
[18:47:54] <Adam_> middle mouse button rotates, left pans, right zooms
[18:48:02] <cradek> the rotate icon is new
[18:48:21] <skinnypuppy1334> newer than .1.7 ?
[18:48:28] <cradek> guess so
[18:48:33] <cradek> it's in 2.2
[18:48:40] <highoctanejg> Guys... I got a question. What is the best irc client for Ubuntu. I am using mIRC for windows right now.
[18:48:48] <skinnypuppy1334> Xchat
[18:49:02] <Adam_> skinnypuppy1334 yours looks just like mine...
[18:49:12] <Adam_> you have to click the button to use...
[18:49:26] <Adam_> I am not sure whats going on
[18:49:43] <Adam_> Xchat-gnome
[18:50:38] <skinnypuppy1334> Adam, what version of emc are you using? You have an icon I don't.
[18:51:31] <Adam_> Unless I am blind I see the same icons
[18:52:05] <Adam_> you http://imagebin.org/10538
[18:52:13] <Adam_> me http://imagebin.org/10536
[18:52:28] <alex_joni> highoctanejg: I'm used xchat, gaim and irssi
[18:53:38] <skinnypuppy1334> I feel like a D.A. ... it's JEPLERS http://emergent.unpy.net/files/sandbox/my-fonts.png
[18:53:49] <Adam_> lol
[18:54:25] <alex_joni> highoctanejg: but most of the time irssi (text-mode client), it needs a bit to get used to when switching from mIRC
[18:54:48] <skunkworks> * skunkworks uses whatever is installed by default
[18:55:31] <Adam_> skinnypuppy1334 you had me going back and forth for a few minutes
[18:55:36] <Adam_> jerk
[18:56:06] <skinnypuppy1334> I had me doing the same. Ha ! sorry
[18:57:16] <skinnypuppy1334> That's how it is when the damn dogs bark all night and ya don't get a wink a sleep.. my bad
[18:57:26] <LawrenceG> Adam_: thanks... lost my scrollback... what wad the filename for those two lines... tried .Xdefaults, .Xresources
[18:59:14] <LawrenceG> logger_emc: bookmark
[18:59:14] <LawrenceG> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2007-09-21.txt
[19:04:24] <highoctane> I am now here from my ubunto 6.06 linux box at 1024x768 with EMC2 installed.
[19:04:50] <highoctanejg> Now Im on my laptop with WinXP
[19:04:51] <skunkworks> so - what was the issue with the video?
[19:06:11] <highoctanejg> I don't know. After my video reverted to 640x480, i fiddled with xorg.conf (changed i810 video driver to intel) that stopped X windows from working
[19:06:46] <highoctanejg> Then i changed xorg.conf back, and shut the pc down. Then powered up again, it came up at my monitor's full resolution, 1280x1024.
[19:07:21] <SWPadnos> it sounds like there's a problem with monitor detection/identification (DDC)
[19:07:29] <highoctanejg> Two days work, it's finally fixed and i don't know why.
[19:07:56] <SWPadnos> you may want to fiddle with the DDC settings for X, and possibly use specific timings
[19:08:36] <highoctane> DDC settings? I wouldn't know where to start.
[19:09:10] <SWPadnos> one note: the Ubuntu login screen will be at the first resolution in the list, so if you want the login screen to be 1280x1024, you can just remove all the other modes (or put a couple after 1280x1024, in case 1280 doesn't work for some reason)
[19:09:42] <SWPadnos> the DDC settings are sometimes different for each driver
[19:09:55] <SWPadnos> it'll be something like Option "UseEDID" "false"
[19:10:31] <alex_joni> highoctanejg: on the other hand, you should follow IBM's advice
[19:10:39] <alex_joni> never touch a running system
[19:11:15] <alex_joni> if you got it to work, and you don't know how, it's most likely you won't repeat the performance :D
[19:11:49] <cradek> just look up your monitor specs and put HorizSync and VertRefresh in the file
[19:11:57] <cradek> or, try replacing your video cable
[19:12:06] <alex_joni> or google for a modeline
[19:12:12] <cradek> no, it's NOT a modeline problem
[19:12:15] <SWPadnos> or leave it alone and hope it boots the same way every time :)
[19:12:24] <highoctane> Yeah. No kidding. --- actually I know how, it just doesnt make sense. Install to HD from 6.06 emc2 livecd. Update to Feisty Fawn. Reinstall to HD from original CD. Voila! It works. Sometime I'll try it again to confirm... NOT!
[19:12:31] <cradek> are you using a kvm type video switchbox?
[19:12:59] <highoctane> no kvm here. I have rebooted a few times since. Seems to be reliable now.
[19:13:22] <SWPadnos> it's possible that will change if the cables are moved, but here's hoping it doesn't
[19:13:28] <highoctane> Now... It's time for me to learn EMC.
[19:13:43] <SWPadnos> muahahahaha
[19:13:45] <SWPadnos> err - good luck :)
[19:13:49] <Adam1000> lol
[19:14:07] <highoctane> Thanks for the goodwill.
[19:14:22] <skunkworks> have fun - come back soon
[19:18:53] <skinnypuppy1334> Is there a name for the braided jacket wire that dro scales use? I'm looking for some 4wire 16 gage to hook the geckos up to the steppers
[19:20:52] <highoctane> highoctane is now known as highoctanexp
[19:21:16] <highoctanexp> highoctanexp is now known as highoctane
[19:21:50] <Adam1000> skinnypuppy not sure what its called but i think you can get it at digikey
[19:21:57] <Adam1000> lots of $$$ per foot
[19:22:32] <anonimasu> skinnypuppy1334: UNITRONIC BUS CABLE..
[19:23:01] <anonimasu> skinnypuppy1334: they carry it in lots of configurations with twisted pair non twisted/twisted pair with power in the center..
[19:23:09] <anonimasu> but it's not in particularly cheap
[19:23:47] <cradek> how about shielded cat5?
[19:24:25] <anonimasu> the unitronic cabling is good(really really good)
[19:24:45] <anonimasu> we run the fieldbus in the machines we build at work using them
[19:24:51] <Adam1000> skinnypuppy1334 http://www.acu-rite.com/index.cfm?PageID=704C7610-C09F-2715-730624BB607D9226 I have that type is that what you mean
[19:25:04] <Adam1000> armored
[19:25:16] <anonimasu> that's just the cover though..
[19:25:45] <Adam1000> I am sure you can get it with cable in it htough
[19:25:49] <anonimasu> the |||||| isnt the wire itself..
[19:25:57] <anonimasu> the cable / wiring goes inside..
[19:27:55] <skinnypuppy1334> Yeah, I was looking for the braided jacket, something to keep the hot chips from carbide tool flycutting off the stepper cables
[19:28:15] <SWPadnos> hmmm. anyone know of any flexible stainless liquid-tight cable armor?
[19:28:36] <SWPadnos> so far, all I've seen is "pick any two"
[19:29:11] <anonimasu> why would you need liquid tight armor if you are running a cable inside of it?
[19:29:26] <SWPadnos> so you don't get liquids inside the endpoints
[19:29:45] <anonimasu> yeah, but obviously the endpoints would have a seal to prevent that
[19:30:06] <SWPadnos> normally, you can seal to a liquid-tight conduit ...
[19:30:42] <SWPadnos> I can probably do without the stainless part, I can get metal liquid-tight
[19:30:45] <skinnypuppy1334> Here's the wire I was looking at. looks watertight enought just not hot chip proof
[19:30:47] <skinnypuppy1334> http://cgi.ebay.com/18-4-shielded-stranded-CNC-Stepper-motor-hook-up-wire_W0QQitemZ330148014129QQihZ014QQcategoryZ71394QQtcZphotoQQcmdZViewItem
[19:30:51] <SWPadnos> just curious is all
[19:31:45] <skunkworks> what did they say about curiosity and the cat?
[19:31:50] <skunkworks> be careful
[19:31:59] <SWPadnos> "but the cat died knowing" :)
[19:32:11] <skinnypuppy1334> Yep
[19:33:46] <fenn> SWPadnos: i've got some lying on my bench, but i found it in the scrapyard. so, it does exist :)
[19:34:17] <SWPadnos> I'm pretty sure I saw some on my friend's prototrak as well, but I'm not sure it was sealed
[19:34:25] <SWPadnos> that's where I got the idea actually
[19:35:48] <Roguish> SWPadnos: on the subject of wiring, what are you using for encoder wire/cable?
[19:36:10] <SWPadnos> I have some low-capacitance 4-pair shielded wire
[19:36:20] <SWPadnos> (each pair shielded, plus overall shield)
[19:36:21] <Roguish> 4 or 5 twisted par? brand? number?
[19:36:26] <SWPadnos> err
[19:36:35] <SWPadnos> 4 pair, 3 for A/B/Z differential plus power
[19:36:45] <Roguish> high flex or standard pvc?
[19:37:10] <Roguish> Belden, Alpha, or ?????
[19:37:22] <SWPadnos> Quabbin
[19:37:28] <SWPadnos> 8608
[19:37:29] <alex_joni> good night all
[19:37:34] <SWPadnos> see you Alex
[19:37:44] <Roguish> is it pricey?
[19:37:50] <SWPadnos> not off eBay ;)
[19:38:00] <Roguish> good call.
[19:38:48] <SWPadnos> goto quabbin.com, and enter 8608
[19:39:12] <SWPadnos> it's PVC, I don't think it's "high-flex"
[19:39:22] <skinnypuppy1334> Apparently the stuff is called overbraiding and is hot in the tuner crowds.
[19:39:24] <skinnypuppy1334> http://www.bsr-aerotek.com/store/index.php?cPath=2_396&osCsid=70nuevp3fn0dbmr67f8qlqf785
[19:39:51] <fenn> that's stainless, you want copper
[19:39:52] <SWPadnos> or go to an auto parts store and get hydraulic hoses
[19:40:03] <SWPadnos> stainless is good for toughness
[19:40:22] <fenn> eh, what are you going for? noise resistance or abrasion?
[19:40:53] <skinnypuppy1334> Errr just to keep hot chips from melting
[19:40:54] <SWPadnos> sounded like abrasion/hot chips to me
[19:40:54] <skinnypuppy1334> http://cgi.ebay.com/18-4-shielded-stranded-CNC-Stepper-motor-hook-up-wire_W0QQitemZ330148014129QQihZ014QQcategoryZ71394QQtcZphotoQQcmdZViewItem
[19:40:54] <fenn> they also make stuff specifically for wire bundles, called 'cable sleeving'
[19:41:14] <anonimasu> overbraiding, hmm not for stuff that moves alot..
[19:41:14] <fenn> you'll have a hard time getting wires through the hose stuff because it doesn't open up the way sleeving does
[19:41:50] <skinnypuppy1334> I'll look at the sleevind. Just didn't know the name it goes by
[19:41:52] <fenn> skinnypuppy1334: shielded just means electrical shielding
[19:42:19] <fenn> another name is 'expandable sleeving'
[19:42:41] <fenn> you probably want nomex
[19:43:11] <anonimasu> that stainless sleeving eats away everything it touches..
[19:43:29] <skinnypuppy1334> Really? Why do they use it on DRO's then?
[19:43:47] <anonimasu> THE STUFF ON EBAY
[19:44:17] <anonimasu> that's not the same thing
[19:44:26] <anonimasu> http://www.bsr-aerotek.com/store/index.php?cPath=2_396&osCsid=70nuevp3fn0dbmr67f8qlqf785
[19:44:56] <skinnypuppy1334> yeah I was struggling to get there
[19:45:06] <anonimasu> :)
[19:51:36] <Adam1000> Ihave offically machined succesfully now
[19:57:32] <skunkworks> :)
[20:00:44] <toast> i machined something once
[20:00:46] <toast> it was okay.
[20:16:26] <anonimasu> lol
[20:53:16] <jimbobbus3> just got the joystick working in world-coordinates on the tripod prototype
[20:53:36] <SWPadnos> yay!
[20:53:39] <skunkworks> Great!
[20:53:51] <jlmjvm> congrats
[20:53:54] <jimbobbus3> had to d/l source. 2.1.7 binaries don't support the new joystick functions
[20:54:10] <jimbobbus3> I very much appreciate the help on this
[20:55:48] <skunkworks> videos? :)
[20:57:15] <jimbobbus3> This thing is a hacked-together prototype intended to let me work out the kinematics. You realy want video of that?
[20:57:37] <SWPadnos> as long as you've got clothes on, sure :)
[20:57:38] <cradek> jogging a tripod with a joystick sounds pretty cool to me
[20:58:12] <jimbobbus3> It's easier to do with a cartesian machine. joints = axes in that mode.
[20:58:19] <cradek> right
[20:58:25] <cradek> that's what makes this cool
[20:58:49] <jimbobbus3> I take little credit for getting this working. I'm just implementing at this point.
[20:59:31] <jimbobbus3> One of the lines just basklashed on me, so I've got a big knot on the B motor.
[21:01:03] <jimbobbus3> Oh, and I haven't resolved the calibraiton issues yet. Uncalibrated operation makes all the linear moves look like smiles/frowns.
[21:01:14] <SWPadnos> heh
[21:01:16] <cradek> ha
[21:03:15] <fenn> what are you going to do with the full size model?
[21:04:45] <SWPadnos> sidewalk graffiti, of course
[21:05:35] <fenn> sand art :)
[21:06:15] <fenn> i think this type of machine is suited for "contour crafting" (squirting a concrete building out in layers)
[21:06:27] <fenn> although a hexapod would be stiffer
[21:06:47] <fenn> hexapod-crane
[21:12:15] <jimbobbus3> The full-sized unit is supposed to fly a ghost around my front yard for Halloween
[21:12:28] <skunkworks> sweet
[21:12:43] <skunkworks> That is cool - what are you going to use for servos?
[21:12:49] <skunkworks> steppers?
[21:13:56] <skunkworks> with the wireless joystick - it should be fun chasing poor little kids around your yard.
[21:14:34] <jimbobbus3> I'm using steppers for now. I do look forward to antagonizing the little monsters.
[21:15:33] <skunkworks> jeeper - it is raining cats and dogs here. got really really dark
[21:27:14] <jimbobbus3> Question about the HAL command "loadusr" - there's a "-W" option in the file I'm using, but I can't find a reference to that in the doc. It appears to make HAL wait until the module has loaded.
[21:27:32] <jimbobbus3> If I omit it, the next line can't find the parameter that should be loaded.
[21:28:34] <jimbobbus3> If I manually execute the commands using the command line, it works fine without the -W. The only difference I see is relative timing of execution.
[21:32:17] <SWPadnos> correct
[21:32:37] <SWPadnos> there are two options, and I don't recall which is which
[21:33:01] <SWPadnos> one makes halcmd wait until the program has finished executing, the other makes halcmd wait for the component to signal that it's ready
[21:33:35] <SWPadnos> -w and -W are the spellings of the two options :)
[21:33:41] <SWPadnos> (I think)
[21:45:07] <jepler> http://linuxcnc.org/docs/html/man/man1/halcmd.1.html explains -w, -W, and -Wn
[21:45:30] <jepler> I think halcmd help loadusr also does, but maybe omits -n
[22:31:15] <Adam1> does anyone have a good example of pid tuning for servos?
[22:33:25] <dmess> VAPT is way cool
[23:08:15] <vdKroon> Hi there.. I've just setup EMC2 with my gantry style-belt driven mill, and i'm really having problems configuring ini file to get some correct movement
[23:08:37] <vdKroon> How can I know the input/output scale?
[23:09:08] <alex_joni> vdKroon: steppers?
[23:09:16] <vdKroon> 400 steps/rev
[23:09:23] <vdKroon> yes, steppers
[23:09:32] <alex_joni> ok, output scale is not relevant in your case
[23:09:43] <alex_joni> input_scale needs to define the number of steps / unit
[23:09:52] <alex_joni> say your motor has 400 steps/ rev
[23:09:57] <alex_joni> do you microstep?
[23:09:57] <vdKroon> yep
[23:10:03] <vdKroon> 1/2
[23:10:15] <alex_joni> ok, so 800 steps/rev effectively?
[23:10:16] <vdKroon> not micro, but half
[23:10:19] <alex_joni> or was the stepper 200
[23:10:25] <vdKroon> yep, 800
[23:10:35] <alex_joni> ok, 800 steps to turn the motor shaft 1 rev.
[23:10:40] <vdKroon> correct
[23:10:49] <alex_joni> now we need to find out how far the machine moves when it turns one rev
[23:11:08] <alex_joni> you said belt driven..
[23:11:16] <alex_joni> can you be a bit more precise about it?
[23:11:47] <alex_joni> is the belt fixed, and does the motor travel along with the axis?
[23:11:55] <vdKroon> yes, that's it
[23:11:59] <alex_joni> or is the motor fixed, and the belt is looped around the motor?
[23:12:12] <hugomatic> Hi, I have a problem with the live CD: my nvidia network card is not recognized (but it works on ubuntu 7.04)
[23:12:29] <alex_joni> vdKroon: ok, so belt fixed, and motor travels with the axis
[23:12:34] <vdKroon> ales_joni: the belt has a pitch of 3 mm
[23:12:57] <alex_joni> vdKroon: I'd say that for one revolution of the motor shaft you travel forward 2 * Pi * diameter of pulley on the motor
[23:13:08] <alex_joni> err.. radius
[23:13:20] <hugomatic> Is it possible to install EMC on Ubuntu 7.04? Any help is appreciated, thanks
[23:13:53] <skunkworks> I would think it would be directly related to the number of teeth on the pinion gear..
[23:14:00] <alex_joni> hugomatic: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Why_aren_t_there_packages_for_Ubuntu_7_04_Feisty_Fawn
[23:14:12] <hugomatic> Thanks Alex
[23:14:13] <alex_joni> skunkworks: you would, wouldn't you :P
[23:14:18] <vdKroon> alez_joni: pulley: 15 teeth, 3mm pitch
[23:14:29] <alex_joni> vdKroon: how large is it?
[23:14:37] <alex_joni> err, that answers my question :D
[23:14:49] <alex_joni> 15 * 3 mm = 45 mm circumference
[23:15:07] <alex_joni> so one revolution of the motor equals 45 mm travel
[23:15:12] <hugomatic> alex_joni: thanks, but it looks like I am out of luck.
[23:15:18] <alex_joni> hugomatic: indeed :)
[23:15:40] <alex_joni> hugomatic: that doesn't mean that you can't do it on your own, but it's not a 5 minute job
[23:15:53] <alex_joni> hugomatic: might be better to try to address the problem with dapper
[23:16:03] <alex_joni> vdKroon: following so far?
[23:16:08] <vdKroon> yes, for now
[23:16:10] <vdKroon> :)
[23:16:19] <alex_joni> vdKroon: ok, so 800 steps move 45 mm
[23:16:23] <hugomatic> alex_joni: What I really care about is getting the nic to work.
[23:16:29] <vdKroon> so, we have 800 steps/ rev and 45mm travel/rev
[23:16:42] <alex_joni> vdKroon: how many steps/mm is the question :)
[23:16:46] <alex_joni> hugomatic: what kind of nic?
[23:16:57] <hugomatic> How can I install packages without access to the repository?
[23:17:12] <vdKroon> 17.777777 periodic
[23:17:16] <alex_joni> hugomatic: worst case: copy them to an usb stick, carry over
[23:17:18] <hugomatic> My nic is an nvidia integrated with the mobo
[23:17:38] <alex_joni> hugomatic: the simplest solution I see is get a 5$ network card, plug it in
[23:17:58] <alex_joni> vdKroon: you got it :)
[23:18:14] <vdKroon> ok, that's input_scale
[23:18:31] <alex_joni> vdKroon: for now, lateron it will be named SCALE
[23:18:41] <hugomatic> alex_joni: OK... thanks. It sucks because I bought the damn machine today just for EMC...
[23:18:48] <vdKroon> alex_joni: ok
[23:18:51] <alex_joni> hugomatic: bummer
[23:19:07] <alex_joni> that's why I always take the livecd with me when buying a machine for emc2
[23:19:23] <alex_joni> vdKroon: lateron meaning in future versions of emc2
[23:19:32] <vdKroon> ok, got it
[23:19:44] <hugomatic> alex_joni: this is a great idea, I'll remember it for next time
[23:19:59] <alex_joni> hugomatic: be sure to run a latency test from the live cd too
[23:20:14] <alex_joni> that's actually the most important factor when buying a machine for emc2
[23:20:20] <hugomatic> alex_joni: do you know how to figure out which nic driver I am using now?
[23:21:01] <alex_joni> hugomatic: I would start by looking at 'dmesg'
[23:21:09] <alex_joni> and see if the nic gets detected at startup
[23:21:19] <alex_joni> and what driver gets loaded
[23:21:30] <alex_joni> do you happen to know the brand of the mobo?
[23:21:49] <SWPadnos> lspci | grep -i "net"
[23:21:56] <SWPadnos> I think that'll do it
[23:21:58] <vdKroon> alex_joni: another thing that gets out of my reach is the accel settings
[23:22:10] <vdKroon> and velocity settings
[23:22:24] <alex_joni> vdKroon: those depends on the gantry weight, motor power, etc
[23:22:28] <hugomatic> alex_joni: thanks, I seem to be using 'forcedeth'. I will google for a Dapper package
[23:22:39] <alex_joni> vdKroon: start with some lower accel (maybe 20mm/s*s)
[23:23:05] <vdKroon> this is max accel?
[23:23:25] <alex_joni> yeah, a kinda conservative value
[23:23:37] <alex_joni> that means it takes a second to accelerate to a speed of 20mm/sec
[23:24:40] <fenn> put that in the AXIS_* section
[23:24:49] <vdKroon> fenn: ok
[23:24:58] <vdKroon> and how about default_accel?
[23:25:02] <alex_joni> vdKroon: next you start messing with max_vel
[23:25:06] <alex_joni> vdKroon: leave that be for now
[23:25:14] <fenn> default_accel isn't used i think
[23:25:29] <alex_joni> vdKroon: you start increasing max_vel until it reaches a speed where it's comfortable
[23:25:45] <alex_joni> not too fast as to be scary/dangerous for the machine (or where it stalls)
[23:25:52] <vdKroon> ok, with this machine I was working at 2400 mm/min in the past
[23:25:53] <alex_joni> not too slow either
[23:26:20] <alex_joni> ok, so you want 40 in there
[23:26:25] <alex_joni> 40 mm / sec
[23:26:40] <alex_joni> once vel starts working ok, you can go on and mess with accel
[23:27:19] <vdKroon> what's the difference between stating this data is AXIS section or in TRAJ?
[23:27:31] <vdKroon> one overrides other?
[23:27:35] <alex_joni> traj is overall
[23:27:41] <alex_joni> axis refers just to that motor
[23:27:56] <alex_joni> traj might limit the head while travelling in XYZ at once
[23:28:05] <vdKroon> okk
[23:28:26] <alex_joni> but the idea is to have traj about sqrt(3) larger than xyz
[23:28:31] <alex_joni> assuming they are equal :)
[23:29:02] <alex_joni> * alex_joni goes back to sleep
[23:29:08] <toast> fffff
[23:29:24] <alex_joni> good night all
[23:29:41] <vdKroon> thank you so much alex
[23:29:44] <vdKroon> good night
[23:30:09] <alex_joni> vdKroon: no sweat, lots others around who can help you further
[23:31:14] <toast> anyone ever try aluminum-specific inserts
[23:36:49] <vdKroon> how about stepgen_vel & accel settings?
[23:36:56] <vdKroon> it's a product of some other values?
[23:38:11] <SWPadnos> the recommendation for stepgen limits is that they be "a few percent" higher than the axis limits
[23:39:14] <vdKroon> ok, so, with a MAX_VEL of 40, should I start with, say, 50?
[23:39:34] <SWPadnos> what is the actual limit the steppers can move?
[23:39:47] <vdKroon> about 40mm/sec
[23:39:53] <vdKroon> 2400 mm/m
[23:40:07] <SWPadnos> ok, then that's as high as the stepgen limit should be
[23:40:22] <SWPadnos> you should set the AXIS_n velocity limit a little lower, maybe 36 or so
[23:42:19] <Adam1> could someone help me or give me a few starting points/ pointers for tuning a servo system properly.
[23:42:40] <Adam1> I am willing to pay gratitude
[23:43:30] <fenn> someone had a good explanation of how to do the ziegler-nichols method, i forget where it went though
[23:44:26] <SWPadnos> I believe there's a wiki page, and possibly a link on the linuxcnc.org website
[23:46:12] <Adam1> ok I think I have that started properly, I have increased P untill my servo oscilates (p=26.594 <- got anal with it) before this oscillation was induced the servo would just rotate in 1 direction constantly
[23:46:26] <Adam1> the frequency of the oscilation is also very low which had me worried
[23:46:44] <Adam1> for some reason it had me worried
[23:47:00] <LawrenceG> :} got my er25 collets in the mail today.... they sure are pretty... great way to end a week
[23:47:35] <fenn> wow those articles on the wiki are really not helpful
[23:47:52] <SWPadnos> "article" may be too strong a word
[23:48:00] <fenn> the links at the bottom
[23:48:22] <LawrenceG> http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=110168676356&ssPageName=STRK:MEWN:IT&ih=001
[23:49:14] <LawrenceG> only 9 days to swim from HK
[23:50:04] <Adam1> apperntly my frequency is 0.4Hz
[23:50:39] <SWPadnos> that does sound low
[23:50:47] <Adam1> thats what they are doing
[23:50:55] <fenn> and I is 0?
[23:51:00] <SWPadnos> do yo have the current limit on the servo drives set very low?
[23:51:06] <SWPadnos> you
[23:52:08] <SWPadnos> LawrenceG, I think you've bid against me before. I recognize your ID :)
[23:52:32] <LawrenceG> opps...
[23:52:35] <SWPadnos> heh
[23:53:50] <LawrenceG> this mt3 shank has a 10mm drawbar.... mine are 3/8x16... need to get threading going so I can make a new drawbar
[23:54:16] <LawrenceG> or weld some rod the in middle of a 10mm bolt!
[23:54:41] <LawrenceG> now where was that toyota parked....
[23:54:41] <SWPadnos> just pour some molten steel inside it and re-tap
[23:56:04] <Adam1> SWPadnos I have not touched the drives, they came out of an old control.
[23:57:00] <SWPadnos> is the table lock on?
[23:58:03] <SWPadnos> when you said the servo would "rotate in one direction constantly", what did you mean?
[23:58:03] <Adam1> Neg
[23:58:24] <Adam1> it just rotated slowly
[23:58:31] <SWPadnos> and never stopped?
[23:58:41] <Adam1> yeah I will double check that though
[23:58:58] <SWPadnos> ok, because that's awfully weird, unless P=0
[23:59:12] <fenn> maybe need to adjust the offset on the dac
[23:59:16] <SWPadnos> or feedback isn't working, or there's noise, or ...
[23:59:37] <Adam1> ok no the servos move a tiny bit then stop
[23:59:40] <fenn> noise in one direction?
[23:59:46] <SWPadnos> fenn, that would be the case if EMC weren't running, but PID should settle on the correct offset value