291
Mach4 General Discussion / Re: List of Control States?
« on: February 08, 2018, 05:43:20 PM »
Look at all the options for enabled states for a button in screen editor. That may help.
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.
In fact, the ONLY reason I was going the Mach4 route over the GRBL setup was because I wanted the backlash compensation.
I put this in the "First Run PLC Script." It didn't crash and as far as I can tell it didn't alter anything else. Is that okay? Or is there a better way to make something run only on startup? Open to any and all suggestions.
Also, I thought we could use Global Variables (like "testcount" in PLC Script) everywhere, even in a macro. It won't let me.
MC_STATE_IDLE = 0,
MC_STATE_HOLD = 1,
MC_STATE_FRUN_SUB = 2,
MC_STATE_MRUN_SUB = 3,
MC_STATE_JOG = 4,
MC_STATE_DRYRUN = 5,
MC_STATE_HOME = 6,
MC_STATE_CONFIG = 7,
MC_STATE_FRUN = 100,
MC_STATE_FRUN_FH = 101,
MC_STATE_FRUN_PROBE = 102,
MC_STATE_FRUN_PROBE_FH = 103,
MC_STATE_FRUN_THREAD = 104,
MC_STATE_FRUN_THREAD_FH = 105,
MC_STATE_FRUN_FH_JOG = 106,
MC_STATE_FRUN_TAP = 107,
MC_STATE_FRUN_MACROH = 108,
MC_STATE_FRUN_MACROH_JOG = 109,
MC_STATE_FRUN_SINGLE_BLOCK = 110,
MC_STATE_FRUN_RETRACT = 111,
MC_STATE_FRUN_HOMING = 112,
MC_STATE_FRUN_SINGLE_BLOCK_HOLD = 113,
MC_STATE_FRUN_END = 199,
MC_STATE_MRUN = 200,
MC_STATE_MRUN_FH = 201,
MC_STATE_MRUN_PROBE = 202,
MC_STATE_MRUN_PROBE_FH = 203,
MC_STATE_MRUN_THREAD = 204,
MC_STATE_MRUN_THREAD_FH = 205,
MC_STATE_MRUN_TAP = 206,
MC_STATE_MRUN_MACROH = 207,
MC_STATE_MRUN_MACROH_JOG = 208,
MC_STATE_MRUN_RETRACT = 209,
MC_STATE_MRUN_HOMING = 210,
MC_STATE_MRUN_END = 299,
Does calibration performed in the probing screen affect the touch screen?
When would you use one feature over the other?
I could imagine writing some code to do a text compare or maybe there is a feature like text compare in one of the text programs.