Gscreen - a GTK / Glade / Python based screen

More
12 years 4 months ago #47900 by mariusl
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.
Code:
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

Attachment not found



Attachment not found


Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
12 years 4 months ago #47905 by mariusl
Can someone explain to me how to use Zero Origin and Offset Origin please.

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

  • CG0
  • New Member
  • New Member
More
12 years 3 months ago #48519 by CG0
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 ?

Please Log in to join the conversation.

More
12 years 3 months ago #48521 by mariusl
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.

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

  • CG0
  • New Member
  • New Member
More
12 years 3 months ago #48557 by CG0
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.

Please Log in to join the conversation.

More
12 years 3 months ago #48564 by mariusl
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.

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
12 years 3 months ago #48600 by cmorley
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

Please Log in to join the conversation.

More
12 years 3 months ago #49289 by tjamscad
Since 2.6 has been release will Gscreen work or does it still need master?

Please Log in to join the conversation.

More
12 years 2 months ago #49501 by mariusl
It is included fully into production (2.6)

Regards
Marius


www.bluearccnc.com

Please Log in to join the conversation.

More
11 years 1 month ago #62961 by csbrady
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.

Please Log in to join the conversation.

Time to create page: 0.230 seconds
Powered by Kunena Forum