Hello Guest it is April 23, 2024, 04:43:44 AM

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

51
Mach4 General Discussion / Re: Start Mach4 in Screen Editor
« on: August 13, 2021, 10:46:43 AM »
C:\Mach4Hobby\Mach4GUI.exe /pnameofprofile /e

52
Mach4 General Discussion / Re: How to create ZERO All button on Mach4
« on: August 12, 2021, 11:51:11 AM »
Operator->Edit Screen
Create or select the button you want
In the properties tab for that button's left up script:

local rc = mc.mcAxisSetPos(mc.mcGetInstance(),mc.X_AXIS,0.0);
 rc = mc.mcAxisSetPos(mc.mcGetInstance(),mc.Y_AXIS,0.0);
 rc = mc.mcAxisSetPos(mc.mcGetInstance(),mc.Z_AXIS,0.0);

HTH

RT

53
No, there are no defaults.  Configure->Plugins->Xbox Controller
Not Configure->Control plugins tab

54
Mach4 General Discussion / Re: Ignore Tool Changes setting?
« on: July 08, 2021, 12:01:53 PM »
Maybe someone else knows if there is a better way but I think you need to modify your m6.mcs so that it does nothing but return.

HTH

RT

55
The Y+ button has an 'Action' attached not a 'Script'.  The action is programmed action in Mach4 where a script is a editable Lua 'program'.  You can write your own script for the button and remove the action assignement.  Not recommended.  If your having odd occurrences  it is most likely mechanical/electrical.

HTH

RT

56
Yes, mach3 exposes a COM interface and mach4 you can access the api's:

https://www.machsupport.com/forum/index.php?topic=34168.0

57
Operator->edit screen.  Click the profile in the Screen Tree Manager.  Click the Events icon in the properties tab.  Click the ellipses on the screen load script.  locate the offending code, edit and save.

If you haven't watched the screen editing video it is worth a view:

https://www.youtube.com/watch?v=P1xZkFgS5cQ

HTH

RT

58
PoKeys / Re: pokeys57cnc and mc60 motor controller
« on: May 15, 2021, 11:36:36 AM »
Solved.  I had it wored correctly but one of my solder joints had broken under some shrink wrap.

59
PoKeys / pokeys57cnc and mc60 motor controller
« on: May 12, 2021, 12:10:27 PM »
Has anyone used the above combination? I had a pmdx411, gecko g540 and mc60 working on my lathe.  Needed more outputs and switched to Pokey57CNC.  The g540 had 3 wires to the mc60, the +10v, common and 0-10v to regulate the spindle speed.
I am electrically illiterate and cannot figure out how to wire the pokeys board to the same mc60 speed controller.  I have the white connected to pokeys 0-10v output but don't know where the black and red wires should be connected.  Any guidance would be greatly appreciated.

TIA
RT

60
Mach4 Toolbox / Re: Getting tool info into tool table
« on: May 07, 2021, 05:55:26 PM »
The mc.SV_? correspond to the variables passed to the macro.
example: m6061 z1.3333 d.250
mc.SV_Z would contain 1.3333 and mc.SV_D would contain 0.250.  Any labled character can contain a value and can be accessed within a macro by mc.SV_
Start with reading the scripting Manual.pdf in the docs directory and then examine the lua examples in the LuaExamples directory.
HTH

RT