MesaCT Spindel
- Yoshyluebeck
- Offline
- Junior Member
- Posts: 31
- Thank you received: 4
I am in the process of familiarizing myself with the MesaCT tool. The machine can be started and the axes can be moved.
But as soon as I try to integrate my spindle via MesaCT LinuxCnc starts with an error message.
./mesa_ct_.hal:186: Pin 'hm2_7i96s.0.pwmgen.04.enable' does not exist
Who knows about this tool and can help me?
Greetings from Lübeck Germany
Please Log in or Create an account to join the conversation.
- JPL
- Offline
- Platinum Member
- Posts: 335
- Thank you received: 113
1st: rename anything that has 'pwmgen.04' to 'pwmgen.00'
This is from this:
# Spindle Board Connections
net spindle-on => hm2_[MESA](BOARD).0.pwmgen.04.enable
net spindle-vel-cmd-rpm hm2_[MESA](BOARD).0.pwmgen.04.value
setp hm2_[MESA](BOARD).0.pwmgen.04.scale [SPINDLE_0]MAX_RPM
setp hm2_[MESA](BOARD).0.pwmgen.pwm_frequency [SPINDLE_0](PWM_FREQUENCY)
setp hm2_[MESA](BOARD).0.pwmgen.04.output-type [SPINDLE_0](SPINDLE_PWM_TYPE)
To that
# Spindle Board Connections
net spindle-on => hm2_[MESA](BOARD).0.pwmgen.00.enable
net spindle-vel-cmd-rpm hm2_[MESA](BOARD).0.pwmgen.00.value
setp hm2_[MESA](BOARD).0.pwmgen.00.scale [SPINDLE_0]MAX_RPM
setp hm2_[MESA](BOARD).0.pwmgen.pwm_frequency [SPINDLE_0](PWM_FREQUENCY)
setp hm2_[MESA](BOARD).0.pwmgen.00.output-type [SPINDLE_0](SPINDLE_PWM_TYPE)
Then if (and only if) you still have an error, but now about pwmgen.00 instead of pwngen.04 try replacing
This:
loadrt [HM2](DRIVER) board_ip=[HM2](IPADDRESS)
With that
loadrt [HM2](DRIVER) board_ip=[HM2](IPADDRESS) num_pwmgens=1
MODS: I believe this should be moved to HAL or PncConf Wizard.
Please Log in or Create an account to join the conversation.
- JPL
- Offline
- Platinum Member
- Posts: 335
- Thank you received: 113
I see that on the machine tab of MesaCT you left 'PWM Generatorst' to 'NA'. This should definitively be set to 1. then you will probably don't need to change the line 'loadrt [HM2](DRIVER) board_ip=[HM2](IPADDRESS)' since MesaCT should add a reference to the pwm gen.
I think you should first do that to regenerate the config files before manually altering them.
Please Log in or Create an account to join the conversation.
- JT
- Away
- Administrator
- Posts: 861
- Thank you received: 450
Current is: VERSION = '2.0.0' BUILD_DATE = '08/05/2023'
From the menu you can do Downloads > MesaCT "some version" to get the latest version.
JT
Please Log in or Create an account to join the conversation.
- JT
- Away
- Administrator
- Posts: 861
- Thank you received: 450
In later versions of MesaCT 1.x.x and MesaCT 2.x.x you can edit the ini file all you want and it will be read in the next time you use the tool.I think you should first do that to regenerate the config files before manually altering them.
JT
Please Log in or Create an account to join the conversation.
- JT
- Away
- Administrator
- Posts: 861
- Thank you received: 450
This doesn't have anything to do with Pncconf...MODS: I believe this should be moved to HAL or PncConf Wizard.
JT
Please Log in or Create an account to join the conversation.
- JPL
- Offline
- Platinum Member
- Posts: 335
- Thank you received: 113
MODS: I believe this should be moved to HAL or PncConf Wizard.
This doesn't have anything to do with Pncconf...
JT
Except the fact that it's doing the same job
Please Log in or Create an account to join the conversation.
- JT
- Away
- Administrator
- Posts: 861
- Thank you received: 450
The Mesa Configuration tool does a lot more than Pncconf can ever do so it's not doing "the same job". Can Pncconf flash a Mesa board, get OS information, get NIC information, reload a Mesa Board, download Mesa board manuals, test NIC speed and on and on and on.
MODS: I believe this should be moved to HAL or PncConf Wizard.
This doesn't have anything to do with Pncconf...
JT
Except the fact that it's doing the same job
JT
Please Log in or Create an account to join the conversation.