Orient Spindle question

More
4 years 11 months ago #225722 by 0x2102
Replied by 0x2102 on topic Orient Spindle question
Hello,

can you attach your working HAL prior to the spindle orient changes? Your basic HAL where you have M3 / M4 working.
The following user(s) said Thank You: Pro_El

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

More
4 years 11 months ago #225875 by Pro_El
Replied by Pro_El on topic Orient Spindle question
Thank you a lot Markus for trying to help me.
 Here is my working hal file created with pncconf and linuxcnc 2.8
Thanks a lot again!

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

More
4 years 11 months ago #226156 by 0x2102
Replied by 0x2102 on topic Orient Spindle question
I will try to take a look over the weekend.
The following user(s) said Thank You: Pro_El

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

More
4 years 11 months ago #226380 by Pro_El
Replied by Pro_El on topic Orient Spindle question
Thank you Markus for your help. I am lost with this ..

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

More
4 years 11 months ago - 4 years 11 months ago #226800 by 0x2102
Replied by 0x2102 on topic Orient Spindle question
Ok, it took a bit longer. I also tried to clean up a few things in my config. That said, that could mean that I introduced new problems or missing connection.

Add this to your ini under section [SPINDLE_0]

[SPINDLE_0]
ACCELERATION      = 500    
SPEED_ERROR     = 30
POS_ERROR     = 0.001
OFF_DELAY        = 3
ORIENT_OFF_DELAY = 0.4
ORIENT_TOLERANCE = 1

You can then tune some of these settings to your liking. Let me know if you have any issues. 

File Attachment:

File Name: CNC_2021-1...ient.hal
File Size:22.8 KB
Last edit: 4 years 11 months ago by 0x2102.

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

More
4 years 11 months ago #227310 by Pro_El
Replied by Pro_El on topic Orient Spindle question
Thanks a lot for your help Markus,

I found a way to make it working with ladder and when tool prepare pin goes active i connect encoder of spindle with my analog output of he spindle. With simple math i can zero it at every position i like. It keep it blocked position because every deviation from that point gives analog autput to keep the position. Work very well for me.
Thanks again for your help.
Random tool changer successfully finished.

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

Time to create page: 0.142 seconds
Powered by Kunena Forum