Hello Guest it is April 24, 2024, 08:10:49 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 - farmertom

Pages: 1
1
My old home switches (cheap $3 switches) were starting to give me problems so I decided to change them out. I upgraded to some very nice industrial grade micro switches. The problem I am having is when I home an axis, the switch stops the axis, reverses the axis to open the switch. However I think my new switches are experiencing bounce. On Mach3 I see the switch turn green and the axis reverses direction. All is good but the axis stops and the switch is still green and that stops the other axes from homing. I can jog the axis a little and the switches go white. I have tried increasing the de-bounce time to 800 and I see no change. Suggestions? If I increase the de-bounce time, what else does the de-bounce time affect. My old cheap switches has a de-bounce time of 0 and they worked OK. Suggestions.  

Thanks for your help

2
Sargon,
Thanks for the reply. I did eventually go with a one dimensional array, but your idea of indexing the second dimension is a great idea. I will use that in future programing. Too bad CB is so limited.  Thanks for the time and effort to reply to my post.
regards
farmertom

3
Hello all,

In reading the Cypress Basic (CB) reference manual I see the CB supports multidimensional  arrays. But I can not find the answer to my questions.
1) How do you Dim an empty two dimensional array?  Dim myarray ( , ) as integer    -does not work.
2) If you get a two dimensional array declared, how do you ReDim it?

Thanks for your time and advice
farmertom

4
Thanks AndrewM,
notepad++ looks very interesting.. All the colored syntax and the ability to collaspe sections of code. Much better. If it only had intellisense like vs!

5
VB and the development of wizards / Other VB editors that work with MachCB
« on: November 09, 2011, 09:54:03 PM »
Hello All,
I am looking for a replacement VB editor that can replace the MachCB editor. I have had several problems with the editor. Loosing a days work by incorrect saving, text font too small, etc . It would be nice if we could use something like Visual Studio... In any case what do you use.. any suggestions..
thanks

farmertom

6
Mach SDK plugin questions and answers. / Re: COM Automation Question
« on: November 09, 2011, 02:30:40 PM »
Brad,
You have fixed the problem I am having. Not finding the ""Mach4.Document" entry!  Can you please detail what you did to fix the problem...
THANK YOU!
farmertom

7
Hello all
I am trying to do exactly what  Late_nighter was trying to do, but with  vs2010, and get the same results.  In this post http://www.machsupport.com/forum/index.php/topic,11589.0.html
They are trying to do same thing. I have used regsvr32 to try to register  mach3.exe and i get the same error (not a valid com obj). 
It seems i can not find the "Mach4.Document" class in the window registory, like the second thread says to do. I see "M3plugin.Documents" and others using regedit. It also looks like no one has help these guys find the solution..
I am hoping some one can point me way to find a solution.  I am not a C++ programmer but can get around in C# OK. I would love to create some plugins for my home shop.

Thanks for your help in advance.
farmertom

Pages: 1