2 simple macro questions.
Posted: Wed Mar 13, 2019 4:00 pm
#1: How would I go about modifying the homing macro on my lathe to make the axis back off the switch farther (.100” or so) before traveling back & tripping the switch the 2nd time?
Here is what I’m using now which is working "OK" with my combined mechanical switch/opto-sensor homing scheme. I think it will be more accurate & repeatable with a longer back off/reversal movement.
M106 /X P50002 F5
M105 /X P-50002 F.5
M106 /X P50002 F.5
M26 /X
M106 /Z P50003 F5
M105 /Z P-50003 F.5
M106 /Z P50003 F.5
M26 /Z
#2: I now have a Centroid wireless pendant (LOVE IT!!) and will set it up with 2 of its aux button/macros to initiate my X and Z tool setting moves. Is it possible to set them up so that the 2 buttons will *ONLY* operate from inside the tool setting menu option in CNC 12? If that’s not possible, set them so they will *ONLY* operate when a second button is pressed at the same time? This should prevent a dumb-a$$ (such as myself) from starting an unwanted movement.
Here is what I’m using now which is working "OK" with my combined mechanical switch/opto-sensor homing scheme. I think it will be more accurate & repeatable with a longer back off/reversal movement.
M106 /X P50002 F5
M105 /X P-50002 F.5
M106 /X P50002 F.5
M26 /X
M106 /Z P50003 F5
M105 /Z P-50003 F.5
M106 /Z P50003 F.5
M26 /Z
#2: I now have a Centroid wireless pendant (LOVE IT!!) and will set it up with 2 of its aux button/macros to initiate my X and Z tool setting moves. Is it possible to set them up so that the 2 buttons will *ONLY* operate from inside the tool setting menu option in CNC 12? If that’s not possible, set them so they will *ONLY* operate when a second button is pressed at the same time? This should prevent a dumb-a$$ (such as myself) from starting an unwanted movement.