- Posts: 19899
- Thank you received: 4655
Spindel problems in Gmoccapy
- andypugh
- Offline
- Moderator
-
Less
More
9 years 6 months ago #92458
by andypugh
Replied by andypugh on topic Spindel problems in Gmoccapy
You would open the terminal in Linux, not from the LinuxCNC GUI.
It is possible to type in commands in the Halshow window, but there is no command-history or tab-completion there.
Another thing you could try, to check that the postgui HAL file is actually being called, is to have a "loadusr halmeter" at the top of the file. If the halmeter window appears, then it probably is.
Also, try starting Linuxcnc from the command-line, I think it lists all the HAL files it finds. Perhaps there is an error message to be seen there.
It is possible to type in commands in the Halshow window, but there is no command-history or tab-completion there.
Another thing you could try, to check that the postgui HAL file is actually being called, is to have a "loadusr halmeter" at the top of the file. If the halmeter window appears, then it probably is.
Also, try starting Linuxcnc from the command-line, I think it lists all the HAL files it finds. Perhaps there is an error message to be seen there.
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
-
Less
More
- Posts: 1850
- Thank you received: 127
9 years 6 months ago #92459
by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
Apparently it is not loading as no halmeter appears
# link to gmoccapy toolchange, so you get the advantage of tool description on change dialog
loadusr halmeter
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
net tool-changed gmoccapy.toolchange-changed <= iocontrol.0.tool-changed
net tool-prep-number gmoccapy.toolchange-number <= iocontrol.0.tool-prep-number
net tool-prep-loop iocontrol.0.tool-prepare <= iocontrol.0.tool-prepared
net tooloffset-x gmoccapy.tooloffset-x <= motion.tooloffset.x
net tooloffset-z gmoccapy.tooloffset-z <= motion.tooloffset.z
net spindle-rpm gmoccapy.spindle_feedback_bar
net spindle-at-speed gmoccapy.spindle_at_speed_led
# link to gmoccapy toolchange, so you get the advantage of tool description on change dialog
loadusr halmeter
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
net tool-changed gmoccapy.toolchange-changed <= iocontrol.0.tool-changed
net tool-prep-number gmoccapy.toolchange-number <= iocontrol.0.tool-prep-number
net tool-prep-loop iocontrol.0.tool-prepare <= iocontrol.0.tool-prepared
net tooloffset-x gmoccapy.tooloffset-x <= motion.tooloffset.x
net tooloffset-z gmoccapy.tooloffset-z <= motion.tooloffset.z
net spindle-rpm gmoccapy.spindle_feedback_bar
net spindle-at-speed gmoccapy.spindle_at_speed_led
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
-
Less
More
- Posts: 1850
- Thank you received: 127
9 years 6 months ago #92460
by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
halcmd net spindle-rpm gmoccapy.spindle_feedback_bar
I managed to size down gmoccapy so I could start terminal and now I have rpms showing
I managed to size down gmoccapy so I could start terminal and now I have rpms showing
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
-
Less
More
- Posts: 1850
- Thank you received: 127
9 years 6 months ago #92462
by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
9 years 6 months ago #92464
by andypugh
That is why I keep asking you what the file names are, and if they match the ones in the INI file.
You have two HAL files with "postgui" in the name. Only one of them is specified in the INI. Is that the right one?
Replied by andypugh on topic Spindel problems in Gmoccapy
tecno wrote: Is this a naming issue of the postgui file name perhaps?
That is why I keep asking you what the file names are, and if they match the ones in the INI file.
You have two HAL files with "postgui" in the name. Only one of them is specified in the INI. Is that the right one?
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
-
Less
More
- Posts: 1850
- Thank you received: 127
9 years 6 months ago #92465
by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
Names are correct.
But can postgui have name without custom_ ? Is it so that custom_postgui.hal is expected and hardcoded somewhere in the code?
But can postgui have name without custom_ ? Is it so that custom_postgui.hal is expected and hardcoded somewhere in the code?
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.446 seconds