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 > Granite Devices


Granite Devices Discuss about servo & stepper drives made by Granevices and get direct support!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-15-2010, 04:46 PM
 
Join Date: Jan 2006
Location: USA
Age: 45
Posts: 605
stevespo is on a distinguished road
VSDEPI and EXT_RELAY problems

I am trying to use the EXT_RELAY to enable/disable my spindle, using the 24V (@ 30ma) signal that is provided by my Hitachi X200. I had this working great with my old BOB, but no luck so far with the VSDEPI. I thought I had tested the relay before before, but it's no longer working.
  • I'm quite certain my Mach settings are correct. Pin 17 is associated with output 1, which is associated with the spindle on/off.
  • I have verified that pin 17 goes to 4.3V when I enable the spindle using the Mach control panel.
  • The problem is that the relay does not appear to close to switch the Hitachi into the "on" state.
  • There is no audible "click" or change in continuity when I do this (relay state is open).
  • (Oddly enough the Hitachi complains about an E13, which is "power applied while run signal is present.")

I'm using the standard RELAY on pin 16 with no problems to switch my small vacuum pump on/off, so I'm familiar with how these things operate. Perhaps I'll try and use that for spindle control for the time being.

The documentation says that EXT_RELAY: "External relay output." 5 Volt relay coils of external relay can be connected to this connector."

Is 24V incorrect for this relay? It appears to be marked 10A/240VAC & 10A/30VDC on the EXT_RELAY side as well as 10A/250VAC/30VDC on the RELAY side. I'm having no luck finding a datasheet for this component, so any help would be greatly appreciated.

Steve
Reply With Quote

  #2  
Old 03-15-2010, 04:52 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

If I am reading this right it sounds like you are trying to energize a relay from the parallel port?
In any event, the simplest way to go from a parallel port to say a 24vdc relay if needed, would be use a 2N7000 FET interface TTL to a max of 60vdc.
No other component required apart from a reverse diode across the coil.
http://www.cnczone.com/forums/showth...ghlight=2n7000
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3   Ban this user!
Old 03-15-2010, 05:24 PM
Jason3's Avatar  
Join Date: Aug 2007
Location: New Zealand
Posts: 544
Jason3 is on a distinguished road

Hey Steve,

Do you have an external relay connected to the EXT_RELAY output?

Best regards,

Jason

Ps - sorry to be obscure, you're using the onboard relay for your vacuum pump? Do you have another relay connected to the EXT-RELAY output, or are you connecting that 5v output directly to your VFD - that would likely cause an error, as the VFD will usually need the 24v circuit closed with the 'enable' pin to start.

I was just wondering if you had thought pin 17 was activating the onboard relay? I might have misread your question, but it sounded as though you were expecting the onboard relay to activate (it should when pin 16 goes high, and as you said, your vacuum pump works). Pin 17 I think just sends ~5v to an external relay, or I guess if your VFD would accept a 5v signal then you could use that to turn on the spindle, but not to close the 24v circuit to enable the spindle. Does that make sense? My brain is a bit fuzzy today, so I'm sorry if that's way off base!

Last edited by Jason3; 03-15-2010 at 05:58 PM. Reason: Clarification...
Reply With Quote

  #4   Ban this user!
Old 03-15-2010, 06:25 PM
 
Join Date: Jan 2006
Location: USA
Age: 45
Posts: 605
stevespo is on a distinguished road

Yeah, I apologize - my description wasn't all that clear.

I expected the EXT_RELAY (activated by pin 17) to act like a relay, but I guess it might just be supplying +5V to a second relay. It looked like it had an input and output and I thought it was a relay. I should check to see if it is providing +5V. I tried sending +24VDC to it and it may not be functioning properly as a result.

The actual RELAY (activated by pin 16) works the way I expected it to. I can use it to switch a 120VAC signal on/off to control my vacuum pump *or* I can use it to switch the 24VDC@30ma signal from my Hitachi on/off in order to control the spindle. I have verified that this works, so I can use Mach for the spindle and I can control my pump manually for the time being.

So, on the off chance that I have not damaged that EXT_RELAY component, I should be able to use it to turn another solid-state/mechanical relay on/off and use that to control the spindle. I can give that a try.

Steve
Reply With Quote

  #5   Ban this user!
Old 03-15-2010, 07:01 PM
Jason3's Avatar  
Join Date: Aug 2007
Location: New Zealand
Posts: 544
Jason3 is on a distinguished road

Xerxes might know what the chances are that the output is damaged. If it is, let me know & I can replace your VSDEPI.

Best regards,

Jason
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-15-2010, 07:46 PM
 
Join Date: Jan 2006
Location: USA
Age: 45
Posts: 605
stevespo is on a distinguished road

Originally Posted by Jason3 View Post
Xerxes might know what the chances are that the output is damaged. If it is, let me know & I can replace your VSDEPI.

Best regards,

Jason
Much appreciated, but that would be a definite case of "user error" and I'll take full responsibility.

Steve
Reply With Quote

  #7   Ban this user!
Old 03-16-2010, 04:43 AM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,162
Xerxes is on a distinguished road

EXT_RELAY works for relay with 5V coils, not 24V. Connecting only 24V relay won't damage (but it breaks if some external power is also fed into it).

One can test EXT_RELAY by putting DC voltimeter on its terminal and changing relay status from PC. Voltage readings should be near 0 when off and 4...5V when on.
Reply With Quote

  #8   Ban this user!
Old 03-16-2010, 09:33 AM
 
Join Date: Jan 2006
Location: USA
Age: 45
Posts: 605
stevespo is on a distinguished road

Here's what I am seeing with the EXT_RELAY.

The (innermost, 20) terminal reads a constant +5.1VDC. I believe this is expected behavior.

The (outermost, 10) terminal reads approximately +0.48VDC when pin 17 is low, and a very steady +0.61VDC when pin 17 is high. So, it is responding to the signals from Mach, but not providing the voltage it is supposed to.

As I mentioned above, I did apply 24VDC@30ma to one terminal (probably terminal 10) believing that this was an actual low-voltage relay and not just a relay voltage source.

Short of replacing the board, is there anything that can be done to fix this?

Steve
Reply With Quote

  #9   Ban this user!
Old 03-16-2010, 12:18 PM
Xerxes's Avatar  
Join Date: Sep 2004
Location: Finland
Posts: 1,162
Xerxes is on a distinguished road

It may be necessary to insert some load to EXT_RELAY to make voltages swing full range (try connecting the relay coil to it and measure again).

If there is damaged components, its probably the ULN2003 chip (available from many places). Please see attached full schematics of VSDEPI for reference.
Attached Files
File Type: zip vsdepi_v1.1_schematics.zip‎ (604.5 KB, 49 views)
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
VSDEPI, Mach3 and limit switches stevespo Granite Devices 25 02-18-2011 03:59 PM
Newbie- ST-30 problems????? roddyf Haas Lathes 1 11-17-2009 10:30 AM
Problems with 11.2 SP4?? jmcglynn SolidCam 3 03-10-2008 04:13 PM
.dwg problems anyone??? slideleft BobCad-Cam 10 03-23-2007 01:03 PM
log on problems turmite Forum Questions or Problems 10 06-26-2006 02:34 PM




All times are GMT -5. The time now is 06:14 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 354 355 356 357 358 359 360 361