Hello Guest it is April 17, 2024, 09:54:42 PM

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 »
331
General Mach Discussion / Re: Has anyone tried one of these?
« on: April 24, 2007, 11:42:28 AM »
Brett,
I haven't tried the one you've link before, but I was looking at this company http://www.electronickeyboards.com/index.html , which I talked on the phone to awhile ago and it's not very expensive:
Not sure what do you think would be better?

332
Mach Screens / Re: "Active" picture possible?
« on: April 20, 2007, 06:46:19 PM »
I'm going to add to this cause I think it's a good idea.

If you create a "Image LED" and in the "OFF" state have a blank image and in the "On" state have the image that you want.
And call to turn them "ON/OFF" with the above code on the three buttons.

You can also more easly do this in a Flash screen  ;D

333
Mach Screens / Re: "Active" picture possible?
« on: April 20, 2007, 06:37:14 PM »
Nate,
Great idea with the image and using UserLed's.

Along with what you have on your button and with the UserLED number your using do:

'Part X on the button

Call SetUserLed(1101,1)
Call SetUserLed(1102,0)
Call SetUserLed(1103,0)

'Part Y on the button

Call SetUserLed(1101,0)
Call SetUserLed(1102,1)
Call SetUserLed(1103,0)

'Part Z on the button

Call SetUserLed(1101,0)
Call SetUserLed(1102,0)
Call SetUserLed(1103,1)




So you would have a blank image(or a color of the background) and the image of the Partx,Y,Z next to eachother (two state image LED).
When the user makes a selection have all the UserLED's go to OFF(0) and the one selected to UserLED got to ON(1).

If you haven't worked with two state Image LED's,Benny has a tutorial.

Hope I understood right what you wanted  ;D

334
Strange....I'll have to try out Brains cool code,I'll have alook at it but I do Action script  ;D any VB master this will be easy for them

335
General Mach Discussion / Re: Tutorial videos in non-flash format?
« on: April 17, 2007, 09:29:09 AM »
Here is the best I can do with those FLV for the Flash tutorials till I redo them and have multiple formats avalible.

Download the Flv's and put them in a folder next to the Artsoft FLV player, or if any one can figure out how to get these FLV to any other sharable format let me know or supply them   ;D

Artsoft FLV player  (standalone) only the FLV's you download will be avalible for veiwing:

http://vileguitars.com/MachFlash/ScreenVideo/Graphitevid/Graphitevid.flv

http://vileguitars.com/MachFlash/ScreenVideo/Area51/Area51.flv

http://vileguitars.com/MachFlash/ScreenVideo/OEM Remote/Remoting.flv

http://machsupport.com/Videos/zealous/Howto/Flashhowto/intro.flv

http://machsupport.com/Videos/zealous/Howto/Flashhowto/Buttons.flv

http://machsupport.com/Videos/zealous/Howto/Flashhowto/LEDs.flv

http://machsupport.com/Videos/zealous/Howto/Flashhowto/DRO.flv

http://machsupport.com/Videos/zealous/Howto/Fireworkhowto/Fireworkshowto 1.flv

http://machsupport.com/Videos/zealous/Howto/Flashhowto2/flashhowto2.flv

http://machsupport.com/Videos/zealous/Howto/Masking/Masking.flv


Otherwise you can veiw the video's from any of my posted:

<a href="http://vileguitars.com/MachFlash/ScreenVideo/flvplayer.swf" target="_blank" rel="noopener noreferrer" class="bbc_link bbc_flash_disabled new_win">http://vileguitars.com/MachFlash/ScreenVideo/flvplayer.swf</a>

336
General Mach Discussion / Re: Tutorial videos in non-flash format?
« on: April 17, 2007, 06:43:00 AM »
Sorry about that, there in a FLV format to stream the video for a progressive download benefits. With future video's I believe we should use QuickTime or WMV so that there easily downloadable.
Are there no controllers below the video,Play,Stop,pause? They should be right below the video...interesting. Is it these video's here: http://www.artsoftcontrols.com/artsoft/videos.htm ?

The FLV are impossible to convert but I'll post the source FLV's for download along with the player so you can open it up on the desktop with fully functional controls in a bit here. Need to get the location of the files from Benny first.
Actually if this works out we could have an Artsoft tutorial player which could reside locally  ;D otherwise I'll switch formats to Quicktime or WMV or whatever people like most.

337
Darc,
Acualy after testing the code out I found that since the estop is active I'm unable to Home the axis (obviously  ;D) via the macro pump.
If your trying to not allow the operator to run Gcode you could put the above code on the Gcode button and add the "DoButton (0) 'Play Gcode" and add "DoOEMButton(290-295) to disable jog movment of each axis".

PS I belive we're looking for a =0 value is sent if the axis are ref home

Put this on the Start Gcode button:

If GetLed (808)=1 Then 'Std Y axis home LED

DoOEMButton (1021) 'Estop OEM LED
CODE "(HOME MACHINE BEFORE USE)"

Else
DoButton (0) 'Strat Gcode
End If


Put this in the macro Pump:
If GetLed (808)=1 Then 'Std Y axis home LED

DoOEMButton (250) 'Stop Jog X
DoOEMButton (251) 'Stop Jog Y
DoOEMButton (252) 'Stop Jog Z
DoOEMButton (253) 'Stop Jog A
DoOEMButton (254) 'Stop Jog B
CODE "(HOME MACHINE BEFORE USE)"


Else
DoOEMButton (290) 'Allow Jog X
DoOEMButton (291) 'Allow  Jog Y
DoOEMButton (292) 'Allow  Jog Z
DoOEMButton (293) 'Allow  Jog A
DoOEMButton (294) 'Allow  Jog B

CODE "(Ready to go)"

End If



If a talented VB coder would add in a "SUb Main" and "Sub exit" to have it exit the macro pump script once the Axis are homed that would be great  ;D since there is no reason for Mach to keep check the code once the axis are refered.

338
Don't forget if you have a "If" statment you need an  "Else".

Look out for that VB editor, it doesn't seem to want to save scripts and is acting wird  :P bet Brain if fixing that now  ;D

This should work fine, some one might have a better way than this please post  :)

If GetLed (808)=0 Then 'Std Y axis home LED

DoOEMButton (1021) 'Estop OEM LED
CODE "(HOME MACHINE BEFORE USE)"


Else

CODE "(Ready to go)"

End If

339
General Mach Discussion / Re: Couple Questions
« on: April 16, 2007, 02:33:54 AM »
lew,
you could also create a button and set it off screen so it's not visable and give it any "hot key" you want in Screen desighner.....

In Mach under "Config"/"GenConfig" there is a setting for "no system menu", it warns that you'll want a button if you ever want the menu back  ;D

Or put code in the macro pump..
Some thing like this but haven’t tried it might be a better code, just an idea  ;)

Private Sub_KeyPress(KeyAscii As Integer)
If (KeyAscii = 13) Then
Call SetVar(1, 0)
DoOEMButton(348)

Else
Call SetVar(1, 1)
DoOEMButton(349)

End If
End If
End Sub

340
General Mach Discussion / Re: Couple Questions
« on: April 16, 2007, 01:52:25 AM »
lew,
To toggle the menu on/off you can create one button in screen desighner to add VB to.

In Mach open the "button script" editor and add the following code. The menu will toggle on/off.


value = GetVar(1)

If value= 1 Then
Call SetVar(1, 0)
DoOEMButton(348)


Else
Call SetVar(1, 1)
DoOEMButton(349)

End If

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 »