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

Pages: 1 [2]
16
General Discussion / Re: Mach4
« on: February 13, 2017, 11:01:29 AM »
Some more pics. Man in pics is a great friend (Danny) and is one of the best paint and body worker I know.

Please let me know what you think, Good or bad.

Tim

17
General Discussion / Re: Mach4
« on: February 13, 2017, 10:57:43 AM »
Here is the start to my router table. Got some work done this weekend.

18
General Discussion / Re: Mach4
« on: January 24, 2017, 11:37:27 AM »
Some pics of it mounted on box

19
General Discussion / Re: Mach4
« on: January 24, 2017, 11:32:23 AM »
You are correct... I got that from your site... Great Idea, and looks as it will work great. I think all your products and information you have is top notch. Looking forward to using some more of it soon.

Tim

20
General Discussion / Re: Mach4
« on: January 24, 2017, 10:49:11 AM »
Here is some pic of my control box... Let me know what you think.

21
General Discussion / Re: Mach4
« on: January 22, 2017, 08:47:01 AM »
After I updated to the corrected code it work great. Remember that you have to go into config Mach menu and then inputs and set them. The first line in the input Mach4 you used,  the middle line is your board you are using and the last line is your input that your board was wired to. Then click the X mark to change it to a check mark to activate it. In your code you will use the first line in Mach4 input you set in the config menu. 
Good luck, hope this makes sense.
Thanks for all your help Steve.

22
General Discussion / Re: Mach4
« on: January 20, 2017, 10:21:28 PM »
THANKS.  I'm just starting out with Mach4 and PMDX-416.  Just getting all the components together to build my second machine.  First one was Arduino based.

This forum seems extremely quiet.  I'm still awaiting a response to an issue I posted.

Cheers

Daryl

I will try to help out, but I,m in the same boat

23
General Discussion / Re: Mach4
« on: January 20, 2017, 10:19:08 PM »
Steve
I have tried this new code and can not get it to work.  It return some errors. I will keep trying.


24
General Discussion / Re: Mach4
« on: January 20, 2017, 11:44:29 AM »
Just for someone that is starting out with Mach4, I was trying to add Button input from the machine panel to Mach4 and here is what I did.

My first problem was trying to find out were the add some lua code for the inputs to work:
Open Mach4... 1- up top click on the Operator menu, then EDIT SCREEN. 2- In the tree manger (left side top box) click on wxrouter or the top item. 3- In the Properties (left side bottom box) click on the events button (middle one), then click on the SIGNAL SCRIPT line (Should be the bottom line), then a button should show up to the right of the line, click on the button and a mclua editor page will open. Then the code I added was at the end of what was there.

You will need to set up you inputs in Mach4 to match what is in the code

-------------------------------------------
----- My Code for input from Machine
-------------------------------------------
--------------------------------------------
----Cycle Start buttons on MachMate
--------------------------------------------
if (sig == mc.ISIG_INPUT1) and (state == 1) then
local inst = mc.mcGetInstance()
mc.mcCntlCycleStart(inst)
end
SignalTable = {
[mc.ISIG_INPUT1] = function (on_off)
if (on_off == 1) then
mc.mcCntlCycleStart(inst)
end
end
}
---------------------------------------------
----Feed Hold Buttons on MachMate
----------------------------------------------
if (sig == mc.ISIG_INPUT2) and (state == 1) then
local inst = mc.mcGetInstance()
mc.mcCntlFeedHold(inst)
end
SignalTable = {
[mc.ISIG_INPUT2] = function (on_off)
if (on_off == 1) then
mc.mcCntlFeedHold(inst)
end
end
}

Hope this help someone out.

25
General Discussion / Re: Mach4
« on: January 20, 2017, 11:19:21 AM »
I found out that you can edit Mach4 in the Demo mode.

26
General Discussion / Mach4
« on: January 17, 2017, 08:35:33 PM »
Trying to edit lua in Mach4. I can view it but not edit it. Can you edit the demo system or do you have to have a lic version.

Pages: 1 [2]