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! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software)


Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-17-2006, 11:05 PM
 
Join Date: Jul 2006
Location: Canada
Posts: 18
efrem is on a distinguished road
Servo drive Allen Bradley

Did someone have some allen bradley servo drive controled by Mach3 ? I m not able to get any motion without the programmation cable . Any solution ?
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 10-17-2006, 11:51 PM
Moderator
 
Join Date: Feb 2005
Location: USA
Age: 52
Posts: 672
Halfnutz is on a distinguished road

Need more info, what model drive? Is it a newer 139X or 2XXX series or "Ultra" Digital Drive? Is it set up for step & direction inputs? How do you have Mach3 set up? If it is a newer digital drive with step & direction inputs it should work fine, if it's set up correctly. An analog input drive will need a step&dir. to +/- 5, 10 0r 20 Volt converter. It is possible to connect just about any type of servo with encoder feedback and correct drive to Mach3, if its done right. The exception is a DeviceNet or dedicated network only drive.

Is the programming cable missing or are you talking about a serial DeviceNet type of control? That is a different story, Mach3 will not send serial data commands to the drive, only step&direction, which can be converted to analog.

If the programming intertface ( either the digital operator, front panel or computer cable and software) is missing, it is unlikely you will be able to get it running. You must be able to somehow adjust the parameter settings.

Its hard to help with no information. Get some more details.......
__________________
Halfnutz

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 10-18-2006, 08:41 PM
 
Join Date: Jul 2006
Location: Canada
Posts: 18
efrem is on a distinguished road

My drives are 1398-DDM-009 and 1398-DDM-019 ultra100. They are configured to get command by step/dir. I can get all the moves that I want when the programation cable "that plug into the serial port of the computer so you can use UltraMaster" is connected to the drive. If I unplug it, the motor wont move anymore.

The other interesting thing is when the programming cable is plugged ( the serial cable ) I dont need any wire connected to pins dir- and step- of the drive. I just plug the dir+ and step+ directly to the parallel port and it works. Am I suppose to connect dir- and step- to common of the parallel port to make this works ?

Does Mach3 can use an encoder feedback to take into consideration the real movement of the motor ?

Thanks
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 10-18-2006, 09:34 PM
DennisCNC's Avatar  
Join Date: Aug 2005
Location: Clearwater, FL US
Age: 29
Posts: 816
DennisCNC is on a distinguished road

Did you connect the external 12V power supply? Did you short the ENABLE (20) and FOLLOW (32) pin to common?
I have the same drives but I only spent a few hours messing with them. You can connect the two neg wire to the PPort 25 pin.
Mach does not have real time feedback or position.
You can PM this member: aggiestevo, he got his working with step/dir
__________________
Dennis
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 10-18-2006, 10:23 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

Those drives take differential step/dir signals. What this means is that you have to be pretty careful setting them up with the single ended signals that most of us have. They give a circuit to drive step/dir with a single-ended circuit, but don't recommend it. The manual is easily available. I believe that you are going to need a good breakout board.

Getting it moving with the serial port is at least half the problem though, you probably will be successful.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 10-18-2006, 10:53 PM
Moderator
 
Join Date: Feb 2005
Location: USA
Age: 52
Posts: 672
Halfnutz is on a distinguished road

I think whats happening is that your programming cable is providing alogic ground to the computer and when disconnected the drive has nothing to reference its logic levels to. You may just need a logical ground to the -Dir and -Step.

On my Yaskawa drives I have to pull +Dir and +Step up with a +5V signal through a 1K resistor on each and the -Dir and -Step to the 5V supply ground as well as the computer ground (Pin 18). MAKE SURE THAT THE 5V SUPPLY IS COMPLETELY ISOLATED FROM CHASSIS GROUND. In other words the 5V logic supply ground is not neccesarily the same as the chassis ground which can be the motor ground, or power output ground and a ground loop can occur.

The yaskawa drives are one of three types: Line driver (what I have described above), or true differential with a selector in the parameter settings (older style). Only line driver or differential (not as common), or the newer models with auto detecting which will work with either and with no parameter setting.

READ YOUR MANUAL! CALL ALLEN BRADLEY!

