mesa 7i96s analog spindle
- Philip Lydin
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
18 Nov 2024 02:15 #314711
by Philip Lydin
Replied by Philip Lydin on topic mesa 7i96s analog spindle
when i try to orient ( m19 r0 ) it speeds up to 1300 rpm which is the same rpm as when i command m3 s1000 and it doesnt do anything.
Attachments:
Please Log in or Create an account to join the conversation.
18 Nov 2024 03:20 - 18 Nov 2024 03:36 #314713
by PCW
Replied by PCW on topic mesa 7i96s analog spindle
Did you verify that the feedback is in the correct direction?
it does look like a runaway which would be expected if the feedback is reversed
Also for the orient PID I would set FF1 to 0 and P to say 10
so its easier to see whats happening and you don't get immediate
uncontrolled motion.
This loss of control/runaway may also be because orient PID output sign
does not change the spindle direction (that I can see)
it does look like a runaway which would be expected if the feedback is reversed
Also for the orient PID I would set FF1 to 0 and P to say 10
so its easier to see whats happening and you don't get immediate
uncontrolled motion.
This loss of control/runaway may also be because orient PID output sign
does not change the spindle direction (that I can see)
Last edit: 18 Nov 2024 03:36 by PCW.
Please Log in or Create an account to join the conversation.
- Philip Lydin
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
18 Nov 2024 13:34 #314752
by Philip Lydin
Replied by Philip Lydin on topic mesa 7i96s analog spindle
now it stops and then slowly starts ramping up until 1300rpm. how would i change the direction of the feedback?
Please Log in or Create an account to join the conversation.
- Philip Lydin
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
18 Nov 2024 13:38 #314753
by Philip Lydin
Replied by Philip Lydin on topic mesa 7i96s analog spindle
i did just reaverse the spindle direction which i suppose would do the same but it didnt make a differance.
Please Log in or Create an account to join the conversation.
18 Nov 2024 15:03 #314758
by PCW
Replied by PCW on topic mesa 7i96s analog spindle
Is the spindle direction controlled by the sign
of the orient PID output when in orient mode?
Is the encoder scaling correct? (position advances by 1.00
for each forward turn of the spindle)
of the orient PID output when in orient mode?
Is the encoder scaling correct? (position advances by 1.00
for each forward turn of the spindle)
Please Log in or Create an account to join the conversation.
- Philip Lydin
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
18 Nov 2024 15:25 #314761
by Philip Lydin
Replied by Philip Lydin on topic mesa 7i96s analog spindle
i made some changes and it kind of works but the orientation is super slow and it cant orient in clockwise direction. maybe you have some more ideas, and yes the scaling is correct
Attachments:
Please Log in or Create an account to join the conversation.
18 Nov 2024 15:38 #314764
by PCW
Replied by PCW on topic mesa 7i96s analog spindle
This signal:
net spindle-ccw => hm2_7i96s.0.ssr.00.out-00
Would need to come from the sign of the orient PID output
for orient to work in both directions (this likely requires
a mux2 and an absolute component added)
net spindle-ccw => hm2_7i96s.0.ssr.00.out-00
Would need to come from the sign of the orient PID output
for orient to work in both directions (this likely requires
a mux2 and an absolute component added)
Please Log in or Create an account to join the conversation.
- Philip Lydin
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
19 Nov 2024 00:10 #314811
by Philip Lydin
Replied by Philip Lydin on topic mesa 7i96s analog spindle
now the orientation works well but still no closed loop spindle control. at 1000rpm commanded it rotates 2600 rpm and that matches what i can see in halshow.
Attachments:
Please Log in or Create an account to join the conversation.
19 Nov 2024 00:30 #314814
by PCW
Replied by PCW on topic mesa 7i96s analog spindle
You might take the feedback out of the spindle mode system for debugging
by setting the velocity PID parameters all to 0 except FF0=1.0
by setting the velocity PID parameters all to 0 except FF0=1.0
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds