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 > CncBrain


CncBrain Discuss CncBrain motion controllers here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-27-2009, 12:35 AM
 
Join Date: Jun 2007
Location: USA
Posts: 13
dodgy74 is on a distinguished road
Question Enable voltages on M1 pin 1

I emailed Bruce this question also but I know he's a very busy man so I figured I'd post here and on the brain forum also just incase I'm not the only one with this question...

I'm having issues with getting my drivers to turn on and off with the Master Enable. My drivers require 0v for them to work. Applying any voltage disables them and they power off. Right now I have 5v when the e-stop is engaged and about 1.8v when Master Enable is activated. Either voltage leaves the drivers powered down and only by disconnecting one of the leads on the driver can I get them to power up. Is there any way of getting the 1.8v down to 0v by changing something in the code of the control panel or is this better resolved by adding a relay to the enable line?

A few specs on what I have connected:

Shizuoka ST-N mill
Keling Technology Drivers Model: MD2278-g (they have them listed on their site as
KL-11078 Microstepping Driver)
Keling Technology Steppers Model: KL42H2150-42-8A

Windows XP running the control panel
CNC Brain
M1 pin 1 => Ena-(ENA) on x, y, & z drivers
XA pin 7 => Ena+(+5v) on x driver
YA pin 7 => Ena+(+5v) on y driver
ZA pin 7 => Ena+(+5v) on z driver

I'm most likely missing something really simple. Right now though, I'm still very green and none of this is simple.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 03-22-2009, 05:29 PM
 
Join Date: Jul 2008
Location: UK
Posts: 22
striplar is on a distinguished road
Answered on CNC Brain forum

Duplicate posting...
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 01-01-2010, 10:57 AM
 
Join Date: Jan 2010
Location: sharonk868
Posts: 1
sharonk868 is on a distinguished road

Originally Posted by dodgy74 View Post
I emailed Bruce this question also but I know he's a very busy man so I figured I'd post here and on the brain forum also just incase I'm not the only one with this question...

I'm having issues with getting my drivers to turn on and off with the Master Enable. My drivers require 0v for them to work. Applying any voltage disables them and they power off. Right now I have 5v when the e-stop is engaged and about 1.8v when Master Enable is activated. Either voltage leaves the drivers powered down and only by disconnecting one of the leads on the driver can I get them to power up. Is there any way of getting the 1.8v down to 0v by changing something in the code of the control panel or is this better resolved by adding a relay to the enable line?

A few specs on what I have connected:

Shizuoka ST-N mill
Keling Technology Drivers Model: MD2278-g (they have them listed on their site as
KL-11078 Microstepping Driver)
Keling Technology Steppers Model: KL42H2150-42-8A

Windows XP running the control panel
CNC Brain
M1 pin 1 => Ena-(ENA) on x, y, & z drivers
XA pin 7 => Ena+(+5v) on x driver
YA pin 7 => Ena+(+5v) on y driver
ZA pin 7 => Ena+(+5v) on z driver

I'm most likely missing something really simple. Right now though, I'm still very green and none of this is simple.
Thanks you for the post.
Hi guys, Im a newbie. Nice to join this forum.
__________________
Movies Online Free
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 01-01-2010, 11:17 AM
 
Join Date: Jul 2008
Location: UK
Posts: 22
striplar is on a distinguished road
Enable on M1

I think you can select if it's active high or active low in one of the setup tabs. It should pull down very close to 0v if it's set up right.
You need to give more detail about the enable input circuit this connects to.
For example is it optically isolated or just a TTL logic level input. If it's optically isolated, you need to know the value of the series resistor and the forward voltage drop of the opto LED to be able to figure out what the drive really needs.
Do you have a datasheet you could post for the drive showing this information?
If you are still stuck, I'll brave the cold and fire up my system to see how it's set up in the control panel.
I had posted loads of useful stuff on the Brain Forum but it's vanished for the time being. You really need to opto-isolate all the enables and limits and make sure there are no earth loops. Don't forget that the USB connection from the PC will ground the 0V of your interface circuit! If you ground the 0v anywhere else you will have a whole lot of problems. I've opto-isolated everything including the USB port and now have a stable system. It's still only open loop but that should be fixed with the new update when it finally arrives.
Good luck with your machine.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 01-01-2010, 01:33 PM
 
Join Date: Nov 2004
Location: spain
Posts: 28
granado is on a distinguished road

How do you opto-isolated the USB port?

BR
Antonio




Originally Posted by striplar View Post
I think you can select if it's active high or active low in one of the setup tabs. It should pull down very close to 0v if it's set up right.
You need to give more detail about the enable input circuit this connects to.
For example is it optically isolated or just a TTL logic level input. If it's optically isolated, you need to know the value of the series resistor and the forward voltage drop of the opto LED to be able to figure out what the drive really needs.
Do you have a datasheet you could post for the drive showing this information?
If you are still stuck, I'll brave the cold and fire up my system to see how it's set up in the control panel.
I had posted loads of useful stuff on the Brain Forum but it's vanished for the time being. You really need to opto-isolate all the enables and limits and make sure there are no earth loops. Don't forget that the USB connection from the PC will ground the 0V of your interface circuit! If you ground the 0v anywhere else you will have a whole lot of problems. I've opto-isolated everything including the USB port and now have a stable system. It's still only open loop but that should be fixed with the new update when it finally arrives.
Good luck with your machine.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-01-2010, 01:51 PM
 
Join Date: Jul 2008
Location: UK
Posts: 22
striplar is on a distinguished road
USB Optical Isolation

This is an expensive thing to do. I bought a fibre optic extender for another application so used it for this because I was having so many problems. I had a quick look on the net for the one I bought but can't see it at the moment. There are others like http://www.blackbox.com/Store/Detail...solator/SP380A but that's very expensive.
I have since found that one of my limit switches was connecting 0v to earth which I think was the main reason for my problems. I decided to keep the USB isolation in place since I already had it.
I would opto-isolate everything else to start with and only go down the USB isolation route if you are still in trouble.
Don't assume that you are fully isolated until you can measure an open circuit between the 0V on the PC, the 0V on the interface board and the frame of your machine. Once you know for sure you are isolated, plugging in the PC will at least only ground the 0V at one end hence no loops.
I know this sounds like a lot of hassle but it's easier to do this in the first place than have to back over it and do it later.
The errors show themselves as spurious E-Stop error messages which cause the machine to drop out.
I think the Brain is particularly sensitive to mains born noise. Even with my setup, the Brain drops out to E-Stop if I turn on a Flourescent nearby. There's still more work to do on this.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 01-04-2010, 04:35 PM
 
Join Date: Jul 2008
Location: UK
Posts: 22
striplar is on a distinguished road
USB Optical Isolation

I just found a link to the USB isolator I used.
http://www.ramelectronics.net/comput...prodM2100.html
there are two versions, I used the one that had a small power supply at one end ie a fibre-only connection.
Although this is expensive, it's the cheapest method I've found. Most of the others are hubs with 4 outlets which I guess is what makes them expensive.
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
Fanuc 5 Voltages wassa64 Fanuc 11 12-11-2008 10:46 PM
PSU with 2 different Output Voltages ? Joey General Electronics Discussion 4 06-09-2007 09:02 PM
Fixed Drive Voltages The Speaker Guy Stepper Motors and Drives 5 12-28-2006 04:13 PM
Help! Triggering with very small voltages vacpress General Electronics Discussion 30 11-06-2006 06:10 PM
Confused about Steppers and Voltages. cap9qd Stepper Motors and Drives 8 06-03-2006 10:17 AM




All times are GMT -5. The time now is 09:08 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