Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:48:55 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Run script when cnc cut finishes
Pages: 1   Go Down
Print
Author Topic: Run script when cnc cut finishes  (Read 853 times)
0 Members and 2 Guests are viewing this topic.
benfly
Active Member

Offline Offline

Posts: 5


View Profile
« on: July 14, 2011, 11:58:13 AM »

Hello all and thank you for reading Smiley,
 
I'm interested in having Mach 3 text/sms/message me when it's done cutting my part.  Sometimes it takes forever to cut a part and I'm OK with leaving it to cut on its own for hours (I like to leave the noisy router room and maybe watch a movie or do something in the yard, or eat some food, etc).  I have some good VB programming experience so I'm comfortable with creating a script that emails/texts/sms messages me, I just need to know how to get Mach 3 to invoke/run my script when it finishes cutting. 

Thanks again,
Ben
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #1 on: July 14, 2011, 05:14:33 PM »

Make it an M code and add it to the end of your g-code.
Logged

BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« Reply #2 on: July 14, 2011, 06:02:08 PM »

I have a script to do the messaging over the web or you can do it with a SMS modem.

You would insert it into the M1030 macro. That way it will text you automatically when the M30 ends the program. It works very well on LONG programs.it just buzzes your cell phone with the text message.

It can have a toggle code  so you can turn off the option when you don't need it.

I can post the code if you want it. I'll drag it out.

(;-) TP

Just a thought (;-) TP

* PhoneHome_MACH3.txt (2.12 KB - downloaded 104 times.)
« Last Edit: July 14, 2011, 06:13:05 PM by BR549 » Logged
benfly
Active Member

Offline Offline

Posts: 5


View Profile
« Reply #3 on: July 20, 2011, 07:43:24 PM »

Awesome BR549, I'd love to see it, Thank you!
Logged
BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« Reply #4 on: July 20, 2011, 08:01:59 PM »

It is In the last message, download the TXT file

(;-) TP
Logged
benfly
Active Member

Offline Offline

Posts: 5


View Profile
« Reply #5 on: July 20, 2011, 09:06:54 PM »

Oh duh, didn't see it, Thanks much!
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!