mesa 7i96s analog spindle

More
18 Jul 2024 17:40 #305583 by Philip Lydin
I have a vfd that is controlled by +/-10V signal without a fwd or rev pin. My question is if it still works with the 7i96s because in my understaning it support negative voltage but i needs a fwd and rev pin. so if i use +/-10V then 0V would be 50% max speed and -10V would be 0rpm. Am i right or is it possible so -10V i max rpm ccw and 10v is max rpm cw. 

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

More
18 Jul 2024 17:47 #305584 by PCW
Replied by PCW on topic mesa 7i96s analog spindle
Its possible but a bit awkward as it requires +10 and -10V power supplies
Is there a separate spindle enable input? This would be necessary as
the power up state would be with the output at -10V.

It might be easier to use an isolated 10V/12V supply so you get a 0-+10V output
and reverse the output with a DPDT relay.
 

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

More
18 Jul 2024 22:56 #305601 by Philip Lydin
I have a +/-15v power supply. is it possible to use that? yes it has a spindle enable input.

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

More
18 Jul 2024 22:58 #305602 by PCW
Replied by PCW on topic mesa 7i96s analog spindle
No, the maximum voltage from SPIN- to SPIN+ is 20V
You could use +15 and a DPDT relay

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

More
20 Jul 2024 14:17 #305706 by Philip Lydin
so when the relay is activated it acts like a reverse pin and it switches the polarity to the vfd? the vfd is only +/-10V so can i put ends stops in the mesa card so it only puts out 10v maximum or will i do a calibration?

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

More
20 Jul 2024 14:42 #305707 by PCW
Replied by PCW on topic mesa 7i96s analog spindle
Yes, you would do this with scaling

Note that the external power supply must be isolated.

A small 12V wall adapter would work also
 

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

More
11 Nov 2024 18:27 - 11 Nov 2024 18:44 #314270 by Philip Lydin
i got it to spin now open loop but when i tried to add a encoder with closed loop control but when i try to get it to go a speed it goes full speed like it thinks that it doesnt move since when i write m3 s0 i doesnt do anything. how would i test to se if the encoder mesa card is receiving the encoder pulses?
 

File Attachment:

File Name: 7i96s.ini
File Size:4 KB
 

File Attachment:

File Name: 7i96s.hal
File Size:11 KB
Attachments:
Last edit: 11 Nov 2024 18:44 by Philip Lydin.

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

More
11 Nov 2024 19:01 #314273 by PCW
Replied by PCW on topic mesa 7i96s analog spindle
You can just turn the spindle by hand to check encoder counting,
direction, and scale (one forward turn should advance the encoder
position by 1.00)

Your hal/ini examples do not include the needed PID component/
connections/constants. Also note the the encoder feedback must come
from the -rpm pin as the plain encoder velocity will be in RPS.
 

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

More
17 Nov 2024 23:45 #314705 by Philip Lydin
im trying to do orientation but cant get nothing to work. the encoder is working but still it isnt closed loop and no orientation what so ever. hopefully you can see something wrong in my files haha.

File Attachment:

File Name: 7i96s_2024-11-17.hal
File Size:12 KB

File Attachment:

File Name: 7i96s_2024-11-17.ini
File Size:5 KB
Attachments:

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

More
18 Nov 2024 00:04 #314706 by PCW
Replied by PCW on topic mesa 7i96s analog spindle
May need someone familiar with spindle orientation
to debug this but the orient P and FF1 terms do seem
very high.

What happens when orient is attempted?

dumping all orient related pins/signals may help

So when you do an orient operation, run this command:

halcmd show all  | grep orient

 (in a terminal)

or

halcmd show all  | grep orient > orient.txt

and post orient.txt here



 

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

Moderators: PCWjmelson
Time to create page: 0.077 seconds
Powered by Kunena Forum