HAL M19 Orient dont work

More
3 years 7 months ago #266688 by 0x2102
Replied by 0x2102 on topic HAL M19 Orient dont work
Remove the # you mentioned (spindle-sync) just to be safe.

Start LinuxCNC and monitor in HAL spindle.0.index-enable (should be true/on). Turn the spindle by hand until it's off to verify LinuxCNC can see the Index signal.

What are your Spindle PID settings (.ini)?

You can start with something like this:

[SPINDLE_0]
# PID Setting
P = 10
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0

Play with the P value. Decrease or increase and monitor the changes.

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

More
3 years 7 months ago #266694 by andypugh
Replied by andypugh on topic HAL M19 Orient dont work
This diagram shows how orient can be connected, and is also updated with the current spindle pin names.

wiki.linuxcnc.org/uploads/orient.svg

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

More
3 years 7 months ago #266710 by Stefan321
Replied by Stefan321 on topic HAL M19 Orient dont work
I have the index signal, I've tested it in the past, I've already drilled threads with the old config without compensation. but can still look up the exact name of the pin to rule out errors. thanks for the visual image of the pin assignment, I'll take a close look at it tomorrow.

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

More
3 years 7 months ago #266766 by Stefan321
Replied by Stefan321 on topic HAL M19 Orient dont work
so I adjusted my spindle today, it now runs wonderfully in speed mode. m19 position mode still not working. (G33.1 works) I tested. Index is there too.

The pins for Orient also work, except for Sync, and accordingly there is no pinout for Position Reached.

What I also noticed is the pen for
spindle.0.on <- not working spindle.1.on <- speed
Spindle.2.on <- position

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

More
3 years 7 months ago - 3 years 7 months ago #267074 by andypugh
Replied by andypugh on topic HAL M19 Orient dont work
How many spindles do you actually have?

And have you done any PID tuning of the position feedback loop?
Last edit: 3 years 7 months ago by andypugh.

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

More
3 years 7 months ago #267431 by Stefan321
Replied by Stefan321 on topic HAL M19 Orient dont work
Well, the last few days I unfortunately didn't have any time, today I looked at it again but still can't get any further. I adjusted the pid. but brings no improvement. In addition, when I make m19 r0, the spindle rotates abnormally high, I can adjust that somewhere. so the speed at m19? I also set the sync manual enable times. this signal then goes out after one revolution

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

Time to create page: 0.321 seconds
Powered by Kunena Forum