Gscreen - a GTK / Glade / Python based screen

More
13 years 5 months ago #34016 by jlviloria
Crhis know the limitation of my English will try my best.

<Tool Editor>

4 = geometry tool = -80.01
10004 = wear tool = 0.6

(I do not use g92 or g54)

1) proceed to "compensate" my tool in Z axis.

2) I press the key "tool-set", digit 0

3) The value of Z in absolute position is 0.6 (take the offset value (10004))

4) delete the offset value (10004) placed him 0, I press apply, reload. back to "compensate"

5) I press key "tool-set" digit 0, and the value returns to 0.6 (the value of wear (10004) is again 0.6)

6) repeat the operation and got it.

7) the third or fourth attempt takes the value 0 at absolute and the wear (10004).

8) when I try to change the tool, get the message "request not found tool 10004 in tool table".

9) I go to the tool-editor, all erased.


I think that happens when you go to "Compensate" a tool that has already been compensated before.


Thanks,


Jorge

Please Log in to join the conversation.

More
13 years 5 months ago #34021 by andypugh
Why is T10004 not wear offset 100 and geometry 04?
I thought that the patch only covered tools up to 99?

Please Log in to join the conversation.

More
13 years 5 months ago #34023 by cmorley

Please Log in to join the conversation.

More
13 years 5 months ago #34092 by jlviloria
Hello,

Chris I have a problem with the keys, Up, Down, Left, Right.

when I press Down and Left in time to move my axes. when I release the keys still moving axis.

Thanks,

jorge viloria

Please Log in to join the conversation.

More
13 years 5 months ago #34104 by cmorley
Ok thanks Jorge.

I have a solution but need to update Gmoccapy too

Soon.

Chris M

Please Log in to join the conversation.

More
13 years 5 months ago #34107 by jlviloria
Chris, I have a question regarding library time.

I wanted to add date and time to my gui-industrial.

I have done the following:

industrial.glade:

label = data_local


industrial_handler.py:

import time

def update_data_local(self):
       localtime = timeasctime (time.localtime (time.time ()))
       self.widgets.data_local.set_text (localtime)


def periodic (self):
        self_update_data_local ()

displays the date and time, but will not let me see the screen in fullscreen.

I appreciate any help, it may be something simple, but I think it is useful.

Jorge

Attachment not found

Please Log in to join the conversation.

More
13 years 5 months ago #34108 by cmorley
Jorge

can you post the complete handler file?

I like the time idea too.

Chris M

Please Log in to join the conversation.

More
13 years 5 months ago #34109 by jlviloria
Thanks Chris,

Thanks Chris,

Good thing interests you. industrial just the default, with the intent of the time ;)

Please Log in to join the conversation.

More
13 years 5 months ago #34110 by jlviloria
Chris

you can try something like mazaktrol used. that has a figure to recognize the tool is being done.
attached a picture.


Attachment not found




thanks

Please Log in to join the conversation.

More
13 years 5 months ago #34113 by cmorley
Jorge:

It was the way you added the time label to Glade - forced the screen too wide, wich doesn't allow full screen.

try this glade file:

Please Log in to join the conversation.

Time to create page: 0.132 seconds
Powered by Kunena Forum