586,123 active members*
3,433 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Gecko Drives > How to hook up non-standard step signal
Results 1 to 11 of 11
  1. #1
    Join Date
    Oct 2003
    Posts
    128

    How to hook up non-standard step signal

    Not sure if this is the right forum as this is not unique to a Gecko drive, however I am using a 203V for this project. Maybe should be in the general electronics section but I bet I get the best responses here.

    I have an device that controls a stepper mounted on a water valve, problem is there is a proprietary drive mounted on the stepper that uses 2 inputs, a CW or CCW step signal, and it basically shuts off if not receiving step pulses, this allows the valve to move from pressure & vibration.

    I want to use the 203V but need to figure out how to change the 2 existing signals to conventional step & direction.


    Thanks!!
    Thanks
    Marc

  2. #2
    Marc,

    Interesting application and you are on the right forum. Possibly two ways to solve this requirement.

    1) The hard way: You need to wire some gates together to convert from CW/CCW to STP/DIR. OR the CW and CCW signals to generate STP, use the CW and CCW signals to SET and RESET a latch. The output of the latch forms the DIR signal. Build a retriggerable one-shot clocked by the STP signal. Use its output to DISABLE the G203V.

    2) Maybe an easier way: The G203V uses a CPLD. It can be reprogrammed to do what you need (STP becomes CW, DIR becomes CCW, auto standby current becomes zero amps) if there is enough room left in the CPLD. I'll check Tuesday to see if there is. If there is enough room, we'll ask you to send the G203V back and we'll zap it to what you need.

    Mariss

  3. #3
    Join Date
    Oct 2003
    Posts
    128
    Mariss, I really appreciate your help.

    Actually, I don't want zero on auto standby. I think that is a flaw in the existing design. The reduced standby current as exists in the present implementation of the 203V should work perfectly, maybe reduce it to 50%.
    Thanks
    Marc

  4. #4
    Marc,

    So much the easier.

    We have customer variants of our G203V CPLD code. One operates our drives in a vacuum (very bad for heat dissipation) and thus must have a zero standby current. Others have different requirements. The beauty of the G203V is that it can be customized without changing the hardware.

    I took a look at what resources are left unused in the G203V's CPLD. They turn out to be considerable; about 30% of the CPLD is unused. Marcus has already coded your changes up in Verilog because he thought it would be fun to do. We will compile the code Tuesday and see if his work works.

    Mariss

  5. #5
    Join Date
    Oct 2003
    Posts
    128
    Mariss, this is more help than I could have ever hoped for. I think I would rather purchase another G203V and keep the one I have for another project I am working on. I'll call Tuesday after I get back to work.
    Thanks
    Marc

  6. #6
    Join Date
    Jan 2007
    Posts
    467
    mbam,

    Okay, as I promised you on the phone today, I have an update. I finished coding the new firmware today, and it all looks good. As soon as I can get to our test stand, which is being taken up by G201 backorders, I will plug in a G203 with the new firmware loaded in it. It doesn't look like I will be able to do that today, but tomorrow most definitely. I will let you know how it goes tomorrow.

    Marcus Freimanis

  7. #7
    Join Date
    Oct 2005
    Posts
    12
    Quote Originally Posted by Mariss Freimanis View Post
    Others have different requirements. The beauty of the G203V is that it can be customized without changing the hardware.
    sounds great, mariss. why not open-source the verilog source code so that anyone can improve the drive? :rainfro:

  8. #8
    Fenn,

    Sure, I'll even throw in the schematic, pcb artwork gerber files and a BOM.:-)

    Mariss

  9. #9
    Join Date
    Oct 2003
    Posts
    128
    Hi Mariss,

    Any chance you have been able to test yet? My life is on hold ok - not exactly but I am excited to try your drive set up this way.

    Thanks!!
    Thanks
    Marc

  10. #10
    Join Date
    Jan 2007
    Posts
    467
    Marc,

    I am so sorry for the long delay. I had it coded and ready to go, and somehow all of the code got erased. I have been trying to salvage it from backups that ISE makes, and have found a good portion of it, but it is not tested yet. I will be doing that this week, and will change the code according to how it tests out. On paper it makes sense, but we have yet to use it in a real drive.

    I apologize for taking so long on this, but the G250 and G251 distracted me from finishing this. I just checked ISE, and it appears that my code was safe but for some reason it is not implementing. I am sure it is something stupid that I am doing, but I will sort it out ASAP.

    Marcus Freimanis

  11. #11
    Join Date
    Jan 2007
    Posts
    467
    Marc,

    Let me preface this message with another apology for taking so long. If there is one thing I can not stand it is wasting other people's time, and I hope it was not too much of an inconvenience.

    Now that I am done apologizing, I would like to inform you of the good news: The CW/CCW G203V works perfectly on initial test. We have not run the major testing yet, but it ran correctly right off of the bat. We will finish up the testing today and let you know how it goes, but it is looking very good.

    Marcus Freimanis

Similar Threads

  1. Parallel port: How to check Step signal?
    By satanicoo in forum CNC Machine Related Electronics
    Replies: 6
    Last Post: 07-08-2010, 10:00 PM
  2. can I output square waves for step signal?
    By mike944 in forum LinuxCNC (formerly EMC2)
    Replies: 5
    Last Post: 12-31-2007, 02:27 PM
  3. Step by step cnc plasma with parts list and links.
    By massajamesb in forum Waterjet General Topics
    Replies: 8
    Last Post: 07-09-2007, 04:22 AM
  4. Step signal generater
    By andrewbishop66 in forum CNC Machine Related Electronics
    Replies: 13
    Last Post: 02-20-2007, 09:41 AM
  5. Erratic step signal?
    By Tim Montzka in forum DNC Problems and Solutions
    Replies: 0
    Last Post: 07-31-2006, 10:02 PM

Posting Permissions

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