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 01-28-2012, 11:07 PM
riche543's Avatar  
Join Date: Oct 2011
Location: Australia
Posts: 116
riche543 is on a distinguished road
G540 ins & outs

Quick question on a gecko 540 are there enough input/output pins for : superpid spindle control / hall effect limit/home switches With leds. & a tool probe .
Cheers

Riche
Reply With Quote

  #2  
Old 02-02-2012, 08:50 PM
Gold Member
 
Join Date: Mar 2003
Location: United States
Posts: 2,717
Mariss Freimanis is on a distinguished road

The G540 uses every I/O line the parallel-port offers. Besides the 4-axis high-speed STP/DIR lines, there are the secondary auxiliary I/O lines. One output is used for the 'charge-pump' (better called 'watchdog timer'), another AUX output is used for the 50Hz PWM 'VFD drive' optoisolated analog voltage output, an AUX input is used for an E-STOP input while another AUX input is dedicated for a FAULT input to MACH3.

When all is said and done, this leaves 4 uncommitted inputs (the 4 G540 general purpose inputs) and 2 uncommitted outputs (the 2 G540 outputs). This uses up the parallel port completely.

Mariss
Reply With Quote

  #3   Ban this user!
Old 02-02-2012, 09:56 PM
riche543's Avatar  
Join Date: Oct 2011
Location: Australia
Posts: 116
riche543 is on a distinguished road

Thanks for all that info mariss
Much appreciated
Cheers.

Riche.
Reply With Quote

  #4   Ban this user!
Old 02-05-2012, 01:42 AM
 
Join Date: Jan 2009
Location: Australia
Posts: 3
Majorstrain is on a distinguished road

Hi Richie,
I've done exactly what you are trying to implement.
I have 6 hall effects limits in parallel on 1 input although this needed a current limit resister in the signal line. Then I have each home probe hall effect on a separate input. The touch is connected in parallel with my Z home input. All have leds at the hall effect location. The two outputs I use for driving step and direction on a G203.
Cheers,
Phil.

Edit.
I should say that I needed the current limit resistor because I run the hall effects off a 5volt supply.

Last edited by Majorstrain; 02-05-2012 at 02:00 AM.
Reply With Quote

  #5   Ban this user!
Old 02-05-2012, 02:57 AM
riche543's Avatar  
Join Date: Oct 2011
Location: Australia
Posts: 116
riche543 is on a distinguished road

Thanks Phil

Where would the current limiter go , bit of a noob when it comes too electrics
Cheers
Riche
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-05-2012, 04:50 AM
 
Join Date: Jan 2009
Location: Australia
Posts: 3
Majorstrain is on a distinguished road

Originally Posted by riche543 View Post
Thanks Phil

Where would the current limiter go , bit of a noob when it comes too electrics
Cheers
Riche
Hi Riche,
I'm out at the moment and using the phone to post. Bloody phone! That was the reason for the double post. :-)
I'll draw up a diagram when I get home and get it posted tomorrow some time.
Cheers,
Phil
Reply With Quote

  #7   Ban this user!
Old 02-05-2012, 04:59 AM
riche543's Avatar  
Join Date: Oct 2011
Location: Australia
Posts: 116
riche543 is on a distinguished road

Much appreciated phil, doesnt have to be to flashy,
Still currently building 2nd cnc ,just gathering all info i might need to , when i get stuck. I know what ya mean bout phones i have iphone not too bad but i got big fingers so quite often press send or delete before finished .. lol.
Cheers
Riche
Reply With Quote

  #8   Ban this user!
Old 02-06-2012, 07:37 AM
 
Join Date: Jan 2009
Location: Australia
Posts: 3
Majorstrain is on a distinguished road

Hi Riche,
Here is the wiring diagram for the hall effect limits wired into the G540.
Wiring diagram

Click on it to go to the image on my Photobucket page.

I have a separate 5 volt supply that is powered from the 50volt supply to my G540. The ground from the 5 volts and the 50 volts are connected together.
For the 5volts I pulled apart a 5volt dc switch mode (ie not a transformer type) wall wart (plug pack here in Aus) and removed all the components from the input pins up to and including the the bridge rectifier. The 50V dc is wired into the + and - holes where the rectifier used to be.
Most plug packs will work on 50V dc if they were a 110/220V ac type.

The LED's were blue surface mount just because the blue is quite bright and with the surface mount gear I could solder them directly to the hall effect.
none of the resistors or led's connect to the ground line. It may look like it in the photos below but they don't touch.
The LED is off until the magnet actuates the hall effect. The signal into the G540 is idle high and active low.

Hall Effects Epoxied to the table




Magnet holder


Overview


Without the 4k7 resister inline with the six limits there was enough current leakage to have that input triggered all the time. The 4k7 value was a trial and error thing. Not enough and the input was triggered, too much and it would not trigger when the magnet enabled the hall effect.

My touch probe for setting the tool zero height works just like a switch being closed. (completed circuit though the touch plate , mill frame and cutter)
so that is the only thing that has a signal to ground wiring connection.

My hall effects are just epoxied to the table and the magnet is mounted in a holder. The hall effects are the non latching kind but like most they are magnet polarity sensitive. (doesn't trigger if the magnet is the wrong way around).

I don't have a problem with ferrous swarf sticking on the magnet because my tooling plate is longer and wider than the original table to which it is bolted.

X3 Mill with 4th axis, tooling plate and 24k rpm spindle



The paper covering the tooling plate is just baking paper held in place with magnets around the edge. It keeps all the crap out of the holes not being used and the alignment pegs and hold down bolts just push through the locations you need. After each setup you just replace it with a new sheet.

Hope this helps.
Cheers,
Phil
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
Need thread call outs for 1 1/2 - 12 RiverDave Mechanical Calculations/Engineering Design 4 10-18-2010 02:40 PM
cut outs benemy Want To Buy...Need help! 1 04-08-2010 07:52 AM
CNC lock-outs thetrillionaire General Metal Working Machines 1 06-11-2008 02:12 PM
Need pin-outs for MPG-2 (C and CNC) Rico55 Machines running Mach Software 1 02-07-2008 12:38 PM
4AUPCWHC pin outs? CNCadmin Hobbycnc (Products) 2 09-07-2005 07:02 AM




All times are GMT -5. The time now is 08:29 PM.





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 354 355 356 357 358 359 360 361