Machsupport Forum
Mach Discussion => Mach Screens => Topic started by: Seba on September 27, 2019, 01:11:48 PM
-
Witam .
Proszę o pomoc , jak mam zrobić w Mach Screens zliczanie wykonanych elementów ?
Pozdrawiam
-
English, please :)
-
Witam .
Proszę o pomoc , jak mam zrobić w Mach Screens zliczanie wykonanych elementów ?
Pozdrawiam
Hello .
I am asking for help, how should I do counting of elements in Mach Screens?
best regards
-
Seba,
Not sure what you mean by "counting of elements".
If that relates to your other topic
https://www.machsupport.com/forum/index.php?topic=41800.msg273153#msg273153 (https://www.machsupport.com/forum/index.php?topic=41800.msg273153#msg273153)
Then you can use a screen editor called MachScreen by K.Dietz to modify a screen set used by Mach.
LINK: https://kd-dietz.com/ (https://kd-dietz.com/)
RICH
-
Hello
Exactly, I want the machu3 to have a counter and show how many elements I did, that is, each time g-cod counts and pops up on the desktop
-
Graham already explained in your other topic: https://www.machsupport.com/forum/index.php?topic=41800.msg273153#msg273153
-
I am asking for a more detailed explanation or some prtsc how to do it because I do not quite understand
-
Seba,
How to do screen modifications starts with you downloading the screen editor.
I gave you the link. Then view / study the tutorials and videos on that site.
I assume you are using the standard Mach3 mill screen which is 1024.set.
Make a copy of that file and place it in a safe place.
Now you must go through a learning curve,
Open the mill screen using MachScreen.
Click the Help Tab and review all the help.
Play around with all the controls, etc, but don't save anything when you exit MachScreen.
I suggest you download and review the Mach Customization Guide and Macro Programmers reference Manual.
Ask questions after you do the above.
Yes, someone can do what you want quickly ,BUT, it's better that you learn.
Have some fun with the learning curve ,
RICH
-
I have already done all of this, I have adapted the macha3 desktop to my needs, but I would like to add it to count the number of finished g-cods
-
what I'm doing wrong
-
T1M6
G17
G0X09.048Y08.090Z0
G0X0.000Z0.000
#1200=#1200+1
M30
Do you see where you made a mistake?
In the other topic of yours Graham wrote:
Then on the end of every g-code file just before the M30 enter
#1200 = #1200 +1
-
But a g-code error pops up
-
But a g-code error pops up
T1M6
G17
G0X09.048Y08.090Z0
G0X0.000Z0.000
#1200=[#1200+1]
M30
%
This one does not throw error :)
When you have math operations, they have to be enclosed in square brackets. Notice the percent (%) sign at the end of the program. If your program does not have CRLF after M30, this is the way to be on the safe side, % is anyway ignored.
HTH
-
Thank you very much but I still don't count the number of completed items
-
Thank you very much but I still don't count the number of completed items
Not incrementing DRO, user variable incrementing.
But, you can write a macro and add it to your macro folder and it works perfectly:
count = getuserdro(1200)
count = count + 1
detuserdro(1200, count)
Save it as M900.m1s
then add it to your GCode program:
T1M6
G17
G0X09.048Y08.090Z0
G0X0.000Z0.000
M900
M30
%
It increments DRO 1200 every time before rewinding program.
-
Thank you very much for help .
And how do I add a macro?
-
Is that how I was supposed to do it?
Because it still doesn't work
-
Ok, typing error :(
last line in macro should be setuserdro...
I realy don't like when people do blind copy/paste.
-
Hello
Thank you very much, everything works beautifully, I am very grateful. Again thank you very much :) :) :) :) :) :) :) :) :) :)
-
Tomorrow I will insert a screenshot of how it all looks
-
You're welcome, Sebastian.
-
Once again, thank you. I'm sending a desktop photo. If you are in Poland, I invite you for a beer. Regards
-
Hello, I still have one question, everything works beautifully but when I load the g-cod program it is already counting me how to eliminate it so that mach 3 does not check g-code
best regards
-
:) .... in General Config.
-
You are great thank you very much.
I still have one stupid question and is it possible to send a production report by e-mail automatically?
And how did you like the movie I sent chocolate typewriters
-
Movie is nice, but I could not taste the letters :D
-
You are great thank you very much.
I still have one stupid question and is it possible to send a production report by e-mail automatically?
And how did you like the movie I sent chocolate typewriters
You are quite welcome ! :)
The chocolate screen looks really nice, and makes my mouth water .... almost as much as beer does. Yum Yum.
I can't help you with the auto email report, sorry. (there goes my "great" status :P .... again ;D
Cheers,
:)
-
Movie is nice, but I could not taste the letters :D
The movie ! ! !
Where is the movie !
I need to see the chocolate movie !
;D ;D ;D :) >:D
-
https://www.youtube.com/watch?v=fi79UQxfP4A
Here.
Don't lick monitor :D
-
:) Mmmmmmmm, hold my beer ;D
-
https://youtu.be/El7OySPwIGA
This is a chocolate typewriter.
-
Hey, come on guys - stop feeding Russ chocolate ;D ;D
Tweakie.
-
Why not? It tastes soooo goooooood :)
-
Hey, come on guys - stop feeding Russ chocolate ;D ;D
Tweakie.
;D ;D
Its OK ….. I'm officially on a liquid diet now. :)
-
Why not? It tastes soooo goooooood :)
I didn't like to say before but it make him hyperactive. ;D ;D