Gmoccapy - A new screen for linuxcnc

More
13 years 1 month ago #38483 by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Hallo Marius,

it is ok, that the background change the color, that it wat it was supposed to do in gmoccapy, The text color will not be touched, the numbers are red when not homed and green when homed.

NO_FORCE_HOMING :
I have no taken a look to that, because IMHO any machine should have homing switches.
I will see, what I can do for you.

Norbert
More
13 years 1 month ago #38487 by mariusl
Replied by mariusl on topic Gmoccapy - A new screen for linuxcnc
Ok the color thing makes sense now. The confusion comes because the label on the option tab says "DRO Text Color" but the option actually sets the background color.

As far as the limit switches are concerned, I do agree with you about the switches but not all people use them and I would like to make sure that they want to use my products as well.
I cannot test on the bench with my controller as I don't have switches connected. It would be nice to use the NO_FORCE_HOMING option.

Regards
Marius


www.bluearccnc.com

More
13 years 1 month ago #38494 by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc

Ok the color thing makes sense now. The confusion comes because the label on the option tab says "DRO Text Color" but the option actually sets the background color.


Shame on me, I will change the label!

NO_FORCE_HOMING :
I have no taken a look to that, because IMHO any machine should have homing switches.
I will see, what I can do for you.


I will try to add that to gmoccapy, by the time it takes, couldn't you just set the pins using hal?
Something like setp home-x 1 ? I have never tested that!

Norbert
More
13 years 1 month ago #38495 by mariusl
Replied by mariusl on topic Gmoccapy - A new screen for linuxcnc

I will try to add that to gmoccapy, by the time it takes, couldn't you just set the pins using hal?
Something like setp home-x 1 ? I have never tested that!


Don't think so. There are a number of signals involved and some will only be set once LCNC has done the homing cycle. Maybe Chris can shed some light here.
I will try it though.

Regards
Marius


www.bluearccnc.com

More
13 years 1 month ago #38499 by cmorley
Replied by cmorley on topic Gmoccapy - A new screen for linuxcnc
Nobert

If you add a check for NO FORCE HOMING to the logic on line 2474, I think that would do it:
I added a or 1==1 to that line just for a quick check and it seems to work.....
Code:
def on_hal_status_interp_idle(self,widget): self.gscreen.add_alarm_entry("idle") widgetlist = ["rbt_manual", "btn_step", "ntb_jog", "btn_from_line", "btn_reload", "tbtn_flood", "tbtn_mist", "rbt_forward", "rbt_reverse", "rbt_stop", "btn_load", "btn_edit","tbtn_optional_blocks" ] if not self.widgets.rbt_hal_unlock.get_active(): widgetlist.append("rbt_setup") if self.data.all_homed or 1==1:

Chris M
More
13 years 1 month ago #38500 by cmorley
Replied by cmorley on topic Gmoccapy - A new screen for linuxcnc
While I agree on always homing, some people home by manually moving the machine to reference marks.
In this case they need NO FORCE HOMING so they can jog.

Chris M
Moderators: newbynobi, HansU
Time to create page: 1.031 seconds
Powered by Kunena Forum