laser does not work
-
- Messages : 34
- Enregistré le : 20 janv. 2020 22:23
laser does not work
hi, is there something wrong with the settings? I can't get the laser to work. regards
Vous n’avez pas les permissions nécessaires pour voir les fichiers joints à ce message.
-
- Messages : 34
- Enregistré le : 20 janv. 2020 22:23
Re: laser does not work
someone could tell me if these parameters are ok please ...
Re: laser does not work
I do not use any laser on my RS-CNC32, but at least I see one bad value for one parameter I think.
Here is what I see when I interrogate GRBL :
In your config, the laser mode is actived ($32=1, in mine this mode is desactived (no laser) $32=0)
In your config, MAX_SPINDLE_RPM is set to 100 ($30=100). This value also corresponds to the 100% intensity for the laser. So sending M4 + S100 to GRBL sould normally power on the laser and raise it up at its higher intensity. Do not care about the value I have for $30. I control the RPM speed of my spindle using the PWM signal coming from the 32bits GRBL board.
In your config, MIN_SPINDLE_RPM is set to 0 ($31=0). This value also corresponds to the 0% intensity for the laser. So sending M4 + S0 to GRBL sould normally power on the laser at its lower intensity. Do not care about the value I have for $31. I control the RPM speed of my spindle using the PWM signal coming from the 32bits GRBL board.
So these paramaters seem to be OK for a laser use. But remember you usually have to invert the PWM signal to make laser working. Unfortunately, the setup of this parameter can't be see in console mode. You have to check it directly in the firmware of the STM-32, before to compile it. More information about this in the assembly manual of the RS-CNC32, submanual dedicated to the STM-32 programming.
See ya,
Here is what I see when I interrogate GRBL :
In my opinion, $1 has to be set to 255. But this does normally not affect the laser.$0=6
$1=255
$2=0
$3=31
$4=0
$5=1
$6=0
$10=3
$11=0.010
$12=0.002
$13=0
$20=0
$21=1
$22=1
$23=3
$24=100.000
$25=500.000
$26=250
$27=2.000
$30=24000
$31=4000
$32=0
$100=60.000
$101=60.000
$102=400.000
$110=2500.000
$111=2500.000
$112=500.000
$120=80.000
$121=80.000
$122=50.000
$130=540.000
$131=570.000
$132=80.000
In your config, the laser mode is actived ($32=1, in mine this mode is desactived (no laser) $32=0)
In your config, MAX_SPINDLE_RPM is set to 100 ($30=100). This value also corresponds to the 100% intensity for the laser. So sending M4 + S100 to GRBL sould normally power on the laser and raise it up at its higher intensity. Do not care about the value I have for $30. I control the RPM speed of my spindle using the PWM signal coming from the 32bits GRBL board.
In your config, MIN_SPINDLE_RPM is set to 0 ($31=0). This value also corresponds to the 0% intensity for the laser. So sending M4 + S0 to GRBL sould normally power on the laser at its lower intensity. Do not care about the value I have for $31. I control the RPM speed of my spindle using the PWM signal coming from the 32bits GRBL board.
So these paramaters seem to be OK for a laser use. But remember you usually have to invert the PWM signal to make laser working. Unfortunately, the setup of this parameter can't be see in console mode. You have to check it directly in the firmware of the STM-32, before to compile it. More information about this in the assembly manual of the RS-CNC32, submanual dedicated to the STM-32 programming.
See ya,
Gilles, aéromodéliste (RC aeromodeller)
Contributions sur thingiverse (contributions on thingiverse)
Assembly manual of the RS-CNC32
Service de dépannage / Troubleshooting service
Contributions sur thingiverse (contributions on thingiverse)
Assembly manual of the RS-CNC32
Service de dépannage / Troubleshooting service
- RoMaker
- Administrateur du site
- Messages : 5067
- Enregistré le : 02 janv. 2017 20:24
- Localisation : Montpellier
- Contact :
Re: laser does not work
Hi !
The $30 value should be the same as in your software that generates the G-code (S-max).
That could be 100 or 1000 or 255... As you want
The $30 value should be the same as in your software that generates the G-code (S-max).
That could be 100 or 1000 or 255... As you want
Re: laser does not work
¡Aaaaaa sí, esto no me lo recordaba!
Gilles, aéromodéliste (RC aeromodeller)
Contributions sur thingiverse (contributions on thingiverse)
Assembly manual of the RS-CNC32
Service de dépannage / Troubleshooting service
Contributions sur thingiverse (contributions on thingiverse)
Assembly manual of the RS-CNC32
Service de dépannage / Troubleshooting service
-
- Messages : 34
- Enregistré le : 20 janv. 2020 22:23
Re: laser does not work
if i reverse the yellow pwm wire to 5v would there be a problem? it's the only way the laser turns on
-
- Messages : 34
- Enregistré le : 20 janv. 2020 22:23
Re: laser does not work
this is the way i can use the laser by changing the pin to 5v. Is the noise on the X axis due to the drivers or is it necessary to give power? I'm sorry to cause so much trouble
- RoMaker
- Administrateur du site
- Messages : 5067
- Enregistré le : 02 janv. 2017 20:24
- Localisation : Montpellier
- Contact :
Re: laser does not work
With your way, the laser seems to be always at 100%
You have to wire like on the tutorial diagram
The command to control the laser is M4 S**** (**** is the value between the minimum and maximum you put in $30). Stop the laser is M5 Command
Check if you have a common GND between the RS-CNC power supply and laser power supply.
Did you try to engrave a picture like on the tutorial with "laser GRBL" just to test it ?
You have to wire like on the tutorial diagram
The command to control the laser is M4 S**** (**** is the value between the minimum and maximum you put in $30). Stop the laser is M5 Command
Check if you have a common GND between the RS-CNC power supply and laser power supply.
Did you try to engrave a picture like on the tutorial with "laser GRBL" just to test it ?
-
- Messages : 34
- Enregistré le : 20 janv. 2020 22:23
Re: laser does not work
Thanks for your answer, I will look at the wiring, the same is the error there is, yes I followed the steps in the tutorial but when the laser did not turn on, I changed the yellow cable to 5v
- RoMaker
- Administrateur du site
- Messages : 5067
- Enregistré le : 02 janv. 2017 20:24
- Localisation : Montpellier
- Contact :
Re: laser does not work
Do you have the link of your laser module to see specifications ?