Hello Guest it is April 18, 2024, 12:32:41 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - nickcnc

Pages: 1 2 3 »
1
Mach4 General Discussion / Re: Confusion about home switch location
« on: December 11, 2017, 01:06:56 PM »
Thank you all! Im still new to all the machine configuration, I figured it out after some fiddling and head scratching, learning a lot in the process. it basically boiled do to things not moving the right way.. so now they move the right and things are good!  :D  Appreciate all the great information guys.


- Nick

2
Mach4 General Discussion / Confusion about home switch location
« on: December 09, 2017, 04:35:09 PM »
Hello. My x axis homes to the left....  meaning the table moves to the left when homing. When i look at the machine extents, the x axis appears to be reversed. It seems like mach 4 wants my x home switch on the other side and then all would be good. Is there was way to remedy this with out moving switches around? I have tried home offset, but it would appear i'm missing something...

- Nick

3
Mach4 General Discussion / Re: Reference all home help.
« on: December 06, 2017, 09:57:34 PM »
 ;D ;D ;D Things are moving!! I wanted to give a big shout out to Joeaverage! You have been the utmost help and VERY patient with my questions! Thank you I really appreciate it. seeing the code work make me grin ear to ear! Looking forward to getting this machine going.

- Nick

Live action VIDEO   ;)
https://youtu.be/Dc-_CjMxNgE

4
Mach4 General Discussion / Re: Reference all home help.
« on: December 04, 2017, 08:36:16 PM »
Chaoticone and Joeaverage hello! Thanks for all the feed back and assistance =)  Doing some searching and playing around with the co-routine in the screen load. placing GoCenter() in the ref all causes like you said for the reference complete message to pop up before the x,y move is complete... Im sure its something very obvious  ;)  but unlike Craig my ignorance is less blissful  ;D  Is it a simple matter of placing the code correctly in the ref all.

- Nick

5
Mach4 General Discussion / Re: Reference all home help.
« on: December 04, 2017, 05:36:59 PM »
hahah "quick forgetter" thats funny! With the current "to center" code and my new changes to the softlimits, i have tested different values, tried different combinations to make it do something odd or miss behave. I feel comfortable and want to make your code execute automatically after the "reference all button" is clicked. How can i call the "GoCenter()" function automatically in the reference all script? ....

Can i add something to the REF all home function to call the "GoCenter()" function and make it happen in one fell swoop?

---------------------------------------------------------------
-- Ref All Home() function.
---------------------------------------------------------------
function RefAllHome()
    mc.mcAxisDerefAll(inst)  --Just to turn off all ref leds
    mc.mcAxisHomeAll(inst)
    coroutine.yield() --yield coroutine so we can do the following after motion stops
    ----See ref all home button and plc script for coroutine.create and coroutine.resume
   
--
    wx.wxMessageBox('Referencing is complete')
end



6
Mach4 General Discussion / Re: Reference all home help.
« on: December 04, 2017, 04:27:41 PM »
I have since went to the machine and and confirmed what you had mentioned! Having the home switch outside the soft limits was causing problems! I have since switched x min soft limit to 0 and can now run the "to center" code as expected with soft-limits enabled right out of the gate! Clicking the machine coordinates helped with seeing what was going on!  :) 

7
Mach4 General Discussion / Re: Reference all home help.
« on: December 04, 2017, 01:45:52 PM »
I totally understand what you are saying! I guess how i arrived at the .250 was wanting to keep the axis off the switch, like a buffer zone? This could be causing problems with the code after soft limits are turned on.... i might be crazy, but i thought mach would ignore the soft limits when reference all axis was commanded?



"When you Home the machine to the Home switches, Machine Zero is set. The Softlimits are in relation to Machine Zero.
What I do, is set my Home Offset to a small negative value, say -.5".
So after homing, when my home switch is then acting as a limit switch, I can go to the zero position on the axis and still be .5" away from the switch. If you then set softlimit min to 0, the machine will stop before it gets near the physical limit (home) switch."

(Google search) trying to better understand i have found mention of what i think I'm trying to do.. =)
would this interfere with reference all?

8
Mach4 General Discussion / Re: Reference all home help.
« on: December 04, 2017, 12:38:07 PM »
I will click it to machine co-oridinates and do some looking. Im not clear on what you are saying about being outside of the home switch. As it stands this is how my machine is configured. 3 home switches at the end of each axis. in the ess plugin I have my soft min max for say the X axis at.... min .250 max 18.0 ... I figured this being the soft limit would after the machine homed keep the machine .250' off the home switch? Does that make sense? Do you think I'm not using the softlimits right? Thanks - Nick

9
Mach4 General Discussion / Re: Reference all home help.
« on: December 03, 2017, 06:45:38 PM »
Craig! We have movement!!  ;D ;D ;D .



Here is a video.... not sure how to post videos on here the proper way.

https://youtu.be/VIjoA5kOhTg


10
Mach4 General Discussion / Re: Reference all home help.
« on: December 03, 2017, 05:05:50 PM »
Trying to set up the actual machine using my renamed machine profile i dont have the option to access the regfile / create in the plugins drop down..?  its there on the wx4 screenset on my laptop. Is there something I'm missing? I can see the plugin in the c/mach4hobby plugin folder....

Pages: 1 2 3 »