Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 07:07:54 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach Screens
| | |-+  Flash Screens
| | | |-+  Gcode Button in flash
Pages: 1   Go Down
Print
Author Topic: Gcode Button in flash  (Read 280 times)
0 Members and 1 Guest are viewing this topic.
ebidese
Holding

Offline Offline

Posts: 2


View Profile
« on: August 14, 2008, 07:08:00 AM »

Hello…
 Huh
I did a screen in screen4 where it had a button set to perform a function Gcode, so when I press the button he performed the function immediately.
But my whole project is being done in flash.
How do I get this same function in Gcode button in a flash?
Logged
zealous
Administrator
*
Offline Offline

Posts: 331



View Profile WWW
« Reply #1 on: September 08, 2008, 02:08:49 PM »

Hi,

MCodes:
Code:
fscommand("Code", "M1")

Gcodes:
Code:
fscommand("Code", 'X 1.0 Y 3.5 Z 2.3')

or

Code:
myGcode = 'X 1.0 Y 3.5 Z 2.3'

fscommand("Code", myGcode);

Thanks,
Jason Blake

Logged

Regards, Jason Blake
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!