Hello Guest it is March 29, 2024, 01:43:50 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 - Rimmel

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 »
1
Mach4 General Discussion / Re: Can't set machine position in script
« on: October 17, 2022, 08:44:24 AM »
Hi,

Quote
Unless you simply want it to save it's state over shutdown....

I've posted that it can be done, twenty or thirty lines of code, or does it have to be programmed for you by NFS?
I did it myself not long after I started using Mach4, say 7.5 years ago. I found it less useful than you might believe, but I did have
it working. I've updated I don't know how many times since and that code didn't survive and was not useful enough for me to be bothered
to recreate it.....but its not rocket science.

Craig
Well yeah it can be programmed using a "hack or "workaround" which is hardly ideal.

Should you really need to do it for a "Hobby" installation?

2
Mach4 General Discussion / Re: Can't set machine position in script
« on: October 17, 2022, 05:28:47 AM »
For what I do with that machine it's really helpfull.

"From Mach3 to Mach4

Mach4 is completely new!  We cannot stress this enough: Mach4 is not an upgrade for Mach3. It is faster, more responsive, and provides a platform for expansion, modification, and new features. The changes requested by many Mach3 users were simply not able to be completed because of limitations in the Mach3 code. Mach4 is our response to the limitations and requested changes for Mach3."

Unless you simply want it to save it's state over shutdown....

3
Mach4 General Discussion / Re: Can't set machine position in script
« on: October 16, 2022, 07:20:33 AM »
I know what you are saying, I just don't understand why restoring the shutdown parameters isn't a basic default. I mean why not? It seems counter intuative to arbitrarily reset the machine Coords to zero.

Not heard of the Galil - have you got a link?

thansk

4
Mach4 General Discussion / Re: Can't set machine position in script
« on: October 15, 2022, 09:45:34 AM »
Thats another pain in the aris.

Got a Fagor controller on one of my lathes, shut it down and restart it and it saves all positions prefectly. A quick check to confirm and jobs can be resumed without having to re-home etc. Never failed.

The Devs should expose the methods to do this. Seems easy enough as they RESET the machine Coords to zero on a restart.

More headaches....

5
Saving and reloading Machine Coords over reboot script - has anyone got one?

Is there a toggle function like the Persistent DRO's in mach3  for mach4?

thanks

6
Mach4 General Discussion / Editing loaded GCode???
« on: September 28, 2022, 08:52:38 AM »
I know this seems very basic, but in Mach3 mill I could load a Gcode file and change it if needed.

With Mach4 I can't seem to find that option. I have to unload the Gcode (load a different Gcode file) and edit it with an external editor.

Am I missing something?

thanks

Edit: found it hidden away - very unintuative

7
Mach4 General Discussion / Mach4 screen action/script precedence
« on: August 03, 2022, 08:18:53 AM »
On a button there are actions and scripts that can be attached to the button (see picture).

It seems both can be used together e.g. I have an action assigned and also a script and they both execute, but what is the order they execute?

Action then script?

thanks

8
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: July 30, 2022, 06:16:58 AM »
and I use a shuttle now.
The Shuttle Pro V2??? Did you write an LUA version for that as well or do you use the standard one supplied with the program?

9
I can see how to set properties of screen items, but not fire their events.

Basically i have a Togglebutton that I can manually turn on and off the Oiler. However I also automatically turn the oiler on and off when the spindle starts/stops. When I automitically start and stop the oiler the manual button does not reflect the Oiler state (On or Off).

I use the ToggleButton state as a visual cue to see if the oiler is one/off... so it's not accidently left on for long periods.

So I want to start spindle - start oiler, change state of the Oiler Toggle Button to Down (or up)...

or

Start spindle, fire the OilerToggle button Click event so that it starts the Oiler Itself... same result different method of achieving it.

thanks

10
Mach4 General Discussion / Mach4 Lua programatically clicking button
« on: July 29, 2022, 11:52:59 AM »
Mach4 Lua programatically clicking button ... or changing the state of a button programatically, can it be done?? e.g. calling the click or state change from code?

thanks

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 »