1091
General Mach Discussion / Re: Cannot get offsets to work in mach3
« on: December 29, 2019, 04:31:26 AM »
there has to be a G43H# (#=toolnumber) in your M6 macro.
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.
DoOEMButton(252) 'disable Z-axis
DoOEMButton(253) 'disable A-axis
If GetOEMLed(88) Then
MSGBox "Z-Axis is disabled"
End If
If NOT GetOEMLed(88) Then
MSGBox "Z-Axis is enabled"
End If
If GetOEMLed(89) Then
MSGBox "A-Axis is disabled"
End If
If NOT GetOEMLed(89) Then
MSGBox "A-Axis is enabled"
End If
'get new tool number
newtool = GetSelectedTool()
'select Offset by toolnumber
If newtool = 1 then
Code "G54"
Else
Code "G55"
End If
If GetOEMLed(79) Then
DeactivateSignal (OUTPUT6)
Else
ActivateSignal (OUTPUT6)
End If
I found a usb to parallel port adapter online and was wondering if this would work