Hello Guest it is April 18, 2024, 07:48:46 PM

Author Topic: laser crosshair setup?  (Read 2166 times)

0 Members and 1 Guest are viewing this topic.

laser crosshair setup?
« on: January 26, 2014, 01:15:10 AM »
I've seen a number of chrosshair lasers mounted on the CNC and seen them jog to the edge of there work piece. But what I'm looking for is the code and the button that once jogged to target I press and I get a GO X <some offset> Y <some offset> ADD tool Radius and auto zero the DRO's.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: laser crosshair setup?
« Reply #1 on: January 26, 2014, 08:27:41 AM »
Just change the values to the offsets from the crosshair to the center of your spindle.

XOffset = 3.43     'X offset from laser crosshair to spindle
YOffset = 4.322   'Y offset from laser crosshair to spindle


SetOEMDRO(800,XOffset)
SetOEMDRO(801,YOffset)

Sleep(125)
  
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html