eccentric turning

More
02 Dec 2018 12:22 #121710 by andypugh
Replied by andypugh on topic eccentric turning

Rod, I was thinking that as I watched the cutting action, it's not far off how a gear could be produced.


I am pretty sure that you couldn't do a gear that way, unless you want to grind a tool with a 70 degree relief angle...

You do seem to have made a serviceable rose-engine though.

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

More
05 Mar 2020 23:31 - 05 Mar 2020 23:40 #159292 by alkabal
Replied by alkabal on topic eccentric turning
Hi

I like to do some test with the opa but i don't understand what is needed to change inside the subroutine circles.ngc for replace axis C for use spindle angle as starting value. (line 26 from attached file)

Something i'm unsure : this component allow to do polygon, what is needed to use for doing something like the video ?

Br
Attachments:
Last edit: 05 Mar 2020 23:40 by alkabal.

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

More
06 Mar 2020 09:51 #159305 by andypugh
Replied by andypugh on topic eccentric turning
What do you mean by "opa"?

The original video (from 7 years ago) used a HAL component to offset the X axis by an amount calculated from the spindle position.
The shape is not generated in G-code, and there is no C axis. So I am very unclear how your question relates to the start of this thread.

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

More
06 Mar 2020 10:35 - 06 Mar 2020 10:57 #159314 by alkabal
Replied by alkabal on topic eccentric turning
I appologize you are right.

My message is about polygon
opa.ini Offset per Angle

Demonstrates external offsets using the
hal component: eoffset_per_angle.

A simulation for an XZC machine offsets
the transverse (X) coordinate based on
the rotary coordinate (C) angle.

($ man eoffset_per_angle for more info)

Usage:
  1) Estop OFF  (F1)
  2) Machine ON (F2)
  3) HOME All   (Ctrl-Home)
  4) Run        (R)
  5) Enable/Disable offsets using pyvcp
     panel On/Off buttons
  6) Select parameters:
       Astart ----- starting angle
       fmult ------ frequency multipler
       rfraction -- amplitude (radius fraction)
       func ------- function
                    0  polygon (inside)
                    1  polygon (outside)
                    2  sine wave
                    3  square wave

Notes:

1) The effective radius used for computing
   external offsets is set using the
   motion.analog-out-00 hal pin and 
   controlled by the sample program or
   by MDI ( M68 E0 Q some_radius_value )

2) Offset fidelity is dependent upon inifile
   settings for [AXIS_X] items:
     MAX_VELOCITY
     MAX_ACCELERATION
     OFFSET_AV_RATIO

I will recheck the start of this topic.


edit ok now understanding the first things is oval.comp i will try this asap
Last edit: 06 Mar 2020 10:57 by alkabal.

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

More
06 Mar 2020 13:35 #159328 by andypugh
Replied by andypugh on topic eccentric turning
Bear in mind that external-offsets did not exist at the start of this thread, so the oval.comp is probably doing a lot more than necessary.

You probably want:
linuxcnc.org/docs/2.8/html/man/man9/eoffset_per_angle.9.html

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

More
06 Mar 2020 23:38 #159353 by alkabal
Replied by alkabal on topic eccentric turning
Well

This component i have copy past from sim config

I'm thinking about how to use it outside of the pyvcp panel, i think no gcode can call this and also no post process is available for this stuff.

Did you think like me and the goal is add another tab in the lathe-macro ? (maybee two tabs for separate polygon and wave)

Or how do you use it ?


Attachments:

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

More
06 Mar 2020 23:51 #159354 by andypugh
Replied by andypugh on topic eccentric turning

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
07 Mar 2020 00:49 #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
19 Mar 2020 18:32 - 19 Mar 2020 18:35 #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
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: 19 Mar 2020 18:35 by alkabal.

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

More
19 Mar 2020 18:51 #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.

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