Download USBCNC manual

Transcript
EDINGCNC
Manual
The code below is also inside file macro.cnc, for each tool there is a DropTool subroutine and a Pick-tool sun-routine. DropTool makes the movements and IO for putting
the tool from spindle in the tool holder. PickTool makes the movements and I/O to pick
the tool from the tool holder and put it in the spindle.
These subroutines below are machine dependent and need to be filled in by yourself.
This example works only for the Kress Tool changer.
;Drop tool subroutines, these put the tool in spindle in the tool-holder
Sub DropTool0
msg "Dropping tool 0"
;Tool 0 is no tool, so we just open yhe tool station here for PickTool which comes next
M54P3
;Open toolstation OUTPUT AUX3
G4P1
;Wait 1 seconds
endsub
Sub DropTool1
msg "Dropping tool 1"
M5
G53G0Z100
G53G0X825.00Y173.00
M54P3
G4P1
G53G1X867.206Y173.156F220
g53G0Z60
g53G01Z32.000F120
M54P1
G4P1
G53G01Z45F100
M55P1
G53G0Z100
endsub
Sub DropTool2
msg "Dropping tool 2"
M5
G53G0Z100
G53G0X825.00Y208.00
M54P3
G4P01
G53G1X867.200Y208.156F220
g53G0Z60
g53G01Z32.000F120
M54P1
G4P1
G53G01Z45F100
M55P1
G53G0Z100
endsub
Sub DropTool3
msg "Dropping tool 3"
M5
G53G0Z100
G53G0X825.00Y243.00
M54P3
G4P01
G53G1X867.116Y243.156F220
G53G0Z60
G53G01Z32.000F120
M54P1
G4P1
G53G01Z45F100
M55P1
G53G0Z100
endsub
Sub DropTool4
msg "Dropping tool 4"
M5
G53G0Z100
G53G0X825.00Y278.00
M54P3
12 September 2014
;Z up 110 is and machinebed is zero
;Move just before drop place
;Open toolstation
;Wait 1 seconds
;Move into drop place
;Move down fast but not fully to the endposition
;Move down the last mm slower
;AUX1 ON air pressure toolchange
;Wait 1 second
;Move up slowly to move free from toolstation
;AUX1 off, tool dropped
;Further up and done with dropping tool
;Z up 110 is and machinebed is zero
;Move just before drop place
;Open toolstation
;Wait 1 seconds
;Move into drop place
;Move down fast but not fully to the endposition
;Move down the last mm slower
;AUX1 ON air pressure toolchange
;Wait 1 second
;Move up slowly to move free from toolstation
;AUX1 off, tool dropped
;Further up and done with dropping tool
;Z up 110 is and machinebed is zero
;Move just before drop place
;Open toolstation
;Wait 1 seconds
;Move into drop place
;Move down fast but not fully to the endposition
;Move down the last mm slower
;AUX1 ON air pressure toolchange
;Wait 1 second
;Move up slowly to move free from toolstation
;AUX1 off, tool dropped
;Further up and done with dropping tool
;Z up 110 is and machinebed is zero
;Move just before drop place
;Open toolstation
Release 4.01
155