0

I,m a retired Broadcasting Consultant, with a background in electronics, but with a very limited experience of VB programming. My main interest at the moment is interfacing my PC with a small milling machine's rotary table stepper motor. There seems to be very little written material available describing the use of a VB porgramme to control stepper motors. I have devised a simple proceedure in VB6, to calculate the number of pulses to be fed to the motors, but would be interested in the calls in VB6 to feed out those pulses to the motor, using a Vellleman USB Interface Card, and to retrieve feedback info from the stepper. Can anyone help please?

Gearcutter

6
Contributors
8
Replies
9
Views
9 Years
Discussion Span
Last Post by gearcutter
0

is that the Velemann PIC chip kit?

We sell those in my work (maplin electronics)

velemann have the manual for it, but the sample code is either pascal or C++, buit its a DLL so you should be able to use it in VB.

0

hi jbennett

Yes I have been contemplating buying the Velleman USB DMX Interface Board, which is Maplins part no: N67BH, but I want to find out if its going to do the job first, if I can..
All I need it to do is to provide a serial path out to the stepper motor board, then accept a return signal on a second line, of one pulse, to indicate the motor has received the required number of pulses.


gearcutter

0

As an alternative to the Velleman Board, I have been looking at perhaps using a USB- Serial Adaptor cable. If i open a port using this, will i be able to send a continuous string of 'bits' from the Timer in VB6? I don't need to have any feedback from the port othere than a 'stop' bit from the motor, when the required number of bits has been received, which would the ne be used to close the port


Gearcutter

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.