Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Brian Barker on May 06, 2006, 06:12:11 PM

Title: M3 and M4 Revers depending on the gear...
Post by: Brian Barker on May 06, 2006, 06:12:11 PM
Here are the macros that will revers the spindle depending on the gear that you are running. This was done to help people that are running Bp's because back gear will revers the spindle... Put the M3 code in the m3.m1s and the M4 in the m4.m1s macro

'M3.m1s
 If (GetOEMDRO (56) = 1) Then
 DoSpinCW()
 End If
 If (GetOEMDRO (56) = 2) Then
 DoSpinCCW()
 End If
 
'M4.m1s
 If (GetOEMDRO (56) = 1) Then
 DoSpinCCW()
 End If
 If (GetOEMDRO (56) = 2) Then
 DoSpinCW()
 End If


Hope this will help a few of you :)
Title: Re: M3 and M4 Revers depending on the gear...
Post by: ynneb on May 07, 2006, 01:26:43 AM
Thanks for this Brian. Though I couldnt use them personally, I appreciate you posting them.