Re: [Emc-users] Strangeness with Kinematics module and stepgen.

2010-06-22 Thread Andy Pugh
On 22 June 2010 00:45, Andy Pugh a...@andypugh.fsnet.co.uk wrote: Anyway, what happens between stepgen-pos-cmd and stepgen-pos-fb is purely within stepgen isn't it? Looking at the stepgen source, I can only assume that some bug in my kins module is writing out of bounds into the stapgen

Re: [Emc-users] Strangeness with Kinematics module and stepgen.

2010-06-22 Thread Alex Joni
can you pastebin hal and ini files please? and also a 'halcmd show' while running Thanks, Alex - Original Message - From: Andy Pugh a...@andypugh.fsnet.co.uk To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Tuesday, June 22, 2010 2:25 PM Subject: Re:

[Emc-users] Problem with tool path

2010-06-22 Thread Fox Mulder
Hi, since a few days i finished the most parts of my selfmade cnc and i installed emc 2.4.1 on a pc to control it. The hardware setup is fine now and when i move the three axis it works like expected. Now i made a simple test with an eagle layout file which i exported to gcode (isolation

Re: [Emc-users] Strangeness with Kinematics module and stepgen.

2010-06-22 Thread Andy Pugh
On 22 June 2010 13:00, Alex Joni alex.j...@robcon.ro wrote: can you pastebin hal and ini files please? and also a 'halcmd show' while running I will do when I get home from work. (and probably the kinematics file too, so you can point and laugh at the blindingly obviously incorrect pointer

Re: [Emc-users] Strangeness with Kinematics module and stepgen.

2010-06-22 Thread Peter C. Wallace
On Tue, 22 Jun 2010, Andy Pugh wrote: Date: Tue, 22 Jun 2010 14:23:47 +0100 From: Andy Pugh a...@andypugh.fsnet.co.uk Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: Re:

Re: [Emc-users] Problem with tool path

2010-06-22 Thread Andy Pugh
2010/6/22 Fox Mulder quakem...@gmx.net: Maybe this ia a feature and not a bug but then i need to know how to tweak or disable it. It is, indeed, a feature. It might be that you need much higher accelleration limits in your INI file. EMC2 tries to maintain speed at the expense of path accuracy

Re: [Emc-users] Problem with tool path

2010-06-22 Thread Viesturs Lācis
2010/6/22 Andy Pugh a...@andypugh.fsnet.co.uk: 2010/6/22 Fox Mulder quakem...@gmx.net:  Maybe this ia a feature and not a bug but then i need to know how to tweak or disable it. It is, indeed, a feature. It might be that you need much higher accelleration limits in your INI file. EMC2

Re: [Emc-users] Strangeness with Kinematics module and stepgen.

2010-06-22 Thread Andy Pugh
On 22 June 2010 14:45, Peter C. Wallace p...@mesanet.com wrote: Well there may be something funny about HM2 stepgen I probably should have said, this is software/p-port step generation. -- atp -- ThinkGeek and

Re: [Emc-users] Strangeness with Kinematics module and stepgen.

2010-06-22 Thread Andy Pugh
On 22 June 2010 13:00, Alex Joni alex.j...@robcon.ro wrote: can you pastebin hal http://www.pastebin.ca/1888603 and ini files please? http://pastebin.ca/1888604 and also a 'halcmd show' while running http://pastebin.ca/1888608 And for completeness, the kinematics code

Re: [Emc-users] truetype-tracer-dxf

2010-06-22 Thread Andrew
Nice work Mark. Remember, if you want to benchmark the speed, you can use the time command, eg: time ./tttscale gives this on my machine real0m0.006s user0m0.000s sys 0m0.004s Cheers On Tuesday 22 Jun 2010, Mark Thomas wrote: Hi Andy, Thanks for your support on this, had some

Re: [Emc-users] Strangeness with Kinematics module and stepgen.

2010-06-22 Thread Andy Pugh
On 22 June 2010 17:58, Andy Pugh a...@andypugh.fsnet.co.uk wrote: And for completeness, the kinematics code http://pastebin.ca/1888609 I tried checking that the kinematics function wasn't actually being called in Joint mode by putting *(haldata-dy) = *(haldata-dy) + 1; Inside the

Re: [Emc-users] Strangeness with Kinematics module and stepgen.

2010-06-22 Thread Andy Pugh
On 22 June 2010 18:21, Andy Pugh a...@andypugh.fsnet.co.uk wrote: Repeat test: trivkins == no problem taperkins (this commented-out, stripped down version http://pastebin.ca/1888653 ) Stepgen.0.position-fb drifts steadily up despite the fact that stepgen.0.position-cmd is zero. I think I am out

Re: [Emc-users] Strangeness with Kinematics module and stepgen.

2010-06-22 Thread Andy Pugh
... And it's OK with Gantrykins so the worry that it was a generic problem with any kinematics that starts up in joint mode is unfounded. -- atp -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad

Re: [Emc-users] Strangeness with Kinematics module and stepgen.

2010-06-22 Thread Andy Pugh
And in further news, it seems that kinematicsForwards does actually run from the instant EMC starts, even before the machine comes out of e-stop. So at least I know where to look now. -- atp -- ThinkGeek and WIRED's

Re: [Emc-users] Strangeness with Kinematics module and stepgen.

2010-06-22 Thread Andy Pugh
And it appears that deleting this line fixes the problem. I have absolutely no idea why. pos-c = atan2(sin(joints[4]), tan(joints[5])) It doesn't even refer to the troublesome join or axis. -- atp -- ThinkGeek and

[Emc-users] Gcode to DXF - NOT DXF to Gcode

2010-06-22 Thread Dave
What is the best way to generate a DXF file from Gcode? Dave -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list

Re: [Emc-users] Gcode to DXF - NOT DXF to Gcode

2010-06-22 Thread samco
A quick google search brought up this.. ( gcode to dxf) with the quotes http://www.cnczone.com/forums/showthread.php?t=8814 Don't know if it works. sam On Tue, 22 Jun 2010 19:53:50 -0400 Dave e...@dc9.tzo.com wrote: What is the best way to generate a DXF file from Gcode? Dave

[Emc-users] (no subject)

2010-06-22 Thread mingjun xie
Up to now £¬I had downloaded emc2_2.4.1¡£ How to use them I want to make new GUI with my language and style it is difficult to read every files that is time-consuming Ijust want to uesed my GUI sending command to emc2 how can i do that There are several folders in emc2_2.4.1 which code make them