So you mean it is not possible to change the behaviour? may it be possible 
 if i change the kinematics?

Am Montag, 15. Mai 2017 10:06:27 UTC+2 schrieb Schooner:
>
> This has always happened, in Linuxcnc before the fork to Machinekit.
> Because you are commanding a co-ordinate move, albeit one in degrees,
> the axis moves to that co-ordinate, by the shortest path
>
> The answer is often to use incremental moves (G91).
> Alternately even define the axis as linear and move a distance which 
> equates to a certain number of degrees.
> (I used the latter approach in a ATC toolchanger component I wrote, to 
> ensure the axis
> could not try to rotate in the wrong direction)
>
>
> On 14/05/17 17:33, Sag ich Dir nich wrote:
>
> Hello,  
>
> i need to change the behaviour of the Wrapped Rotary axis, now it is like:
>
> The Axis is at position C0
>
> G0C90 = goes the correct way to 90°
> G0C0 = turns 270° in the wrong direction, so i have to command G0C*-0* to 
> go -90° to position 0° in the correct direction (shortest path)
>
> and if i want to go from Position 0° to Position 359° i have to command 
> G0C-359. So i could change the positions of every line but i would probably 
> not do that because my Gcode can reach up to 300k lines (and that would 
> take for ever).
>
> Basically before i have to change my Postprocessor (which may not be easy 
> or even possible), i want to try and change the behaviour to go the 
> shortest path (if the *position is smaller* than the position of the *current 
> machine position*, for example the machine is at 10° and i command 180°, 
> the machine should move 170° in CW direction but if i command 200° the 
> machine should go CCW direction).
>
> The behaviour should look like this:
>
> The axis is at position C0
>
> i command *G0C10* (CW) and then *G0C0*
>
> the C axis should go the shortest Path, means 10° in CCW direction. 
>
> Can this behaviour changed in the Kinematics or is this a "parameter" of 
> Linuxcnc?
>
> Thanks in advance
> -- 
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
> https://github.com/machinekit
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> Visit this group at https://groups.google.com/group/machinekit.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to