Gscreen - a GTK / Glade / Python based screen
11 Jun 2014 20:12 - 11 Jun 2014 20:14 #47900
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gscreen - a GTK / Glade / Python based screen
Ok I think I have it sorted. With the attached component and the HAL file, you can connect separate external jog switches ( a joystick in my case) to Gscreen and use the on screen increment selector to jog with.
loadrt comp count=4
addf comp.0 servo-thread
addf comp.1 servo-thread
addf comp.2 servo-thread
addf comp.3 servo-thread
loadrt demux2 count=4
addf demux2.0 servo-thread
addf demux2.1 servo-thread
addf demux2.2 servo-thread
addf demux2.3 servo-thread
net inc-select gscreen.jog-increment-out comp.0.in0 comp.1.in0 comp.2.in0 comp.3.in0
net inc-select halui.jog.0.increment
net inc-select halui.jog.2.increment
### X AXIS PLUS JOG ###
net jog-x-pos demux2.0.in0
setp comp.0.in1 0
net x-sel-out comp.0.equal demux2.0.sel
net x-plus-inc demux2.0.out0 halui.jog.0.increment-plus
net x-plus-cont demux2.0.out1 halui.jog.0.plus
### X AXIS MINUS JOG ###
net jog-x-neg demux2.1.in0
setp comp.1.in1 0
net x-sel-out demux2.1.sel
net x-minus-inc demux2.1.out0 halui.jog.0.increment-minus
net x-minus-cont demux2.1.out1 halui.jog.0.minus
### Z AXIS PLUS JOG ###
net jog-z-pos demux2.2.in0
setp comp.2.in1 0
net z-sel-out comp.2.equal demux2.2.sel
net z-plus-inc demux2.2.out0 halui.jog.2.increment-plus
net z-plus-cont demux2.2.out1 halui.jog.2.plus
### Z AXIS MINUS JOG ###
net jog-z-neg demux2.3.in0
setp comp.3.in1 0
net z-sel-out demux2.3.sel
net z-minus-inc demux2.3.out0 halui.jog.2.increment-minus
net z-minus-cont demux2.3.out1 halui.jog.2.minus
Regards
Marius
www.bluearccnc.com
Last edit: 11 Jun 2014 20:14 by mariusl.
Please Log in or Create an account to join the conversation.
11 Jun 2014 22:03 #47905
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gscreen - a GTK / Glade / Python based screen
Can someone explain to me how to use Zero Origin and Offset Origin please.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
- CG0
- Visitor
08 Jul 2014 11:58 #48519
by CG0
Replied by CG0 on topic Gscreen - a GTK / Glade / Python based screen
I like this screen with all the big buttons, looks great at high resolution.
What I was wondering, is there a four axis version or a way to add a, b or c or could I request that ?
What I was wondering, is there a four axis version or a way to add a, b or c or could I request that ?
Please Log in or Create an account to join the conversation.
08 Jul 2014 15:04 #48521
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gscreen - a GTK / Glade / Python based screen
Yes there is a way. You just have to make the number of axis = 4 in the ini file. The fourth axis is a rotary axis usually.
Have a look at the sim configurations and you will find a gmoccapy_4_axis.ini example.
Have a look at the sim configurations and you will find a gmoccapy_4_axis.ini example.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
- CG0
- Visitor
09 Jul 2014 11:52 #48557
by CG0
Replied by CG0 on topic Gscreen - a GTK / Glade / Python based screen
I have been using gmoccapy 4 axis and it looks great too, but I wanted to try the gscreen reg or industrial with 4 axis,
Theres no fourth axis buttons though, so I cant home the machine from the gui.
I am running gmocappy and gscreen by adding it to my axis.ini, but the gscreen doesnt have a 4 axis demo and guessing no gui since it doesnt show up.
Theres no fourth axis buttons though, so I cant home the machine from the gui.
I am running gmocappy and gscreen by adding it to my axis.ini, but the gscreen doesnt have a 4 axis demo and guessing no gui since it doesnt show up.
Please Log in or Create an account to join the conversation.
09 Jul 2014 14:37 #48564
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gscreen - a GTK / Glade / Python based screen
I am sure that Gscreen can run up to nine axis and there are examples under the gcreen sim directory.
Start with the sim example and a Stepconf configuration. After that you copy the relevant stuff from the gscreen sim to your newly created config. Make sure that you have all the sections in the ini file that is required for Gscreen.
Start with the sim example and a Stepconf configuration. After that you copy the relevant stuff from the gscreen sim to your newly created config. Make sure that you have all the sections in the ini file that is required for Gscreen.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
10 Jul 2014 08:00 #48600
by cmorley
Replied by cmorley on topic Gscreen - a GTK / Glade / Python based screen
Gscreen (the default skin) will work with up to 9 axis - it adjusts automatically to include the DRO displays and buttons.
Industrial should self adapt too, though I haven't tries it lately.
As long as the axes are defined properly in the INI file - Gscreen should adapt.
There is also a dedicated 9 axis example in the sim/gscreen/gscreen_custom folder or the sample configs.
And then Gscreen was made to be customized so anything is possible - though takes some work.
Chris M
Industrial should self adapt too, though I haven't tries it lately.
As long as the axes are defined properly in the INI file - Gscreen should adapt.
There is also a dedicated 9 axis example in the sim/gscreen/gscreen_custom folder or the sample configs.
And then Gscreen was made to be customized so anything is possible - though takes some work.
Chris M
Please Log in or Create an account to join the conversation.
30 Jul 2014 20:45 #49289
by tjamscad
Replied by tjamscad on topic Gscreen - a GTK / Glade / Python based screen
Since 2.6 has been release will Gscreen work or does it still need master?
Please Log in or Create an account to join the conversation.
05 Aug 2014 02:10 #49501
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gscreen - a GTK / Glade / Python based screen
It is included fully into production (2.6)
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
25 Sep 2015 06:11 #62961
by csbrady
Replied by csbrady on topic Gscreen - a GTK / Glade / Python based screen
Are there any repositories with gscreen examples? Are all of the available materials in the latest (2.7) release? I am customizing Gscreen to better fit my machine and work patterns but want to start with the latest. Examples of work from others would also be helpful.
I am slowly coming up to speed with glade, but still need to figure out the Python part.
I am slowly coming up to speed with glade, but still need to figure out the Python part.
Please Log in or Create an account to join the conversation.
Time to create page: 0.154 seconds