Hello Guest it is April 19, 2024, 10:59:52 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

21
Mach4 General Discussion / Re: Keyboard jogging safety
« on: February 27, 2023, 11:42:56 AM »
I almost never disagree with Craig!  But Bertho is correct on this one.  Quite dangerous. There was a thread on this when Mach4 first came out.  Mach should check to see if the main window has the focus.  If not then ignore it for Mach proper. 
MTCW
RT

22
PoKeys / Re: Relay on at start up
« on: February 14, 2023, 06:12:14 PM »
Maybe I'm misunderstanding you Graham.  I can't have Mach4 run a relay without a board and mach wont connect to the pokeys board unless it is already powered.

23
PoKeys / Relay on at start up
« on: February 14, 2023, 04:03:47 PM »
I have a pokeys57cnc board and you must first turn on that machine before loading Mach4.  My coolant relay automatically is activated when I start the machine and then when Mach4 finally loads Mach4 turns it off.  How do I get it to not turn on automatically?

TIA

RT

24
Mach4 General Discussion / Re: Macro mystery
« on: February 14, 2023, 03:20:34 PM »
Found a link to the above referenced event that Steve helped me resolve.
https://www.machsupport.com/forum/index.php?topic=36347.10

25
Mach4 General Discussion / Re: Macro mystery
« on: February 14, 2023, 03:12:44 PM »
I think you are onto something here Craig.  I would have to check all of his macros so see if another m205() is defined in one of them.  I know that if a function is defined in more than one macro file only one is executed.  I recall several years ago when I was just learning Lua I made a macro and then decided to change a few things but renamed the original file to some else in case I didn't like the new one but since it was still in the macros directory it got compiled and that version got called instead of the new one.

Thanks!

RT

26
Mach4 General Discussion / Macro mystery
« on: February 14, 2023, 01:57:36 PM »
Friend is setting up a new lathe and was trying to turn relays on and off and was getting nowhere.  He had defined macros m205.mcs and m206.mcs to turn output2 on and off.  When the macro m205 was run in the zeroBrains editor output2 would get voltage and the led on the diagnostics page would light but when m205 was run in either the mdi or in a gcode file nothing would happen.

Deleted the mcc files, shut down Mach4 and restarted.  No change.

Renamed m205.mcs and m206.mcs to m2005.mcs and m2006.mcs and changed the functions in the macros to m2005() and m2006() and they ran as expected.  What could have caused the m205 and m206 to not work?


27
Mach4 General Discussion / Re: Mach4, Windows 11 and Xbox controllers
« on: February 08, 2023, 11:05:02 AM »
The plugin hasn't worked correctly for some time now.  I use a version that was prior to 4609, have to overwrite the new one whenever I download a new version. It actually was a great tool before it became corrupted.  You can read about it here: https://www.machsupport.com/forum/index.php?topic=44102.0  Pages 5 and 6.

28
Mach4 General Discussion / Re: wxLathe screen weird problem
« on: December 25, 2022, 01:55:21 PM »
You can also open the mill screen, edit the screen and then right click on the 'Diag' property in the MainTabs property tree and export that tab.  Then go into lathe screen, right click on the MainTabs and import the diagnostics tab.  Then be sure and do what Craig suggessted and rename the screen set.  HTH

29
Mach4 General Discussion / Re: button script
« on: December 21, 2022, 11:46:16 AM »
click on 'left up script' button to the right of 'Left up script' and an ellipse button will appear.  Click on that and then write the script there.  HTH

30
Will it require any modifications to existing plugins?