- Posts: 25
- Thank you received: 0
Screen like Mach
- pavelshakal
- Topic Author
- Offline
- Junior Member
-
Less
More
8 years 1 month ago #117392
by pavelshakal
Replied by pavelshakal on topic Adding custom buttons
The rest suits me
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4737
- Thank you received: 1480
8 years 1 month ago - 8 years 1 month ago #117397
by Todd Zuercher
Replied by Todd Zuercher on topic Adding custom buttons
I use the standard Axis user interface on the routers I've retrofitted and by adding an additional VCP (virtual control pannel) to the Axis UI I have added those features.
And there are instructions in the documentation how to build similar VCP panels and integrate them with your user interface of choice.
Here is a screen shot of the UI used on one of our machines. The time it takes to do a run is shown at the top right (cycle time), a button that returns the machine to the home/park position (and resets some other settings) is the "CLEAR" button. (the machine's current velocity is part of the built in DRO, so isn't added to the VCP.)
And there are instructions in the documentation how to build similar VCP panels and integrate them with your user interface of choice.
Here is a screen shot of the UI used on one of our machines. The time it takes to do a run is shown at the top right (cycle time), a button that returns the machine to the home/park position (and resets some other settings) is the "CLEAR" button. (the machine's current velocity is part of the built in DRO, so isn't added to the VCP.)
Last edit: 8 years 1 month ago by Todd Zuercher.
Please Log in or Create an account to join the conversation.
- pavelshakal
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 0
8 years 1 month ago #117401
by pavelshakal
Replied by pavelshakal on topic Adding custom buttons
cool !!! How to do this? ))))
Please Log in or Create an account to join the conversation.
- pavelshakal
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 0
8 years 1 month ago #117402
by pavelshakal
can it be possible for non-programmers
Replied by pavelshakal on topic Adding custom buttons
can it be possible for non-programmers
Please Log in or Create an account to join the conversation.
- pavelshakal
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 0
8 years 1 month ago - 8 years 1 month ago #117404
by pavelshakal
Replied by pavelshakal on topic Adding custom buttons
"in the documentation"
where is it
where is it
Last edit: 8 years 1 month ago by pavelshakal.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4737
- Thank you received: 1480
8 years 1 month ago #117409
by Todd Zuercher
Replied by Todd Zuercher on topic Adding custom buttons
That video is of a QT based screen builder that is still in the experimental/developmental stage. It isn't available in a standard installation of Linuxcnc. I don't know what it would take to install it, but it is probably beyond the ability of someone new to Linux.
The pannel screen shot I showed is one I built using PYVCP . It isn't the most visually appealing or flexible way to build a VCP but it isn't all that hard. But they are constructed by building an XML file by hand in a text editor.
I have since replaced that PYVCP side panel with similar one built using GladeVCP . GladeVCPs are much more flexible in what you can do (especially if you have some Python programming skills). Glade is a visual user interface building application. The only real down side to it is that it is kind of locked into using a depreciated tool set with Linuxcnc. But none of that is a problem if you use the standard Linuxcnc Debian Wheezy installation DVD image as everything needed is all included and preinstalled. (You may notice a lot of discussions about people having trouble installing Glade and using it with Linuxcnc, most of those problems are self inflicted by the people trying to use a newer/different version of Linux.)
One thing that is a little misleading in many of the GladeVCP documentation, is that a Python handler file is not necessarily required. Especially for a simple screen like you are asking for. All you need to do is build your screen using the Linuxcnc hal widgets and then make the nessisary hal pin connections in your post-gui hal file. For example to set up the Cycle time I used some ordinary Lable widgets, and 3 "hal lable"widgets for numbers, simular to the PYVCP example in the documentation here , save your Glade file in your config dir, then add the required line to your ini file to open your screen.
The pannel screen shot I showed is one I built using PYVCP . It isn't the most visually appealing or flexible way to build a VCP but it isn't all that hard. But they are constructed by building an XML file by hand in a text editor.
I have since replaced that PYVCP side panel with similar one built using GladeVCP . GladeVCPs are much more flexible in what you can do (especially if you have some Python programming skills). Glade is a visual user interface building application. The only real down side to it is that it is kind of locked into using a depreciated tool set with Linuxcnc. But none of that is a problem if you use the standard Linuxcnc Debian Wheezy installation DVD image as everything needed is all included and preinstalled. (You may notice a lot of discussions about people having trouble installing Glade and using it with Linuxcnc, most of those problems are self inflicted by the people trying to use a newer/different version of Linux.)
One thing that is a little misleading in many of the GladeVCP documentation, is that a Python handler file is not necessarily required. Especially for a simple screen like you are asking for. All you need to do is build your screen using the Linuxcnc hal widgets and then make the nessisary hal pin connections in your post-gui hal file. For example to set up the Cycle time I used some ordinary Lable widgets, and 3 "hal lable"widgets for numbers, simular to the PYVCP example in the documentation here , save your Glade file in your config dir, then add the required line to your ini file to open your screen.
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds