Hello Guest it is February 21, 2024, 10:19:35 PM

Author Topic: button to execute gcode  (Read 4516 times)

0 Members and 1 Guest are viewing this topic.

Offline tantan

*
  •  130 130
    • View Profile
button to execute gcode
« 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
Re: button to execute gcode
« Reply #1 on: August 05, 2009, 05:53:33 AM »
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
« Last Edit: August 05, 2009, 06:04:42 AM by Klaus1311 »
The brain isn't a soap, it doesn't shrink when used.

Offline tantan

*
  •  130 130
    • View Profile
Re: button to execute gcode
« Reply #2 on: August 05, 2009, 12:51:07 PM »
ok klaus thanks,

al worked out. i had to use the string: code "m6 t0101"

thanks,

antoine
Re: button to execute gcode
« Reply #3 on: August 05, 2009, 04:48:23 PM »
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
The brain isn't a soap, it doesn't shrink when used.

Offline tantan

*
  •  130 130
    • View Profile
Re: button to execute gcode
« Reply #4 on: August 06, 2009, 02:54:21 PM »
ok thanks,

i see what you mean!


antoine