Spindel problems in Gmoccapy
- tecno
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
01 May 2017 16:16 #92456
by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
The other parts in postgui was added by Norbert for future use I suppose.
Will go down to shop and see if there is a way to open terminal i gmocccapy and try
Will go down to shop and see if there is a way to open terminal i gmocccapy and try
Please Log in or Create an account to join the conversation.
- tecno
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
01 May 2017 16:21 #92457
by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
No there is not any way to open terminal
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23313
- Thank you received: 4862
01 May 2017 16:21 #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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
01 May 2017 16:29 #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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
01 May 2017 16:33 #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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
01 May 2017 16:35 #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: 23313
- Thank you received: 4862
01 May 2017 17:26 #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
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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
01 May 2017 17:29 #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.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23313
- Thank you received: 4862
01 May 2017 17:36 #92466
by andypugh
Replied by andypugh on topic Spindel problems in Gmoccapy
No, only the files specified in the INI are used.
But you have two files, and you are only referencing one in the INI, the other is commented out.
(And I am not sure that it is possible to call more than one postgui file).
It might be that the right file is being called, but that it has an error so drops out before the critical line. (but the "halmeter" line seems to have disproven that theory.)
Which of your two postgui files contains the net command for the spindle speed bar? (I am sure I have asked this before)
But you have two files, and you are only referencing one in the INI, the other is commented out.
(And I am not sure that it is possible to call more than one postgui file).
It might be that the right file is being called, but that it has an error so drops out before the critical line. (but the "halmeter" line seems to have disproven that theory.)
Which of your two postgui files contains the net command for the spindle speed bar? (I am sure I have asked this before)
Please Log in or Create an account to join the conversation.
- tecno
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1855
- Thank you received: 127
01 May 2017 17:38 #92467
by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
postgui.hal
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.261 seconds