Hello Guest it is March 28, 2024, 10:33:34 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.


Topics - xitian

Pages: 1
1
I'm trying to figure out how to run a macro when a momentary switch is pressed. So far I’ve got that input setup in my ports and pins as an OEMInput. How do I configure a macro to run when this input goes high? Also can anyone give me some tips on writing the macro? (I’m a programmer so the VB is no problem). I want the macro to do the following:

If machine Is Not running
1.)   Clear the ESTOP if there is one
2.)   Home the X & Y Axis
3.)   Load a GCode file even if one is already loaded.
4.)   Execute the GCode file.
5.)   Cut the grass and paint the house
Else
    ‘Do nothing because we are already running.
End if

Pages: 1