Re: [Emc-users] Following error joint 2

2008-08-07 Thread Rob Jansen
Andy,


> could it be that my z-axis is too slow for a certain movement? i think the
> errors
> happen on g0 commands after about 40mm of movement. if there is a time
> constraint, the software could trap into a timeout and answer with a
> following
> error - but, to be hounest, this sounds ridiculous to me...


Is the error signal output of the Whale2 connected back to EMC2?
If this is true then yes, you may detect that the Z-axis is too slow for
certain movement.

What happens if you use a G1 command with the same movement?
Try to increase the feed rate until you hit the max. velocity.

If the error output is fed back to EMC2, then on a G0 move the motor will
start and use the acceleration set in your ini file to reach the max.
velocity.
Now, if the max. velocity is too high the motor cannot follow the programmed
movement andthe error output of the Whale2 is pulled low and that triggers a
following error.
Also, if the acceleration is too high you run into the same situation.

on the other hand, can some high interrupt latency cause the problem?
> i know i have one with that epia-v motherboard - but as long as i don't
> move any windows...
> i've a new (old) vga card ready, this will be my next test for the latency
> problem tomorrow.
>


Ah, I tested with an EPIA board also - If I remember well a V1 (a 1 GHz
board).
I did not have much luck with that one,  after configuring it for my basic
mill (stepper motor drive, no encoders, position or error feedback) I had
lots of following errors. This is due to the fact that the embedded video is
snooping too much time of the processor and then EMC2 is not able to produce
the step pulses fast enough.
I do not remember if I tried this board with a VGA card, I do remember
trying an ASUS M2A-VM with both the embedded VGA and a PCI-VGA card but I
had no luck with that system.

If possible try another board. In the end I discovered that my older Compaq
(Athlon XP 2600+ with 768 MB) delivers almost the same real-time response as
my brand new Asus Striker-Extreme with Core Quad 6600 with 4 GB. There is of
course a difference when you start playing doom with EMC2 running (you're
doomed if you try ;-) )
Take any, almost any, board without embedded video to create a system being
more stable than the EPIA.

Rob

P.s: Don't get me wrong. The EPIA is a very good board, I have 2 EPIA boards
running web servers with scripting, SQL server and subversion server for 7
years now and they never failed on me (except for that one time where Typo3
went berserk ), it's just not "EMC friendly".
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following error joint 2

2008-08-07 Thread Jon Elson
Jeff Epler wrote:
> Ubuntu is different than BDI.  BDI is an older customized linux
> distribution created before Ubuntu became popular.
> 
> We now encourage all new users to use Ubuntu 8.04 unless its minimum
> requirements are too great; in that case, use 6.06 but be aware that it
> won't receive updates as long as 8.04 will.
He is using a recent EMC2 distro.  ONLY his TEST G-CODE file 
came from BDI, and that should work fine.  But, it may be asking 
for more velocity that his ini file max velocity and step pulse 
resolution allows.

Jon

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Teach-in.

2008-08-07 Thread Bjørn Kristiansen
where did you find the teach-in function? i have a kind of robot where
that would have been wery helpfull to program the moves, i was thinking
aboat how i could make that kind of programming possible, and was not
aware that someone already has been working with someting like that.

Bjørn. :)

ti., 29.07.2008 kl. 18.02 -0400, skrev Organic Engines:
> Hi,
> 
>   Has anyone used teach-in, the jog to gcode function that comes with EMC?
> 
>   I can't find a man page or any info on it.
> 
>   Take Care,
>   Dan
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following error joint 2

2008-08-07 Thread Jeff Epler
On Thu, Aug 07, 2008 at 10:12:06PM +, Andi Frommel wrote:
> well, i don't think it's that old
> if i'm not wrong, then it's this one:
> 
> # MD5 checksums generated by MD5summer (http://www.md5summer.org)
> # Generated 10.07.2008 13:26:39
> d2334dbba7313e9abc8c7c072d2af09c *ubuntu-7.10-desktop-i386.iso

Ubuntu is different than BDI.  BDI is an older customized linux
distribution created before Ubuntu became popular.

We now encourage all new users to use Ubuntu 8.04 unless its minimum
requirements are too great; in that case, use 6.06 but be aware that it
won't receive updates as long as 8.04 will.

Jeff

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Xylotex vs Keling Inc stepper CNC kits

2008-08-07 Thread Jeff Epler
I use the Xylotex 3-axis kit http://www.xylotex.com/3AxWPS.htm with my
small router and I'm satisfied.

However, I don't run with very high current -- the motors are rated 2A
which is already fairly low but I've found that running them at under
1.5A doesn't actually reduce top speeds but does make the motors run
much cooler when the machine is stopped.

The xylotex datasheet provides the values required to properly configure
emc's step timings (step length, step space, direction setup and hold).
The keling datasheet does not.  So you'll face some trial and error
there.

Jeff

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following error joint 2

2008-08-07 Thread Andi Frommel
well, i don't think it's that old
if i'm not wrong, then it's this one:

