I'm trying to mix pwm servos configuration i managed to work finally with your hobbing Andy. I thought there is two options to add something to AXIS - gladeVCP and pyVCP made panels. When i saw you don't have an XML file in the folder you shared with us i thought it is made with gladeVCP. But the i saw some tutorials on yt and 'they' say that for glade-made-panels there should be panel.glade file along with panel.py (plus panel.pyc created by AXIS once is it first time started).
Here is your files and my assumptions on them:
- hobbing.py (looks like the panel fils, defining its features, making cals on user inputs, is it a stand alone program or is attached to AXIS?)
- hobbing.ui (looks like the graphical axpect of the panel, using XML formatting - similar to XLM file in pyVCP)
- hobbing_gui.hal (connection file between panel and HAL)
- hobbing.ngc (actual NC file containing hobbing cycle, controlling all the axes involved, speciffic to your setup).
Are those files a separate "hobbing software"? I mean standalone panel using linuxcnc started in the background but not using AXIS? I can see in hybbing.py that you are importing linuxcnc, hal and other mysterious modules and see some linuxcnc.start(), linuxcnc.command() ocmmands inside. This is givimg me the impression is it not connected to AXIS gui but rather standalone "module"/interface.
I can see on wiki, you say "...the only other things needed are a Pyvcp panel with a spinbox in it for tooth count...". But, based on the tutorials i saw, why there is hobbing.ui instead of hobbing.xml?
I'll try some iterations with those files but i need to made more changes to my configuration due to the fact that all the toys i have on my test bench are 7i95t, 3 servos, 3 h-bridges and 7 microswitches, so adding my "inexperience" is giving me a headache. Will turn Z axis into A axis and Y servo will turn into a spindle with encoder so in the end i will have a system with X axis only, spindle with encoder and A-slave-axis.