Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2016, 12:45:18 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »
181  Mach Discussion / Finished Screens / Re: Ultimate Screen Mill/Lathe/Plasma (TouchScreen and/or Mouse and/or keyboard) on: October 26, 2008, 04:40:19 PM
Hi Fever16,

100% any issues or bugs found are fixed, one on one phone support is available at Mach Motion as well.

Give a call or email for support, we love to talk about Mach, CNC machining as well as suggestions and enhancements you would like to see.

Our mission is to make the very best CNC GUI available.

Mach Motion has added a large number of enchantments to the screen since Version 1.2.0, which in turn may have some of their functionality turned off by default.
This is a result of the "Stored Settings" available in the screen. Your settings are not "overwritten" when installing an update or reinstalling the screen, so we have added an option in the installer to "Restore Default Settings".

We are almost done with the documentation for the screen and will have it available locally in the screen as well as via the web.


LED 1813 set to "0" will turn on the keyboard via VB.

Here is a list of some commands you can call to the screen via VB:


/////////////
USER LABELS
/////////////

10 Folder Path
11 File Path
12 SYSTEM
13 SYSTEM
14 SYSTEM
15 Admin Password
16 X Label
17 Y Label
18 Z Label
19 A Label
20 B Label
21 C Label

22 User LED LABEL///
23 User 1 LABEL (Button 1)
24 User 2 LABEL (Button 2)
25 User 3 LABEL (Button 3)
26 User 4 LABEL (Button 4)
27 User 5 LABEL (Button 5)
28 User 6 LABEL (Button 6)

////Run Screen///
29 User 1 LABEL
30 User 2 LABEL
31 User 3 LABEL
32 User 4 LABEL


/////////////
USER DRO'S
/////////////

1800 X DRO scale
1801 Y DRO scale
1802 Z DRO scale
1803 A DRO scale
1804 B DRO scale
1805 C DRO scale


1806 axis veloc x
1807 axis veloc y
1808 axis veloc z
1809 axis veloc a
1810 axis veloc b
1811 axis veloc c

1812 Nudge amount

1813 File is loading

1814 Store Spindle JOG
1815 Store SpindleOV JOG

1816 DRO format
1817 Gcode format

///Run screen//
2000 1 User DRO
2001 2 User DRO
2002 3 User DRO
2003 4 User DRO

/////////////
USER LED'S
/////////////

1170 Resume/Pause teach
1171 Open JCode
1172 Teach LED'S
1173 SYSTEM
1174 SYSTEM
1175 Clear teach

1800 Native Units

1801 User Button 1
1802 User Button 2
1803 User Button 3
1804 User Button 4
1805 User Button 5
1806 User Button 6
1807 User Button 7
1808 User LED///

1809 SPindle Jog

1810 Folder
1811 File complete

1812 User settings load complete

1813 Keyboard on/off
1814 Tool Message on/off
1815 MCode on/off

///////////////End/////////////////////


You can also email me directly if you need anything at all.

Thanks for the complement on the screen.

Thanks
182  Mach Discussion / Flash Screens / Re: Flash problem on: October 21, 2008, 03:29:21 PM
Notified when a key is pressed. To use onKeyDown, you must create a listener object.
You can then define a function for onKeyDown and use addListener() to register the listener with the Key object, as shown in the following example:


Code:
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {

    trace("DOWN -> Code: "+Key.getCode()+"\tACSII: "+Key.getAscii()+"\tKey: "+chr(Key.getAscii()));

};
keyListener.onKeyUp = function() {

    trace("UP -> Code: "+Key.getCode()+"\tACSII: "+Key.getAscii()+"\tKey: "+chr(Key.getAscii()));

};
Key.addListener(keyListener);
183  Mach Discussion / General Mach Discussion / Re: Help Please on: October 20, 2008, 01:41:54 PM
also check that you are in "Constant Velocity" under "General Logical Configuration".
184  Mach Discussion / Mach Screens / Re: Custom onscreen keyboard on: October 19, 2008, 12:07:56 PM
Not that I am aware of, the auto-calculator function is created in C++ on Brian's end.