# MD5 checksums generated by MD5summer (http://www.md5summer.org)
# Generated 10.07.2008 13:26:39
d2334dbba7313e9abc8c7c072d2af09c *ubuntu-7.10-desktop-i386.iso

i've downloaded the newest ubuntu-8.04-desktop-emc2-aj07-i386.iso but cannot 
install.
my controller has 256MB but the installer still denies with a memory error...
I've been thinking on trying the emc2.2.2-1-ubuntu6.06-desktop-i386.iso as a 
alternative.

could it be that my z-axis is too slow for a certain movement? i think the 
errors
happen on g0 commands after about 40mm of movement. if there is a time
constraint, the software could trap into a timeout and answer with a following
error - but, to be hounest, this sounds ridiculous to me...

on the other hand, can some high interrupt latency cause the problem?
i know i have one with that epia-v motherboard - but as long as i don't move 
any windows...
i've a new (old) vga card ready, this will be my next test for the latency 
problem tomorrow.

rgs andy


Ursprüngliche Nachricht
Von: [EMAIL PROTECTED]
Datum: 07.08.2008 23:35
An: <[EMAIL PROTECTED]>, "Enhanced Machine Controller 
(EMC)"
Betreff: Re: [Emc-users] Following error joint 2

I could be wrong, but I think the BDI is a REALLY old version of emc.  I
would try to download the newest version and go through the stepconf wizard
to set up your pins on the parport, and then try running the g code again.

On Thu, Aug 7, 2008 at 9:57 PM, Andi Frommel <[EMAIL PROTECTED]>wrote:

> hi folks
>
> i'm new to this...
> new to cnc
> new to emc2
> new to linux
>
> since i've almost finished a conversion of a desktop micro mill, i tried
> some of the example g-code files installed from the bdi.
>
> i use brushed dc motors together with whale2 drivers in
> step/dir mode.
> so far so good - but sometimes i get a following error joint 2
> (which is my z-axis).
>
> emc2 does not actually know the position of the axis in that
> mode (i assume)  'cos it continues anyway even if one of the drivers
> switches off due to a following error.
>
> that's why i want to ask you if you can help me with this nasty error
> which stops all movements.
> the error repeats every time when executing the same line in the g-code.
>
> thanks for your help
> andy



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following error joint 2

2008-08-07 Thread Jeff Epler
When emc shows the "following error on joint" message for a
step&direction system, that means the system is misconfigured.  There
are two main causes for this error:

Cause 1: Insufficient "headroom" for acceleration and/or velocity.

Emc2 defines velocity and acceleration limits in both the trajectory
planner and in the step generator.  It's necessary to make the step
generator's limits just a bit higher than the trajectory planner's, or
you get a following error.

If you used stepconf to generate your configuration file, then you have
encountered a bug that will be fixed in the next release when you re-run
stepconf and regenerate your configuration files.

Until then, or if you did not use stepconf to generate your
configuration files, simply open up the .ini file in a text editor,
find the [AXIS_2] section, and for any line that starts "STEPGEN_MAXVEL"
or "STEPGEN_MAXACCEL", increase that number by 10%.  If this fixes the
problem, then you're done.  If not, maybe you have the second cause of
"following error"


Cause 2: Your step rate in steps per second is too high

There is a top limit to the number of steps per second that emc can
produce.  This is directly related to the BASE_PERIOD, which is the time
in nanoseconds between updates to the parallel port.  Unless you have
really large "step length" or "step space" values, then the maximum
number of steps per second is either 10/BASE_PERIOD or
5/BASE_PERIOD, depending whether the "doublestep" technique is
used.  (If you used stepconf to generate your configuration file, then
your configuration file uses the "doublestep" technique)

If you used stepconf to generate your configuration file, then you have
encountered a bug that will be fixed in the next release when you re-run
stepconf and regenerate your configuration files.

Until then, if you used stepconf, run it again and on the "basic machine
information" page note the value shown for "max step rate" in Hz.  On
the Z Axis Configuration page, note the value shown for "Pulse rate at
max speed".  Change the Maximum Velocity until this number is 10% below
the "max step rate" from the earlier page.

If you did not use stepconf, then in your inifile find the
[AXIS_2]MAX_VELOCITY line and decrease the value until you no longer
encounter the error.  Or you can do it based on the calculation 
MAX_VELOCITY = .90 * 5 / SCALE / BASE_PERIOD
using the SCALE value from the [AXIS_2] section and the BASE_PERIOD
value from the [EMCMOT] section.



The other problem you mention is that emc doesn't detect that the servo
amp has tripped out due to an error.  If your servo drive has a fault or
error output suitable for connection to a parall port input pin, you can
make emc aware of these errors.  For example, if you arrange to have a
HIGH logic level on parallel port pin 10 when the Z-axis amplifier is in
an error condition and a LOW logic level otherwise, then you can add a
line like the following to your .hal file:
net Zfault parport.0.pin-10-in => axis.2.amp-fault-in
If you generated your configuration file with stepconf, then put this in
your 'custom.hal' file.  When the fault signal is seen, emc will go to
"machine off" mode.

Jeff

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Following error joint 2

