Hello Guest it is March 28, 2024, 12:32:31 PM

Author Topic: Mach 4 and integra Homing issues  (Read 2071 times)

0 Members and 1 Guest are viewing this topic.

Mach 4 and integra Homing issues
« on: July 10, 2018, 01:15:14 PM »
I am having issues with getting the machine to home correctly. First i have updated the board to the latest update and all the limit switches work. when i try to home all it goes through the process but its z+ and stops but dont back off of the switch. i then it stop and it goes to the x hits its limits and says x++ limit is hit. I hit stop again and it goes to the y axis and hits its limit and stops says y limit ++ tripped. then  a small window say all axis referenced but it wont zero out. I know i have all the home inputs set to the correct inputs. Any help is very much appreciated.

Thanks,
Mike

Offline Mauri

*
  •  328 328
    • View Profile
Re: Mach 4 and integra Homing issues
« Reply #1 on: July 10, 2018, 05:07:01 PM »
Mike,
What are your Homing/SoftLimits set in Mach4 Configuration?
I have included mine below in the attachment.
Yours will be different.
You need to have the correct Home Dir and also include the Soft Enable Soft Min Soft Max.
Regards,
Mauri.

Also another way is to install this code in Mach4 Screen "Start Script."
---------------------------------------------------------------
-- 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

---------------------------------------------------------------
-- Ref All Home With Offset() function.
---------------------------------------------------------------
function RefAllHomeWithOffset()
    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
    mc.mcCntlGcodeExecute(inst, "G1 X0.1 Y0.1 Z0.1 F30")
    wx.wxMessageBox('Referencing and Offset Completed')
end