Spindle Load feedback in Gmoccapy

  • PhilCNC
  • PhilCNC's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
11 May 2022 20:59 #242675 by PhilCNC
Spindle Load feedback in Gmoccapy was created 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 or Create an account to join the conversation.

More
12 May 2022 04:56 #242726 by newbynobi
Replied by newbynobi on topic Spindle Load feedback in Gmoccapy
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 or Create an account to join the conversation.

More
13 May 2022 14:27 - 03 Mar 2023 17:41 #242882 by HansU
Replied by HansU on topic Spindle Load feedback in Gmoccapy
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:
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
Attachments:
Last edit: 03 Mar 2023 17:41 by HansU.
The following user(s) said Thank You: tommylight, GuiHue, Ritterchen, ChironFZ16, PhilCNC

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

More
01 Jul 2022 07:15 #246347 by zz912
Replied by zz912 on topic Spindle Load feedback in Gmoccapy
I looks good.

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

More
31 Aug 2022 07:19 #250841 by CNC_Tux
Replied by CNC_Tux on topic Spindle Load feedback in Gmoccapy
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?

 

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

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

More
31 Aug 2022 07:20 #250842 by zz912
Replied by zz912 on topic Spindle Load feedback in Gmoccapy
What version LCNC do you have?

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

More
31 Aug 2022 08:13 #250844 by CNC_Tux
Replied by CNC_Tux on topic Spindle Load feedback in Gmoccapy
LinuxCNC 2.8.3

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

More
31 Aug 2022 08:22 #250845 by zz912
Replied by zz912 on topic Spindle Load feedback in Gmoccapy
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 or Create an account to join the conversation.

More
31 Aug 2022 10:45 #250849 by CNC_Tux
Replied by CNC_Tux on topic Spindle Load feedback in Gmoccapy
Dear ZZ,
i didnt mean the new one.
I mean this one :

 
Attachments:

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

More
31 Aug 2022 10:50 #250850 by CNC_Tux
Replied by CNC_Tux on topic Spindle Load feedback in Gmoccapy
i mean exactly this one:

 

Cheers
Reinhard
Attachments:

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

Moderators: newbynobiHansU
Time to create page: 0.150 seconds
Powered by Kunena Forum