Download DC Servo Controller based on RCS4AXIS version 1.7

Transcript
Tel: 1.888.493.6165
Email: Contact@ridgecontrolsystems.com
Fax: 1.888.493.6165
GotoSafeZ()
End If
Else
RetractHeight = PlateThickness + RetractClearance
Code "G0 Z" & RetractHeight
End If
' Display the message
Code "(Z axis is now zeroed)"
' Restore feedrate to original value
Code "F" & CurrentFeed
' Restore coordinate mode to original value
If AbsMode = 0 Then
Code "G91"
End If
Else
Code "(Z-touch plate is grounded, check connection and try again)"
End If
Exit Sub
7. Save the macro file with its default file name.
8. To test the macro, put the Z-touch plate on the surface of the work right
beneath the spindle. Then click on the "Auto Tool Zero" button. The spindle
should slowley go down till it touches the Z-touch plate. After recording the
positon as Z0, it should retract to its original position. When you do this
setup for the first time, stay close to ESTOP button to stop the machine if
anything is not done correctly.