Hello Guest it is January 07, 2026, 10:35:51 AM

Recent Posts

Pages: « 1 2 3 4 5 6 7 8 9 10 »
21
Mach4 General Discussion / Re: Registers from a Macro
« Last post by cd_edwards on January 03, 2026, 07:54:36 AM »
the missing inst is fine. it'll error for me in the log. Zerobrain studio. Which should have access to the registers or how can you debug a macro? Like I said though, this works on my windows 11 machine but not on my windows 10 where I have the controller. originally I was using my windows 11 machine which is 20ft away from the machine. I had the ESS setup on the local network of 192.168.1  instead of it's own separate net of 10.9.9.. I was debugging a script for removing a dust boot and putting it back on by single stepping through it. I was using registers with a screen of DRO's for modifying values and a couple of buttons (ignore remove, led for location of boot).

When I  first started using the win10 pc, I was missing the VC++ redistributabe packages and machipc.dll was failing. I installed the latest version of it, and that fixed the problem with the debugger not being able to run. Might be related.
22
Mach4 General Discussion / Re: Registers from a Macro
« Last post by SwiftyJ on January 03, 2026, 04:19:45 AM »
Are you executing this inside ZeroBrane to test or from within Mach? Which build of Mach4 are you using?

This line: mc.mcCntlSetLastError("crap") is also missing "inst"
23
Mach4 General Discussion / Re: Can't seem to get PWM output
« Last post by SwiftyJ on January 03, 2026, 04:16:20 AM »
Isn't this just a case of it doesn't know what spindle speed you want, so it's not going to start until you tell it a speed? You could type a speed into the 'PGM RPM' DRO below the Spindle On/Off button before pressing the button, or you could modify the SpinCW() function to set an S value.
24
Mach4 General Discussion / Re: Can't seem to get PWM output
« Last post by jcizek on January 02, 2026, 07:46:25 PM »
Thanks Arturo,  but I don't have a C25.   I don't really think I need it, I've got the PWM problem resolved, I just can't figure out the Mach4 spindle buttons.  Very strange that they work (the on/off and speed slider) fine AFTER you issue ANY M03 or M04 command, but not until then.  Gotta be a variable or something not populating at Mach4 startup I am thinking, but I am deep in learning how all the Lua stuff works right now in hopes that that will uncover what's going on here.

Thanks
James
25
Mach4 Plugins / Re: MACH4 Problem z G83
« Last post by mirek1362 on January 02, 2026, 11:06:45 AM »
Bez różnicy czy G98 jest przed g G83 czy po  I tak nie działa.

It doesn't matter if G98 is before or after G83, it still doesn't work.
26
Mach4 General Discussion / Re: Centroid KP-1 Probe ESS C82 board Mach4
« Last post by arturod on January 02, 2026, 06:15:58 AM »
From what you are saying, I see that you are connecting this to the terminals of the C82.  Keep in mind that the inputs of the C82 use bidirectional optos that work from +5vdc to +24vdc.  Maybe you are not wiring the correct common for the signals.  I think that the output of the centroid probe is equivalent to an NPN, and this wiring diagram may help:
https://www.cnc4pc.com/knowledge/article/195

You can also open a ticket in our website and send pictures of your wiring and we will give you a hand with this: https://www.cnc4pc.com/helpdesk/customer-care-4?contact_form=1

Arturo Duncan
https://cnc4pc.com
27
Mach4 General Discussion / Re: Can't seem to get PWM output
« Last post by arturod on January 02, 2026, 06:00:50 AM »
The C25 has LEDs on all I/Os, so you should see the LED for the PWM light up as soon as it is sending 100%.  There are other parameters that you are not showing in the screenshots.

It may be easier if you set up a new test profile and just run the installer to configure the C25XP on it: https://www.cnc4pc.com/knowledge/article/249

That way, you will have a working profile from which you can copy the working configuration.

Arturo Duncan
https://cnc4pc.com
29
Mach4 General Discussion / Centroid KP-1 Probe ESS C82 board Mach4
« Last post by Sabre38 on January 01, 2026, 11:28:31 PM »
bought a Centroid KP-1 touch probe, Mach 4 not detecting probe trip.  Using ESS and C82 board with Machh4.  White wire from probe to Port 2 pin 9, active low, Black wire to Common. Green wire to ground and red to +24 volts DC. I hooked a volt ohm meter from pin 9 to common and the meter indicates pin goes to common when probe tripped. Probe goes from Greed LED to Red when tripped and verified with meter.  Mach shows no change of state. Diagnostic Page probe LED does not change. Probe enabled set to port 2 pin 9 active low. selected probe 0 in Mach4.  Any help would be great.
30
SmoothStepper USB / Centroid KP-1 Probe ESS C82 board Mach4
« Last post by Sabre38 on January 01, 2026, 11:22:44 PM »
bought a Centroid KP-1 touch probe, Mach 4 not detecting probe trip.  Using ESS and C82 board with Machh4.  White wire from probe to Port 2 pin 9, active low, Black wire to Common. Green wire to ground and red to +24 volts DC. I hooked a volt ohm meter from pin 9 to common and the meter indicates pin goes to common when probe tripped. Probe goes from Greed LED to Red when tripped and verified with meter.  Mach shows no change of state. Diagnostic Page probe LED does not change. Probe enabled set to port 2 pin 9 active low. selected probe 0 in Mach4.  Any help would be great.
Pages: « 1 2 3 4 5 6 7 8 9 10 »