Machsupport Forum
Mach Discussion => Mach Screens => Machscreen Screen Designer => Topic started by: tantan on August 05, 2009, 03:10:43 AM
-
hi,
nice product! dutch language too!!!. i cannot find out how to execute gcode by a button. what i want is: when i click on a button mach has to exectue M6 T0101 or G53 X0 Z0 F1200
i hope someone can help me with this
thanks
antoine
the netherlands
-
Hi Antoine
click the button you want to attach the g-code to. In the dialog box "Machscreen eigenschappen" double click in the column "value" of "uitvoer code" line. Choose G-Code in the next dialogbox. Now you can edit your G-Code with the opened editor. Finish your editing with menu "Bestand" and use "gebruik data en sluiten".
Klaus
-
ok klaus thanks,
al worked out. i had to use the string: code "m6 t0101"
thanks,
antoine
-
Hi Antoine,
if you use function code "execute g-code" you can write g-code, in the case of "execute VB-Script" you use VB statements.
Klaus
-
ok thanks,
i see what you mean!
antoine