Hello Guest it is April 26, 2024, 11:19:52 AM

Author Topic: mcX360 Its Nearly Here  (Read 3197 times)

0 Members and 1 Guest are viewing this topic.

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
mcX360 Its Nearly Here
« on: October 27, 2015, 06:18:48 PM »
Heres some good news for Mach4 users.

Couple of days ago I got to use an xbox 360 controller on mach3, wow I wanted one.

But there isnt one??

Well there is now  ;D

Just got to finish the config screen and its all yours.

DazTheGas
New For 2022 - Instagram: dazthegas

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: mcX360 Its Nearly Here
« Reply #1 on: October 27, 2015, 06:49:08 PM »
you a top man daz you need a pay rise
Re: mcX360 Its Nearly Here
« Reply #2 on: October 27, 2015, 11:30:31 PM »
Once again, another incredible contribution for mach4. Thanks DazTheGas!!
Re: mcX360 Its Nearly Here
« Reply #3 on: October 28, 2015, 09:47:36 AM »
Daz, may I ask are you doing all this through lua script or via the SDK?

How long have you been doing lua?

Have you done programming before?

Either way, very impressed, hats off to you

Rob
Rob

Albert Einstein ― “If you can't explain it to a six year old, you don't understand it yourself.”

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: mcX360 Its Nearly Here
« Reply #4 on: October 28, 2015, 10:37:55 AM »
Been programming different languages for 15 years or more, only started lua when I got mach4, the plugin is in c++ using the sdk, although im thinking of making the workings of what each button does done through lua, this way everyone can program the buttons to do what they want.

Any thoughts welcome, I wont have a pc tonight as I am away just this stupid ipad, but hoping to have it uploaded on friday.

DazTheGas

PS just remembered my first programming was in basic on the commodore64, crikey........
« Last Edit: October 28, 2015, 10:39:44 AM by DazTheGas »
New For 2022 - Instagram: dazthegas

Offline paulc

*
  •  15 15
    • View Profile
Re: mcX360 Its Nearly Here
« Reply #5 on: October 28, 2015, 10:57:14 AM »
I too want to thank you for your contributions.  For dummies like me a few Lua tuts broken down so as the logic to the language can be understood would be so helpful as I feel so dependant on those that know how to script,  they key to mach4 (at this time) is to know how to write script.  Then the skies the limit.

Today I managed to modify my inputs script to allow a red button to stop the cycle feed and stop the spindle.  One small step........ :) My panel is coming together.  MPGs and touch probe next.  I think it can be done!

Is there a list of input names like cycle start, feed hold, cycle stop, emergency stop etc etc so scripts can be written to match my pokeys buttons?

Cheers Paul.

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: mcX360 Its Nearly Here
« Reply #6 on: October 28, 2015, 11:07:59 AM »
Been programming different languages for 15 years or more.......................................

PS just remembered my first programming was in basic on the commodore64, crikey........

Commodore 64 was about 30 years ago...
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: mcX360 Its Nearly Here
« Reply #7 on: October 28, 2015, 11:11:10 AM »
Heck!! doesnt time fly..
New For 2022 - Instagram: dazthegas

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: mcX360 Its Nearly Here
« Reply #8 on: October 28, 2015, 11:14:09 AM »
Quote
Is there a list of input names like cycle start, feed hold, cycle stop, emergency stop etc etc so scripts can be written to match my pokeys buttons?

Look in the API docs within the mach4hobby/docs directory and all is under signals

DazTheGas
New For 2022 - Instagram: dazthegas

Offline paulc

*
  •  15 15
    • View Profile
Re: mcX360 Its Nearly Here
« Reply #9 on: October 30, 2015, 12:28:28 AM »
Quote
Is there a list of input names like cycle start, feed hold, cycle stop, emergency stop etc etc so scripts can be written to match my pokeys buttons?

Look in the API docs within the mach4hobby/docs directory and all is under signals

DazTheGas

Perfect!