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 > Servo Motors and Drives


Servo Motors and Drives Discuss servo motors, drivers and other related topics here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-26-2011, 02:57 PM
ercdave's Avatar  
Join Date: Dec 2010
Location: usa
Posts: 7
ercdave is on a distinguished road
Yaskawa CACR-PR-02-AC3-FR Help please.

Yaskawa CACR-PR-02-AC3-FR Help please.

I am in need of guidence from the bright minds in this forum. I have an older pick and place machine with a useles computer, the manufacturer is out of bussines and no support is available. it has 2 Yaskawa servopack that i would like to connect to a pc and be able to run with Mach 3 and program it to perform the pick and place functions. the electronics will be removed and i will have to connect the servopacks directly to the pc but I need help with the pinout betwen the RS422 and the PC's serial port. I assume that the serial port will be the best option for this task.
the tought of converting it to stepper motors has crossed my mind since i do not have a clear understanding of servos.

I look on the archives and posts because i did not want to ask for something that is been answered before but i had no luck.

does anyone have any idea how to connect the servopack to the pc?


Thank you for your help.
Reply With Quote

  #2   Ban this user!
Old 01-26-2011, 06:20 PM
 
Join Date: Nov 2004
Location: USA
Posts: 435
spoiledbrat is on a distinguished road

Wash your mouth out with soap... steppers... lol. Well, just kidding.

I am looking for your documentation, and this is the closest I can find so far:
http://www.yaskawa.com/site/dmservo.nsf/link2/CFRO-5RRM9T/$file/CACR-%28SR%29%28PR%29_AA%20%28TSE-S800-2.5D%29.pdf
See page 17.
It appears that your drive is specifically position control ( not 100% sure), and this is what we want. If that is the case, we need to get a CN1 connector (this could take further research, phone calls, and an order from digikey), and the step/direction signals from your parallel port will get fed there.

Puls and Sign = Step and direction. Dont forget the 0V wires, this thing needs a ground signal too.

Page 34-35 briefly covers the dividing ratio. This is now known as electronic gear, and will be necessary to run this from mach. To set my drives (newer yaskawa drives), I set it to where 10000 pulses = 1 inch. Not quite clear how this is set on yours, but the feature is there.

Keep those servos, and give them a shot.

Rob
Reply With Quote

  #3   Ban this user!
Old 01-26-2011, 07:39 PM
ercdave's Avatar  
Join Date: Dec 2010
Location: usa
Posts: 7
ercdave is on a distinguished road

Thank you for the reply, i have the connectorfor CN1 the connector has soldered wires so i just cut the wires just in case i for some reason need to connect it back i will know where they go. i looked at the diagram on page 17 of the manual you indicated and it is the information for the CON1 on the servopack, but ho do i know what is the corresponding pin on the serial port? and which ones do i need for the servo motor to run? also how do i get the 2 servos to work? do i need 2 serial ports on the pc?

Sorry for my lack of knowledge, i am just trying to get my machine to work again, i played with steppers but have always been intimidated by servos and never tried them.

thank you for your time and help is deeply appreciated.
Reply With Quote

  #4   Ban this user!
Old 01-26-2011, 09:54 PM
 
Join Date: Nov 2004
Location: USA
Posts: 435
spoiledbrat is on a distinguished road

Forget the serial port, friend. You need a parallel port (DB-25. not found on newer computers). This can be had on a 200 dollar old computer. Otherwise, think about using a smooth stepper from Warp9 Tech. Design - Home of the SmoothStepper - Home . This will get your computer to control up to 6 motors in stepper mode. The documentation from mach and/or warp 9 will explain where to send the step/direction from the parallel port / or the smoothstepper to your servo drives.

Mach 3 will drive the parallel port directly to your drives, or mach can drive the smoothstepper, via usb, to send pulses to your drives. For the extra speed, you may want the smoothstepper.

Sounds like a fun project. Good mechanicals, no skate bearings. Very straightforward.

Good luck!

Rob
Reply With Quote

  #5   Ban this user!
Old 01-27-2011, 08:05 AM
ercdave's Avatar  
Join Date: Dec 2010
Location: usa
Posts: 7
ercdave is on a distinguished road

Rob, thank you for the advise, i will look into Mach documentation i have a computer with paralell and serial ports that i will use for this.

David
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-27-2011, 10:52 AM
 
Join Date: Nov 2004
Location: USA
Posts: 435
spoiledbrat is on a distinguished road

David,

something else to think about: for your servo-on circuit, you will need 24VDC. This is not available from the computer, so you will need a small power supply to handle that, and a relay. The relay will be controlled by Mach, via the parallel port, and should be set to apply 24VDC between terminals 7 and 8 on the CN1.
If you still have the original controller, you probably still have the 24V power supply somewhere in there.
I would apply 24VDC directly to pin 7, and apply the other side (0 VDC) through the relay to pin 8 on the CN1.

Other than the Servo On signal, you only have to worry about puls and sign. You should not have to use any of the other signals in the CN1 connector.

The parallel port can drive 6 motors just using mach. If you want more speed, go with the smoothstepper.
Reply With Quote

  #7   Ban this user!
