|
Post by dbrija on Apr 27, 2011 10:23:44 GMT -8
Dave,
I've had no luck. I setup an old screen set and tried using DRO 2222, and that does not work.
I focused on DRO 39, and tried the one line script, removing pins, etc... and it just sits at zero.
Any more ideas?
I will also get in touch with VistaCNC.
|
|
|
Post by DaveCVI on Apr 27, 2011 11:55:54 GMT -8
Hi, I'm afraid I'm out of ideas at the moment. Given you tried this with an "old screen set" (I assume that means not MSM) and you can't get either DRO 39 or 2222 to work per the VistaCNC docs, then it looks to me like an issue that VistaCNC will need to assist you with.
Dave
|
|
|
Post by dbrija on Apr 27, 2011 13:49:24 GMT -8
That's almost correct. DRO 39 works on a non MSM screen set, but won't work on the MSM set.
I emailed vistacnc support. I'll see what they come back with.
Thanks for the suggestions to date though.
Danny Brija
|
|
|
Post by dbrija on Apr 29, 2011 17:02:29 GMT -8
Dave,
By the way, I love this screen set! I have run several programs with it, and I love the way tool changes work, and in particular, the probing abilities! I have given up on the RPM DRO thing for now, and I am happily making chips.
Danny Brija
|
|
|
Post by DaveCVI on May 1, 2011 9:31:15 GMT -8
Hi,
I've received some more information about the DRO 39 situation to pass along.
With both the Huanyang VFD plug-in and the VIstaCNC tach plug-in, no index pulses appear on any input pin to mach. Hence Mach sets the value of DRO 39 to 0. Further, DRO 39 is "special" in that it is normally (almost always) is set by Mach - so if the plug-ins attempt to update the DRO from plug-in code, Mach will often overwrite the value the plug-in wrote.
Which code (mach or plug-in) will be the last to update each time thru the mach 1/10 sec refresh loop, is indeterminate (I'm told mach runs this loop as as a timing race condition).This is why some people see a DRO 39 update work with 1024 but not with MSM.
There is a way for a plug-in to take over DRO 39 and update it - however, currently, a plug-in which attempts to do so must be a full motion plug-in - i.e. it must be handling all motion for mach (otherwise mach's motion code, including the code that updates DRO 39) is still being run.
Neither the Huanyang VFD plug-in or the VistaCNC tach plug-ins are "full motion" plug-ins. Therefore they are unable to update DRO 39.
The requirement that only a full motion plug-in can update DRO 39 may change in a future version of mach, but that ability does not exist in mach as of today.
To muddy the waters a bit more, it may have been possible for a non-full motion plug-in to update DRO 39 with some older versions of mach (it changed when art did some changes to how the mach driver determines timing) - this is likely the reason that the plug-in authors think they have seen it work in the past.
In any case the mach versions where that may be possible are not mach versions that can support MSM.
Until Mach is revised and a change makes it into a mach release, the only option is to have the plug-in update a user space DRO # and for the user to edit MSM to change the RPM DRO # from 39 to that #.
Some "RPM plug-ins" already offer the ability to update an user space DRO instead of DRO 39.
Because a) different plug-ins use different alternative user DRO#s, and b) mach does not provide support dynamically altering a screen DRO # at run time, MSM can't automate this for the user.
If you are using a plug-in to derive RPM, then you will need to customize MSM for use with that plug-in.
The good news is that this works fine as this is what several Huanyang plug-in users have successfully done.
Dave
|
|
|
Post by dbrija on May 4, 2011 18:06:48 GMT -8
;D
Problem solved. I checked the Brains, and none of the MSM brains were enabled. Once I enabled the spindle override LED brain, the RPM DRO came to life.
|
|
|
Post by DaveCVI on May 4, 2011 18:29:04 GMT -8
Really?!? That's just too weird... you wouldn't be pulling my leg would you? That brain is really simple - it uses the Spindle % DRO only as an input so that it can turn on a user space LED if the % <> 100. What the connection is between that brain being enabled, and the plug-in being able to update DRO 39 is, well, let's say "not obvious". to paraphrase: "There are stranger things inside of Mach than are dreamt of in my philosophy... Dave ;D Problem solved. I checked the Brains, and none of the MSM brains were enabled. Once I enabled the spindle override LED brain, the RPM DRO came to life.
|
|
|
Post by Fastest1 on May 26, 2011 14:55:46 GMT -8
Is this really working? I am trying the IMach tach right now with no luck on the readout. I have enabled the brain and noticed no change. I tried "S1000 M3" but still no readout.
|
|
|
Post by DaveCVI on May 26, 2011 15:24:05 GMT -8
Hi, I'm afraid that al the info I personally know is already in this thread. I don't have a vista CNC tach so I've not personally tried it.
Perhaps dbrija or someone else will jump back in with confirmation or some more info.
Dave
|
|
|
Post by hansdmfg on May 27, 2011 14:17:46 GMT -8
Hi Dave I have no RPM feed back from my C3 index pulse card. I went as far as loading the stock 1024.set screen and configured every thing like MSM and I got RPM feed back with Mach 043.037. I then went back to Mach3 Ver. 043.022 with MSM ver. 1.1.4 and I got RPM feed back from that version. I then installed Mach3 Ver. 043.037 ran with MSM Ver. 1.1.4. All brains were disabled. I tried enabling the spindled LED brain like one of the previous posters and still no RPM feed back. I'm nor running any plug ins for my pulse card. Only plug in I'm running is X360 controller from Lee Davis. Happy bug hunting. Eric
|
|
|
Post by DaveCVI on May 28, 2011 6:32:42 GMT -8
Eric, I'll check into this. However, it will be at least at week before I can do so as I'm away for the holiday weekend and during next week I won't be able to access my shop or office (got to take care of some freeloading termites) Dave
|
|
|
Post by hansdmfg on May 28, 2011 12:26:06 GMT -8
Hi Dave
No problem. I know you will find the problem. Have a great holiday.
Eric
|
|
|
Post by DaveCVI on Jun 6, 2011 8:04:03 GMT -8
Eric, My shop is still torn apart so I haven't gotten to retesting the RPM DRO on hardware yet.
In the mean time, I found nhis note from art: "Do you have "Use Spindle Feedback" selected? Also, did you enter M3 so that Mach3 knows the spindle is on? *It will ignore the incoming pulses unless both settings are made..)"
And the S word needs to be non-zero...
Could any of these be an issue for your set up?
Dave
|
|
|
Post by hansdmfg on Jun 6, 2011 14:43:12 GMT -8
Hi Dave
"Spindle Speed Averaging" is turned on. I only use M3 to turn on my spindle with an S word above 0. If you refer to my previous post Mach 3 Ver. 043.022 worked with MSM Ver. 1.1.4 and I got RPM feed back. When I used Mach 3 Ver. 043.037 that broke the RPM feed back. Using just the stock 1024 screen set in Mach 3 Ver. 043.037 I got RPM feed back. What ever was change between Mach 3 Ver. 043.022 and Ver. 043.037 is causing MSM not to see the RPM. I think Ver. 043.022 had some timing issues for lathe and Ver 043.037 was susposed to fix that.
Eric
|
|
|
Post by hansdmfg on Jun 6, 2011 14:50:34 GMT -8
Hi Dave
Sorry the previous post should have read "Use Spindle Feedback". I'm also using "Spindle Speed Averaging" which was working before Mach 3 Ver. 043.037.
Eric
|
|