We ran into this problem today in the 2.5 branch we are using (and it is also 
in 2.4.7).  It is REALLY bad when our Z-axis tries to move at 1500ipm when we 
have have it defined to go no faster than 500ipm.
Can this fix be added to 2.5?    Or alternatively, how would I apply this patch 
(to what?)?

Tom

Begin forwarded message:

> From: "Frank Tkalcevic" <fr...@franksworkshop.com.au>
> Subject: [Emc-developers] Patch: Jog Speed exceeds axis MAX_VELOCITY
> Date: October 31, 2011 7:58:41 PM EDT
> To: "EMC developers" <emc-develop...@lists.sourceforge.net>
> Reply-To: EMC developers <emc-develop...@lists.sourceforge.net>
> 
> I posted this in the emc-users group because I thought it was a
> configuration problem, but it appears to be a software issue.
> 
> This only happens on a gantry system.
> 
> When axis starts, emc is in EMC_TRAJ_MODE_FREE, meaning all axis can be
> jogged freely.  axis uses the EMC_AXIS_JOG command which checks that the
> requested velocity does not exceed the MAX_VELOCITY value in [AXIS_n]
> 
> With a gantry, emc starts in EMC_TRAJ_MODE_FREE, but after it has been
> homed, it moves into EMC_TRAJ_MODE_TELEOP.  axis will now jog using the
> SetTeleopVector command by specifying the velocity as the current jog
> velocity, or, if shift is being pressed, [TRAJ]MAX_VELOCITY.  
> 
> This is the first issue - axis does not look at the [AXIS_n] max velocities
> when jogging in teleop mode.  
> 
> However, I feel the real problem is that there is no MAX_VELOCITY checking
> when executing the emcTrajSetTeleopVector() function.
> 
> So this patch addresses this by restricting the velocity in a teleop vector
> command to the values of [AXIS_n]MAX_VELOCITY.
> 
> I don't know how else TELEOP mode is used, or if this can cause other
> issues.  Or if the axis number mappings may cause other issues.  The new
> methods, setPoseByAxis and getPoseByAxis could also be move to a more
> general place. (C++ member would be better)
> 
> Frank
> ------------------------------------------------------------------------------

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to