Hello Guest it is March 29, 2024, 10:40:05 AM

Author Topic: Mach3, Opt Laser 5W and Aspire  (Read 10663 times)

0 Members and 1 Guest are viewing this topic.

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #100 on: February 25, 2021, 07:37:35 AM »
Hi Allan,

You don't need to do anything, I have already asked the question over at the CNC Drive forum.

I just wanted to know if you had already established if these commands were supported. (If, for example, they are not supported then it's back to the drawing board).

Tweakie.
PEACE

Offline A11an

*
  •  62 62
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #101 on: February 25, 2021, 07:40:46 AM »
Ok Thanks

Fingers crossed!

Allan

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #102 on: February 25, 2021, 07:58:37 AM »
Hi Allan,

For some reason I have not been able to get the UC400ETH Mach3 plugin to work here so could you perhaps carry out a test and report back.

Open the UC400ETH In/Out monitor (Mach3 Plugin Control) load and run your test Gcode file. Does your Port#1 Output Pin 8 toggle in accordance with the M10P1/M11P1 commands ?

Tweakie.
PEACE

Offline A11an

*
  •  62 62
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #103 on: February 25, 2021, 09:16:00 AM »
It's easier for me to video!

And also I got this from CNC4YOU

"Manufacturer says they are available with mach3 and UC400ETH but we have no knowledge of this but does not work with Mach4 and UC400ETH. You should be able so see results on your chosen outputs."

https://youtu.be/dQNJ9__UCl0

https://youtu.be/HD8AaGAHaRI

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #104 on: February 25, 2021, 10:02:08 AM »
Excellent test results  :)

(CNC Drive also confirmed the commands are supported in the Mach3 plugin)

Tweakie.
PEACE

Offline A11an

*
  •  62 62
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #105 on: February 25, 2021, 11:44:50 AM »
Great, let me know whats next

Allan

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #106 on: February 25, 2021, 12:09:31 PM »
When I run some gcode I get 4.95v between pin 3 & 4 with it wired pin 8 10k resistor from 5v to pin 8 on bob
that's like it should be M11P1 is switching Output and Output gives the 5v to Enable Input 1.
so Mach3 and Output are OK, but laser is not turning ON.
the General Problem stay's, and it is, that the laser Controller is not switching ON by using the enable 1 Input, so you can push on the supplier from laser, because this function is not working like described in Manual, or give the
external circuit a try.
this are the only two possibilities i see for the Moment, but maybe i am wrong.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Mach3, Opt Laser 5W and Aspire
« Reply #107 on: February 25, 2021, 07:52:13 PM »
the General Problem stay's, and it is, that the laser Controller is not switching ON by using the enable 1 Input, so you can push on the supplier from laser, because this function

Hello Guys,

Here I'm being pushed lol. I'm jumping in as I would like to help Allan. The controller can be programmed to either use enable inputs or not. It is metter of setting the program on PLH3D-CNC Adapter. https://optlasersgrav.com/user-manuals



I asked allan to change program to 0, just not to use enables for a while. I see 2 problems and several potential issues:

1 problem - laser is burning big hole at the beggining
2 problem - laser is not switched off during idle movement

Potentional problems:
1. Enable input in IS needed and lack of it is causing the laser to switch on during idle movement, but I think it is not the cause.
2. Drivers used in PLH3D Series are really fast, using S1 or Q1 is actually switching it for 1% of power and it may be enough to burn wood on idle movement.
3. Also from some kind of reason I see in Allans G-code only M10P1 and M11P1 but where is M11P255 for example

This is the beggining of the G-Code
G00G21G17G90G40G49G80
G71G91.1
T1M06
S12000M03
G94 M10P1 F1200.0
X0.000Y0.000
G00X-14.573Y-5.721M10P1
G1X-14.573Y-5.721M11P1
G1X-14.526Y-5.886M11P1
G1X-14.510Y-6.066
G1X-14.526Y-6.250
G1X-14.573Y-6.416

Isn't M3 command responsible for spindle signal? It may be the cause that the laser is switched on for a while before M10P1 command.
Allan could you try removing this line with M3 command?

In previous cases I saw people connecting PWM signal responsible for spindle rotation to the PWM input of the laser head or the adapter. Using M3 and M5 commands woudn't be better here?

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #108 on: February 26, 2021, 01:25:35 AM »
Hello Mateusz,
Mach3 is i Little bit different from what you kown it t assume.

in Mach3 (for laser application) it is normaly handled this way:
M3 S********* -> set the power for laser usage
M11P1    -> followed by a G-command (normaly next line) will turn ON Output1 (on Controller) synchronized
                  to  start of axis movemend
M10P1    -> does the same Thing but only to turn OFF Output1

for this reason i advised A11an to set Laser in Mode 2 what IMHO should turn ON laser by Enable Input 1
goes high.
then we made a M3 S1000 to put some voltage to terminal 6 for power and the we put 5V (measured 4.9V)
to terminal 3. measurement was done  between terminal 3 and 4.
but by putting this 5v to terminal 3 Laser did not Switch on beam, and that is the main Problem.

anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach3, Opt Laser 5W and Aspire
« Reply #109 on: February 26, 2021, 02:31:41 AM »
Hi Guys,

Just my thoughts…

I think TPS has suggested reasonable tests to show that the Enable#1 Input of the PLH3D-CNC does not work as defined in the manual.
The actual tests made by Allan appear to confirm that Enable#1 does not work.
Mateusz may be able to show otherwise or suggest a way to make Enable#1 work correctly.
If there is any remaining doubt then use TPS suggestion of an external gating solution such as shown in my diagram here; https://www.machsupport.com/forum/index.php?topic=44431.msg285191#msg285191

Tweakie.
PEACE