We've re-adjusted our wiring as you showed in your previous message but we still don't understand how you got to the 24000 for the MaxOutput and 28800 for your output scale, is this a set value or is there a way to calculate the 24000.
In the Pncconf we're also clueless as to what the value should be for "encoder scale" .
The spindle can't spin in reverse, and the "rev" light on the VFD doesn't light up either when we put it in reverse, do you think this has something to do with the configuration of the VFD or is it something we have to resolve through the INI file.
Thanks in advance.
Since you didn't specify the spindle you are using, I assumed a standard 2.2kW / 24000 rpm spindle. I think in order to better help you here you need to share way more details about the hardware / machine you are using. You only need the "encoder scale" if your spindle actually has a physical encoder for feedback, connected. Typically you need to lookup the Lines per Revolution. I would ignore the encoder portion for the spindle and just run it with no encoder feedback 0-10V.
It all starts with how much voltage (0 - 15V is possible) you are connecting to your Mesa spindle TB. The Mesa acts as a potentiometer that can output 0 - 100% of the voltage you apply.
12V / 10V = 1.2
MAX_OUTPUT = actual drive speed in RPM
OUTPUT_SCALE = actual drive speed in RPM x 1.2
Example with 12V:
MESA PIN: SPINDLE- GND
MESA PIN: SPINDLE+ 12V
MESA PIN: SPINDLE OUT 0 - 12V
Your VFD wants 0-10V, so you need to scale it:
# Example for 24K rpm spindle
[SPINDLE_0]
# 0-10V output based on 12V input
MAX_OUTPUT = 24000
# 12V = 28800 rpm / 10V = 24000
OUTPUT_SCALE = 28800
# Example for 3000 rpm spindle (e.g. Lathe)
[SPINDLE_0]
# 0-10V output based on 12V input
MAX_OUTPUT = 3000
# 12V = 3600 rpm / 10V = 3000
OUTPUT_SCALE = 3600
We're having issues with TB4 on the mesa 7i76e, there is no relation between the output state and the command from the CNC.
How can we check what the problem is or why it could be that nothing is happening and how can we manually check the state of the outputs.
We already put a 24v signal over the outputs and measured them and they didn't work.
Thanks in advance
spindle - => ground
spindle out => ai (analog input of the vfd)
spindle + => 10v from an external power source
spindle ena - => +5v
spindle ena + => di1
spindle dir - => +5V
spindle dir + => di2
Could the issue with our VFD/VFD settings and not the wiring?