MesaCT Spindel

More
02 Aug 2023 07:08 #276764 by Yoshyluebeck
MesaCT Spindel was created by Yoshyluebeck
Hello,
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.

More
03 Aug 2023 06:06 #276820 by JPL
Replied by JPL on topic MesaCT Spindel
I'm not an expert but could suggest a few things:

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.

More
03 Aug 2023 06:16 #276823 by JPL
Replied by JPL on topic MesaCT Spindel
Oh!

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.
The following user(s) said Thank You: tommylight

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

More
05 Aug 2023 15:41 #277015 by JT
Replied by JT on topic MesaCT Spindel
Hi I wrote the MesaCT tool, I see you're using the old version of MesaCT.

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.

More
05 Aug 2023 15:43 #277016 by JT
Replied by JT on topic MesaCT Spindel

I think you should first do that to regenerate the config files before manually altering them.

 

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.

JT
The following user(s) said Thank You: JPL

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

More
05 Aug 2023 15:44 #277017 by JT
Replied by JT on topic MesaCT Spindel

MODS: I believe this should be moved to HAL or PncConf Wizard.

 

This doesn't have anything to do with Pncconf...

JT
The following user(s) said Thank You: JPL

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

More
05 Aug 2023 18:32 - 05 Aug 2023 18:38 #277035 by JPL
Replied by JPL on topic MesaCT Spindel

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
Last edit: 05 Aug 2023 18:38 by JPL.

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

More
05 Aug 2023 18:44 #277038 by JT
Replied by JT on topic MesaCT Spindel

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

 

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.

JT

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

Time to create page: 0.083 seconds
Powered by Kunena Forum