Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 26th, 2010, 08:18 AM
Registered User
 
Join Date: Apr 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to run stepper motor with parallel port

Code:
i have make this program to run stepper motor with parallel port forward and reverse but still the stepper motor does not run. can someone solve this issue.[:(]


Private Sub cmdButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdButton1.Click
        Timer1.Enabled = True
    End Sub

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick

        count = count + 1
        Label1.Text = Convert.ToString(count)

        If count = 1 Then

            Label2.Show()
            Out(&H378, 1)

        ElseIf count = 2 Then

            Label2.Hide()
            Out(&H378, 4)

        ElseIf count = 3 Then

            count = 0
            Out(&H378, 16)

        End If
    End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

        Timer1.Enabled = False
        Timer2.Enabled = False

    End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Timer2.Enabled = True
    End Sub

Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
        count = count + 1
        Label1.Text = Convert.ToString(count)

        If count = 1 Then

            Label4.Show()
            Out(&H378, 16)

        ElseIf count = 2 Then

            Label4.Hide()
            Out(&H378, 4)

        ElseIf count = 3 Then

            count = 0
            Out(&H378, 1)

        End If
     
    End Sub
Reply With Quote
  #2 (permalink)  
Old June 24th, 2010, 11:59 PM
Registered User
 
Join Date: Jun 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Integrated stepper motor driver

UIrobot featured Stepper Motor Controllers and Stepper Motor Drivers size only 42.3*42.3*13.5mm include parallel port stepper motor driver, serial port (RS232) and network(CAN Protocol) Stepper Motor Controller which can be directly mounted onto size 42/57/86/110mm (They are NEMA17, NEMA23, NEMA34 and NEMA42 step motors) stepper motors. Ultra-miniature size, high performance, standalone workable or as built-in control and drive unit, easy wiring and strong driving force are the unique selling point of UIM stepper motor controllers and stepper motor drivers.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Receiving data from parallel port using C#.net venkatvens Visual C++ 0 August 11th, 2008 05:44 AM
Motor Database System (MDS) Freelancer Beginning VB 6 4 June 6th, 2007 07:42 AM
Visual C++ on parallel port yunarch Visual C++ 0 September 30th, 2005 07:40 AM
How Can I Read or Write to Parallel Port? qdata Visual C++ 3 January 31st, 2005 06:47 AM
LPT (Parallel ) Port dll driver for XP maxtashkent Visual C++ 3 November 13th, 2003 11:05 PM



All times are GMT -4. The time now is 10:18 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.