1921
G-Code, CAD, and CAM discussions / Re: Mach3 reads in cm and not in mm in Gcode file...
« on: March 15, 2018, 10:39:37 AM »
are you starting Mach3 as Admin ?
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.
If IsMoving() Then
If GetUserDro(1301) = 0 Then
If (GetDro(0) > 10) And (GetDro(0) < 15) Then
ActivateSignal(OUTPUT2)
SetUserDro(1300,10)
SetUserDro(1301,1)
End If
If (GetDro(0) > 60) And (GetDro(0) < 65) Then
ActivateSignal(OUTPUT2)
SetUserDro(1300,10)
SetUserDro(1301,1)
End If
If (GetDro(0) > 110) And (GetDro(0) < 115) Then
ActivateSignal(OUTPUT2)
SetUserDro(1300,10)
SetUserDro(1301,1)
End If
End if
End If
If GetUserDro(1300) >= 0 Then
SetUserDro(1300,GetUserDro(1300)-1)
If GetUserDro(1300) = 0 Then
DeactivateSignal(OUTPUT2)
SetUserDro(1301,0)
End If
End If