Hello Guest it is September 15, 2019, 04:56:38 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 - jmalarke

Pages: 1 2 »
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
Mach4 General Discussion / Re: Uninstalling Mach4
« on: February 02, 2019, 08:10:37 PM »
I saw a message about not being able to initialize the core with rc = -17.  Kaspersky anti-virus has quarantined some of the MACH4 files

4
Mach4 General Discussion / Re: Mach4 build files infected?
« on: February 02, 2019, 08:08:43 PM »
I am seeing the same kind of thing.  I hadn't used my machine in quite some time and there was a popup form Kaspersky about an update.  When I went to run MACH4, Kaspersky blocked it.  Downloaded new files from the website and tried to reinstall.  Same thing.

5
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.

6
Finished Screens / Re: Mach3 2010 Screenset - Now available
« on: October 24, 2014, 09:46:49 PM »
I switched to the Mach3_2010_inch.pp post processor and the problem went away.  Not sure why, but it works for me!

Thanks for the support.

7
Finished Screens / Re: Mach3 2010 Screenset - Now available
« on: October 24, 2014, 08:55:45 PM »
I narrowed it down this evening a little bit.  Below is the file that I load.  If I e-stop the system on or before the M6 command, the auto-zero still works.  Anything after that seems to cause the issue.

( text1.5 )
( File created: Thursday, October 23, 2014 - 11:55 PM)
( for Mach2/3 from Vectric )
( Material Size)
( X= 6.000, Y= 6.000, Z= 0.125)
()
(Toolpaths used in this file:)
(Text)
(Tools used in this file: )
(1 = V-Bit {60 deg 0.125"})
N100G00G20G17G90G40G49G80
N110G70G91.1
N120T1M06
N130 (V-Bit {60 deg 0.125"})
N140G00G43Z1.5000H1
%

8
Finished Screens / Re: Mach3 2010 Screenset - Now available
« on: October 24, 2014, 02:17:31 PM »
I did some testing at lunch.  It does the same thing using feedhold then stop, hitting the e-stop or a hitting a limit switch. The common factor seems to be that I have to actually start running the program, then stop it.  It works fine even if I e-stop or hit a limit switch if I haven't started the program.  This evening I will try to figure out if one of the g-codes in my program is affecting this. I can stop it after running a few seconds and it does it, so it must be early in the file if that is the case

I'm using Vectric VCarvePro to generate the file.

9
Finished Screens / Re: Mach3 2010 Screenset - Now available
« on: October 24, 2014, 10:31:29 AM »
I am using an Ethernet Smoothstepper.

10
Finished Screens / Re: Mach3 2010 Screenset - Now available
« on: October 24, 2014, 09:24:11 AM »
I can give that a try when I get home, but I think it did the same thing when I either hit the e-stop or a limit switch, I don't remember which.  I'll check that as well.

Pages: 1 2 »