Your safest bet is to use a breakout board with isolation and its own 5 volt supply and built in pull up resistors. Set the inputs to line driver (TTL) if they are selectable. These work for me every time, otherwise I have the same problem, they just act crazy and dont seem to follow any logic. Sometimes connecting the -Step and -Dir to ground works but not allways without the +5V and pull up resistors. The breakout board fixed my problems as well as the explanation above, but some one told me the method with pull up resistors does not provide the same degree of protection, although I have a system working that way.

PLEASE BE CAREFULL, YOUR SAFEST BET IS THE BREAKOUT BOARD, I have gotten them to work with a power supply and pull-up resistors but I would not reccomend that solution without some type of isolation which the breakout board provides.

You may want to keep asking' maybe someone that understands this may give you a more thorough explanation, but it sounds like your logic is just floating. Maybe Allen Bradley could help, although the people at Yaskawa were clueless when I called them. They are used to controllers that are designed to work specifically with the drives.

I would reccomend a breakout board. It is by far the safest and simplest solution. +Dir and +Step go to the signal output pins and -Dir and -Step connect to ground.
__________________
Halfnutz

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 10-18-2006, 11:54 PM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

Halfnutz, I have a suspicion that these drives were actually designed by Yaskawa. They look the same other than the plastic of the front panel. What breakout board do you use? Most breakout boards don't have isolated outputs since the majority of them are driving geckodrives that have isolated inputs. You are probably right about the serial cable supplying ground.

Figure 6.33, page 6.114 shows pins 2 and 4 of the drive connected to the PC ground. Pin 16 and 14 connected to the step/dir, and pins 17 and 15 are not connected.

PC parallel ports are horrible at driving things, efrem should get a breakout board.
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 10-19-2006, 12:27 AM
Moderator
 
Join Date: Feb 2005
Location: USA
Age: 52
Posts: 672
Halfnutz is on a distinguished road

Originally Posted by unterhaus View Post
Halfnutz, I have a suspicion that these drives were actually designed by Yaskawa. They look the same other than the plastic of the front panel. What breakout board do you use? Most breakout boards don't have isolated outputs since the majority of them are driving geckodrives that have isolated inputs. You are probably right about the serial cable supplying ground.

Figure 6.33, page 6.114 shows pins 2 and 4 of the drive connected to the PC ground. Pin 16 and 14 connected to the step/dir, and pins 17 and 15 are not connected.

PC parallel ports are horrible at driving things, efrem should get a breakout board.
I just use any breakout board that provides additional current, ie a place for a wall transformer, I geusse some have a transformer on board but the ones Ive used were both from that Hubble's CNC on eBay, theyre only 25 bucks.

You probably have a variation of SDGM or SDGH amp, the Sigma 2, I think Yaskawa makes them for everyone. On it I think I had to reverse the signals for some reason, no I just checked one, just + Step & Dir to the Step & Dir outputs of the PC and then ground the other ones, pins 15 and 17 I bet need grounded, try changing logic in the control software from negative to positive logic also or vs/vr.
Yes, its negative logic on the one I'm looking at. There is no parameter change on the newer ones, it should work if you have enough current from the LPT or brkout brd. On one I had it would work fine by itself but with others connected it wouldn't work without the added current.
__________________
Halfnutz

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 10-19-2006, 12:47 AM
 
Join Date: Jun 2003
Location: Boalsburg PA
Posts: 844
unterhaus is on a distinguished road

http://cgi.ebay.com/PRINTER-PORT-PRO...QQcmdZViewItem
Is it that one?
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 10-19-2006, 08:43 PM
Moderator
 
Join Date: Feb 2005
Location: USA
Age: 52
Posts: 672
Halfnutz is on a distinguished road

Sorry, I thought it was Hubbard but it is this one:

http://cgi.ebay.com/Parallel-Port-Br...QQcmdZViewItem

Its got the isolation and ground pins.
__________________
Halfnutz

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-20-2006, 04:48 PM
 
Join Date: Jul 2006
Location: Canada
Posts: 18
efrem is on a distinguished road

I know that the parallel port is not the best way to control a cnc but I m just in the test phase. I wish to uses in futur a Grex but for now, the firmware of the grex is not finished, so I m waiting ...
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 10-20-2006, 05:41 PM
Moderator
 
Join Date: Feb 2005
Location: USA
Age: 52
Posts: 672
Halfnutz is on a distinguished road

I would love to get the grex, but for now I'm stuck low budget, really I'd like a Haas VMC and a nice rotary table...dream on, huh...
__________________
Halfnutz

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On





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