I'd provided how to set the g68 in the file that was posted to your other thread.
http://www.machsupport.com/forum/index.php/topic,26758.msg189574.html#msg189574Call SetOemDro (118,NewAngle)
OEMDRO was added to screen with machscreen. To show me what it was set too. As if it is anything other than zero the Axis X Y DRO's values turn red.
The sensor you used before does not need the Arduino to work, it just needed a 12 volt DC supply, as it incorporated a SPDT relay.
You could then provided the 5 volt source at the relay.
Though it does a poor job of detecting a thin line and lighting the area has to be extremely controlled to be accurate and repeatable.
Using a wide line to get it to work well, makes me suspect its precision at the ability to find the true corner of the scanned probing routine.