Dynomotion

Group: DynoMotion Message: 821 From: bob.burig Date: 12/29/2010
Subject: Enabling an axis
When trying to execute a simple move using DYNOMOTION Console, G Code tab, I get error that axis is not enabled (G Code Error Axis Disabled - GCode Aborted)
The move is:
G00 X200
Where do I enable the axis?
Group: DynoMotion Message: 824 From: bob.burig Date: 12/29/2010
Subject: Re: Enabling an axis
--- In DynoMotion@yahoogroups.com, "bob.burig" <bob.burig@...> wrote:
>
> When trying to execute a simple move using DYNOMOTION Console, G Code tab, I get error that axis is not enabled (G Code Error Axis Disabled - GCode Aborted)
> The move is:
> G00 X200
> Where do I enable the axis?
>
OK, I realize that I can enable an axis from the AXIS screen, but how do I enable an axis with G Code.
Group: DynoMotion Message: 825 From: Tom Kerekes Date: 12/29/2010
Subject: Re: Enabling an axis
Hi Bob,
 
Normally a C Program is used to completely initialize the system before running GCode.  The C program will configure all the settings of all the axes, enable all the axes, define which axes are used by the GCode coordinate system, and anything else required by your system (ie enable amplifiers).  This approach provides total flexibility on how to configure and initialize any system.  Once the C program is created using the KMotion.exe program it is no longer necessary to run KMotion.exe.   Any application such as KMotionCNC or Mach3 can completely configure and initialize your system just by running the C program.
 
The C statement below will Enable Axis 2 and set its destination to zero.
 
 EnableAxisDest(2,0);
 
The C statement below will configure Axis Channels 0, 1, 2 as GCode X,Y, and Z with axis A unused
 
 DefineCoordSystem(0,1,2,-1);
 
The Flash Video below might help understand the overall scheme of the process.
 
 
Regards
TK