Hello
Guest
it is
March 02, 2021, 01:02:51 PM
Guest
Login
Register
Menu
Home
Help
Search
Calendar
Members
Members
View the memberlist
Search For Members
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
General Mach Discussion
/
Home switches
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: Home switches (Read 1350 times)
0 Members and 1 Guest are viewing this topic.
Kev
3
Home switches
«
on:
April 15, 2017, 06:12:20 PM »
Hi there, How can I get the axis to step off the home switches so they are clear by about 5mm ?
Kev
Logged
Davek0974
2,606
Re: Home switches
«
Reply #1 on:
April 17, 2017, 02:12:00 PM »
AFIK there is no setting for this, if the axis is not stepping back or only just stepping back it is likely switch bounce - try adding some de-bounce and try again, might need deifferent switches.
Logged
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.
rhtuttle
487
Re: Home switches
«
Reply #2 on:
April 17, 2017, 03:11:19 PM »
If I understand you correctly you want to ref an axis which goes to the limit switch and then backs off until the switch is inactive and then proceed another 5mm. If that is correct then choose operater->edit button script and then click on the ref all home button.
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 ) c
Depending on what axis you want to move off from change to:
DoButton( 24 ) ; ref Z
Code("G1 Z5")
DoButton( 23 ) ; ref Y
code("G1 Y5")
DoButton( 22 ) ; ref X
code("G1 X5")
DoButton( 25 ) ; ref A
HTH
RT
Logged
Print
Pages:
1
Go Up
« previous
next »