Page 9 of 16

Re: My laser engraver from 0 knowledge to 11.362% .... probably

Posted: Thu Oct 01, 2020 5:17 pm
by BobbyW
ArtF wrote: Hi:

For power, just use a spindle command, like S100 for 100%, and S50 for 50%..

Art
Hello .
I was very busy with my house and i'm back now. So.. I figure out what was wrong with all error mesages,.
well ... i didn't know to made some functions or edit others you need to have pokeys attached.
Also need to check back the library .  :( Now i know.

About power and "S" comand . No way to set the power in GCODE. Definetly is something wrong with my Auggie
or i'm just stupid  :-\ . The rest of Auggie work perfectly , only if i want to run different poers comanded in GCODE
don't work
Also don't work in a single or multi MDI.
I attach below a simple circle shape to test in multi MDI

Code: Select all

M05 S0
G90
G21
G1 F4000
G1  X33.28 Y14.2792
G4 P0 
M03 S18  // no any value here will modify the power 
G4 P0
G1 F600.000000
G2 X29.0247 Y5.2721 I-11.6603 J0.
G2 X17.1484 Y1.0169 I-11.8763 J14.4457
G2 X5.2721 Y5.2721 I-0. J18.7009
G2 X1.0169 Y14.2792 I7.405 J9.0071
G2 X2.1907 Y19.218 I10.9765 J0.
G2 X5.7417 Y23.657 I12.2919 J-6.193
G2 X10.8408 Y26.4969 I10.3556 J-12.596
G2 X17.1484 Y27.5415 I6.3076 J-18.5225
G2 X23.4561 Y26.4969 I-0. J-19.5671
G2 X28.5551 Y23.657 I-5.2565 J-15.4359
G2 X32.1061 Y19.218 I-8.7409 J-10.632
G2 X33.28 Y14.2792 I-9.8027 J-4.9388
G1  X33.28 Y14.2792
G4 P0 
M05 S0
G1 F4000
G1 X0 Y0 
Any sugestion is apreciated
Thanks
Bobby

Re: My laser engraver from 0 knowledge to 11.362% .... probably

Posted: Sat Oct 03, 2020 9:37 pm
by ArtF
Bobby:

  Is the override button under the laser power checked.  If so, it will ignore Gcode power
commands. This allows me to override power without Gcode in the program switching it
back.

Art

Re: My laser engraver from 0 knowledge to 11.362% .... probably

Posted: Sun Oct 04, 2020 2:43 am
by BobbyW
ArtF wrote: Bobby:

  Is the override button under the laser power checked. 
Art
Hi Art . Is almost morning here and no clue about that power set with "S" parameter.
I dont have "override button " for laser on my panel .
I even try with different PC and i managed to mess up pokeys config and all of , soon i connect other PC.
Right now Auggie work realy perfect , no any issue only that power set in GCODE.
Well.. now i'm feel realy stupid. All the time simple things mess me up :(
Thanks . i will keep digging.
Bobby

Re: My laser engraver from 0 knowledge to 11.362% .... probably

Posted: Sun Oct 04, 2020 1:07 pm
by ArtF
Bobby:

  Sorry about that, I was thinking of feedrate.

It wont work with S words controlling the laser unless you change the script in the
LaserSpindleControl library. You need to make the speed function look like this..

global SpindleSpeed = function( speed )
{
  /*power is automatic in laser spindle mode..
    no need to specify, in laser mode, spindle
    power is a function of augmentation */
    print(" Set Max Laser Power" , speed);
    GlobalSet( "LaserMaxPower" ,speed);

}; 

  this will change the slider value to the S word value and burn at that power. There is no override for this
though unless you add some sort of logic to that call to override S words. You will see the slider change
position on each S word in the GCode with this set this way.

Art



Re: My laser engraver from 0 knowledge to 11.362% .... probably

Posted: Sun Oct 04, 2020 8:55 pm
by BobbyW
ArtF wrote: Bobby:


It wont work with S words controlling the laser unless you change the script in the
LaserSpindleControl library. You need to make the speed function look like this..

Art
Hi Art
Yea , yea i should figure out is something missing in spindle library because
i use to control the power like in code posted in picture below.
But was annoing to edit all the code manualy or to create little program to insert automaticaly the code below the S# parameter.
Well... the thing mess me up was the lack of knowledge . I read several section in the forum and in some posts i read
some of GCODE parameters are already included in AUGGIE itself inside of software not in external scripts .
And in my head became the ideea to dont create a conflict if is already defined in program.
Exist somewhere a doc' about all variables used in software and parameters of all of them ?
Anyway , you save me Art , that S# issue became annoing because remain stick on my brain   ;D
So.. i think now i can increase my laser knowledge until 11.363%
Thanks
Bobby


Re: My laser engraver from 0 knowledge to 11.362% .... probably

Posted: Mon Oct 05, 2020 12:09 pm
by ArtF
Bobby:

  Awesome, that too will work. By placing it into the library you just allow it to
automatically translate an S word to a GlobalSet. That you figured that out is
proof your doing very well with it. Mixing script with Gcode is a pretty powerful
way to do almost anything.

Thanks
Art

Re: My laser engraver from 0 knowledge to 11.362% .... probably

Posted: Thu Oct 08, 2020 8:02 pm
by BobbyW
ArtF wrote: Mixing script with Gcode is a pretty powerful
way to do almost anything.

Thanks
Art
Hi Art .
You have right with that .
One of my old problem was to engrave on some small objects a part of them surface . I noticed is very hard to align the perfect possition on that object . Actualy tou need to made some tricks to find the perfect coordonates to engrave on some spots.
So i was thinking to create a extension in Inkscape to be able to comunicate with a " possition sensor camera " and the coordonated and picture to be transfered in Inkscape with some filters and in that way can be able to
put the engrave part in the perfect spot possition .
So i start with that and the next [part in my ideea is to GCODE to be created as reference of that object coordonates.
Until now i was manage to create the perfect reference of object dimmension and to be able to have the perfect distance from X home to that object .
Still i have some problems with Y axis but i will figure out at the end.
The error of object size is maximum 200u and the same for X axis (senzor limits), but 0.2mm is not a problem anymore .
Doing that by hand definetly is more big error. That dont bother me now.
I put below some vids. The sensor is a VISOR vision sensor A10.
https://youtu.be/Iw03eUHwro8
https://youtu.be/as9MhaYxpaE

And some pic below . Thanks
Bobby

Re: My laser engraver from 0 knowledge to 32.461% .... probably

Posted: Thu Oct 08, 2020 9:29 pm
by BobbyW
Well , finaly first test after i fix Y issue . For some reason GCODE take value as px on Y and
mm on X . Weird but i found the issue . Was in senzor config.
https://youtu.be/PUGZnfOyaHE

And the sensor i use it for
https://s3-eu-west-1.amazonaws.com/4top-assets/media/Sensopart/Manual/sensopart_manual_v10_v20_def.pdf

Now will be a problem with Z , because soon i will mode the table the entire calibration will be gone .
I need to find a way to made a offset for Z and also that will be tight in connection of size of object and XY reference .
Thanks
Bobby

Re: My laser engraver from 0 knowledge to 32.461% .... probably

Posted: Tue Nov 10, 2020 9:29 pm
by BobbyW
Hi everyone .
During time i keep playing with Auggie on different materials different resolutions
and of course different type of pictures how mucth the difference will do
a simple picture and one already made in BW and limit 100 in gray scale.
All good but sometimes after i generate with AUGS i get blank screen
like all the code missing in "aug" file but if you look is there .And i figure out
if in mistake you have double " . " (don't know the term in english) in the photo name
like " photo_1.300x300.jpg " the "tap" file will be ok but Auggie will don't recognize the
"aug" file because on tap file the program will remove automaticaly the " . " but
the "aug"file will remain the same /
I hope will help someone
Keep playing
Bobby

Re: My laser engraver from 0 knowledge to 32.461% .... probably

Posted: Thu Nov 12, 2020 8:07 pm
by ArtF
Bobby:

Thx for that note.. I will make a note to change the "." search to "from the start" to "from the end" in the code next
time Im in there. Good work on noting that...

Thx

Art