2008-08-07 Thread Jim Coleman
I could be wrong, but I think the BDI is a REALLY old version of emc.  I
would try to download the newest version and go through the stepconf wizard
to set up your pins on the parport, and then try running the g code again.

On Thu, Aug 7, 2008 at 9:57 PM, Andi Frommel <[EMAIL PROTECTED]>wrote:

> hi folks
>
> i'm new to this...
> new to cnc
> new to emc2
> new to linux
>
> since i've almost finished a conversion of a desktop micro mill, i tried
> some of the example g-code files installed from the bdi.
>
> i use brushed dc motors together with whale2 drivers in
> step/dir mode.
> so far so good - but sometimes i get a following error joint 2
> (which is my z-axis).
>
> emc2 does not actually know the position of the axis in that
> mode (i assume)  'cos it continues anyway even if one of the drivers
> switches off due to a following error.
>
> that's why i want to ask you if you can help me with this nasty error
> which stops all movements.
> the error repeats every time when executing the same line in the g-code.
>
> thanks for your help
> andy
>
>
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Following error joint 2

2008-08-07 Thread Andi Frommel
hi folks

i'm new to this...
new to cnc
new to emc2
new to linux

since i've almost finished a conversion of a desktop micro mill, i tried
some of the example g-code files installed from the bdi.

i use brushed dc motors together with whale2 drivers in
step/dir mode.
so far so good - but sometimes i get a following error joint 2
(which is my z-axis).

emc2 does not actually know the position of the axis in that
mode (i assume)  'cos it continues anyway even if one of the drivers
switches off due to a following error.

that's why i want to ask you if you can help me with this nasty error
which stops all movements.
the error repeats every time when executing the same line in the g-code.

thanks for your help 
andy




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Xylotex vs Keling Inc stepper CNC kits

2008-08-07 Thread Gene Heskett
On Thursday 07 August 2008, Sergey Izvoztchikov wrote:
>Another series of questions. As a newcomer to CNC world I have a lot
>of those.
>
>Looking at stepper based CNC kits, I eventually separated 2 leaders in
>my prospective of retrofitting to Sherline Mill -
>
>Xylotex 4 axis kit - http://www.xylotex.com/4AxSysKit.htm
>
>and
>
>Keling Inc 4 axis kit - http://www.kelinginc.net/FourXCNCPackage2.html
>
>I'm trying to see if one is better then other. They are very close. In
>fact stepper motors seem to be the same. Power Supply doesn't make huge
>difference, though Keling's one has higher amperage on specs. I'm not
>sure how big is the difference in motor drivers. Keling's ones seem to
>be more "powerful". I think biggest difference is in the level of
>integration between BOB and drivers. Xylotex has all in one board.
>Keling instead has BOB and all drivers separated. I believe Keling's
>approach has advantage of easier repair and replacement of modules.
>However Xylotex' integrated board could have advantages of all
>components placed closer together and less prone to possible
>noise/interference in wires.
>
>I would really like to hear about other pros and cons of each kit. Or
>even about other may be more capable kits. Any opinions would be
>greatly appreciated.
>
>Cheers
>
I personally use the xylotex, but built my own power supply.

The kelliginc seems like a more powerful deal until you get to the power 
supply, the 8.3 amp rating is fine, but the fact that its a switcher bothers 
me.  I tried to use a switcher here, but the motors throw enough currant back 
into the supply at the supply was doing random shutdowns, not conducive to 
making good parts at all.

At only 24 volts, you have little or no rapids advantage over the xylotex and 
its 24 volt analog supply which can absorb those reverse currents from the 
motors much better than the switch mode supply can.

If you leave out the supply, how does it compare pricewise with the xylotex, 
also without the supply, & then cobble up a 35 volt supply from the junk box?

That would almost be the best deal if you can build the supply yourself.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Adapt.  Enjoy.  Survive.
-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Who is W.O. Baker, and why is he saying those terrible things about me?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Xylotex vs Keling Inc stepper CNC kits

2008-08-07 Thread Sergey Izvoztchikov
Another series of questions. As a newcomer to CNC world I have a lot
of those.

Looking at stepper based CNC kits, I eventually separated 2 leaders in
my prospective of retrofitting to Sherline Mill - 

Xylotex 4 axis kit - http://www.xylotex.com/4AxSysKit.htm

and 

Keling Inc 4 axis kit - http://www.kelinginc.net/FourXCNCPackage2.html

I'm trying to see if one is better then other. They are very close. In 
fact stepper motors seem to be the same. Power Supply doesn't make huge
difference, though Keling's one has higher amperage on specs. I'm not 
sure how big is the difference in motor drivers. Keling's ones seem to 
be more "powerful". I think biggest difference is in the level of 
integration between BOB and drivers. Xylotex has all in one board. 
Keling instead has BOB and all drivers separated. I believe Keling's
approach has advantage of easier repair and replacement of modules.
However Xylotex' integrated board could have advantages of all 
components placed closer together and less prone to possible 
noise/interference in wires.

I would really like to hear about other pros and cons of each kit. Or
even about other may be more capable kits. Any opinions would be 
greatly appreciated.

Cheers



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users