It might be nice to have a Label that tells you which object currently has focus and then we could write some VB code to make things happen accordingly.

I wonder why the "On screen Keyboard" wouldn't pop-up when hitting a DRO, but work when hitting the MDI?
185  Mach Discussion / Flash Screens / Re: Flash problem on: October 17, 2008, 07:39:28 PM
This is how you look for keys.

HIT:
If you call on the code again it will keep creating Listener objects so if you do not want multiple key listeners make sure to remove it before calling it again.
To remove a "Key Listener just do:

Code:
Key.removeListener(key_Listener_Function);

Also you can remove the function as well:

Code:
///Remove one if there is one so they dont multiply////
delete key_Listener_Function;

Then just call on it again later if you want to turn it back on.

Listen for Enter key:

Code:
///Create an object////;
key_Listener_Function = Object();

///On key down...you can change this to keyup/down ect...///;
key_Listener_Function.onKeyDown = function() {


///Which key was pressed///;
trace(Key.getAscii());

if (Key.isDown(Key.ENTER)) {


///What you are looking for///;
trace("enter key pressed");

///Send to Mach////
fscommand("Code", 'X10 Y5.6 Z 5.6');

}
};

///add listener to wait for the key press//;
Key.addListener(key_Listener_Function);

Test it out below:

<a href="http://alphagraphicdesigns.com/demo/KeyWatchMach.swf" target="_blank">http://alphagraphicdesigns.com/demo/KeyWatchMach.swf</a>
186  Mach Discussion / Works in progress / IMach on: October 17, 2008, 06:53:42 PM
Some interesting work that I finished has been applied to file navigation and thought I would share on the development.

Was thinking of "IMach" could be a great way to navigate in Mach with touch screens. Who knows.

THIS IS A LIVE PREVIEW BELOW, take you figer or mouse and "drag and release up/down" I also detect "Right/Left" "Swips" as well.

<a href="http://alphagraphicdesigns.com/demo/IphoneScroll/IPhoneScroll.swf" target="_blank">http://alphagraphicdesigns.com/demo/IphoneScroll/IPhoneScroll.swf</a>

There shouldn¡¦t be a learing curve to use it, I think that is way a trillion people like the IPhone ƒº

This type of ¡§scrolling¡¨ should feel nature to work on a touch screen. The mouse does not do it justice  ƒº

-If you hold down and slid up/down it will scroll 1 at a time

-The shorter distance traveled in a longer time will make it scroll slowly

-The quicker you release will "roll" it quicker"

I measure distance and time and direction

I decided to do this to get angle of rotation:
Math.atan2(y, x)*57.29577951308232;

There is alot of math envolved and I think I about got it pretty much to how the Iphone works.

I'll see how it goes might end up with a full touch screen based off this consept.
Let me know if the idea sucks or might be good.
187  Mach Discussion / Flash Screens / Re: Function to get a number from a string!? on: October 17, 2008, 03:27:02 AM
NP  Smiley
188  Mach Discussion / Flash Screens / Re: Function to get a number from a string!? on: October 16, 2008, 02:29:39 AM
I think he meant in Flash and not VB   

This will return the number of your strings length:

Code:
MyString.length


this will check to see if the digits are 9:

Code:
if (MyString.length == 9) {
trace("Is 9");
} else {
trace("Is not 9 it is:"+ MyString.length);
}

.....but you can take the code they gave for VB  and run it in flash but you have to do it like this and I dont belive you can split and join in Mach's VB

fscommand("VBMacro" "some VB here")
189  Mach Discussion / Works in progress / Re: new italian touch screen on: October 16, 2008, 01:59:46 AM
Looks great!
190  Mach Discussion / Finished Screens / Re: Mach SoftLight on: October 16, 2008, 01:57:40 AM
Thank you!  Grin
Working on a lathe screen now and the many fixes I need to do for the other screens on the forum.
I will make those fixes.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!