Quote Originally Posted by HankMcSpank View Post
Ok so using this brain melarkey....my z plane lowers & once at say 0.2mm, a trigger happens....but what is the output here? Mach 3 has control of the printer port, presumably once the 0.2mm threshold is breached a nominated pin will change state?
Yes the brain or script watch's the designated Axis DRO and while ever it's at the commanded position it will trigger the pin state of which ever pin you choose, So say output pin 11 will turn ON and activate the dispenser or relay that controls it. Then when axis starts to move the pin state changes back OFF untill it reaches the commanded height again so on and so forth.

The script or brain can be as simple or complex as you want and really for safety sake you would want it to do some simple error checking IE: only change the pin state if the X & Y axis are not moving etc but in it's simplist form it's a very simple thing to do. Go to the artsoft site and watch the vids on scripts and brains it will give you a quick run down and idea just how simple.