Spindle Load feedback in Gmoccapy

More
4 years 5 months ago #242675 by PhilCNC
Hello, I have spindle load feedback working in Axis GUI and now I'm trying to make it work in Gmoccapy. What's the best way to do this? I think I could use the PYVCP control panel from axis, but I don't think this would blend in nicely with the rest of the screen. Looks like GladeVCP is an option, but I haven't seen a spindle load feedback example. Your advice is appreciated :D

Please Log in to join the conversation.

More
4 years 5 months ago #242726 by newbynobi
Gmoccapy allows embedding glade panels. There are several positions to integrate that panels. 
Within the configs / sim / gmoccapy folder you will find several examples for that purpose.
There is also a detailed part for embedding panels in the documentation.

To create the panel you need, just use the glade editor.

Norbert 

Please Log in to join the conversation.

More
4 years 5 months ago #242882 by HansU
I have created quickly a very basic display GladeVCP for displaying this.It provides  a pin "spindle_load.bar_spindle_load" where you can connect your spindle load value to.
Just copy the attached files to your config folder an add following lines to the display section of the ini file:
Code:
EMBED_TAB_NAME = Spindle_load EMBED_TAB_LOCATION = box_custom_4 EMBED_TAB_COMMAND = gladevcp -x {XID} spindle_load.glade
Use the Gtk2 version for LinuxCNC 2.8 and the Gtk3 version for LinuxCNC >=2.9

Attachment not found

Please Log in to join the conversation.

More
4 years 3 months ago #246347 by zz912
I looks good.

Please Log in to join the conversation.

More
4 years 2 months ago #250841 by CNC_Tux
Hello,
that looks well, but i see at your picture the original Spindle load feedback isnt works.
I have the same problem and didnt understand why?
I tried to find the signals and linked in the HAL, but the result isnt works.
Have anybody an idea, why isnt works?

 

Attachment not found



My configuration works with a Mesa 7I76E and i using the spindle connectors.
The spindle works very well

Please Log in to join the conversation.

More
4 years 2 months ago #250842 by zz912
What version LCNC do you have?

Please Log in to join the conversation.

More
4 years 2 months ago #250844 by CNC_Tux
LinuxCNC 2.8.3

Please Log in to join the conversation.

More
4 years 2 months ago #250845 by zz912
HansU made it for Python 3. You must remake it for Python 2. Or you should ask somebody for remake. I am Interested for version 2.8 too.

Please Log in to join the conversation.

More
4 years 1 month ago #250849 by CNC_Tux
Dear ZZ,
i didnt mean the new one.
I mean this one :

 

Attachment not found

Please Log in to join the conversation.

More
4 years 1 month ago #250850 by CNC_Tux
i mean exactly this one:

 

Attachment not found



Cheers
Reinhard

Please Log in to join the conversation.

Time to create page: 0.165 seconds
Powered by Kunena Forum