CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > Gecko Drives


Gecko Drives Discuss all Gecko drives here and get direct support!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-23-2008, 08:29 AM
 
Join Date: Oct 2003
Location: Pompano Beach FL
Posts: 45
mbam is on a distinguished road
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

Last edited by mbam; 05-23-2008 at 09:06 AM.
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 05-23-2008, 06:37 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,669
Mariss Freimanis is on a distinguished road

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
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 05-23-2008, 07:01 PM
 
Join Date: Oct 2003
Location: Pompano Beach FL
Posts: 45
mbam is on a distinguished road

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
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 05-23-2008, 10:09 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,669
Mariss Freimanis is on a distinguished road

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
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 05-25-2008, 02:29 PM
 
Join Date: Oct 2003
Location: Pompano Beach FL
Posts: 45
mbam is on a distinguished road

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
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-28-2008, 06:28 PM
CoAMarcus's Avatar  
Join Date: Jan 2007
Location: USA
Posts: 336
CoAMarcus is on a distinguished road

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
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 05-29-2008, 04:23 AM
 
Join Date: Oct 2005
Location: USA
Posts: 12
fenn is on a distinguished road

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?
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 05-29-2008, 09:12 AM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,669
Mariss Freimanis is on a distinguished road

Fenn,

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

Mariss
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 06-24-2008, 08:29 PM
 
Join Date: Oct 2003
Location: Pompano Beach FL
Posts: 45
mbam is on a distinguished road

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
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 06-24-2008, 08:57 PM
CoAMarcus's Avatar  
Join Date: Jan 2007
Location: USA
Posts: 336
CoAMarcus is on a distinguished road

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
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-25-2008, 02:51 PM
CoAMarcus's Avatar  
Join Date: Jan 2007
Location: USA
Posts: 336
CoAMarcus is on a distinguished road

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
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel port: How to check Step signal? satanicoo General Electronics Discussion 6 07-08-2010 05:00 PM
can I output square waves for step signal? mike944 LinuxCNC (formerly EMC2) 5 12-31-2007 08:27 AM
Step by step cnc plasma with parts list and links. massajamesb CNC Plasma and Waterjet Machines 8 07-08-2007 11:22 PM
Step signal generater andrewbishop66 General Electronics Discussion 13 02-20-2007 03:41 AM
Erratic step signal? Tim Montzka Machine Problems, Solutions , Wireless DNC, serial port 0 07-31-2006 05:02 PM




All times are GMT -5. The time now is 08:17 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353