![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Is it possible to run a macro when a screen is opened ? I have a row of four buttons that load the four Gcode files that the user will be allowed on the machine, and a row of four userLEDs that indicate which file has been opened (which button has been pressed). When Mach is started no file has been opened, so no LED should be lit. I can't get away from the condition that one of them is lit. I also have an array of buttons/LEDs layed out for a set of fixtures, and the LEDs show which fixture is active (which button has been pressed). Unfortunately, changing to another screen, swapping to a different fixture (G55, G58 etc) and then changing back to my screen doesn't update the LED. A macro that ran when the screen was opened could fix both of these ! Tim |
|
#2
| ||||
| ||||
| Can you have a macro change your screen? Not sure, and don't have time to check right now. Just a guess.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#3
| |||
| |||
| Yep, a macro to change the screen would be just fine. I'm exposing the limits of my ignorance here, but is there a way of attaching a macro to the screen so that it runs once when the screen is opened ? I could do it by putting a button on there to initiate the 'update all leds' macro, but I'd like to do it automatically when the screen is switched. Tim |
|
#4
| ||||
| ||||
| DoOEMButton(X) will change the screen to screen X. Try that as the first or last line of your macro, and assign the macro to the button to change the screen. Then it should change the screen and run the macro, or maybe run the macro first and then change the screen.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Homemade Screen Printer/Silk Screen | Sbthomas13 | Machine Created Art | 20 | 02-13-2009 07:35 PM |
| how to set a touch screen on the screen of mach 3 | cob | Mach Mill | 6 | 07-13-2008 06:28 PM |
| Convert Fanuc Macro to Fadal Macro | bfoster59 | Fadal | 1 | 11-09-2007 12:41 AM |
| CNC Operators and Programmers Jobs Season Opened | CanroIntl | Employment Opportunity | 1 | 08-29-2007 05:59 PM |
| Classifieds has been re-opened | CNCadmin | CNCzone Site News and Contests | 7 | 07-26-2007 09:13 AM |