jethornton / mesact1

MIT License
24 stars 10 forks source link

Ini variable '[SPINDLE_0]PWM_FREQUENCY' not found. #70

Closed Vorms closed 1 year ago

Vorms commented 1 year ago

Version and Build Date Version = 1.1.2 Build Date =29/12/2022

Describe the bug ./conf1.hal:149: Ini variable '[SPINDLE_0]PWM_FREQUENCY' not found. Mesa card 7I97 To Reproduce Generate a config with a spindle

Expected behavior To be able to have a spindle with pwm (tested with singl outpout)

Config File ini file: [SPINDLE_0] SPINDLE_TYPE = analog SPINDLE_PWM_TYPE = 0 MAX_RPM = 5000 MIN_RPM = 5

hal file:

Spindle Board Connections

net spindle-on => hm2MESA.0.pwmgen.03.enable net spindle-vel-cmd-rpm hm2MESA.0.pwmgen.03.value setp hm2_MESA.0.pwmgen.03.scale [SPINDLE_0]MAXRPM setp hm2MESA.0.pwmgen.pwm_frequency SPINDLE_0 setp hm2_MESA.0.pwmgen.03.output-type SPINDLE_0

Operating System OS = Debian 10

Additional context

When I load the ini file, I receive a message: No description file found for 7i97_D.bit

Many thanks for your work ! regards Thierry

jethornton commented 1 year ago

Many bit/bin files don't have a description file yet. Basically it's a text file with the stepgen/analog count and I/O count.

Please attach your ini file.

Vorms commented 1 year ago

OK I send you files by attachment Best regards and many thanks Thierry

Le jeu. 29 déc. 2022 à 18:04, jethornton @.***> a écrit :

Many bit/bin files don't have a description file yet. Basically it's a text file with the stepgen/analog count and I/O count.

Please attach your ini file.

— Reply to this email directly, view it on GitHub https://github.com/jethornton/mesact/issues/70#issuecomment-1367626342, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6QD4PDWXAEJKVWIEIJ6HDWPYKH3ANCNFSM6AAAAAATMHF534 . You are receiving this because you authored the thread.Message ID: @.***>

-- Thierry Vorms Québec Canada

jethornton commented 1 year ago

This was a tough bug to fix but I found it...

Vorms commented 1 year ago

Oh thanks a lot for your work | I will test the new version when it will be disponible. Have a nice day Thierry

Le sam. 31 déc. 2022 à 07:48, jethornton @.***> a écrit :

This was a tough bug to fix but I found it...

— Reply to this email directly, view it on GitHub https://github.com/jethornton/mesact/issues/70#issuecomment-1368211533, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6QD4PBU2OZH7T3BFZ3AK3WQATQHANCNFSM6AAAAAATMHF534 . You are receiving this because you authored the thread.Message ID: @.***>

-- Thierry Vorms Québec Canada