Hello Guest it is March 28, 2024, 08:21:27 AM

Author Topic: digitize input to turn on an output Mach3  (Read 2538 times)

0 Members and 1 Guest are viewing this topic.

digitize input to turn on an output Mach3
« on: January 18, 2019, 09:28:19 PM »
I am tired of having to look at the diagnostics screen to see if I have probe continuity before running auto zero. I did modify the screen to add a digitize led by the auto tool zero button. Still would like a LED at the router so I don't have to look at the computer at all. How would I configure the probe input to turn on an output that I could drive the LED with.

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: digitize input to turn on an output Mach3
« Reply #1 on: January 19, 2019, 03:22:24 AM »
you can not configurate this.

you have to use a brain, or macropump for this.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: digitize input to turn on an output Mach3
« Reply #2 on: January 19, 2019, 10:21:43 AM »
I was afraid there would be no easy way to do this. I even thought that some simple circuitry that's watching the input circuit could turn on the led but I'm not savvy enough to come up with that.

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: digitize input to turn on an output Mach3
« Reply #3 on: January 19, 2019, 11:49:15 AM »
ok, no Problem.

give me the Output number you want to turn on, and i give you the brain,
and the instruction, how to implenet it.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: digitize input to turn on an output Mach3
« Reply #4 on: January 19, 2019, 12:53:57 PM »
I am using Port 2, Pin 11 for my probe input and would like to use Output 4 to drive the LED. Would there be much delay from contact to the LED coming on. I am using a PMDX-126 with USB smoothstepper. Thanks for your help.

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: digitize input to turn on an output Mach3
« Reply #5 on: January 20, 2019, 03:40:56 AM »
ok,
attached the brain.

-copy the file to c:\mach3\brains
-start Mach3
-goto Operator -> Brain Control
-highlite the brain DigitzeLED.brn
-set the enable hook
-press reload all

finished

then you can Switch to the diagnostic sceen, and watch output4
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: digitize input to turn on an output Mach3
« Reply #6 on: January 20, 2019, 11:11:42 AM »
While waiting for your file I decided to delve into brains myself. I had some Boolean logic from school and the only difference between
yours and mine was you used a pass through and I used an immediate compare > 0. They both work fine. Thanks for inspiring me to
learn. 40 below C hear last night. Hope your in better weather. 

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: digitize input to turn on an output Mach3
« Reply #7 on: January 20, 2019, 12:18:23 PM »
nice to hear, you got it working.

btw it is a bit wormer here, but also -5°C.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: digitize input to turn on an output Mach3
« Reply #8 on: July 18, 2021, 07:33:59 PM »
Another... More simpler solution that I use, is to take an LED light from a flashlight or something, take the power source, (usually 3xAAA batteries) mount it somewhere convenient, and with a couple alligator clips, attach one end to the tool, and one to the material. Lower tool slowly until it makes contact, it will light up until you retract. Might be a lil Jimmy rigged, but it's useful and no programming necessary. I also use it for setting height and depth on my table saw and radial arm saw. Hope this was helpful.