Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 02:04:17 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
| | |-+  macro when starting mach or after reset
Pages: 1   Go Down
Print
Author Topic: macro when starting mach or after reset  (Read 364 times)
0 Members and 1 Guest are viewing this topic.
tantan
Active Member

Offline Offline

Posts: 67


View Profile
« on: August 16, 2010, 06:13:24 AM »

hi all.

i want to run a macro after mach has been started. how should that be done,

thanks for your answer.

antoine

the neterlands
Logged
BR549
Active Member

Offline Offline

Posts: 2,254


View Profile
« Reply #1 on: August 16, 2010, 09:32:05 AM »

Reference the macro as a Mcode in the initializaton section in Gen Config.
Logged
tantan
Active Member

Offline Offline

Posts: 67


View Profile
« Reply #2 on: August 16, 2010, 09:44:48 AM »

hi,

thanks for your reply, but can you give me an example: my initialisation string now only has "G80" in it.  the name of the macro is test.m1s, should i make my initialisation string "G80 test.m1s"

thanks,
antoine
Logged
BR549
Active Member

Offline Offline

Posts: 2,254


View Profile
« Reply #3 on: August 16, 2010, 10:12:11 AM »

You need to rename your Macro AS say M300 and place it in the macro directory. Then the string would read "G80 M300"
Logged
tantan
Active Member

Offline Offline

Posts: 67


View Profile
« Reply #4 on: August 16, 2010, 11:15:23 AM »

hi

Thanks, Works Perfect!!!!  Smiley


Antoine
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!