<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><TITLE>RE: [vrf] Stepping Motor Control (for dummies) any examples?</TITLE><META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD><BODY><DIV dir=ltr align=left><SPAN class=093450810-04022005><FONT face=Arial color=#000080 size=2>What I/O Card from MC did you use? I assume, there was a driver board between I/O-Card and Stepper, which one did you use?</FONT></SPAN></DIV><DIV dir=ltr align=left><SPAN class=093450810-04022005><FONT face=Arial color=#000080 size=2></FONT></SPAN> </DIV><DIV dir=ltr align=left><SPAN class=093450810-04022005><FONT face=Arial color=#000080 size=2>Regards, </FONT></SPAN></DIV><DIV dir=ltr align=left><SPAN class=093450810-04022005><FONT face=Arial color=#000080 size=2>Axel</FONT></SPAN></DIV><BR><DIV class=OutlookMessageHeader lang=de dir=ltr align=left><HR tabIndex=-1><FONT face=Tahoma size=2><B>Von:</B> Drago, William @NARDAEAST [mailto:William.Drago@L-3com.com] <BR><B>Gesendet:</B> Donnerstag, 3. Februar 2005 20:01<BR><B>An:</B> VRF<BR><B>Betreff:</B> [vrf] RE: Stepping Motor Control (for dummies) any examples?<BR></FONT><BR></DIV><DIV></DIV><P><FONT size=2>Hello Tapio,</FONT> </P><P><FONT size=2>I wrote some vee code a while back to control 3 stepper motors. </FONT></P><P><FONT size=2>I used a digital I/O card from Measurement Computing and</FONT> <BR><FONT size=2>bit-banged the stepper driver directly. </FONT></P><P><FONT size=2>It's not that hard to do. If you know the motor has 256 steps/revolution,</FONT> <BR><FONT size=2>and you want to go 1/4 turn clockwise it is a simple matter to </FONT><BR><FONT size=2>calculate how many pulses to send (256/4 = 64), and to control the direction</FONT> <BR><FONT size=2>bit, either high or low. You'll also have to keep track of the number of</FONT> <BR><FONT size=2>pulses you send in each direction so that you'll always know where the motor is.</FONT> </P><P><FONT size=2>In my application there was a micro switch at the end of each shaft. The first</FONT> <BR><FONT size=2>thing my software does is run the motor until switch closes, then I know it's "home."</FONT> </P><P><FONT size=2>I could send you my code, but I think you'd be better off writing your own.</FONT> </P><P><FONT size=2>Good luck,</FONT> <BR><FONT size=2>Bill</FONT> </P><P><FONT size=2>> -----Original Message-----</FONT> <BR><FONT size=2>> From: tapio.ronkainen@nokia.com [<A href="mailto:tapio.ronkainen@nokia.com">mailto:tapio.ronkainen@nokia.com</A>]</FONT> <BR><FONT size=2>> Sent: Thursday, February 03, 2005 3:17 AM</FONT> <BR><FONT size=2>> To: VRF</FONT> <BR><FONT size=2>> Subject: [vrf] Stepping Motor Control (for dummies) any examples?</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>> </FONT><BR><FONT size=2>> Hello Vfr's</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>> Has anyone made any stepping motor controlling with Vee? I </FONT><BR><FONT size=2>> need to control two stepping motors from Vee and I am looking </FONT><BR><FONT size=2>> for a "keep it simple" solution for this. There is no major </FONT><BR><FONT size=2>> accuracy & speed requirements. I only need to rotate two </FONT><BR><FONT size=2>> axels with not so much torque needed. </FONT><BR><FONT size=2>> </FONT><BR><FONT size=2>> Perhaps I am hoping too much, but the ideal solution from my </FONT><BR><FONT size=2>> point of view would be one box that has an GP-IP / RS-232 </FONT><BR><FONT size=2>> port on one end and motor connectors on other end. Whole </FONT><BR><FONT size=2>> thing controlled with few commands like speed & n steps to </FONT><BR><FONT size=2>> clockwise etc.) Bed on my limited knowledge of the subject, </FONT><BR><FONT size=2>> I am afraid that it is not this simple.</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>> If you have working solutions / examples that you can share </FONT><BR><FONT size=2>> with me, I would be very happy to look into them.</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>> </FONT><BR><FONT size=2>> Br, Tapio Ronkainen</FONT> <BR><FONT size=2>> </FONT><BR><FONT size=2>> </FONT><BR><FONT size=2>> </FONT><BR><FONT size=2>> ---</FONT> <BR><FONT size=2>> You are currently subscribed to vrf as: William.Drago@L-3com.com</FONT> <BR><FONT size=2>> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".</FONT> <BR><FONT size=2>> To unsubscribe send a blank email to </FONT><BR><FONT size=2>> "leave-vrf@it.lists.it.agilent.com".</FONT> <BR><FONT size=2>> To send messages to this mailing list, email "vrf@agilent.com". </FONT><BR><FONT size=2>> If you need help with the mailing list send a message to </FONT><BR><FONT size=2>> "owner-vrf@it.lists.it.agilent.com".</FONT> <BR><FONT size=2>> </FONT></P><P><FONT size=2> This e-mail and subsequent attachments may contain information which is proprietary to L-3 Communications Corporation. The contents shall not be disclosed, copied, distributed or used unless authorized by L-3 Communications Narda - East.</FONT></P>---<BR>You are currently subscribed to vrf as: a.kieser@francotyp.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com". ---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</BODY></HTML>
Sorry, I should have replied to you Tapio.
Please see vrf email to Dr. fischer.
Al.
|---------+-----------------------------------------------------+---------|
|<tapio.ro| Document Marked as Unclassified | |
|nkainen@n| | |
|okia.com>| | |
|---------+-----------------------------------------------------+---------|
<tapio.ronkainen@noki To: VRF <vrf@agilent.com>
a.com> cc:
03/02/05 Subject: [vrf] Stepping Motor Control (for dummies) any examples?
08:17
Please respond to
tapio.ronkainen
Stationery name:-Untitled-
Hello Vfr's
Has anyone made any stepping motor controlling with Vee? I need to control
two stepping motors from Vee and I am looking for a "keep it simple"
solution for this. There is no major accuracy & speed requirements. I only
need to rotate two axels with not so much torque needed.
Perhaps I am hoping too much, but the ideal solution from my point of view
would be one box that has an GP-IP / RS-232 port on one end and motor
connectors on other end. Whole thing controlled with few commands like
speed & n steps to clockwise etc.) Based on my limited knowledge of the
subject, I am afraid that it is not this simple.
If you have working solutions / examples that you can share with me, I
would be very happy to look into them.
Br, Tapio Ronkainen
---
You are currently subscribed to vrf as: Alex.Barrett@raytheon.co.uk
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
with VEE.
Thanks
Hans-Joachim
-----Ursprngliche Nachricht-----
Von: Alex.Barrett@raytheon.co.uk [mailto:Alex.Barrett@raytheon.co.uk]
Gesendet: Donnerstag, 3. Februar 2005 14:57
An: Dr. Hans-Joachim Fischer
Cc: VRF
Betreff: Re: [vrf] AW: Stepping Motor Control (for dummies) any
examples?
You can buy (fairly cheaply, less than 100 euros) a little board which will
directly drive most small stepper motors. It contains it's own clock, and
everything else it needs. All you need is one 5v line to tell it to go, and
another for the direction. easy!
In the UK, you can buy it from RS components, although I don't know what is
available in Germany.
Hope this helps,
Alex.
|---------+-----------------------------------------------------+---------|
| "Dr. | Document Marked as Unclassified | |
|Hans-Joac| | |
| him | | |
|Fischer" | | |
|<vee@esf-| | |
|gmbh.de> | | |
|---------+-----------------------------------------------------+---------|
"Dr. Hans-Joachim To: VRF <vrf@agilent.com>
Fischer" cc:
<vee@esf-gmbh.de> Subject: [vrf] AW: Stepping
Motor Control (for dummies) any examples?
03/02/05
10:43
Please respond to "Dr.
Hans-Joachim Fischer"
Stationery name:-Untitled-
Dear all,
I can offer a GPIB interface board with digital I/O and a modul on top of
it with a dual stepper drive. Other moduls on request.
I wrote quite complex VEE program to use this stepper drive in an anechoic
chamber together with other instruments to rotate antennas.
The stepper drive can rotate with certain speed, and can rotate to
position. It provides zero positioning. The two drives are operated
independent from each other.
Attached a manual.
Hans-Joachim Fischer
----------------------------------------
ESF GmbH
Dr. Hans-Joachim Fischer
Geschftsfhrer
Brennerweg 7
D-89143 Blaubeuren
http://www.esf-gmbh.de
http://www.iso-calm.de
http://www.rttt-dsrc.de
+49-7344-919693
+49-7344-919691 (Fax)
+49-175-40 74 5 74
----------------------------------------
This e-mail may contain trade secrets or
privileged, undisclosed or otherwise
confidential information. If you have
received this e-mail in error, you are
hereby notified that any review, copying
or distribution of it is strictly
prohibited. Please inform us immediately
and destroy the original transmittal.
Thank you for your cooperation.
----------------------------------------
----------------------------------------
-----Ursprngliche Nachricht-----
Von: Aubry, P [mailto:P.Aubry@irctr.tudelft.nl]
Gesendet: Donnerstag, 3. Februar 2005 10:42
An: VRF
Betreff: [vrf] Stepping Motor Control (for dummies) any examples?
-----Original Message-----
From: Aubry, P
Sent: 03 February 2005 10:39
To: 'tapio.ronkainen@nokia.com'
Subject: RE: [vrf] Stepping Motor Control (for dummies) any examples?
Hello Tapio,
I've written some antenna measurement software which involves
controlling stepper motors and a network analyzer (HP8510). At the
moment I'm using a BaseBoard PCI card to send the pulses and direction
to the motors. I wrote a DLL that sends a square wave but I can only
achieve limited speed because of the timing in Windows XP (I make use
of the QuerryPerformanceCounter function). I hope to be able to use
one of these nice motion controller card in the future which would
make things much easier. I think it comes with it's own DLL so you'd
probably import it in VEE and do something like call motor.move,
motor.init etc...
I hope it helps.
Regards,
Pascal Aubry
> -----Original Message-----
> From: tapio.ronkainen@nokia.com [mailto:tapio.ronkainen@nokia.com]
> Sent: 03 February 2005 09:17
> To: VRF
> Subject: [vrf] Stepping Motor Control (for dummies) any examples?
>
> Hello Vfr's
>
> Has anyone made any stepping motor controlling with Vee? I need to
control
> two stepping motors from Vee and I am looking for a "keep it simple"
> solution for this. There is no major accuracy & speed requirements.
I only
> need to rotate two axels with not so much torque needed.
>
> Perhaps I am hoping too much, but the ideal solution from my point
of view
> would be one box that has an GP-IP / RS-232 port on one end and
motor
> connectors on other end. Whole thing controlled with few commands
like
> speed & n steps to clockwise etc.) Based on my limited knowledge of
the
> subject, I am afraid that it is not this simple.
>
> If you have working solutions / examples that you can share with me,
I
> would be very happy to look into them.
>
>
> Br, Tapio Ronkainen
>
>
>
> ---
> You are currently subscribed to vrf as: P.Aubry@irctr.tudelft.nl
> To subscribe send a blank email to
"join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to
"leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list, email "vrf@agilent.com".
> If you need help with the mailing list send a message to "owner-
> vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: vee@esf-gmbh.de
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to
"leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com". (See attached file: Commands.pdf)
---
You are currently subscribed to vrf as: Alex.Barrett@raytheon.co.uk
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to
"leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
buttons )which themselves are controlable via Seriel line connection.
More modern types do use USB.
I use this technique to control our turntable in our unechoic chamber ( for
cars ).
For this application it is recommended to have this "double" control because
of security reasons. And you do not want to connect it always with a
computer to let it turn
Do not know your application, but keep the security always in mind .
These controller boxes do come from Siemens or Yamaha and cost about 300
Euros...
best regards,
detlef
-----Ursprngliche Nachricht-----
Von: tapio.ronkainen@nokia.com [mailto:tapio.ronkainen@nokia.com]
Gesendet: Donnerstag, 3. Februar 2005 09:17
An: VRF
Betreff: [vrf] Stepping Motor Control (for dummies) any examples?
Hello Vfr's
Has anyone made any stepping motor controlling with Vee? I need to control
two stepping motors from Vee and I am looking for a "keep it simple"
solution for this. There is no major accuracy & speed requirements. I only
need to rotate two axels with not so much torque needed.
Perhaps I am hoping too much, but the ideal solution from my point of view
would be one box that has an GP-IP / RS-232 port on one end and motor
connectors on other end. Whole thing controlled with few commands like speed
& n steps to clockwise etc.) Based on my limited knowledge of the subject, I
am afraid that it is not this simple.
If you have working solutions / examples that you can share with me, I would
be very happy to look into them.
Br, Tapio Ronkainen
This message and any attachments are confidential, for the exclusive use of
the addressee and may be legally privileged. Any other distribution, use or
reproduction is unauthorised and prohibited. If you have received this
message in error, please notify the sender immediately and delete the
message from your system.
Visit our internet site at http://www.pilkington.com
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".