Orient

More
18 Jan 2023 02:38 #262312 by spumco
Replied by spumco on topic Orient
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.

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

More
18 Jan 2023 02:41 #262313 by spumco
Replied by spumco on topic Orient

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.

More
18 Jan 2023 13:12 #262336 by JT
Replied by JT on topic Orient
Thanks for all the info, it will take me a while to digest it all.

JT

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

More
18 Jan 2023 14:07 #262342 by spumco
Replied by spumco on topic Orient
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.

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

More
19 Jan 2023 23:57 #262446 by alkabal
Replied by alkabal on topic Orient
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
""";

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

More
20 Jan 2023 00:04 #262447 by alkabal
Replied by alkabal on topic Orient
The following user(s) said Thank You: spumco, JT

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

More
20 Jan 2023 13:41 #262489 by JT
Replied by JT on topic Orient
That config has multiple errors and does not run :(

JT

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

More
21 Jan 2023 12:10 #262572 by alkabal
Replied by alkabal on topic Orient

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

More
24 Jan 2023 21:17 #262834 by Benb
Replied by Benb on topic Orient
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
Attachments:
The following user(s) said Thank You: JT

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

More
24 Jan 2023 21:23 #262835 by Benb
Replied by Benb on topic Orient
oops I noticed a booboo in the hal file I have pid.0 and parameters set fort pid 5. They both should be pid.5 if you are using 7i77 if not set the pid number to correspond to your system. You probably have to change the component suffix to suit your system.

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

Time to create page: 0.172 seconds
Powered by Kunena Forum