Orient
18 Jan 2023 02:38 #262312
by spumco
And another thing...
The remap.py might not be good-to-go. There've been some changes in LCNC remap files over the past year or two, and I still need to compare my 'old' remap.py - especially the stdglue.py - to the most current version.
Was planning on doing that later tonight or tomorrow.
The remap.py might not be good-to-go. There've been some changes in LCNC remap files over the past year or two, and I still need to compare my 'old' remap.py - especially the stdglue.py - to the most current version.
Was planning on doing that later tonight or tomorrow.
Please Log in or Create an account to join the conversation.
18 Jan 2023 02:41 #262313
by spumco
Amen.
I really, really want to understand his stuff, but the YT translator is horrible. I can get the gist, but that's not quite good enough for really understanding.
If only I would have a better understanding of German language...
Amen.
I really, really want to understand his stuff, but the YT translator is horrible. I can get the gist, but that's not quite good enough for really understanding.
Please Log in or Create an account to join the conversation.
18 Jan 2023 14:07 #262342
by spumco
I checked and my stdglue.py file is essentially identical to the latest version in the LCNC code under configs/examples/remap. Mine just has everything but the M6 remap sections commented out.
The Probe Basic sim version of stdglue.py is based on an older version; it's not in the zip file I sent but figured I'd mention it in case you go looking for it.
The Probe Basic sim version of stdglue.py is based on an older version; it's not in the zip file I sent but figured I'd mention it in case you go looking for it.
Please Log in or Create an account to join the conversation.
19 Jan 2023 23:57 #262446
by alkabal
Hi
Some times ago i have start to work on something more powerfull for orient, this is really unperfect but work not so bad.
At same time i have write a component for help to configure spindle with relative/absolue drive for reverse direction that also make a more easy orient config.
forum.linuxcnc.org/10-advanced-configura...nent-revised?start=0
The code online is not up to date but if someone ask i can add to github colaborator.
I'm sure many things need review from more advanced coder.
function _ "Provide a way for wait spindle slow done before change direction or before stopping";
author "alkabal";
description """
This component have configurable pin for use speed as Absolue or Relative
Provide a way for use acceleration/deceleration and limit spindle max min rpm
Also include built in lowpass for speed filtering and near for spindle at speed for simpler hal config
Add a velocity feedback lowpass as absolue
Other benefit are for decrease "FW/REV relay" usage that stay in last position after stop
Include retarded enable output for waiting relay toggling before enable drive
Work with Analog/PWM "+-10V drive" or "0/10V drive" and other voltage off course.
Allow to use retarded relay for swapp motor wire or provide the output needed for direction setting for some drive
Now also add a way for preventing spindle to start if probe is conneced
""";
Some times ago i have start to work on something more powerfull for orient, this is really unperfect but work not so bad.
At same time i have write a component for help to configure spindle with relative/absolue drive for reverse direction that also make a more easy orient config.
forum.linuxcnc.org/10-advanced-configura...nent-revised?start=0
The code online is not up to date but if someone ask i can add to github colaborator.
I'm sure many things need review from more advanced coder.
function _ "Provide a way for wait spindle slow done before change direction or before stopping";
author "alkabal";
description """
This component have configurable pin for use speed as Absolue or Relative
Provide a way for use acceleration/deceleration and limit spindle max min rpm
Also include built in lowpass for speed filtering and near for spindle at speed for simpler hal config
Add a velocity feedback lowpass as absolue
Other benefit are for decrease "FW/REV relay" usage that stay in last position after stop
Include retarded enable output for waiting relay toggling before enable drive
Work with Analog/PWM "+-10V drive" or "0/10V drive" and other voltage off course.
Allow to use retarded relay for swapp motor wire or provide the output needed for direction setting for some drive
Now also add a way for preventing spindle to start if probe is conneced
""";
Please Log in or Create an account to join the conversation.
20 Jan 2023 00:04 #262447
by alkabal
A sim config is available here :
forum.linuxcnc.org/10-advanced-configura...ised?start=80#210991
forum.linuxcnc.org/10-advanced-configura...ised?start=80#210991
Please Log in or Create an account to join the conversation.
24 Jan 2023 21:17 #262834
by Benb
Hello John,
I have attached two files, a hal file and a Visual-LinuxCNC file to help you decipher the use of orient component. You would need to tune the orient PID loop, once that's done tweak the OFF time delay of timer parameter for smooth transition. You would also tweak the offset component offset parameter and the orient tolerance parameter for accurate positioning of the spindle. The rest is the usual spindle stuff ie: fwd, rvr, break, on, off, near and soft start.
Hope this will get you started on the right direction.
Ben
I have attached two files, a hal file and a Visual-LinuxCNC file to help you decipher the use of orient component. You would need to tune the orient PID loop, once that's done tweak the OFF time delay of timer parameter for smooth transition. You would also tweak the offset component offset parameter and the orient tolerance parameter for accurate positioning of the spindle. The rest is the usual spindle stuff ie: fwd, rvr, break, on, off, near and soft start.
Hope this will get you started on the right direction.
Ben
The following user(s) said Thank You: JT
Please Log in or Create an account to join the conversation.
Time to create page: 0.157 seconds