. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hi

    I need help please!!

    I have a PDA (Recon) and I use Basic4ppc to program on it. Then I have a controller and stepper motors from Probotix. The controller and the PDA is connected through the PS232 port.

    What type of codes must I send to the controller to let the stepper motors turn????? A command like "G1 X100 Y100" does nothing

    Thanks
    Michael

  2. #2
    What model is it, only one I found has a Paralell connection.



    I did something similar and wrote a program in VB for a WINCE device but I used an Arduino with a firmware G Code interpreter to provide step & direction signals to the drives.

    Will your stepper drivers take a step / dir signal?

    Michael.

  3. #3
    Hi Michael

    Thanks for the reply. I do not know what the model is, but one can use either the RS232 or parallel port. It has 4 ports at the back to which stepper motors are connected. There are also 2 cables connected.....one serial cable and the other a parallel cable.

    I can open the serial port and I know that there is a link, because there are sounds coming from the stepper motors. I have looked at G-Codes, but I do not know if that is the right route to go.

    Is it perhaps possible to email me a short example of the code that you used?

    Thanks
    Michael

  4. #4
    First you need to know the correct Baud rate, Parity and stop bits then we need to know if its expecting an ASCII GCode line or something else?

    The humming from your steppers is normal for stationary steppers currently holding. I would stick with the Paralell connection and use Mach/EMC.

    If you really want to use your PDA look at the RepRap forums as they use a serial(via usb) controller to supply step/dir signals to the paralell connection on your board. You just send it a line of GCode via serial in ascii and it does it. I wrote a program for Windows Ce /Pocket PC to controll a Router/Mill this way.

    Are you sure its RS-232 on the board you have and not 422 or some other bus?

    Its possible modbus for which Mach have a plugin.

    Michael.

  5. #5
    Hi Michael

    I know that I can control the stepper motors through the RS232 port, as I have a program called Mach 3 and that can control the stepper motors from my laptop using the RS232 port. On my PDA (Recon) I have a USB and serial port. I have looked at the G-Codes, but they don't work for me!! I am doing something wrong. By the way the settings for the port should be "4800,N,8,2".

    This is what I want to do:

    On the PDA is a watered down version of my Land Surveying program. In the program I can define any alignment (ie. center line of a road, railway line, etc). The alignment consists of straight lines defined by coordinates called PI's (point of intersection). At each Pi is also a radius.

    What I do next is to set up my base station (GPS) and connect the Rover to the PDA, which in turn is connected to the rover. This all sits inside a small Quad bike (which I stripped!). As the "car" moves along the centerline of the road the rover continously gets coordinates from the base station. Using these coordinates the program can calculate how far away from the centerline the "car" is and apply the corrections to the stepper motors to bring it back on track.

    Please help

    Thanks
    Michael

  6. #6
    Hi Ceaser, it would be useful if you could attach the pdf manual for the controller etc to your next post. If you dont have a manual then take photos of any face with connectors, writing or model numbers and attach them. Need more data before we can help in a specific way.Then we can have a look at whats inside the thing and maybe get you up and running. Your application sounds like fun, perhaps when its all working you could post a couple of pics of the thing in action. Jim

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mach3 Controlling Huanyang HY02D223B 2.2KW VFD
    By Mad Professor in forum Spindles & Drive Motors
    Replies: 34
    Last Post: 01-10-2016, 10:21 AM
  2. Replies: 2
    Last Post: 23-04-2014, 03:14 PM
  3. controlling a stepper with a simple trigger switch
    By phill05 in forum Stepper & Servo Motors
    Replies: 13
    Last Post: 06-02-2014, 02:18 PM
  4. 800w spindle - noise & controlling remotely
    By HankMcSpank in forum Generic Chinese Spindles
    Replies: 49
    Last Post: 17-10-2013, 06:26 PM
  5. servo motor as spindle motor
    By Scott in forum General Discussion
    Replies: 1
    Last Post: 03-10-2010, 06:42 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •