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