00:09:26 03alex_joni * 10emc2/configs/stepper/stepper_mm.ini: fixed bug #1406189 , thanks floh for spotting it 00:21:19 night all 00:21:23 Jacky^ has quit 00:36:23 lerman__ has joined #emc 00:36:58 rayh has quit 00:37:45 SWPadnos is now known as SWP_Away 00:40:42 jmk_dinner is now known as jmkasunich 01:04:45 lerman__ has quit 01:15:21 skunkworks has joined #emc 01:15:44 tonyp has joined #emc 01:16:52 hellooooo. I really need some help from anybody 01:17:44 what kind of help do you need? 01:18:04 tonyp: what's burning? 01:18:07 I have a z axis problem on a router that wont repeat 01:18:25 what emc are you running? 01:18:34 steppers or servos? 01:18:47 it seems to drift all over the place, I just upgraded to the 4.38 today and it is steppers 01:18:52 and a dozen other questions that we need to understand your situation 01:19:15 4,38 is supported by Paul Corner, we know nothing about it 01:19:25 he has a mailing list, URL in a minute 01:19:54 http://ourproject.org/projects/bdi4emc/ 01:20:11 thats the one 01:20:24 When running a z-.010 z0 z-.010 z0 and so on it seems to miss signals up and down and ends up drifting all over the place. 01:20:45 sounds like lost steps, but I really don't know the BDI-4.38 at all 01:20:56 this is not a release problem. I have had this since I built this a year ago 01:21:06 the same problem? 01:21:09 it did the same with rc46 01:21:19 yes the same problem. 01:21:20 why didn't you say so? 01:21:24 ;-) 01:21:36 I dont type fast enough 01:21:36 have you tried reducing accel? 01:22:36 yes, replaced the gecko, rewired with a 3 foot cat 5 cable and changed to the 4.38 just to make sure the release wasnt the problem 01:23:02 I asked about accel, not about all that 01:23:19 yes was the answer to accel 01:23:27 what was your original accel, what is it now, does it work correctly for any value of accel, even very slow? 01:23:57 are your TRAJ accel and per-AXIS accel all the same? 01:24:00 If you want to use newer versions of emc, you're better off building emc 1.2.0rc1 or emc2 from CVS, not upgrading to bdi 4.xx. 01:24:21 per-AXIS accel is ignored for coordinated moves on those versions! 01:24:24 jepler: that may be so, but he has had the problem for a long time... 01:24:27 bdi 4.xx seems to lack a certain amount of, er, organizational transparency, right now. 01:24:56 no difference even on bdi rc46 01:25:08 tonyp: what are your accel limits, in the TRAJ section and in the AXIS sections of the ini file 01:25:21 5 01:25:35 I also used smaller and bigger 01:25:40 same problem 01:25:47 how much smaller and bigger? 01:25:56 1 to 20 01:26:04 no difference 01:26:07 what is max velocity? 01:26:19 is this an inch machine or a mm one? 01:26:36 1.5 or 89 inches per minute inch 01:27:01 X and Y work fine? 01:27:05 When I plug the z into the x or y it works great and the problem moves to the other axis 01:27:13 jmkasunich: right, but if he wants to compile emc1 from source, he's screwed with bdi 4.xx. 01:27:22 sounds like a driver problem 01:27:34 just replaced the gecko yesterday 01:27:55 with a 210 microstep 01:28:31 put on the cat 5 cable per marris's suggestion 01:28:32 tonyp: that isn't clear: when you plug the Z drive into the X motor? when you plug the Z motor into the X drive? Does the problem move with the motor or the drive? 01:29:03 the problem moves to the next axis 01:29:11 arrgh 01:29:23 the z motor works well when plugged into the x drive 01:29:33 the x drive then starts to drift 01:29:41 ???????????? 01:29:44 ayup 01:29:49 huh, you just contradicted yourself 01:29:51 been pullin my hair out 01:30:04 you mean the x axis starts to drift right? 01:30:04 let me try again 01:30:15 you just said: the Z motor works on the X drive, then you said the X drive starts to drift... 01:30:24 did you mean the X motor starts to drift? 01:30:31 * fenn is thinking a faulty electrical connection or electrical interference 01:30:40 yes when plugged into the z drive 01:31:02 so the problem is either the Z drive, or the Z signals from EMC 01:31:06 what does the cat5 cable do? 01:31:36 or the Z signal wiring. 01:31:45 2 sets of twisted pairs that are sure not to be cross with the wrong wire 01:31:49 fenn: reduces interference because it's twisted 01:31:55 cat 5 is probably an attempt to avoid noise 01:32:01 yes 01:32:17 you are using software generates step pulses out of the parport? 01:32:40 (no Pico systems boards or anything like that...) 01:32:52 I thought the z signals were the problem and that is why i got the 4.38 01:33:02 no pico 01:33:07 do all axis have the same scaling? 01:33:11 hard wired to the gecko \ 01:33:19 no on the scaling 01:33:20 what is the scaling (INPUT_SCALE, OUTPUT_SCALE) 01:33:37 for X, Y, and Z 01:33:43 x axis is 1495 01:33:50 y axis is 2450 01:33:59 * fenn prescribes hal and a square wave signal 01:34:07 z axis is 1350 01:34:11 take two measurements and call me in the morning :) 01:34:29 I dont even know how to do that 01:34:31 tonyp: 1350 steps per inch? 01:34:36 yes 01:34:37 fenn is being difficult 01:34:42 ignore him 01:34:50 are the Geckos microstepping? 01:35:10 only the y axis as the screw is 20mm lead 01:35:27 1350 microsteps/inch seems low, that means one turn of the stepper shaft (2000 microsteps) is about 1.5 inches travel 01:36:03 The scale is right to an indicator 01:36:10 wow 20mm lead? what diameter? 01:36:19 so you are running X and Z at 200 steps per revolution? 01:36:20 moving 1" =1" 01:36:26 yes 01:36:48 fenn: 1" 01:36:52 about 01:37:03 25mm 01:37:04 how big are the steppers? nema 34? 01:37:21 nema 34 at 640 oz in 01:37:48 gecko current is set right for the motors? 01:37:52 plenty of power. will bend the y axis if it hits the table 01:37:57 yes 01:38:23 two of the axis work great with the same setup 01:39:04 1350 steps/in at 200 steps/rev = 6.75 turns per inch on the leadscrew 01:39:14 does that match what you have? 01:40:01 I dont have the actual numbers/ the machine is in the garage and I dont remember exactly. these are within 100 though 01:40:15 1.5" per sec max velocity = 2025 steps per second at max speed 01:40:29 2025 is certainly not excessive 01:40:54 5 inch/sec^2 accel means about 1/3 second to go from zero to max speed 01:41:05 also seems reasonable 01:41:15 depends on how much iron you're slinging around 01:41:23 true 01:41:25 I get no following errors. I have been using the machine for a long time now for 2 axis stuff but seems to be getting worse 01:41:53 what is getting worse? I thought Z was always bad? 01:41:59 running a trim router on a ball screw with smaller than a 1/4 cutter 01:42:15 usually not very noticable on signs 01:42:21 should be able to get way higher accels and velocities 01:42:51 I can on the x and y 01:42:53 you said: When running a z-.010 z0 z-.010 z0 and so on it seems to miss signals up and down and ends up drifting all over the place. 01:43:03 do you have another computer to test with? 01:43:06 yes 01:43:10 and now you say "usualy not noticable" 01:43:12 which is it? 01:43:53 he meant it loses steps i think 01:44:00 if it drifts both ways 10 thou in a program that is cut .040 deep with a 1/32 cutter 01:44:03 I'm asking HIM to clarify 01:44:51 doesnt seem to lose steps as much as get a bad signal. I can see it happen on very slow feed rates and hear the motor move too far 01:45:04 too far? thats differnet 01:45:17 in both directions 01:45:23 now I'm starting to agree with fenn 01:45:28 that is what I mean by drifting 01:45:37 electrical noise causing extra steps 01:45:44 it is not consistant 01:45:45 i was starting to disagree with myself right then actually :) 01:45:49 noise rarely is 01:46:07 does it do it with the spindle off? 01:46:20 it's not overshooting and backing up is it? 01:46:28 I just rewired it/ Where would the noise come from 01:46:43 noise has its ways... 01:46:48 does it do it with the spindle off? 01:46:53 cradek: no spindle on 01:47:00 Had something similar when I was over-driving the stepper - try lowering the current. Had a stepper that we thought would handle high current - cut the current in half and no more problem. (gaining steps) 01:47:19 tonyp: are you saying it happens ONLY when the spindle is on? 01:47:32 spindle doesn't matter 01:47:34 have you put a scope on the step/dir lines right at the gecko? 01:47:38 on or off 01:47:43 same thing 01:47:53 ok 01:48:06 how do I cut the current in half. I am not very smart 01:48:37 cradek: I dont have a scope 01:49:00 you followed the gecko instructions for parallel, series, half-winding connections, and you selected a current setting resistor according to their instructions? 01:49:44 I got the resistor spec from Marris. But I can try a smaller current resistor if it will help 01:50:00 I have no idea if it will help or not 01:50:22 if Mariss thinks you have the right current, you probably do 01:50:52 that is what i thought. besides it works on the other drives x and y 01:51:03 they are set up the same way 01:51:04 are all three motors the same? 01:51:10 Yes 01:51:25 someone mentioned a different computer 01:51:27 ok, we can probably rule out motor current 01:51:36 don't go there yet 01:52:09 still on motor current, are you sure the all three resistors are the same value? 01:52:35 yes 01:52:42 (measure with an ohmeter is best, verify color codes or labels is next best) 01:52:44 I will double check 01:53:02 if that is OK, then we can pretty much rule out current issues 01:53:13 night all.. 01:53:20 * alex_joni is off to bed 01:53:23 are all three drives mounted next to each other? (in the same box or panel) 01:53:26 goodnight alex 01:53:35 I bought them at the same time and they came from the same pak 01:53:45 yes they are mounted in line 01:53:51 the resistors? thats good 01:54:20 do you have a breakout board? or does the cat5 wire run straight to the PC? 01:54:34 straight to the pc 01:54:59 so you have a bare naked DB-25 connector plugged into the PC? 01:55:11 one wire from each cat5 pair soldered to the connector? 01:55:14 a db 25 plug in the panel to plug into 01:55:22 what panel? 01:55:36 the control panel 01:55:42 you just said it went straight to the PC?!?!?! 01:56:00 one end of the wire is screwed to the gecko 01:56:10 where is the other end of THAT PIECE of wire? 01:56:41 geckos are wired to a male plug on the panel the cat 5 plugs into that and then to the computer 01:57:11 ok, see if I have this right.... 01:57:17 only a plug between the gecko and the computer 01:57:46 a homemade printer cable from the back of the PC to the connector on the control panel (made from cat 5 cable) 01:57:56 yes 01:58:04 what kind of wire from the connector on the control panel to the gecko? 01:58:29 stranded copper soldered to the db25 01:58:50 twisted or anything? 01:59:02 24 gauge not twisted 01:59:26 how long is that part? (the connector to gecko part) 01:59:38 8 inches max 01:59:56 3 feet to the computer on the cat 5 02:00:13 what are you using for +5V? 02:00:30 computer power supply 02:00:48 you have two pairs per axis in the cat 5, right? 02:01:01 step/+5, and dir/+5 for each axis 02:01:18 total of 6 pairs? (which means 2 pieces of cat 5) 02:02:10 no only one piece of cat 5 with four twisted pair 02:02:24 one pair per axis step and dir 02:02:37 how can you send 6 signals (X, Y, Z, step and dir for each) thru 4 pairs? 02:03:14 x step and x dir is only two wires and so on 02:03:29 so you aren't actually using pairs 02:03:43 that is not good for noise, and is probably not what Mariss had in mind 02:04:49 I really dont think it is noise because it is only on one axis 02:04:51 so your pairs are: (Xstep, Xdir) (Ystep, Ydir) (Zstep, Zdir) (+5v, +5v) ? 02:05:00 yes 02:05:20 and when you get to the control panel DB-25, how is that pinned out? 02:05:26 same as the wire pairing? 02:05:32 yes 02:05:56 then inside the control panel, you have three pieces of 24ga carrying +5 to the three drives? 02:06:06 and 6 more carrying the signals, 2 to each drive? 02:07:07 only on on the +5 and jumped to the other drives, yes to the 6 more carrying the signals 02:07:54 what is the order of the jumped +5? connector --> X --> Y --> Z, or something else? 02:08:13 z jumped to y jumped to x 02:08:23 z is first in line 02:08:58 there are two +5 wires in the cat5, right? 02:09:08 and two +5 pins on the connector? 02:09:17 uh, what about GND? 02:09:33 I am using a seperate power supply the +5 doesnt come from the cat 5 02:09:42 fenn: no ground, the geckos use common +5v, and pull low to turn on the opto leds 02:10:26 tonyp: I thought you said you were using the computer power supply!!?!? 02:10:57 a seperate computer power supply from a junk computer sorry for that 02:11:09 ewww 02:11:26 that is located inside the panel 02:11:42 [21:04:49] so your pairs are: (Xstep, Xdir) (Ystep, Ydir) (Zstep, Zdir) (+5v, +5v) ? 02:11:42 [21:04:58] yes 02:12:00 so is there a (+5, +5) pair in the cat 5 or not???? 02:13:02 no, I am sorry for that confusion. I am not very good at this. only step and dir and limit and ground in the cat 5 02:13:24 * fenn hides 02:13:29 +5 coming from the seperate computer supply 02:13:35 so your pairs are: (Xstep, Xdir) (Ystep, Ydir) (Zstep, Zdir) (ground, limitsw) ? 02:13:48 fenn: I have been trying that for awhile 02:13:56 Yes! 02:14:26 and in the panel, the ground from the extra power supply is tied to the ground pin of the connector (the ground wire in the cat5)? 02:15:04 yes! 02:15:28 is that extra power supply running anything else? 02:15:41 no 02:15:56 ok 02:16:02 that is not the best setup... 02:16:20 the extra power supply's ground is internally connected to its power cord ground 02:17:05 so you have a ground loop, from the PC power cord ground, thru its supply into the PC case, thru your cat5 ground lead, to the spare supply ground, thru its case to its power cord ground, and back to the wall socket 02:17:27 are the PC and the extra power supply plugged into the same wall socket or power strip? if not, that will make it even worse 02:18:01 yes all is run from the same powwer source. 02:18:18 one power cable to the machine and divided from there 02:18:35 the amps and spindle are on the same power cord tho, right? 02:19:14 the whole machine is run from one power cord 02:19:37 dmessier has quit 02:19:56 the only thing that isn't is the monitor for the computor 02:19:57 so noise from the main gecko power supply, and/or from the spindle motor, could couple into the ground of that extra power supply 02:20:21 so getting back to the wiring from the connector to the geckos 02:20:37 wouldn't that effect three axis's 02:20:46 there are six signal wires, each one goes from one connector pin to one gecko, right? 02:21:05 right 02:21:08 then there is a wire that goes from the ground connector pin to the extra power supply ground 02:21:22 yes 02:21:34 and one from the extra power supply +5v output to Z, then jumps to Y, then jumps to X 02:21:46 yes 02:22:05 what is the total length from connector to power supply to Z? 02:22:17 12" 02:22:21 max 02:22:36 so the supply is right next to the connector 02:22:48 below and to the left 02:22:58 but very close 02:22:59 inside the same box 02:23:13 within 3 inches 02:23:15 if the total length is 12", the connector to PS must be about 6, and PS to gecko another 6 02:23:16 ok 02:23:44 you cut the power supply wires short I guess (normally they're a foot or more long) 02:24:02 yes I did 02:24:23 trying to keep things neater 02:24:29 this must be an older supply, the new ones won't even start up unless they get a signal from the motherboard 02:24:51 what's the preferred way to do twisted pair from a parallel port? each signal twisted with +5v? 02:25:14 fenn: depends on the load, for a gecko thats what I'd try to do 02:25:15 some of the very old ones (XT, AT) are really noisy and need a good load to work well 02:25:34 cradek: good point 02:25:57 tonyp: is your auxiliary power supply super old (like it has the big red toggle switch on the side?) 02:26:11 no switch 02:26:20 from a 486 i think 02:26:35 so its switch is one of those four-wire jobs on a pigtail from the supply? 02:26:55 no 02:26:55 those aren't so bad 02:27:10 tonyp: no switch at all then? 02:27:14 the 5 volt I get from it is solid 02:27:31 a solid 5 on a voltmeter doesn't mean it's clean 02:27:42 no switch. plugs into the 110 and comes out 5 and 12 volt 02:27:56 just like that, no startup signal needed? 02:28:09 does the fan in the PS run as soon as you plug it in? 02:28:11 cradek: had an electrician check it for me 02:28:21 yes 02:28:41 runs as soon as it is plugged in. 02:29:01 did I hear right that it's only ever the Z drive that screws up 02:29:02 ? 02:29:14 only the z 02:29:29 then the z runs great on the x or the y drive 02:29:38 why not get out the soldering iron and switch the X and Z wires right on the back of the computer 02:29:46 the x and the y drive screw up when hooked to the z 02:29:53 you'll know once and for all whether it's software 02:29:57 wrong! 02:30:04 ? 02:30:45 tony is being unclear again 02:30:51 * cradek ships jmkasunich a beer 02:31:00 not software. I just tried two different ones today 02:31:01 the Z MOTOR works when hooked to the X DRIVE 02:31:15 the X MOTOR screws up when hooked to the Z DRIVE 02:31:15 ok 02:31:15 yes, perfectly 02:31:36 yes the same drifting as seen with the z 02:31:38 the X DRIVE never screws up, I don't think? 02:31:54 the x or the y drive never miss a step 02:32:00 this is why I said "wrong": the x and the y drive screw up when hooked to the z 02:32:08 ok so what I said still holds 02:32:23 you could rewire the connection to the parport 02:32:28 * jmkasunich is sorry to be such a nit-picker, but getting the facts absolutely straight is critical for this kind of stuff 02:32:39 and if the problem stays on Z, you know it's not emc 02:32:47 on the mill's Z 02:33:03 right 02:33:37 the z drive is the problem. when I unplug the z motor from the z drive and plug the z motor to the y drive it works perfectly 02:33:54 tony: its not neccessarily the Z drive 02:34:04 the z drive OR the power supply or the z wiring or your parallel port or emc 02:34:20 when I plug the y motor into the z drive the y axis starts acting erratically 02:34:24 it could be the Z signals from the PC, or the Z wiring in the cat5, or the Z wiring from the panel connector to the gecko, OR the drive itself 02:34:58 my suggestion will narrow it down quite a bit 02:35:08 exactly 02:35:24 switch the Z and X wires at the parport connector at the back of the PC 02:35:32 so keep track of what you know it's NOT 02:35:36 so far: the motor 02:35:38 is the problem stays on the Z drive and motor, it must be wiring or drive 02:35:39 that's it 02:35:46 it it moves, then it must be the signals 02:36:06 I replaced the gecko. I replaced the par port cable with the cat 5 and I replaced emc with a different version since yesterday and still the same problem 02:36:21 I get that! 02:36:36 ok, probably not the gecko 02:36:47 ok, what haven't you replaced? the power supply and the internal wiring 02:37:03 and since that is neither shielded nor twisted, it is vulnerable to noise 02:37:09 isnt there still a ground loop in there somewhere? 02:37:21 instead of just switching the motor, switch the wiring at the connector. if the problem moves it isthe par port 02:37:51 or emc 02:38:08 or the computer 02:38:25 would it be easier to just use a different computer. I can put emc on my laptop in 30 minutes and try that rather than the soldering? 02:38:40 laptop parport have their own issues 02:38:47 right 02:38:55 laptops are bad at running emc for several reasons 02:39:02 3.3 volt logic makes for a crappy parport, lots of people have had problems with that 02:39:05 I have used it before on a smithy mill with out any problems 02:39:18 also, the power management crap in laptops wreaks havoc on realtime code 02:39:35 sometimes you can get lucky, I know some people use laptops for emc, but mine didn't work 02:39:44 it's just luck 02:39:54 tonyp: laptoms sometimes work fine, but when you are troubleshooting, you don't want to add more variables 02:39:54 rc46 power management didn't work 02:40:05 * fenn would like to see a list of laptops that work 02:40:13 all power management is always disabled with realtime 02:40:34 you don't want your computer to suspend when the mill is running! 02:40:41 so please give me the best next step. I will do that in the morning and check back 02:41:12 swap signals at the parport end of the cable 02:41:24 ok it will be done! 02:41:32 if that doesn't work, draw a schematic diagram and send it to us 02:41:33 and check all your ground connections once more 02:42:00 (how do you have two power supplies connected together and no ground loops?) 02:42:00 yeah a picture would be great 02:42:31 On another note. I was running a smithy mill in the middle of a program and the laptop froze up. it finished the program before shutting down. pretty amazing. 02:42:31 fenn: he has a ground loop, no getting away from that 02:42:43 pretty scary 02:42:56 can you put toroids on it or something? 02:42:56 Ive been scared for a year 02:43:20 tonyp: don't give up 02:43:51 you've entered the spooky realm of analog electronics 02:44:11 you're in a twisty maze of ground wires, all alike 02:44:43 (you have been playing too many online rpg's) 02:44:59 it's from adventure 02:45:08 probably means I haven't been playing enough 02:45:31 heh 02:45:49 ok, just put the kids to bed. even with the problem i am blessed. thanks for all of your help and I will check back tomorrow. 02:46:07 me too. gnight folks 02:46:11 good night. 02:46:16 bye guys 02:46:23 still early here! 02:46:28 tonyp has quit 02:46:58 man what a mess 02:47:04 yeah 02:47:24 "Configuring bicyclerepair" (ubuntu install) 02:47:30 whatever 02:47:31 he needs a nice 3 watt 5 volt wall wart 02:47:55 yeah, his PS is probably no good for that. 02:48:11 and his pairs are configured all wrong 02:48:26 there should be grounds in them or something 02:48:57 (gnd, step) (gnd, dir) x 3 02:49:04 yep 02:49:20 then at the control panel, each gnd goes to the gecko +5v pin thru a 0.1uF cap 02:49:48 yeah couldn't hurt 02:50:03 bypass caps are good superstition 02:50:08 tie all the +5V pins together thru 10 ohm resistors, tie all gnds together thru 10 ohm resistors, and connect the tie points to +5 and gnd of an isolated 5V supply 02:50:39 that way for AC signals, each pair goes directly to the geckos, and the supply is decoupled by the 10 ohm resistors 02:51:20 the resistors would protect you from shorts somewhat too 02:51:32 SNIFF SNIFF what's that smell?? 02:51:43 ah, the aroma of toasted resistor 02:52:32 a debian install sure has to screw with the packages for a long time after reboot 02:53:03 I have only used redhat and freebsd recently and they reboot and are done 02:53:10 SNIFF, SNIFF.... smells like a SEI... 1/4 watt... thin film.... 10K, no 6.8K... 02:53:40 no 6.40K! oh no!! 02:54:45 nah, thats a 6.8K, the 6.4K has a touch more burnt plastic in the bouquet 02:55:06 hints of nutmeg and bat guano? 02:55:16 lol 02:55:33 don't give away my eggnog recipe 02:55:42 I've become more accustomed to the smell of fried IGBT 02:55:48 burnt elephant snot 02:56:07 hi jepler 02:56:14 glad you stayed out of that wiring discussion? 02:56:38 I like the spell of soldering circuit boards (fiberglass not bakelite). But I have developed a twitch 02:56:42 my eyes glazed over 02:56:57 smell I mean 02:58:10 I get so frustrated with folks who don't get the importance of accuratly reporting things 02:58:31 yeah things like that require a lot of precision 02:58:46 precise language 02:58:57 jmk - I wasn't getting that from you at all ;) 02:59:08 heh 02:59:09 precision in language takes practice 02:59:23 its hard 02:59:29 arrgh 02:59:54 * jepler knows how to tweak cradek 03:00:02 very funny 03:00:18 its difficult you mean? 03:01:00 Im anal about apostrophe's and other puctuashion. 03:01:14 heh 03:01:22 and speeling 03:01:34 I got email from a user the other day, he was having problems with emc2 PID stuff 03:01:40 skunkworks has quit 03:01:44 uh-oh 03:01:47 sounded like an absolute idiot 03:01:51 oh 03:01:58 spelling, grammar, etc 03:02:08 you sure he was a native english speaker? 03:02:09 so I go into "rank beginner mode" 03:02:30 the idiot filter is only fair for native speakers 03:02:49 and he comes back (still with awful grammer) that he has an Masters in control theory, 35 yrs exp, and is working on his PHD 03:03:00 ouch 03:03:06 wonder who will write his dissertation for him 03:03:11 jmkasunich: "grammar" 03:03:20 :-P 03:03:28 I eventually spoke to him on the phone 03:04:05 he has a russian accent, but communicates very well verbally, no grammer problems that I noticed (of course, you notice more in writing) 03:04:23 jmkasunich: "grammar" 03:04:42 I'm just sitting here, laughing. 03:04:56 he's in the US, has written papers in english but must have had an editor/proofreader to check his grammEr 03:05:09 jmkasunich: "grammar" 03:05:10 grammer, grammer, grammer 03:05:19 gremmar 03:05:31 gremmer? 03:05:41 which one means the mother of your father or mother? 03:05:54 baba 03:06:17 ;-) 03:06:32 dictionary.com says grammer is a city in Indiana 03:07:15 well, isn't Indiana the state that says pi is three? so what do they know about it? 03:08:11 of course, now that I've intentionally mis-spelled it so many times, I'll probably screw it up forever 03:08:46 grammar, grammar, grammar 03:08:55 she sells grammar by the grammar shore 03:09:10 haha 03:09:15 we like you anyway 03:10:54 dammit... I hate unscheduled perforations... 03:12:21 * jmkasunich looks for a band-aid 03:13:36 huh. I thought at first this new bug was an axis bug, but I guess he's saying it's an ini-parsing bug? 03:13:50 https://sourceforge.net/tracker/?func=detail&atid=106744&aid=1406189&group_id=6744 03:14:07 yeah alex "fixed" it by moving the comment 03:14:23 mbaulfinger has joined #emc 03:15:04 the value of an ini file variable is everything after the = sign 03:15:49 probably shouldn't be, but thats the way it works right now 03:17:30 ok, it's a feature then 03:24:18 is there documentation on the .ini format as used by emc? 03:24:45 its .. surprising .. to me that it works that way, but if^Wonce it's documented I'm happy to shut up 03:25:42 * jmkasunich looks 03:30:10 the only "documentation" is a comment at line 582 of src/libnml/inifile/inifile.cc 03:30:24 /* it matches-- return string after =, or NULL */ 03:30:31 I'm pretty sure I don't care which way it works 03:30:45 although typically you can put comments there I think 03:32:29 comments are detected in "stripwhite()" which is called to strip leading whitespace only 03:32:55 if the text starts with  (or ;) the entire line is dropped, but a  after that is treated as just part of the text 03:34:25 [insert tcl insult here] 03:34:28 I assume there were some #s in what you just said? I got some reverse video text, between where two of them should have appeared 03:34:40 yes 03:34:41 is that happening in my client? I thought I'd turned off all the stupid 03:34:45 damn ksirc 03:34:50 I got that too, but I was embarassed to say so 03:35:11 cradek: invalid command name insert 03:35:16 cradek: invalid command name "insert" 03:35:22 ? 03:35:30 cradek: when you type that into tclsh 03:35:41 hmm 03:35:52 [] means that whatever is inside is interpretted as a command 03:36:18 so you tried to execute the command "insert" with args "tcl" "insult" "here" 03:36:57 oh forget it 03:37:01 for pete's sake 03:37:05 it was a joke 03:37:23 tcl is also too stupid to parse comments like that, I was being funny 03:37:45 woosh 03:37:57 * jepler considers earnestly telling cradek that he can (sometimes) write ;# and it'll be treated as a comment 03:38:33 sorry for the failed humor 04:01:08 asdfqwega has joined #emc 04:02:57 mbaulfinger_ has joined #emc 04:10:13 mbaulfinger_ has left #emc 04:21:10 mbaulfinger has quit 05:22:53 asdfqwega has quit 06:33:47 SWPadnos has joined #emc 06:34:57 TorbaX_bed has quit 06:34:57 fenn has quit 06:34:57 LawrenceG has quit 06:34:57 SWP_Away has quit 06:34:57 ccjoe has quit 06:35:56 TorbaX_bed has joined #emc 06:35:56 ccjoe has joined #emc 06:35:56 fenn has joined #emc 06:35:56 SWP_Away has joined #emc 06:35:56 LawrenceG has joined #emc 06:39:11 [Global Notice] Hi all. We just experienced routing problems with a main rotation server. We're pulling it and checking with the sponsor. Apologies for the inconvenience. 06:41:08 LawrenceG has quit 06:41:08 SWP_Away has quit 06:41:08 fenn has quit 06:41:08 ccjoe has quit 06:41:08 TorbaX_bed has quit 06:43:43 TorbaX_bed has joined #emc 06:43:43 ccjoe has joined #emc 06:43:43 fenn has joined #emc 06:43:43 SWP_Away has joined #emc 06:43:43 LawrenceG has joined #emc 06:46:09 03jmkasunich * 10emc2/src/rtapi/rtai_rtapi.c: fixed an ifdef that was disabling time measurements even on systems that are capable of making them... 06:47:11 jmkasunich is now known as jmk_sleep 06:49:53 SWP_Away has quit 06:56:48 [Global Notice] Hi all. We just experienced loss of bandwidth on a main rotation server. We've rearranged things accordingly. Apologies for the inconvenience, and thank you for using freenode. 08:22:06 SWPadnos is now known as SWP_Away 09:02:45 TorbaX_bed is now known as TorbaX 09:29:03 hello 09:29:39 I made emc2 09:29:45 it works 09:44:55 I have an error 09:45:23 with emc scriptù 09:45:42 after I installed axis 09:46:04 I did only the step suggest by Axis site 09:46:12 to install Axis on emc2 09:46:44 I am on emc2 path 09:46:48 /root/emc2 09:47:00 when I execute: ./scripts/emc 09:47:59 ./scripts/emc: line 581: [: too many arguments 09:48:21 Traceback (most recent call last): 09:48:47 File "/root/emc2/bin/axis", line 1636, in ? 09:49:04 s = emc.stst(); s.poll() 09:49:16 emc.error: emcStatusBuffer invalid 09:49:18 ... 09:49:18 .. 09:49:36 TorbaX... uh... the people you want, are probably not here. 09:49:38 and emc shutting down 09:49:44 cradek is the guy you want to talk to about axis. 09:49:47 he's the author. 09:49:58 same with oh... who was the other guy... 09:50:05 ok 09:50:39 I post the question to cradek later 09:52:44 cradek: when you are active in channel read those messages, please:) 09:53:09 The axis version is latest.tar.bzip2 09:53:30 see you soon 09:53:50 I make snack, I'm hungry 11:11:05 TorbaX has quit 11:17:51 Jacky^ has joined #emc 11:18:01 morning 11:29:42 cncuser has joined #emc 11:29:46 morning 11:31:16 the emc2 cvs version cant start if i do not manually add the adeos module, it unloads it, but it doesnt load it. this should be changed 11:37:25 Lucio65 has joined #emc 11:37:33 hi all 11:37:45 hi Lucio65 :) 11:37:52 hi lucio65 11:37:58 jo jacky 11:38:06 hi cncuser 11:38:53 hi cncuser 11:40:43 cncuser: wich distro are you using to run emc2 ? 11:41:14 Jacky^: puppy 1.0.7 = puppysit = coolcnc 11:41:33 nice 11:41:48 hmm, jacky, youre right i should configure the modules correctly then they should get loaded 11:42:19 I'm not familiar with that :( 11:42:36 alex_joni: could help you 11:42:39 Jacky^: your distroquestn reminded me :) 11:42:45 :-) 11:42:58 Jacky^: i am familiar with that, i just didnt think about fixing it from that side :) 11:43:04 puppy its cool, I have to try it ! 11:43:27 Jacky^: hehe, maybe i get a beta online this week 11:43:50 found some bugs in the howto / scripts 11:44:16 good .. youre a very good cncuser :) 11:44:20 hehe 11:55:51 Lucio65 is now known as Lucio_away 12:37:02 Imperator_ has joined #emc 13:45:55 fenn has quit 13:52:49 Lucio_away has quit 13:57:30 tonyps has joined #emc 14:00:34 morning all 14:00:45 morning alex_joni 14:01:53 morning alex_joni 14:02:07 anybody know about how to wire geckos 14:02:50 Jacky^ has quit 14:03:03 where does a fuse go if you want to protect the gecko against a motor shorting out. On the high voltage going in? 14:04:17 tonyps: yes 14:05:19 the motor is a 5.5 amp. what size fuse would be best. trying to fix a problem and I have another motor to try but am scared of it 14:06:06 tonyps: read the geko manual, it's in there 14:06:13 gecko even ;) 14:06:31 they say about 67% of the motors amp, should come from the PSU 14:06:48 great, I'll look that up right now. be back later 14:06:49 so in your case the fuse might be 5-6A 14:07:46 I'll look that up and put a little smaller in it. I was told the motor was the cause of blowing a gecko before but I am doubting that now 14:08:41 I think the electrition dropped a screwdriver when adjusting the pot and blamed it on the motor. 14:09:21 None of the leads seeem to be shorted to the case or to each other. Just the two phases 14:10:32 I am going to go try this out. I'll be back (arnold accent) 14:10:50 tonyps has quit 14:17:47 fenn has joined #emc 14:21:55 rayh has joined #emc 14:24:27 hallo 14:24:31 hi ray 14:25:36 What is on the agenda for today? 14:25:52 * alex_joni will do the stg configs 14:27:00 We should take a bit of time to discuss retroFest and codeFest for 2006. 14:27:22 * alex_joni knows little about that .. 14:30:35 rayh has quit 14:37:11 good morning guys 14:40:15 morning jeff 14:40:23 is chris up too? 14:40:24 :D 14:40:30 no idea 14:40:41 ok.. you usually come in pairs .. 14:40:46 that's weekdays 14:40:50 that's why I asked :) 14:45:46 thalx has joined #emc 14:51:41 hi chris 14:57:11 Greetings, Alex! 14:57:25 how've you been? 14:57:38 Pretty good. Many changes are a-happening. 14:57:54 that's good to hear, hope they are for the best 14:58:46 I'm now officially engaged, my girlfriend is taking 21 credits this semester so she can graduate in may. Looks like we'll be marrying in either June or July, and we're also trying to figure out how to be first time homeowners. 14:59:12 sounds great,I'm happy for you.. 14:59:17 And she's a totally too-energetic nut, trying to cram all planning in before school starts, last week of Jan. 14:59:53 sounds like something I should do too, pretty soon ;) 15:00:31 Today, however, she's off elsewhere, so I actually have some few hours to myself, am here to check on the latest and greatest in the EMC arena, perhaps there's something new I can build to exhibit at Cabin Fever Expo next weekend?... 15:00:58 well, emc2 is pretty advanced 15:01:33 we're working towards a release soon 15:02:20 Hi all 15:02:27 Greetings, Imperator 15:02:56 Hallo Martin 15:02:57 suggestion for a location for EMCcodefest: Stuttgart or Aalen :-) 15:03:16 Imperator_: don't think the amis will travel over the pond for it :D 15:03:39 I traveld last jear :-) 15:03:46 year 15:06:21 are there some details about Codefest ? 15:10:27 * alex_joni goes away for a while 15:28:10 03rayhenry * 10emc2/tcl/bin/halconfig.tcl: watch mode works a bit better. 15:36:12 roltek has joined #emc 15:56:24 cncuser has quit 16:15:33 kevin has joined #emc 16:18:23 kevin: is it true you cannot access wikipedia in china? 16:19:59 cncuser has joined #emc 16:25:08 wikipedia? 16:26:31 sorry, I cann't catch your meaning 16:28:22 03alex_joni * 10emc2/configs/stg/ (stg.ini stg.tbl stg.var README stg_io.hal stg_motion.hal): added initial STG configs 16:29:30 kevin has quit 16:29:54 hmmmm.. 16:31:06 kevin has joined #emc 16:34:23 03alex_joni * 10emc2/configs/motenc/ (motenc.ini motenc_motion.hal): unified usage of P gains naming inside the ini's and core_servo 16:34:55 kevin: try looking at the emc2 code notes.pdf if you're interested in libnml 16:35:12 03alex_joni * 10emc2/configs/common/core_servo.hal: unified usage of P gains naming inside the ini's and core_servo 16:35:30 http://www.linuxcnc.org/EMC2_Code_Notes.pdf 16:35:45 what are you trying to do? 16:38:19 03alex_joni * 10emc2/configs/common/core_stepper.hal: added headroom for stepgen maxvel 16:39:29 03alex_joni * 10emc2/configs/stepper/ (stepper_inch.ini stepper_mm.ini): added headroom for stepgen maxvel 16:40:24 emc2_code_notes.pdf say little about it 16:40:52 kevin: what do you want to do? 16:41:49 is it possible to parted it to emc? 16:44:20 i dont understand what you mean 16:46:23 The RCSlib (Real-time Control System) was replaced with libNML in EMC2, And now I plan to use libNML in EMC1 directly 16:46:44 why not just switch to emc2? 16:46:48 Is it possible? 16:48:00 i am the wrong person to ask, but the person who knows doesn't come around here very much anymore 16:48:47 kevin: again, what do you want to do? 16:48:55 what does emc1 do that you cannot do in emc2? 16:49:00 TorbaX has joined #emc 16:49:10 hello 16:49:13 kevin has quit 16:49:21 cradek 16:49:24 * fenn sighs 16:49:43 fenn: probably poor choice of an already registered nick 16:49:47 yeah 16:49:53 hi TorbaX 16:49:54 hi fenn alex_joni 16:52:18 kevin__ has joined #emc 16:52:37 welcome back 16:53:09 we have done much work in modifying emc1 to fit our environment. and now we plan to use libnml in our emc1 16:53:57 i would suggest reading the CVS logs to see what changes happened between emc1 and emc2 16:54:29 ok 16:54:35 thanks 16:54:37 but it sounds like a lot of work 16:54:58 kevin__: the emc on the BDI is mostlyemc1 with libnml 16:55:04 but also some other things are different 16:55:13 what kernel/RT are you using? 16:55:45 the linux kernel is 2.4.16 and RT is 3.1 16:56:37 RTAI ? 16:56:42 or RTLinux? 16:56:57 the BDI emc is in CVS 16:56:59 I can not see some character in IRC 16:57:04 under the bdi-4 branch in emc2 16:57:13 I need to go away, I'll be back later 16:57:14 bye 16:57:28 bye 16:57:46 rtlinux3.1 16:59:07 cradek: are you online now? 16:59:26 dmessier has joined #emc 16:59:55 hello all 17:00:24 alex_joni: I made emc2 and it works 17:01:43 ... my screen only accept 640x480 resolution 17:02:15 i've a problem with tkemc and other GUIs 17:02:44 it doesnt' fit all windows.. 17:02:57 but xemc it does. 17:03:13 see u later 17:03:30 there is something wrong with my debian 17:03:37 kevin__ has quit 17:04:15 axis doesn't fit? 17:04:36 we've designed axis for an 800x600 minimum screen size 17:05:04 axis seems to fit correct....when it worked... 17:06:00 jepler: because I installed emc2 in root folder and Axis installed on its.... 17:06:18 I've strange problem 17:07:06 emc2 with DISPLAY=axis 17:07:12 doesnt work 17:07:33 I follow the guide on axis site 17:07:47 but after 17:08:03 emc 2 shows an error 17:08:30 what is the error? 17:08:41 just a moment 17:11:36 http://tinypic.com/karc5u.png 17:11:53 do you see it on image? 17:13:52 and your DISPLAY = line doesn't have anything after "axis"? 17:14:02 mmm 17:14:09 This doesn't work: DISPLAY = axis # I like this one best 17:14:15 because emc doesn't actually treat it as a comment 17:14:21 ops 17:14:22 .... 17:14:51 deja vu 17:14:56 jepler: hehe, yes, this is allmost a classic ;) 17:15:02 oh yes 17:15:22 there was a default row commented 17:16:34 default this row are commented (with a comment after 'axis' word) 17:17:55 but I suggest to move the row comment before the "# DISPLAY = axis" row 17:18:27 jmk_sleep is now known as jmkasunich 17:18:57 with a future diff patch to correct this simple mistake 17:19:10 SWP_Away is now known as SWPadnos 17:19:15 TorbaX: I'm here for a bit 17:20:52 TorbaX: that problem is fixed in cvs already (yesterday) 17:21:20 thanks cradek 17:21:25 ops 17:21:32 another problem now appears 17:22:53 http://tinypic.com/kas2a1.png 17:23:26 cradek: is there a changelog to latest cvs fix? 17:24:09 I will find it in webcvs, just a minute 17:24:17 because I made ok 17:24:19 ok 17:24:29 this latest error may be because of your remote desktop connection 17:24:33 I don't understand what that is 17:24:38 :-| 17:24:49 that happens every time? 17:25:29 http://cvs.sourceforge.net/viewcvs.py/emc/emc2/configs/stepper/stepper_mm.ini?r1=1.1&r2=1.2 17:25:48 now i check if this error happens on my PC and not by remote connection 17:26:02 azz 17:26:04 TorbaX, can you run other X apps from that shell? (like kate or something) 17:26:18 SWPadnos: yes 17:26:23 ok 17:26:36 the remote conection is available by vncserver from BDI 17:27:17 did you say you can run xemc but not tkemc or axis? 17:27:32 cradek 17:27:41 on desktop axis ran 17:27:55 by vnc it doesnt run 17:27:57 !!! 17:28:09 it's incredible. ...kate and other programs are ok 17:28:16 does "glxgears" work in vnc? 17:28:21 hmm, maybe because of gl 17:28:38 it may be that OpenGL programs don't work properly in vnc, but usually that gives an error about the "GLX extension" 17:28:49 yeah that's a funny error 17:28:56 cradek: and a funny window ID 17:29:32 cradek: i'd swear I've seen that on install2, intermittently 17:29:51 hmm 17:29:51 good, I thank that theproblem was depend by emc2 or axis, 17:30:27 but I thank bad...:-) 17:30:42 TorbaX: you get the error consistently when running in vnc? Or just once? 17:31:12 bbl 17:31:46 jepler: no just this error i see 17:32:00 other I didnt 17:32:20 obviously by vnc..... 17:32:23 rayh has joined #emc 17:32:33 ok axis are ok 17:33:31 bbl 17:33:45 uhm 17:34:19 Is it possible to run DISPLAY = xemc ? 17:34:33 damit, what a set back. compiling huge software on a 500mhz pIII compared to my moboless 2.6ghz powered lamehorse 17:34:34 on emc2 17:34:41 tkemc works 17:34:45 axis works 17:34:57 but xemc ...nothing 17:35:30 I don't believe that the xemc or yemc got moved over to emc2 17:35:35 sorry ...xemc is the only one that runs on 640x480 resolution 17:39:21 tkemc may work if you change some of the fonts 17:40:50 ok i tried to copy old /usr/local/emc/plat/linux_rtai/bin/xemc to "bin" folder of emc2 17:40:59 and it works good 17:41:00 Mini should work on 640 17:41:10 :) 17:42:32 There may have been a few changes in NML since last xemc was looked at. 17:43:44 :( Z works 17:44:02 jepler: could you please post a filelisting of the files your script found out to be necessary to run axis into the wiki ? 17:44:04 but X and Y doesn't go 17:45:19 I don't think an xemc binary copied from emc1 to emc2 will work right. 17:45:42 cradek: on my PC it works 17:45:51 tonyp has joined #emc 17:48:19 "right" is the operative word 17:51:44 :( 17:52:18 IMO you should be able to do all the "usual" machine operation things thought. 17:52:26 though 17:52:46 typ0ing 1o1 again 17:52:48 fwiw, it should not be hard to get it to compile. I think emcsh and xemc are similar, so one could look at the changes to emcsh 17:53:25 also axis's emcmodule.c is very much like xemc 17:53:34 cu in a minute 17:53:38 cncuser has quit 17:54:23 tonyp has quit 17:55:40 is there a program that allows to export a HPGL file....??? 17:56:29 I think hp2xx converts from hpgl to other formats 17:57:03 but I'm searching a program to generate an HPGL file 17:57:43 after I try to convert into a GC file 17:58:54 after I try to convert into a gcode file 17:59:24 because it's difficult to obtain a gc file immediately by programs 17:59:42 qcad doesnt export to hpgl or gcode 18:00:21 03jmkasunich * 10emc2/src/hal/drivers/hal_skeleton.c: fixed a bug in the 'skeleton' HAL driver - the HAL component name and the linux kernel module name were not the same, which causes problems for the 'unloadrt' command. 18:02:12 cncuser has joined #emc 18:06:09 what do you need g-code for??? 18:07:11 * fenn smacks dmessier with a wet trout 18:07:24 dmessier: i need a gcode generator from hpgl or other format because emc support gcode file...Did I think right? 18:08:22 yes... but ARE you a cad /cam jockey... could you handle a real cad/cam application 18:08:31 TorbaX: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Cam 18:08:47 cncuser: the list may be different for other versions of python, or when it is compiled with different options.. but the files my script finds are here: http://emergent.unpy.net/index.cgi-files/sandbox/python-for-axis.files 18:08:58 I know for a fact that some of the "bwidget" files can be skipped, but I'm not sure which ones. 18:08:59 jepler: thanks 18:09:17 jepler: ill play around with it later :) 18:09:23 * jepler disappears again 18:09:29 cu 18:10:33 woow, python is only a shadow of itself :) 18:11:16 tomp has joined #emc 18:12:04 hm, that list doesn't help, because you don't see the contents of python23.zip 18:12:35 http://emergent.unpy.net/index.cgi-files/sandbox/python23.zip.txt 18:13:03 jepler: it helps, for i just make it into a bashscript and copy the files needed, then i do some unionfstricks and et voilla i can test if it works :) 18:13:16 (BaseHTTPServer? I wonder why that's pulled in!) 18:13:18 a ok 18:13:20 i c 18:13:49 ok, more files ;) 18:14:00 that would have been to good to be true ;) 18:15:10 fixed one thing .. check python23.zip.txt again 18:15:35 ok gpot it 18:16:21 some of encodings/ can be trimmed, certainly the microsoft-style codepage ones 18:17:11 hehe, palmos :) 18:17:32 mac_island 18:17:41 you allays learn something new 18:19:03 hmm, the ssl modules possibly also isnt necessary 18:19:09 probably not 18:19:30 perect start :) 18:19:40 ok, im of to dubdevelopments 18:19:46 cu later 18:19:49 bye 18:19:54 cncuser has quit 18:20:53 oh my god 18:22:03 the gcode examples file of kcam4 Win program don't load into emc 18:22:22 why am i not surprised? 18:22:35 various file .gc .ngc etc are not loaded 18:22:46 what's the error? 18:22:57 at the first rows 18:23:06 did you fix the line endings? 18:23:07 bad character 18:23:14 there are lots of different flavo(u)rs of g-code too 18:24:04 SWPadnos: I try nowe 18:24:09 now 18:24:22 ok 18:28:29 no 18:28:38 emc load the file 18:28:39 but 18:28:44 if I press Run 18:29:10 the parse of gcode shows an error at the first gcode rows 18:29:25 N001 .......etc etc 18:29:30 Bad character 18:29:34 can you paste in the g-code line and the error? 18:31:44 SWPadnos: http://pastebin.com/507022 18:32:02 only the 28th rows 18:32:23 because the file STEPR_297_V7.GC is too long 18:32:33 the post processor is using square brackets for comments "[]", emc uses parentheses "()" 18:32:41 yep 18:32:44 (this file is a part of kcam4) 18:32:46 also I think % must be the first line of the file 18:32:52 ah really? 18:33:01 and the % is the end of file, I'm not sure if it's also used to mark the beginning 18:33:09 the error point to first line 18:33:16 change the [] to () 18:33:19 ok 18:33:29 on both line 1 and line 2 18:34:11 no, just remove those lines 18:34:16 because the % has to be the first line 18:35:25 mm 18:35:32 i test the edit function 18:35:40 and imark the 3rd line 18:35:56 to inizialize the run of gcode 18:36:13 rayh is now known as rayh-lunch 18:44:09 mm 18:44:28 the error doenst appear 18:44:46 but another ....appears 18:45:43 TorbaX: probably the program creating this file is not RS274NGC compatible 18:45:59 Axis shows 18:46:10 Cannot do G1 with zero feed rate 18:46:35 you need a speed setting for any G1 18:46:41 :-| 18:46:46 check the file for an F word, before the G1 18:46:57 if it's not there add it, G1X...F10 18:47:02 or what speed you want 18:47:25 sorry........it doenst exist 18:48:01 ok, add it (you probably need to know how to edit a file for that) 18:50:52 I've added F1 1.0 18:51:07 before the G01 ...codes 18:51:19 and Axis now load correctly the file!!! 18:51:20 F1 1.0 means F11.0 18:51:29 rayh-lunch is now known as rayh 18:51:33 F=speed, 1 1.0 is a number, 11.0 18:51:44 there is no F1, F2, etc.. just F 18:51:50 !! 18:52:04 I really suggest you start reading on G-Code, and what the symbols mean 18:52:16 alex_joni: excuse me but I don't have any practice in Gcode ... 18:52:20 exactly 18:52:27 Imperator_ has quit 18:52:51 TorbaX: nothing to be excused from, we all started knowing nothing ;) 18:52:53 I printed yesterday the handbook of emc that it shows principal Gcodes command 18:53:02 thanks 18:53:03 but there is a lot to learn before you can start using it like you should 18:53:15 should/could 18:53:44 :) 18:54:52 the last one problem apparently I have is that only Axis Z move correctly anche other axis X..Y doenst move 18:55:12 TorbaX: what setup are you using? 18:55:16 stepper? 18:55:42 stepper 18:55:47 parallel IO 18:55:50 stepper_mm 18:55:51 .ini 18:56:08 i set on standard_pinout hal file 18:56:12 ok 18:56:13 the corret pins 18:56:30 and the correct direction with setp parameter 18:56:31 did you test motors / drives? 18:56:37 oh yes 18:57:05 I wrote a simple C program wich allow to test the axis X Y Z by parallel port 18:57:16 it ran on my desktop 18:57:22 and on BDI 18:57:29 perfectly 18:58:06 in this program simply I set #define to map the parallel port 18:58:12 and check it 18:58:45 the motors sounds good 18:58:51 but 18:58:59 on EMC only axis Z move 18:59:06 X and Y nothing 18:59:10 seems something might be wrong 18:59:16 did you try to jog manually? 18:59:30 did you look at the pins to see if it's stepping? 19:00:09 alex_joni: I tried manually to jog them 19:00:15 and only Z moves 19:00:20 the pins..? 19:00:22 mmm 19:00:27 IO_shows??? 19:00:50 no, meter or scope on the actual parport pins 19:01:14 no I don't check it 19:01:39 It's strange 19:04:34 I check by IO_Show if the Pin are correct 19:05:13 what are the pins you are using? 19:05:43 mmm it shows wrong pins.... 19:05:50 not at all 19:05:56 my conf 19:05:58 is 19:06:09 Spindle 1 19:06:29 enable_x 3 19:06:36 DirZ 4 19:06:45 StepZ 5 19:06:50 DirX 6 19:06:56 StepX 7 19:07:02 DirY 8 19:07:06 StepY 9 19:07:13 limitZ 11 19:07:17 (inverted) 19:07:28 limitY 12 19:07:32 limitX 13 19:07:40 only these pins I set 19:08:08 ops 19:08:15 ok, you can use halcmd to test if these work 19:08:19 limit switch I don't set 19:08:23 emc2/bin/halcmd show pins parport 19:08:27 ok 19:08:29 should display the values 19:08:56 try executing the command a few times during emc runs, and see if the values change as they should 19:09:15 or maybe run emc2/tcl/bin/halconfig.tcl 19:09:21 it should show you the values 19:11:19 sorry 19:11:29 the script shows an error 19:11:51 you probably don't have bwidget 19:11:59 "I didn't find the bwigdet library in the usual place 19:12:02 .-| 19:12:36 you're a magician!!!! 19:12:41 TorbaX: apt-get install bwidget 19:12:59 yes 19:13:04 a magician...:) 19:13:23 ok 19:17:21 mm 19:17:29 i see many number 19:17:30 0...7 19:17:38 I suppose tha's a pin port 19:17:43 each number 19:18:09 ok 19:18:12 parport 19:19:28 mmmm 19:19:30 ok 19:19:39 the pins are correct 19:19:48 but 19:20:30 the limit switch pin11,12,13 AND the enable pin3 aren't setted 19:21:27 maybe IO_Show is easier for this problem, has labels for pins and for function 19:21:35 because the enable pin is harwired to all motors but the enable pin is not set by me(I couldn't find its) 19:21:43 tomp: the IO_Show doesn't work 19:21:48 yes it do 19:21:58 works may be wrong word 19:22:19 it appears and displays pins 19:22:20 TorbaX: you need to connect the enable pin to an emc enable pin 19:22:25 like axis.0.enable-amp 19:22:32 exactly alex_joni 19:23:02 now i try it 19:28:06 i set 19:28:26 newsig axis.0.enable-amp bit 19:28:42 linsp axis.0.enable-amp parport.0.pin-03-out 19:29:03 you need to set a name 19:29:09 newsig enablesignal bit 19:29:24 linksp enablesignal axis.0.enable-amp 19:29:35 linksp enablesignal parport.0.pin-03-out 19:29:52 thanks 19:32:01 ops 19:32:09 link failed!! 19:32:36 probably the naming is wrong, I used memory for the names.. 19:32:56 Imperator_ has joined #emc 19:33:00 in the HAL Handbook 19:33:11 are there a list of names? 19:36:58 halcmd should show you what you need 19:37:03 likewise halconfig.tcl 19:38:11 :) 19:38:28 sudo bin/halcmd show sig axis.0 19:38:38 show pin 19:38:49 halcmd doesnt work... 19:38:51 hihi 19:39:23 yep pin 19:39:34 emclinux:~/emc2/bin# ./halcmd show pin axis.0 19:39:35 RTAPI: ERROR: could not open shared memory 19:39:35 HAL: ERROR: rtapi init failed 19:39:35 halcmd: hal_init() failed 19:39:35 NOTE: 'rtapi' kernel module must be loaded 19:39:35 emclinux:~/emc2/bin# 19:39:47 TorbaX: of course you need emc2 running for halcmd to work 19:40:11 :( sorry 19:40:33 and for that you need to comment out the lines which don't work now ;) 19:42:37 oh yesss 19:42:42 now halcmd work 19:42:53 axis.0.amp-enable-out 19:43:02 it's the correct name 19:43:26 and the limit switch are: 19:43:40 axis.0.neg-lim-sw-in 19:43:40 axis.0.pos-lim-sw-in 19:43:43 yess 19:44:18 TorbaX: you should be able to manage from here 19:44:41 :D 19:45:28 good job guys. 19:50:53 ok 19:51:04 now I start the new pin assignment 19:52:38 Jymmm has joined #emc 19:59:34 yessss 19:59:39 now all pin are ok 20:02:24 now the last tips 20:02:35 i set 20:02:51 setp parport.0.pin-11-in-invert 1 20:03:19 because i tried to invert the logic state of limit switch 20:03:27 ok 20:03:38 emc shows an error to this 20:04:18 what is the errpr text? 20:04:37 in other words ...the limit switch are set to high state....and I check always override limits 20:05:40 HAL:54: ERROR: parameter 'parport.0.pin-11-in-invert' not found 20:06:33 before this, I setted the inverted pin-out successfully. 20:06:48 but these dosent work 20:06:54 AHH 20:06:55 momet 20:06:58 moment 20:07:15 parport.0.pin-11-in-not 20:07:37 is the name ov Input pin Inverted? 20:07:52 only output pins have an invert parameters 20:07:59 mm 20:08:08 input pins have 2 pins, pin-11-in and pin-11-in-not 20:08:12 you can use either one 20:08:32 sudo bin/halcmd show pin parport.0 will list the names according to Hal 20:08:32 the "not" are logic inverted 20:08:37 yes 20:08:45 i saw it 20:10:25 YESSSS 20:10:26 If you add the bwidget tool set, you can use halconfig.tcl to see all the pins, params, and such as well as make changes and watch values. 20:10:30 it's correct 20:10:45 parport.0.pin-11-in-not 20:11:00 is the logic reversed 20:11:25 newsig limZ bit 20:11:39 linksp limZ axis.2.neg-lim-sw-in 20:11:57 linksp limZ parport.0.pin-11-in-not 20:12:03 it's ok 20:12:20 In most of the existing systems the signal would be named Zlim 20:12:23 now tkemc shows only two axis over the limits 20:12:29 :D 20:16:35 nooooooo 20:16:43 it's incredible 20:16:54 error: joint 2 error 20:17:11 no, its typical :o 20:17:30 tomp: not really 20:17:42 slow down the feed or override ( and typical for me ) 20:17:51 alex_joni: joint 1 following error 20:18:20 alex_joni: taskinf.cc 787: Error on Axis1, command number 122 20:18:42 right, probably speed is not right 20:18:44 in the ini 20:18:55 is line 122 a G0 as opposed to others being G1/2/3? 20:19:09 the errors are 20:19:17 line 86 20:19:19 102 20:19:20 122 20:19:21 ... 20:21:09 the errors appear when I had set the limit pins to the .pin-11-in-not 20:21:09 instead of .pin-15-in 20:21:33 now with pin-xx-in setted 20:21:39 the limits are active.... 20:22:05 ahhh 20:22:46 wait wait 20:22:55 idem problem......with pin-xx-in setted 20:23:10 TorbaX: can you please take a conclusion before you post here? it's hard to follow.. 20:23:28 we are trying to help, but only can do that if you have a specific question to ask.. 20:23:45 yes, you're right 20:23:47 !! 20:24:24 and please try to write connected things on one line.. it helps us keeping an overview.. 20:28:35 ok rewind....... 20:28:40 first 20:29:05 I try to disable the limit switch and the enable pin assignment 20:29:31 use a standard stepper config first 20:29:53 make sure your motors work as they should, and afterwards start by adding enable pin and limit switches 20:30:02 after I ran emc, and I see that the axis Z is ok but X and Y don't work... 20:30:03 ok 20:30:10 I clean my configuration 20:30:21 and I restart new template 20:34:38 skunkworks has joined #emc 21:03:47 thanks guys to incrediible support which you have got me, tomorrow I'll try to check entire configration, 21:03:56 see you later soon.... 21:04:00 ;) 21:11:35 TorbaX: no problem 21:12:19 You bet TorbaX Glad you got the understanding to get it going. 21:27:33 03jmkasunich * 10emc2/src/hal/utils/halcmd.c: fixed a simple typo that resulted in u8 params printing the decimal and hex values even in script mode (where it should only print the decimal value) 21:47:37 roltek has quit 21:49:16 logger_aj bookmark 21:49:39 logger_aj: bookmark 21:49:39 See http://solaris.cs.utt.ro/irc/irc.freenode.net:6667/emc/2006-01-15#T21-49-39 21:51:26 ray, watcha doing with the parsing of the types? is this for halconfig? 22:15:43 logger_aj has joined #emc 22:15:43 topic is: Welcome to the Enhanced Machine Control forum - Support and development of a linux based CNC control. | Home: www.linuxcnc.org | Regular Developers' meetings every Sunday 14:00-18:00 GMT | wiki up @ http://wiki.linuxcnc.org | EMC usage map: http://www.frappr.com/emctheenhancedmachinecontroller 22:15:43 Users on #emc: logger_aj skunkworks Jymmm Imperator_ tomp rayh dmessier TorbaX thalx fenn LawrenceG ccjoe SWPadnos jmkasunich robin jtr djb_rh steves_logging Timbo ValarQ pc_op jepler lerman jtr_ websys cradek alex_joni CIA-5 icee wb9mjn A-L-P-H-A bill-xm @ChanServ 22:17:44 Hi tom sorry was off reading logger. 22:18:30 Yes halconfig needs to find type to convert value from sci note to decimal 22:32:55 Imperator_ has quit 22:34:59 03rayhenry * 10emc2/tcl/bin/halconfig.tcl: switch scientific notation to decimal for floats 22:55:40 TorbaX has quit 23:00:35 03jmkasunich * 10emc2/src/hal/ (7 files in 3 dirs): Added HAL Virtual Control Panel. Still very much a work in progress, will be finished after the release of emc-2.0.0, committed only to allow others to look at it. Do not use. 23:03:44 03jmkasunich * 10emc2/configs/sim/test.vcp: 23:03:44 Added test.vcp to the sim config directory. Eventually the sim configuration 23:03:44 will be used to demonstrate the use of virtual control panels, so the .vcp file 23:03:44 should live here. For not it is only used for testing during the development of 23:03:44 halvcp.