Hello Guest it is April 20, 2024, 12:11:20 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zealous

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 »
91
General Mach Discussion / Re: Is this a valid line of VB script?
« on: December 19, 2009, 12:40:36 AM »
In VB "=" means this equals that

Code: [Select]
wait = 4
msgbox wait 'returns 4

or

Code: [Select]
this = true
that = true

if this = that then
msgbox "they are the same"
End If

You would have to provide more of the code to figure out what is meant to happen.

Spindle ON LED (CW or CCW) = GetOemLED(11)

Are you checking to see if the spindle is on and how long to wait for?

Code: [Select]
Wait = 1000
If GetOEMLED(11) = True Then
Sleep(wait)
End IF

92
Mach Screens / Re: close menu script
« on: September 09, 2009, 10:58:10 AM »
No because you can't even acess any buttons in Mach while those menus are up.
You could send a key stroke : SendKeys("{ESC}") from another program or the keyboard.

93
Mach Screens / Re: ON/OFF buttons
« on: September 09, 2009, 10:45:39 AM »
You can check the state of Optional stop in VB

'turn off M01 bnt
Code: [Select]
if getOEMLED(65)=true Then
'Optional stop is on turn it off
DoOEMButton(177)
End If

'turn on M01 bnt
Code: [Select]
if getOEMLED(65)=false Then
'Optional stop is off turn it on
DoOEMButton(177)
End If


94
Flash Screens / Re: movieclip over toolpath and gcode
« on: September 08, 2009, 11:33:07 AM »
Local Connection is very easy to use and allows you to talk back and forth to as many swf or EXE as you like.

Here are the properties for the object:
http://www.adobe.com/support/flash/action_scripts/local_connection_objects/


Type something in one of the below to talk to each other:

swf 1

<a href="http://alphagraphicdesigns.com/artsoft/localconnection/localConnectionBlue.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://alphagraphicdesigns.com/artsoft/localconnection/localConnectionBlue.swf</a>

swf 2:

<a href="http://alphagraphicdesigns.com/artsoft/localconnection/localConnectionRed.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://alphagraphicdesigns.com/artsoft/localconnection/localConnectionRed.swf</a>


Here is the source file:

95
Flash Screens / Re: movieclip over toolpath and gcode
« on: September 08, 2009, 07:59:01 AM »
Hi,

1) The native Mach Toolpath will always display in the upper depth.
What you can do is use "local connection" to communicate to a external swf.

2) To create your own Gcode you can either tap in to "Display.dll" or load the Gcode in to a list component or data grid and use "current line".

3) We are working on documentation and adding new features in Flash for Mach4.

96
Screen designer tips and tutorials / Re: Modified Load G Code Button
« on: July 03, 2009, 06:21:07 PM »
How well is that code working for you I had wondered that when it was posted?
I ask only because it is looking to see if the machine is moving, what happens if you are in a FeedHold, G04, M06, M00, M01 will it auto load the next file if the machine isn’t moving?

97
Screen designer tips and tutorials / Re: Modified Load G Code Button
« on: July 03, 2009, 04:33:29 PM »
Mach3 can only display 1 file in the toolpath at a time.

You would have to write a "Job Queque" program to do what you want (without having the ability to see the toolpath for each file).
I could write the code which the user would load as many files as they would like then set the preset work coordinate system for each, but it would be paid work as there wold be alot to code.

98
VB and the development of wizards / Re: turret tool macro
« on: July 01, 2009, 05:19:34 AM »
Great to hear

99
Feature Requests / Re: jog and run from closest
« on: June 28, 2009, 10:26:18 PM »
I could write the code to do this but it would be paid time ;)

100
General Mach Discussion / Re: Am I Reading this Correctly
« on: June 28, 2009, 10:21:17 PM »
If you want the "Tool Position" to be drawn while the machine moves you can check off "Line from Last to Current" under:
Config/Toolpath/Line From Last To Current
You can also:
-Adjust the toolpath colors (in Mach4 you can change the background with a image and few other additions :) )
-Set "Origin Sphere"
etc..

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 »