- Posts: 43
- Thank you received: 0
mesa 7i96s analog spindle
- Philip Lydin
- Topic Author
- Offline
- Senior Member
-
Less
More
1 year 11 months ago #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.
Attachment not found
Please Log in to join the conversation.
1 year 11 months ago #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)
Please Log in to join the conversation.
- Philip Lydin
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 0
1 year 11 months ago #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 to join the conversation.
- Philip Lydin
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 0
1 year 11 months ago #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 to join the conversation.
1 year 11 months ago #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 to join the conversation.
- Philip Lydin
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 0
1 year 11 months ago #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
Attachment not found
Attachment not found
Please Log in to join the conversation.
1 year 11 months ago #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 to join the conversation.
- Philip Lydin
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 43
- Thank you received: 0
1 year 11 months ago #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.
Attachment not found
Please Log in to join the conversation.
1 year 11 months ago #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 to join the conversation.
Time to create page: 0.067 seconds
