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 machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to