Old 01-27-2011, 11:06 AM
ercdave's Avatar  
Join Date: Dec 2010
Location: usa
Posts: 7
ercdave is on a distinguished road

Yes i have the power supply and the origina cables. i will connect the power as you sugested and will let you know. i have one more question? i need to be able to control 3 more relays for vacuum pump, actuator down and a part aligment claws on the machine. do i need another paralell port on the PC?
Reply With Quote

  #8   Ban this user!
Old 01-27-2011, 12:36 PM
 
Join Date: Nov 2004
Location: USA
Posts: 435
spoiledbrat is on a distinguished road

I think the mach documentation will tell you how many outputs you get from one parallel port.
I may be wrong here, but you do have 12 outputs (From 1 parallel port). You must configure 4 of these for your servo drives (2 ea step and direction, for your two drives). This leaves 8 outputs that can be configured to drive relays. At least one for the amp enable (servo on, both drives sharing the same relay). This leaves 7 more.

Hopefully, someone will step in here and verify the output availability.

Also, not sure how you will generate code to run this thing. Hopefully, you are willing to hand write the code, as I know of no software to generate this for you. Your outputs will be configured in the ports and pins dialog, and can be called however you like using the Gcode.

Rob
Reply With Quote

  #9   Ban this user!
Old 01-27-2011, 12:45 PM
 
Join Date: Nov 2004
Location: USA
Posts: 435
spoiledbrat is on a distinguished road

I wanted to clarify the electronic gearing on the servo drives.

I have newer yaskawa drives, and they work like this:
I set parameter p210 and p20E to "travel distance per shaft revolution" (in reference units, i.e. 0.0001") and "encoder resolution" respectively. Once this is done, if I command 10,000 pulses, the shaft will rotate such that the load moves 1 inch.

Yours is set with dip switches, and is a little more limited. You may not be able to use simple units (i.e. 0.001", etc), and may have to put a strange number is the motor tuning dialog, cts per inch (i.e. 2531, vs my setting of 10000). This will require you to thoroughly understand the manual, and carefully calculate the steps per inch or mm for your motor tuning settings. And by motor tuning, I am only referring to the "motor tuning" dialog box in mach, not the servo tuning done on the drive.

Happy reading, and good luck!

BTW, post a picture of that machine, and let us know what you are doing with it, if you don't mind. Keeps us all motivated!

Rob
Reply With Quote

  #10   Ban this user!
Old 01-27-2011, 03:01 PM
ercdave's Avatar  
Join Date: Dec 2010
Location: usa
Posts: 7
ercdave is on a distinguished road

what i am planning on doing is run the machine with Mach 3, the machine has 2 heads and each head needs 2 vacuum pumps one to lower the placing nozzle and one to lift the nozle, when the nozzle reaches the up position it closes the aligment claws, this claws are interchangeable and it has four of them. the machine used to do the changes automatically but i will have to manually. since the machine has 2 heads i could have 2 different claw configuration and use the two heads. the machine has feeder ports on the back and front of the machine and i have enough mechanical feeders to populate 59 on each side. I will have to find out the coordinated of each feeder position and input that information for each program. then by cad or manually enter the placing position. i believe by using relays to control the vacuum pumps i will be able to place some parts. the machine did not have vision and it has a camera used to asist the teaching, i am planning on using for the same purpose.

i hope it works like i am planning to do.

http://www.ercpcb.com/pnp/DSC08859.JPG

http://www.ercpcb.com/pnp/DSC08851.JPG

http://www.ercpcb.com/pnp/DSC08854.JPG

http://www.ercpcb.com/pnp/DSC08855.JPG

http://www.ercpcb.com/pnp/DSC08856.JPG

http://www.ercpcb.com/pnp/DSC08857.JPG

http://www.ercpcb.com/pnp/DSC08858.JPG
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-28-2011, 12:06 AM
 
Join Date: Nov 2004
Location: USA
Posts: 435
spoiledbrat is on a distinguished road

Are those bullet casings in the last photo? Is this a high tech bullet loader???

Partially kidding. I have seen videos of these assembling circuitboard stuff. Is that what you are going to do?

Rob
Reply With Quote

  #12   Ban this user!
Old 01-28-2011, 06:14 AM
ercdave's Avatar  
Join Date: Dec 2010
Location: usa
Posts: 7
ercdave is on a distinguished road

yes thats what i will hopefully have after i am done. i am not looking to place very small components but faster than by hand. i will post pictures of the progress.
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Initializing servo amplifier Yaskawa CACR-IR30 ing.vic Servo Motors and Drives 1 12-10-2010 11:20 AM
Need Help!- yaskawa CACR HR10SB servo pack vipansam Servo Motors and Drives 15 12-06-2009 10:39 PM
Yaskawa CACR-SR flinty Servo Motors and Drives 9 04-27-2009 08:11 AM
YASKAWA CACR SR CACRSR JASEPH Index CNC lathe 0 01-02-2009 10:48 AM
CACR SR or PR djohn CNCzone Club House 5 04-11-2007 03:49 PM




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