disable home button while running

More
17 Apr 2011 23:19 #9025 by piasdom
i found this, new with this and it don't look right(from what i kow)

net Xhomesw => or2.0.in0
net Zhomesw => or2.0.in1
net XZhomesw or2.0.out => axis.0.home-sw-in axis.2.home-sw-in

attached is the whole file

File Attachment:

File Name: simulated_home.hal
File Size:1 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
17 Apr 2011 23:21 - 17 Apr 2011 23:28 #9026 by piasdom
one more thing. it'snot justmoving to 1699,
the end mill is moving(right now at 240ipm)
Last edit: 17 Apr 2011 23:28 by piasdom.

Please Log in or Create an account to join the conversation.

More
18 Apr 2011 09:40 #9031 by andypugh
That hal code sets both home switch inputs to EMC2 "true" if either switch is true. Seems odd, but then out of comtext I have no idea what it is for.

I have no idea what is happening with the homing, other than that it seems to work OK on real machines.

Do you have any offsets in the tool table?

Please Log in or Create an account to join the conversation.

More
18 Apr 2011 10:06 - 18 Apr 2011 10:07 #9034 by piasdom
(work again)

can i use halui (home_all) in the mdi-command =
in the ini ? still trying to make that last button and i can't seem to get the
machines' state :)
Last edit: 18 Apr 2011 10:07 by piasdom.

Please Log in or Create an account to join the conversation.

More
18 Apr 2011 10:16 #9037 by piasdom
well, i got this to work. all buttons disabled while running. but work when not :)

net vcp-btn and2.4.in0 == pyvcp.home-all
#net link-home and2.4.in1 halui.machine.on
net zero-all halui.home-all == and2.4.out

net home-in-manual and2.0.in1 and2.1.in1 and2.2.in1 and2.4.in1 == halui.mode.is-manual

Please Log in or Create an account to join the conversation.

More
19 Apr 2011 14:02 - 19 Apr 2011 14:09 #9080 by piasdom
is there a pyvcp button or something to increment jogging. besides a button with a + sign
i want to add a +/- jog button. "is" there such a thingy ? figuring the connections will be fun :)

and can i make the height smaller the 1? anything less faults.
Thanks
Last edit: 19 Apr 2011 14:09 by piasdom.

Please Log in or Create an account to join the conversation.

More
19 Apr 2011 14:15 #9081 by andypugh
piasdom wrote:

is there a pyvcp button or something to increment jogging. besides a button with a + sign

Maybe the jogwheel?
www.anderswallin.net/2010/08/axis-with-pyvcp-jogwheel/

and can i make the height smaller the 1? anything less faults.

You can make all text smaller, which may do the trick.
System->Appearance->Fonts_Tab->Details->DPI setting.

Please Log in or Create an account to join the conversation.

More
19 Apr 2011 14:26 - 19 Apr 2011 14:28 #9082 by piasdom
i looked at the wheel but i would need one for each one or select each before move

changing the font by DPI, doesn't change the font in the buttons/labels font :)
it does change "axis" title bar
Last edit: 19 Apr 2011 14:28 by piasdom.

Please Log in or Create an account to join the conversation.

More
19 Apr 2011 14:32 #9083 by piasdom
oops....thinking about this, i should have said make
the buttons/labels smaller. not the fonts.

Please Log in or Create an account to join the conversation.

More
19 Apr 2011 14:46 #9085 by andypugh
Try it, you might find they all shrink together.

Please Log in or Create an account to join the conversation.

Time to create page: 1.036 seconds
Powered by Kunena Forum