6040
« on: January 12, 2011, 12:12:16 PM »
That distance PLUS the amount of travel in the switch is used to move the head BACK up so the tip of the torch is exactly at the top of the material.
Using the G28.1 method and assuming the distance + the travel equals .250" NOTE: your Cam program will have a place for THAT setting
G28.1 Z.50 ' references the head down until it trips the switch
G92 Z0.000 'Sets that point to ZERO
G0 Z0.250 ' Moves the head UP the amount of the head travel + switch movement
G92 Z0.000 ' Sets that position to ZERO, that will be TOP of the material,
G0 Z.100 ' Move the head up to a clearance position
NOW you head is referenced to the TOM and you are ready to start a cut.
Note that most CAMS rereference the TOM every so many inches of torch travel . If the setting is every 50" then the next torch start after the machine has cut 50" then it will ref the head before it cuts again.
Collar Distance?? Make it anything you like (;-) normally the closer the better.
Hope that helps (;-) TP