Hello Guest it is March 19, 2024, 01:06:22 AM

Author Topic: The Laser Project.  (Read 1191348 times)

0 Members and 1 Guest are viewing this topic.

Re: The Laser Project.
« Reply #960 on: April 21, 2016, 07:34:38 AM »
Dan,

There are many ways to setup your machine for this process.

A US Digital MA3 shaft encoder for analog or PWM laser modulation timing belted to the Z axis stepper would allow the Z axis down movement and laser modulation at the same time, but they would be synchronized together. A variable feedrate can be used also.

Or, you can use a switch for different stepper motors. Set the Z axis focal height, then switch to the MA3 stepper to control the laser modulation with Z axis commands. A variable feedrate can be used also.

Or, you can use a DAC or a MA3 as a 4th axis. Z axis down movement commands & A,B or C axis laser modulation commands can be set independently, but still on the same line of gcode. You can also vary the feedrate.

There are other options and somewhat similar, but they are out of Mach3's ability. It consists of using X, Y axis moves and then S commands for the laser's modulation. A variable feedrate can be used with it also.

You can try just using a variable feedrate, but by using both variable laser power and variable feedrate combined together, it gives you more control of the outcome as you can see in my examples.

Jeff
Extensivly Re-worked/Re-designed/Modified Servo K2CNC KG-3925 and the Mini Laser Engraver

Offline Dan13

*
  •  1,208 1,208
    • View Profile
    • DY Engineering
Re: The Laser Project.
« Reply #961 on: April 21, 2016, 08:59:08 AM »
Thanks for explaining it, Jeff.

Dan

Offline ART

*
  • *
  •  1,702 1,702
  • Tough as soggy paper.
    • View Profile
Re: The Laser Project.
« Reply #962 on: April 21, 2016, 03:55:17 PM »
Jeff:

    Thx for the photo's, they really are great engravings. I hadn't thought of adjusting feedrate, Ill add that to the PWM to see if perhaps using all 3, feedrate, PWM and
Z height will produce better.

Art


Re: The Laser Project.
« Reply #963 on: April 21, 2016, 06:54:28 PM »
Thanks Art,

I'm sure it's allot easier to tame a 3W laser diode, then a CO2. :-)

Jeff
Extensivly Re-worked/Re-designed/Modified Servo K2CNC KG-3925 and the Mini Laser Engraver
Re: The Laser Project.
« Reply #964 on: June 20, 2016, 08:16:23 AM »
When using the Impact / Laser Engraving plugin, I have found that the initial preparation of the image or photo is key to success. A free program which has just come to my attention is FotoSketcher by David Thoiron. http://www.fotosketcher.com/download.htm
(When installing use the advanced options unless you want to install the unwanted toolbars etc or else download the portable version).
This program is capable of producing some quite stunning results and in some ways can be better than the Photochop plugin I have been using to date.

Tweakie.

To prepare photos well, another photo post processing goodware is image filter editor, which supports fast adding photo protections as well as well editing.




Re: The Laser Project.
« Reply #965 on: April 09, 2017, 07:08:27 AM »
Hey. Greeting from far away! I'm from Belarus from the city of Minsk.
Sorry for my bad English. I use google translator.
For half a year I have been studying the theme of a solid-state laser. I did a lot of experiments and achieved good results. I have a channel on youtube. There is a video about my progress. I can post a link to the video only with your permission. You're the master here) I read almost all of the 97 pages of this topic - using an interpreter. I even began to understand the humor on the forum) Your projects are everywhere) Everything is pretty well written! Thank you for your work.

Closer to the point)

a)
I managed with your help to run the plugin Engraving DLL v1.2s - works fine. Thank you ! But there was a problem. Laser power adjustment is required, and in this plug-in this is not possible. I need laser engraving on natural skin. And there it is necessary to regulate the depth of the burn. Moreover, the plugin does not behave correctly on my machine. It makes a move to the right, then immediately to the left, and then a pause of about 500 milliseconds. This greatly slows down processing. What G code is used in the plugin - I have not found it anywhere. Therefore, I can not edit it. I realized that the principle is based on changing the pulse frequency of 40 microseconds in length. Do you have a G code from the plugin for example? To understand his work?
I tried changing the processing speed and accuracy to 0.1 millimeter. But this is not enough.

B)
I tried to create my G code with DotG v0631. I tried to manually adjust the laser power. This also did not work ... I still did not understand how to check whether my Mac3 sees the commands M11P1 and M10 P1.

I have version Mach3 R3.043.066 - it is higher than version Mach3 R3.043.056. So these teams should work. But this does not happen - my homemade CNC machine runs in jerks - which was not the case with Plug Engraving. Here is an example of my code:

(- DotG program -)
(X = 0 to 160 Y = 0 to 100)

G17 G21 G40
G80 G90 G94
F1000
M10P1 b0
G0 X0 Y0


G0 X151 Y5.25
M11P1 b1
 
G1 X150.75 F1000

M10P1 b0

G0 X151.25 Y5.5
M11P1 b1

Is it correct? My machine brakes at each of these points.
How can I check whether the M10P1 and M11P1 commands work?
How to create a normal code with M10P1 / M11P1 commands?

at)
Of course I want the best of options. To control the laser power at each point of burning. I read a lot of your articles. And I saw that you use command C *** for power adjustment where S0 is 0% power, and S1000 (or S100) is 100% power.
But as soon as I add the S *** command - the CNC machine starts working slowly at once.
It's strange why this does not happen when working with a palagin.
What does your G code look like? Show me your example.

Conclusion. The plugin works fine, but there is no power adjustment and pauses in 500 microseconds. M10P1 b0 and M11P1 b1 I think they do not work for me. The control of the spindle command (PWM) slows down the machine.

You would have helped me a lot.
Thanks for the help !

Offline Tweakie.CNC

*
  • *
  •  9,194 9,194
  • Super Kitty
    • View Profile
Re: The Laser Project.
« Reply #966 on: April 09, 2017, 09:06:18 AM »
Hi Desert Eagle,

Welcome to the forum.

DotG was originally intended for impact engraving so the actual ‘dot’ is produced when the X axis is stationary. The axis motion is basically stop – start.  To enable DotG operation with a laser then a dummy axis (axis B) was used to trigger the M10/M11 commands. This article attempts to explain the M10/M11 commands and how axis movement (any axis) is necessary for their operation.  http://hobbycncart.com/publ/cikkek/mach3_temaju_cikkek/switching_a_laser_under_mach_control/8-1-0-29

Mach3 version .066 may not be the best version for you to be using. The overall opinion of the forum is that version .062 is best. ftp://anonymous:guest@ftp.machsupport.com/Mach3/Mach3Version3.043.062.exe

The plugin delay, after the movement to the left, is something I have been meaning to correct but, like so many other things, it never happened – perhaps one day I will do it. You can make a reduction in this delay by operating the plugin in constant velocity mode.
The plugin writes directly to the Mach3 engine so no separate Gcode is available for viewing or editing.
The plugin uses a constant 40uS pulse width (this does not change) it is total number of pulses per pixel (determined by the pixel value) which regulates the laser power or burn.

Hope this helps.

Tweakie.
« Last Edit: April 09, 2017, 09:09:57 AM by Tweakie.CNC »
PEACE
Re: The Laser Project.
« Reply #967 on: April 10, 2017, 01:20:34 PM »
Thanks for the nice reception on the forum!
Thanks for the link to Mach3Version3.043.062. I was looking for an older version with respect to .066, but I did not find it. Soon I'll try it in action.

By plugin. I have a fixed speed. But this does not take away the delay.
The plugin program is good.
It's a pity there is no tuning of the power of burning.

But with control via the virtual axis B nothing happened.
More precisely, the virtual axis itself works. But the CNC machine still works jerky.
The article you dumped - I also read and translated.
But I do not really understand how the virtual B axis changes something.
It seems to me that DotG does not correctly calculate the X axis movement.
Maybe you have an example of a working code - which works fine without jerking. I can try it for myself. True, I have a limited desktop size of 200x450 millimeters.

Thank you in advance.) Nikolaj

Offline Tweakie.CNC

*
  • *
  •  9,194 9,194
  • Super Kitty
    • View Profile
Re: The Laser Project.
« Reply #968 on: April 11, 2017, 01:18:34 AM »
Hi Nikolaj,

The DotG X axis motion is 'stop-start' so, in operation, it will be 'jerky'. This can, top some extent, be reduced by selecting a suitable feed-rate / Acceleration.
The 'virtual B axis' movement is necessary to trigger the M10 / M11 commands whilst the X axis is stationary (the M10 / M11 commands will only take effect at the instant of an axis movement).

Hope this helps.

Tweakie.
PEACE

Offline Dan13

*
  •  1,208 1,208
    • View Profile
    • DY Engineering
Re: The Laser Project.
« Reply #969 on: April 12, 2017, 02:34:05 AM »
Hi Tweakie,
I think it was here that I saw someone who used the Z motor coupled to an encoder to do analogue control of a laser power. Wanted to review his work and try to implement this idea for impact engraving. Do you remember who it was and do you have some reference?

Dan