Hello Guest it is April 25, 2024, 06:46:04 PM

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 - cjlocey

Pages: 1
1
I know I am replying to an old topic but I am starting the same adventure with the same hardware and I can not find any straightforward documentation to get this done.  So....did you figure this out and get it to work?  Can you share/document the process?

2
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: May 30, 2020, 11:29:21 PM »
Thanks.  I will review this tomorrow and see if I can get it to work.

3
Mach4 General Discussion / Re: How to enable M6 script
« on: May 26, 2020, 10:28:32 PM »
You all dd a great job of helping me get the code set up for my probe to work.  Now can someone tell me where I set the thickness of my touch plate?  I have a cheap Amazon special touch plate that is .75" thick.

4
Mach4 General Discussion / Re: How to enable M6 script
« on: May 25, 2020, 09:29:10 PM »
Craig
You were spot on.  My files were names M6.msc not m6.msc.  After i corrected this I and finally getting a response.  Now I need to get my inputs set up right...active high or low.
THANK YOU

5
Mach4 General Discussion / Re: How to enable M6 script
« on: May 25, 2020, 08:09:12 PM »
I did name it as you stated and after Mach ran the firs time a m6.mcc was created alone with another lua file.  (sorry, but I am not near the PC I use with Mach)

6
Mach4 General Discussion / Re: How to enable M6 script
« on: May 25, 2020, 05:16:04 PM »
The macro was copied from the test with this video.  I think the macro is fine, I think the issue is Mach4 does not know I put the file in the macro folder. 
I created a custom profile for my CNC and there are not any "default" macros in the macro folder...in fact it was empty when I put this macro in the folder.
I do not know what I need to do to "activate" the macro
https://www.youtube.com/watch?v=6-4JkDv9AgM

7
Mach4 General Discussion / Re: How to enable M6 script
« on: May 25, 2020, 12:57:32 AM »
When the GCODE reaches a M6 command, the CNC stops and does wait for a cycle start but I am not able to get the macro/script to run that allows me to use my touch plate and set a new tools offset for the new tool.

8
Mach4 General Discussion / How to enable M6 script
« on: May 20, 2020, 08:39:54 PM »
I am new to Mach and the CNC world.  I have my machine set up with a touch plate and I want to enable the manual tool change feature featured in one of the Artsoft videos.  I copied the m6 script and placed it in my empty macros folder. 
What do I need to do to enable this macro so when the M6 command comes up in my GCODE the script executes like in the video?

9
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: May 10, 2020, 09:56:28 PM »
TomL21
Are you or anyone reading this thread willing to help me with getting Mach4 set up to use a X360 controller?
Curt
Has anyone tried this in the PMC? I played with it for an hour or two this morning. Found a couple little bugs that I forwarded off to the Artsoft gang, but all in all works pretty good. And easy to implement.

If you haven't used the pmc yet just drop these two files in the mach4>pmc folder. Then in the screen editor on the screen properties one of the options is pmc objects. Check the one you want to use and that is it.

I did this with the following functions:
Left joystick X and Y axis jog
DPad X and Y axis jog
Right joystick Z axis jog
Hold left button to enable continuous jogging (must be held down to jog any axis)
Hold right button to enable incremental jogging (must be held down to jog any axis)
Start cycles the jog increment
B is disable
Y is enable
A is cycle start
X is feed hold
Back is cycle stop

One of the bugs was I couldn't enter negative values. So I had to hack the .lua file to get a dead zone on the sticks. You'll see in the ladder of the pmc file the stick values are compared to 0, in the lua file i changed these zeroes to 30 and -30.

10
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: April 24, 2020, 08:50:36 PM »
Daz and others, you are amazing and my head is spinning.  I have enough on my plate and am not the biggest fan of reinventing the wheel so I would like to know what it would take to get or buy a copy of the script to allow me to use a xbox 360 controller with Mach4?
I would much rather spend my time using my CNC rather than coding in MACH4
Curt

Pages: 1