jethornton / mesact1

MIT License
24 stars 10 forks source link

linuxcnc error #65

Closed Vorms closed 1 year ago

Vorms commented 1 year ago

Hello, I just generate a config with all default values and an Mesa 7I97 card when I try to run linuxcnc I receive the followinf error. Note: Using POSIX realtime ./conf1.hal:99: Pin 'hm2_7i97.0.pwmgen.00.enable' was already linked to signal 'joint-0-enable' 11617 Stopping realtime threads Unloading hal components Note: Using POSIX realtime

I can post all config files in pastebin if needed. Thanks for your help !

jethornton commented 1 year ago

Just attach the ini file to here.

Vorms commented 1 year ago

Sorry, I was outside. I have to work for this project now. Here is the ini file: https://pastebin.com/zSgipumP Another question, I have modbus RS485 modules. Can I add these modules with your mesact software ? Many thanks for your help. Best regards

Vorms commented 1 year ago

As I understand the error produced by the linux cnc error: Debug file information: ./conf1.hal:145: Pin 'hm2_7i97.0.pwmgen.00.enable' was already linked to signal 'joint-0-enable'

so, in conf1.hal (generated by masct:

Spindle Board Connections

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

SO, I think there is a troble with spindel config ?

Thanks for your help. Thierry

jethornton commented 1 year ago

Yes, the code that adds the spindle has a bug, I'll work on that in the morning.

Vorms commented 1 year ago

Oh thank you a lot for your response.

Best regards Thierry

Le mar. 27 déc. 2022, 17 h 27, jethornton @.***> a écrit :

Yes, the code that adds the spindle has a bug, I'll work on that in the morning.

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

jethornton commented 1 year ago

This should be fixed now.