Steppers using KFlop/Kanalog via JP4 and pin 15/16


Results 1 to 7 of 7

Thread: Steppers using KFlop/Kanalog via JP4 and pin 15/16

  1. #1
    Registered
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    13
    Downloads
    0
    Uploads
    0

    Default Steppers using KFlop/Kanalog via JP4 and pin 15/16

    Have a working NEMA 23(and a 34) stepper (ie the driver/ motor/ power supply will generate motion on an arduino). Have xyz as channels 0,1,2 run by large servo with rotary and linear encoders. Wish to use stepper to drive a 4th axis.

    I need to multiplex JP7 to JP4/6 using

    FPGA(STEP_PULSE_LENGTH_ADD)=32 + 0x40;

    so as to allow JP4 15/16 to be step/dir respectively

    As I understand it channel 3 should be set to step/dir for output (no input being appropriate for steppers) and the output channel of "0" should be set to step direction 1 as step/dir0 is not available (as the resistors prevent pins<15 being used for step/direction and pins 13/14 are IO22/23 step/dir0)

    The driver is optoisolated. I have DIR+ & PULSE+ connected to 5volts(pin one of JP4) the DIR- & PULSE- are connected to pins 16/15 respectively.

    No stepper movement.

    I have enclosed the c code for initializing only the channel 3

    Read and puzzled for sometime like something totally obviously wrong not seeing it - need a bit of insight/help


    TIA
    Owen

    Similar Threads:
    Attached Files Attached Files


  2. #2
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: Steppers using KFlop/Kanalog via JP4 and pin 15/16

    Hi Owen,

    That all sounds correct to me. What kind of Stepper driver you you have and what are the input specifications?

    You might try a max width pulse with:

    FPGA(STEP_PULSE_LENGTH_ADD)=63 + 0x40;

    and inverted with:

    FPGA(STEP_PULSE_LENGTH_ADD)=63 + 0x80 + 0x40;

    Regards

    Regards
    TK http://dynomotion.com


  3. #3
    Member
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    355
    Downloads
    0
    Uploads
    0

    Default Re: Steppers using KFlop/Kanalog via JP4 and pin 15/16

    What driver are you using?



  4. #4
    Registered
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    13
    Downloads
    0
    Uploads
    0

    Default Re: Steppers using KFlop/Kanalog via JP4 and pin 15/16

    Stepperonline DM542T

    Electrical Specifications:
    * Output Peak Current: 1.0~4.2A (3.0 RMS)
    * Input Voltage: +20~50VDC (Typical 36VDC)
    * Logic Signal Current: 7~16mA (Typical 10mA)
    * Pulse Input Frequency: 0~200kHz TTL compatible and optically isolated input
    * Pulse Width: 2.5μS
    * Isolation Resistance: 500MΩ




    Attached Thumbnails Attached Thumbnails Steppers using KFlop/Kanalog via JP4 and pin 15/16-img_2363-jpg  


  5. #5
    Registered
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    13
    Downloads
    0
    Uploads
    0

    Default Re: Steppers using KFlop/Kanalog via JP4 and pin 15/16

    Tom

    Thanks
    the second suggested line worked I guess it needed the inversion

    Not sure why, but it works.
    Owen



  6. #6
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4043
    Downloads
    0
    Uploads
    0

    Default Re: Steppers using KFlop/Kanalog via JP4 and pin 15/16

    Hi Owen,

    That can occur when the optocoupler turn on time vs turn off time is different.

    Thanks for posting back.

    Regards

    Regards
    TK http://dynomotion.com


  7. #7
    Member
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    355
    Downloads
    0
    Uploads
    0

    Default Re: Steppers using KFlop/Kanalog via JP4 and pin 15/16

    It's probably because that driver is a Leadshine in disguise, so needs the extended timing.



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Steppers using KFlop/Kanalog via JP4 and pin 15/16

Steppers using KFlop/Kanalog via JP4 and pin 15/16