eccentric turning

More
6 years 7 months ago #159354 by andypugh
Replied by andypugh on topic eccentric turning

alkabal wrote: Or how do you use it ?


Normally, I don't. It has always mainly been a proof-of-concept. ( here is a more extreme and complicated version)
It is installed in my lathe HAL, but the only way to set the parameters is with G-code outputs (M68). I don't use it enough to need a PyVCP or Glade panel for it.

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

More
6 years 7 months ago #159360 by alkabal
Replied by alkabal on topic eccentric turning
This is crazy !

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

More
6 years 7 months ago - 6 years 7 months ago #160763 by alkabal
Replied by alkabal on topic eccentric turning
Hi

I like to try doing a gladevcp panel like you done for macro.

I think the staring point is converting the C axis used by sim config for use the spindle angle but for now i really don't understand how to start. Sim is not enough i need to see real machine working (without stock for starting :laugh: ).

In the parameters manual i see nothing about some _spindle_angle, but they are available from HAL
Code:
net spindle-pos <= [HMOT](CARD0).encoder.00.position net spindle-pos => spindle.0.rev

It is a job for some special feature version ?

Attached file needed by the sim config, any help are really welcome

Br

Ps : i appologize if you better like creating a new topic ?
Last edit: 6 years 7 months ago by alkabal.

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

More
6 years 7 months ago #160764 by andypugh
Replied by andypugh on topic eccentric turning
"some_spindle_angle" was meant to be an obvious placeholder for an actual HAL signal as I have no way to know what your HAL file uses for the spindle angle signal. Though now it appears that your HAL uses spindle-pos.

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

More
6 years 7 months ago #160772 by alkabal
Replied by alkabal on topic eccentric turning
I have also :

Code:
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

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

More
6 years 7 months ago #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.
Code:
#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

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

Time to create page: 0.149 seconds
Powered by Kunena Forum