Hello Guest it is May 26, 2019, 07:44:07 PM

Author Topic: How do i setup Mach3 to control a laser with TTL input?  (Read 33617 times)

0 Members and 1 Guest are viewing this topic.

Offline boxin

*
  •  10 10
    • View Profile
Re: How do i setup Mach3 to control a laser with TTL input?
« Reply #10 on: February 28, 2017, 11:56:07 PM »
Hi Borge,
The laser TTL spec is usually <0.5volts for off and >2.0 for on. Providing it does not draw any appreciable current this input can be connected to the Z axis direction pin  on the BOB so that it turns the laser on for -Z moves and off for +Z moves. I disable the Z axis so that the laser focus is not disturbed and use the Z axis DRO scale factor to control the 'laser bite time' (which varies from material to material). If the laser operation is reversed then change the direction active low under ports and pins.
Although I have used this method quite successfully I now favour a simple shutter system to switch the laser beam on and off, again using the Z axis direction signal as I believe that longer laser life will be achieved by using a soft start when it is turned on from cold.

Tweakie.

There is some further information here :-

http://www.cooperman.talktalk.net/index_files/Page4549.htm

Hi Tweakie.CNC
Could you or anyone else tell me why when I use this method, the laser stays on only a flash? The laser does not stay on for the entire path, only turns on for an instant. Do you use some kind of monostable to deal with this?

Offline Tweakie.CNC

*
  • *
  •  7,765 7,765
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: How do i setup Mach3 to control a laser with TTL input?
« Reply #11 on: March 01, 2017, 01:44:46 AM »
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.