eccentric turning

More
19 Mar 2020 20:36 #160772 by alkabal
Replied by alkabal on topic eccentric turning
I have also :

net spindle-pos-deg      <= orient.orient-spindle.angle-scaled-out # degree position from 0/360 (only positive value)
net spindle-orient-degree-cmd <= spindle.0.orient-angle
net spindle-orient-degree-cmd => orient.orient-spindle.angle

Attached you can found my hal and ini
Attachments:

Please Log in or Create an account to join the conversation.

More
22 Mar 2020 02:31 #161056 by alkabal
Replied by alkabal on topic eccentric turning
Hi

I'm trying to understand the process, this require to link this HAL value from macro to HAL the problem is i don't found some exemple, your original lathemacro pass the value to ocode subroutine.
#net spindle-pos-deg  => eoffset_per_angle.Xeoffset.angle
net spindle-pos      => eoffset_per_angle.Xeoffset.angle
net Xeoffset-radius-ref     => eoffset_per_angle.Xeoffset.radius-ref
net Xeoffset-enable-in      => eoffset_per_angle.Xeoffset.enable-in
net Xeoffset-fnum           => eoffset_per_angle.Xeoffset.fnum
net Xeoffset-rfraction      => eoffset_per_angle.Xeoffset.rfraction
net Xeoffset-fmult          => eoffset_per_angle.Xeoffset.fmult
net Xeoffset-start-angle    => eoffset_per_angle.Xeoffset.start-angle

-It is possible from ocode to update HAL pin ?
Or
-it is possible from macro.ui to change HAL value before send ocode ?
Or
-need to use other way like a remap/add new Gcode to interpreter ?
Or
- What did you think ?


The goal is mostly to allow me to easily turn some eccentric screw. (polygon is also something i like to be possible to do)



Br
Attachments:

Please Log in or Create an account to join the conversation.

More
25 Mar 2020 13:28 #161426 by andypugh
Replied by andypugh on topic eccentric turning

alkabal wrote: -It is possible from ocode to update HAL pin ?

Yes.

-it is possible from macro.ui to change HAL value before send ocode ?

Yes.

Please Log in or Create an account to join the conversation.

Moderators: piasdom
Time to create page: 0.137 seconds
Powered by Kunena Forum