1
VB and the development of wizards / Interfacing to a PCI card
« on: February 21, 2008, 03:28:18 PM »
Hi all
I hope someone can guide me in my quest.
I have a lathe I've been battling years on. A "ancient" Okuma. Now I've bypassed the old control and managed to get those enormous motors running on Mach3.
But now I want to run both my turrets as well as my spindle from Mach3.
A little background on the turrets: They consist of a 4 position front and a 6 position rear. They are controlled by relays and ordinary switches. The relays are switched in combination to achieve desired tool position. I have all the electrical schema's etc.
The spindle. It is a automatic 6 speed gearbox which gives out 12 possible running speeds. Also controlled by relays.
Now for the help part I need:
I bought a PCI card which is installed within my PC which can controll 32 out and 8 in I/O's. I have written a program which succesfully does what I need it to do in VB. BUT I would like to interface it to Mach3, I can write basic VB, and I do not know C++ at all.
What would be the best way of doing this, Macro's VB Script or .........C++
Any guidance will be greatly appreciated.
Regards
Ruan Basson
South Africa
I hope someone can guide me in my quest.
I have a lathe I've been battling years on. A "ancient" Okuma. Now I've bypassed the old control and managed to get those enormous motors running on Mach3.
But now I want to run both my turrets as well as my spindle from Mach3.
A little background on the turrets: They consist of a 4 position front and a 6 position rear. They are controlled by relays and ordinary switches. The relays are switched in combination to achieve desired tool position. I have all the electrical schema's etc.
The spindle. It is a automatic 6 speed gearbox which gives out 12 possible running speeds. Also controlled by relays.
Now for the help part I need:
I bought a PCI card which is installed within my PC which can controll 32 out and 8 in I/O's. I have written a program which succesfully does what I need it to do in VB. BUT I would like to interface it to Mach3, I can write basic VB, and I do not know C++ at all.
What would be the best way of doing this, Macro's VB Script or .........C++
Any guidance will be greatly appreciated.
Regards
Ruan Basson
South Africa