Hello Guest it is April 23, 2024, 09:14:47 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.


Topics - jmalarke

Pages: 1
1
Mach4 General Discussion / Problem with spindle RPM DRO
« on: July 18, 2019, 11:32:42 PM »
I did a little bit of searching and I seem to be having a similar issue to this thread: https://www.machsupport.com/forum/index.php?topic=37473.msg256212#msg256212

I have a VFD, controlled via modbus that I can read the actual RPM back from.  I've basically followed this link, with tweaks for a Durapulse GS3 VFD:
http://caldwellfam.net/bill/wp-content/uploads/2019/04/Connecting-a-VFD-to-Mach4-through-the-Modbus-v5.pdf

I can control the RPM, and I can read the RPM back from the VFD without a problem.  The issue I am having is that when I try to update the droTrueSpindle DRO it flickers.  According to the API documentation, the mcSpindleSetSensorRPM() function is "This API function is what spindle control plugins should use to report the spindle speed."

The flicker is between zero and whatever value I pass to mcSpindleSetSensorRPM() in my PLC script.   Clearly something else is setting the spindle RPM to zero between the PLC service calls, but I have no idea where that is happening. 

Am I using the wrong function?  Should I be doing this differently?



2
I installed a fresh copy of Mach 4 (Mach4Hobby_Installer-4.2.0.4162.exe)  I immediately went into the screen editor.  I didn't make any changes, and when I exited I got a popup titled "Unload Script Error" with a message that says "Correct the script error and restart."  This happens every time I exit the screen editor.

I haven't the faintest idea on where to start looking for the issue. Anyone have any ideas?

3
General Mach Discussion / Tie external button to custom macro
« on: May 27, 2015, 12:17:54 AM »
I am trying to have an external button trigger a user macro and I cannot for the life of me figure out how to get it working.  I've ready probably 50 different forum posts/webpages/etc and still can't seem to get anything to work.  I've tried to get this working with the default MACH3 screenset, as well as the 2010 screenset.

I have the input tied to my Smoothstepper and I can see it change in the diagnostics page when I press it so I know the wiring is good.  I currently have it assigned to "Input #1" but it doesn't necessarily need to stay there.   

There are a couple of these I would like to get working eventually, but for now I am trying to use the 2010 screenset's Z-axis auto zero macro which lives in the file M889.m1s.  It works fine if I click on the button on the screen.

Is there a simple, step by step guide on how to get this working?  I feel like I must be missing something, because it seems like this should be easy to set up.

4
General Mach Discussion / Can't type numbers into edit boxes
« on: August 25, 2014, 11:18:00 AM »
I have been configuring MACH3 for my new mill.  When I started I could type numbers into any of the edit boxes normally.  I'm not sure what I changed, but now every time I click in a box to edit it, it brings up a dialog that looks kind of like a calculator that I hav eto use the mouse to click on the buttons.  How do I change it back so it works in a normal fashion?

Pages: 1