586,655 active members*
2,897 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2011
    Posts
    49

    Step response reassigns my drives - help!

    Hi Tom,

    When I open up the step response - my drives get reassigned to different channels.

    When I first power up:
    - I open the axis window and enable all three drives (channels 0,1,2)
    - I open up the C program and run some code to see if all three drives are moving (I manually change the axis from (0-2):
    #include "KMotionDef.h"

    #define AXIS 2
    main()
    {
    FPGA(STEP_PULSE_LENGTH_ADD) = 63; // set polarity and pulse length to 4us
    int i;
    for (i=0;i<10;i++)
    {
    MoveRel(AXIS,1000);
    while (!CheckDone(AXIS)) ;
    MoveRel(AXIS,-1000);
    while (!CheckDone(AXIS)) ;

    - I then open up the step response to do a move and that's when things go weird,
    Axis 0 works ok, but Axis 1 then moves the motor that was assigned to Axis 2 and then Axis 2 doesn't move at all.

    Help!

    Thanks,
    Tim

  2. #2
    Join Date
    May 2006
    Posts
    4047
    Hi Tim,

    That is correct. Pushing "Move" on the Step Response Screen downloads all settings in the the Step Response, Config, and Filters Screens to KFLOP.

    If your Screen Settings are incorrect for the axis channel then after pushing "Move" KFLOP will be configured incorrectly.

    Note: you can push "Upload" to change all Screen Settings for an axis to what settings are currently in KFLOP for that axis. This Flash Video may help.

    HTH
    Regards
    TK
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Dec 2011
    Posts
    49
    Thanks Tom - finally got all three axes working! Realized that my channels were incorrectly setup. From a previous post somewhere - I was under the impression that it should be 8,10,12 when it in reality it should 0,1,2 or 8,9,10. Studying the simple stepper motor c program example was a big help in understanding what is going on.

    Thanks,
    Tim

Similar Threads

  1. Step Response graph in Torque Mode
    By Dr.Nos in forum CNC Machine Related Electronics
    Replies: 2
    Last Post: 10-27-2012, 09:57 PM
  2. Step/Direction pins should be Step FWD and Step BACK
    By rayscott in forum Mach Software (ArtSoft software)
    Replies: 6
    Last Post: 02-10-2010, 12:57 AM
  3. Step Motor Drives
    By Mariss Freimanis in forum Stepper Motors / Drives
    Replies: 3
    Last Post: 10-13-2008, 06:31 PM
  4. Step multiplier for stepper drives?
    By Zumba in forum Gecko Drives
    Replies: 2
    Last Post: 02-02-2008, 09:06 PM
  5. Replies: 2
    Last Post: 07-28-2007, 11:17 AM

Posting Permissions

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