I can't get spindle speed feedback

More
4 years 10 months ago #229926 by Michael
What Hal file did you add it to? I believe it has to be in the custom_postgui.hal

Also you need to see what pins are actually called for your system. With linuxcnc running
cd linuxcnc
halcmd show all > all.txt

Post that file so we can see what the actual pin names are.

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

More
4 years 10 months ago #229930 by Servimet
sorry Michael

halcmd show all > all.txt

I have to enter that command in my linux terminal, is it correct?

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

More
4 years 10 months ago #229932 by Clive S

sorry Michael

halcmd show all > all.txt

I have to enter that command in my linux terminal, is it correct?

Yes
The following user(s) said Thank You: Servimet

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

More
4 years 10 months ago #229960 by Servimet
Dear
for some reason I can't get the pins
I am executing in the terminal according to the procedure
but the list of pins does not appear
They could tell me what I'm doing wrong

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

More
4 years 10 months ago #229999 by Michael
Use of terminals is not my specialty so I can only tell you how I do it. You need to open the terminal while linuxcnc is running. You may need to # some lines on hal files to get rid of the error messages or revert back to a hal file that was a working configuration. As an example the last error you posted was for the at speed LED and you could change in your hal file
net spindle-at-speed => gmoccapy.spindle_at_speed_led
to
#net spindle-at-speed => gmoccapy.spindle_at_speed_led
until we get it figured out.

Second once you have linuxcnc with the terminal running do the following in terminal:
Code:
cd linuxcnc

and this should change the directory to your linuxcnc directory. This will allow the file to be saved there. Then in the terminal:
Code:
halcmd show all > all.txt

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

More
4 years 10 months ago - 4 years 10 months ago #230019 by Servimet
hello  Michael
due to lack of experience it is very difficult for me
I cannot get a list of pin in the terminal
maybe you see this can help
i did a test the halshowYou can see that the encoder signals are there but still I don't have feedback
Last edit: 4 years 10 months ago by Servimet.

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

Time to create page: 0.390 seconds
Powered by Kunena Forum