Hello Guest it is April 26, 2024, 04:33:07 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 - Racer

Pages: « 1 2
11
Mach4 General Discussion / Re: Comments about Mach4 in Demo
« on: May 04, 2014, 09:24:09 AM »
Open, the M4 screen designer, click on the top profile, go down to the properties window, click on the "Event" button,
looks like a little lightning bolt, find PLC script, go to the right hand side with button thatt has 3 little dots.
click it, it will open the PLC script in you lua editor.

scott
Thanks Scott,
That works.

Jerry

12
Mach4 General Discussion / Re: Comments about Mach4 in Demo
« on: May 04, 2014, 09:05:42 AM »
I like to know the percent of completion the program I am running.

Added the Dro's and text to the tab then

Added this to the PLC Script

Where do I put this? Where is the (PLC Script) to add to?

Thanks

Code: [Select]
local TotalLines = mc.mcCntlGetGcodeLineCount(inst);
local GcodeCurrentLine = mc.mcCntlGetGcodeLineNbr(inst);
scr.SetProperty('droTotal', 'Value', tostring(TotalLines));
local GcodePercent = (GcodeCurrentLine/TotalLines) * 100;
scr.SetProperty('droPercent', 'Value', tostring(GcodePercent));





Ya Nvr No has already posted this, possibly in this thread.
[/quote]

I didn't see the answer to my question.

Where do I put this? Where is the (PLC Script) to add to?

13
Mach4 General Discussion / Re: Comments about Mach4 in Demo
« on: May 04, 2014, 08:57:28 AM »
I like to know the percent of completion the program I am running.

Added the Dro's and text to the tab then

Added this to the PLC Script

Where do I put this? Where is the (PLC Script) to add to?

Thanks

Code: [Select]
local TotalLines = mc.mcCntlGetGcodeLineCount(inst);
local GcodeCurrentLine = mc.mcCntlGetGcodeLineNbr(inst);
scr.SetProperty('droTotal', 'Value', tostring(TotalLines));
local GcodePercent = (GcodeCurrentLine/TotalLines) * 100;
scr.SetProperty('droPercent', 'Value', tostring(GcodePercent));




[/quote]

14
Newfangled Solutions Mach3 Wizards / Re: NEW!! Drill Wizard
« on: February 19, 2012, 09:30:05 AM »
Hi Ron,

I like this Wizard.

There is no place to put the spindle speed, or I can't find it. On your video I see it, but not on the one I installed V1.02.

Thanks

Jerry

15
LazyTurn / Re: LazyTurn
« on: February 24, 2009, 10:00:47 PM »
This is looking good! Thanks Art

16
Competitions / Re: ******Guess and win a G100 Grex******
« on: May 22, 2007, 10:02:32 PM »
I'll  say 2,250,025

Pages: « 1 2