Hello Guest it is April 19, 2024, 08:05:48 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 - maker of things

Pages: 1
1
Mach4 General Discussion / Re: Implementation of physical buttons
« on: June 26, 2018, 12:16:42 PM »
would I use this mc.mcAxisEnable(inst,  AxisID, state);  --enable an axis with my 4 position rotary selector switch to change which axis I want to jog with the MPG?

2
Mach4 General Discussion / Re: Implementation of physical buttons
« on: June 20, 2018, 12:13:08 PM »
Craig,  Your explanation is very clear, and I am looking forward to trying it out this weekend.  I'm also glad to hear that Lua will manage my memory, I'm getting old enough that I need software to help me remember stuff. :)

3
Mach4 General Discussion / Re: Implementation of physical buttons
« on: June 19, 2018, 04:21:30 PM »
I have cnc4pc's c25s expansion board that plugs into ports 1&2 of the ESS.  The c11s is on port 3.  I have the motors and spindle on the c11s on port 3 along with estop and MPG.  I wired all the buttons and switches to pins between the 3 ports and still have open input pins, so I'm sure I will find use for them.  Once I figure out how to use them that is. 

I started checking out the down and dirty Lua cheat sheet, but have not be able to find the functions list in the toolbox area that is referenced in the document.  I am assuming this list will be like the DoOEMbuttons from mach3?


4
Mach4 General Discussion / Implementation of physical buttons
« on: June 18, 2018, 12:47:14 PM »
Current setup:
win10pc
Mach4 hobby
ESS with C25s expansion board
C11s BOB
Charter Oak 12z mill with steppers.

Currently I am building a custom control panel with MPG and physical buttons to do:cycle start, feed hold, stop, rewind, enable, toggle coolant, feed override up and feed override down.  I also have a rotary switch to select jog increment and another to select axis to jog.

  I have done no scripting and the last language I used to write a program was DOS. I had kinda figured how to do what I wanted with DoOEMbuttons in mach3, but there were not enough inputs available.  From what I can tell, there is no direct replacement in Mach4, and that I will have to learn PMC and/or programming in Lua.  Is this a correct assessment or did I miss a better way to implement?

Pages: 1