Hello Guest it is April 16, 2024, 01:24:59 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 - rhtuttle

1
Mach4 Toolbox / Re: Umbrella Style M6 Script
« on: March 31, 2024, 02:45:14 PM »
Run the debugger in the single step mode
local rc
local SelectedTool
rc, SelectedTool = mc.mcToolGetSelected(inst)
hover over the rc and SelectedTool and you will see the value

Same for the  get/set poundvar and any other function call.
HTH

RT

2
Mach4 Toolbox / Re: Umbrella Style M6 Script
« on: March 31, 2024, 01:22:08 PM »
when in debug did you check the values sent and received and rc's returned of the mcCtntlGetPoundvar and mcCtntlSetPoundvar?

3
Start mach4 in the screen editing mode.  /e
/e is optional -- start the GUI in screen edit mode.
/f is optional -- start in full screen mode
/m is optional -- remove the menu.

4
SwiftyJ, clearest response I have seen over the many years that Mach4 has been around regarding modules and their uses, even got the registers in there!
Bravo!

5
It is there you just can't see it. You will have to go to 'operator->edit screen' then click on the 'Toolpath' component that you want to change and then in the tree to the left change line width of the path to a larger number. get out of edit screen and regen toolpath.

HTH

RT

6
Mach4 General Discussion / Re: Screen Load Script
« on: December 15, 2023, 12:47:22 PM »
Did you click on the three ellipses in the second column?  That brings up the editable script.

7
Mach4 General Discussion / Re: Screen Load Script
« on: December 15, 2023, 11:10:59 AM »
Go to 'operator->edit screen' then in the screen tree manager panel click on the top most entry(screen name), then in the properties panel click on the second icon which shows a list of scripts, click on the Screen Load Script.
HTH
RT

8
Mach4 General Discussion / Re: Turret lathe axis question
« on: October 02, 2023, 11:39:09 AM »
You set the tool length/offset for each tool in the tool table and call your m6 macro with T0202 to get tool 2 with tool 2 offset.  Do an advanced search here of the Mach4 discussion and search for turret lathe. 
HTH
RT

9
Mach4 General Discussion / Re: Problem with custom M5 macro
« on: August 10, 2023, 11:57:35 AM »
I am sure you have already done this but first thing to check is make sure that your m5 macro is in the macros directory and uses lowercase file name.  m5.mcs and make sure you don't have another macro with a function m5() defined in that same directory.

https://www.machsupport.com/forum/index.php?topic=33831.msg235284#msg235284

I would also make your dir variable local.

HTH
RT

10
Mach4 General Discussion / Re: m03, m05 and G04 dwell commands
« on: August 02, 2023, 10:49:06 AM »
mc.mcCntlSetLastError(inst, GCode )