Wiring VFD to MESA 7i96s
05 Apr 2024 09:56 #297635
by Xinokas
Wiring VFD to MESA 7i96s was created by Xinokas
Good morning, I have a Mesa 7i96s board and a VFD with the following pinout. I would like to know what the best option is for connecting one to the other.
Please Log in or Create an account to join the conversation.
05 Apr 2024 12:52 #297643
by PCW
Replied by PCW on topic Wiring VFD to MESA 7i96s
VFD 7I96S
10V TB2.24 SPINDLE+
AI1 TB2.23 SPINDLE OUT
ACOM TB2.22 SPINDLE-
DCOM TB3.24 OUT5B
REVERSE TB2.23 OUT5A
DCOM TB3.22 OUT4A
FORWARD TB3.21 OUT4A
10V TB2.24 SPINDLE+
AI1 TB2.23 SPINDLE OUT
ACOM TB2.22 SPINDLE-
DCOM TB3.24 OUT5B
REVERSE TB2.23 OUT5A
DCOM TB3.22 OUT4A
FORWARD TB3.21 OUT4A
Please Log in or Create an account to join the conversation.
05 Apr 2024 13:38 #297645
by Xinokas
Replied by Xinokas on topic Wiring VFD to MESA 7i96s
"Thank you very much for the prompt response. I've already connected everything, but I can't get the spindle to run on LinuxCNC. Can you help me with the HAL code?"
Please Log in or Create an account to join the conversation.
05 Apr 2024 14:02 #297646
by PCW
Replied by PCW on topic Wiring VFD to MESA 7i96s
Can you post your current hal/ini files?
Please Log in or Create an account to join the conversation.
05 Apr 2024 14:19 #297647
by Xinokas
Replied by Xinokas on topic Wiring VFD to MESA 7i96s
Sure, here they are.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
05 Apr 2024 15:38 - 05 Apr 2024 17:03 #297650
by PCW
Replied by PCW on topic Wiring VFD to MESA 7i96s
Attachments:
Last edit: 05 Apr 2024 17:03 by PCW.
Please Log in or Create an account to join the conversation.
13 Apr 2024 23:53 #298210
by Xinokas
Replied by Xinokas on topic Wiring VFD to MESA 7i96s
I need to work analogic 0-10V.
I tried to config it, i can fwd and rev the spindle, but i cant control the speed.
What am i doing wrong?
Maybe some lines missing to convert the pwm to analog?
my hal file is attached
thanks
I tried to config it, i can fwd and rev the spindle, but i cant control the speed.
What am i doing wrong?
Maybe some lines missing to convert the pwm to analog?
my hal file is attached
thanks
Please Log in or Create an account to join the conversation.
14 Apr 2024 01:41 #298212
by PCW
Replied by PCW on topic Wiring VFD to MESA 7i96s
The hal file looks OK, but the ini file is needed also for a full check
Do you have 10V when measured from 7I96S pin 22 to 24?
Do you have 10V when measured from 7I96S pin 22 to 24?
Please Log in or Create an account to join the conversation.
14 Apr 2024 15:01 - 14 Apr 2024 15:33 #298230
by Xinokas
Replied by Xinokas on topic Wiring VFD to MESA 7i96s
Yes i have 10V.
Here is my INI file.
Do i need a scale?
Edit: Make sense use this?
loadrt scale count=1
addf scale.0 servo-thread
setp scale.0.gain 0.01 # Adjust this value based on your maximum RPM and VFD input requirements
net spindle-speed-scale motion.spindle-speed-out => scale.0.in
net spindle-speed-DAC scale.0.out => hm2_7i96.0.analogout0
Here is my INI file.
Do i need a scale?
Edit: Make sense use this?
loadrt scale count=1
addf scale.0 servo-thread
setp scale.0.gain 0.01 # Adjust this value based on your maximum RPM and VFD input requirements
net spindle-speed-scale motion.spindle-speed-out => scale.0.in
net spindle-speed-DAC scale.0.out => hm2_7i96.0.analogout0
Last edit: 14 Apr 2024 15:33 by Xinokas.
Please Log in or Create an account to join the conversation.
14 Apr 2024 17:26 #298237
by PCW
Replied by PCW on topic Wiring VFD to MESA 7i96s
The existing hal and ini files look correct (nothing else is needed)
The spindle is set for 2000 RPM full scale
If you enable the spindle and set the spindle speed to 1000 RPM
you should get ~+5V on P2 pin 23 (relative to P2 pin 22)
(you can do this in MDI mode with "M3 S1000")
The spindle is set for 2000 RPM full scale
If you enable the spindle and set the spindle speed to 1000 RPM
you should get ~+5V on P2 pin 23 (relative to P2 pin 22)
(you can do this in MDI mode with "M3 S1000")
Please Log in or Create an account to join the conversation.
Time to create page: 0.125 seconds