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


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-03-2011, 06:33 AM
 
Join Date: May 2011
Location: ausralia
Posts: 11
kluppy is on a distinguished road
Fanuc o3p controller rs232

hi everyone, sorry if this is a repeat question but i have just bought an Amada Aries 222 with a fanuc o3p controller. i would like to communicate with this machine via an rs232 cable and i was wondering if any of you would have a pin out diagram? i know it would be easier to buy a cable but ill be honest with you, i can get the bits for nothing at work and i thought it would be a good exercise to make one. any assistance would be greatly appreciated.

thanks.
Reply With Quote

  #2   Ban this user!
Old 05-03-2011, 07:36 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

This works for me:

DB25M (CNC) <------------> DB9F (PC)

1 <---------(SHIELD)--------- No Connection
2 <--------------------------> 2
3 <--------------------------> 3
7 <--------------------------> 5
4 & 5 jumped CNC end only
6, 8, 20 jumped CNC end only
Reply With Quote

  #3   Ban this user!
Old 05-03-2011, 10:44 AM
 
Join Date: May 2011
Location: ausralia
Posts: 11
kluppy is on a distinguished road

great!! thanks, i'll give it a try
Reply With Quote

  #4   Ban this user!
Old 05-07-2011, 12:23 AM
 
Join Date: May 2011
Location: ausralia
Posts: 11
kluppy is on a distinguished road

ok, so i've made the lead, belled it out and it's all cool. i connected the machine and the computer. adjusted my DNC settings on the computer to 9600, even, 7, 2, iso, iso, Xon Xoff. but it doesn't seem to work properly. when i load into the machine it sends the first 2 lines of the program and throws an error. when i suck a program out of the machine it says the the file transfer is complete but when i open the file there is nothing in there. can anyone help me??
Reply With Quote

  #5   Ban this user!
Old 05-07-2011, 01:59 AM
 
Join Date: Feb 2004
Location: UK
Posts: 49
lesr is on a distinguished road

Kluppy

You will find pinouts to suit Fanuc in the FAQ of my website - url below

regrads

Les Robbins

EditComm - CNC communication software - Les Robbins CNC Services
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-07-2011, 03:52 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by kluppy View Post
ok, so i've made the lead, belled it out and it's all cool. i connected the machine and the computer. adjusted my DNC settings on the computer to 9600, even, 7, 2, iso, iso, Xon Xoff. but it doesn't seem to work properly. when i load into the machine it sends the first 2 lines of the program and throws an error. when i suck a program out of the machine it says the the file transfer is complete but when i open the file there is nothing in there. can anyone help me??
What error are you getting? If the cable has been made in accordance with the configuration described by Dave and machine parameters are set correctly, with the PC software setting set to match, then you should have no problems.

Purchase a RS232 tester from an electronics store and place it inline with the cable connection. Try sending a program from the machine to the PC and look for activity on the pin 2 led from the machine. If there is activity and you get nothing at the PC, its probable that the PC software is incorrectly configured.

Regards,

Bill
Reply With Quote

  #7   Ban this user!
Old 05-07-2011, 03:59 AM
 
Join Date: May 2011
Location: ausralia
Posts: 11
kluppy is on a distinguished road

thanks guys, yeah i need to figure out how to check the machine settings. any hints?
Reply With Quote

  #8   Ban this user!
Old 05-07-2011, 05:07 AM
 
Join Date: Feb 2004
Location: UK
Posts: 49
lesr is on a distinguished road

Kluppy

To work with xon/xoff I think you will find you need the following links in th 9 pin D type (not shown in the pin out supplied by Dave)

link pins 7 and 8 on 9pin D type (CTS - RTS)

link pins 1, 4 and 6 on 9pin D type

regards

Les Robbins

EditComm - CNC communication software - Les Robbins CNC Services
Reply With Quote

  #9   Ban this user!
Old 05-07-2011, 06:23 AM
 
Join Date: May 2011
Location: ausralia
Posts: 11
kluppy is on a distinguished road

do i need to have xon/xoff enabled?? in case you guys haven't picked up on it i'm a bit of a novice with this stuff. if you can recommend what settings i should be using i'm more then happy to listen.
Reply With Quote

  #10   Ban this user!
Old 05-07-2011, 06:44 AM
 
Join Date: Feb 2004
Location: UK
Posts: 49
lesr is on a distinguished road

Kluppy

The pin out you have been provided with is for software handshaking (xon/xoff) hence all the control signals are linked out.

I am not familiar with the 03P control therefore I can not advice you on control parameter setting.

Your PC software must be set to xon/xoff for it to work with this cable pin out.

If you are unsure if you PC software is working correctly you could download the evaluation version of EditComm from my website for test purposes - url below

regards

Les Robbins

EditComm - CNC communication software - Les Robbins CNC Services
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-07-2011, 06:59 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by kluppy View Post
do i need to have xon/xoff enabled?? in case you guys haven't picked up on it i'm a bit of a novice with this stuff. if you can recommend what settings i should be using i'm more then happy to listen.
Kluppy,
Just use the cable configuration exactly as suggested by Dave in Post #2. For Xon Xoff handshaking you only need to have the hardware pins at the machine end bridged to keep the machine's uart happy. Make sure you have the machine control parameter set to use DC1 to DC4 characters (software handshake characters).

Post the error that you're getting when sending data to the machine; it will be easier to help you if we know what the problem is.

Regards,

Bill
Reply With Quote

  #12   Ban this user!
Old 05-07-2011, 07:09 AM
 
Join Date: Feb 2004
Location: UK
Posts: 49
lesr is on a distinguished road

Originally Posted by angelw View Post
Kluppy,
Just use the cable configuration exactly as suggested by Dave in Post #2. For Xon Xoff handshaking you only need to have the hardware pins at the machine end bridged to keep the machine's uart happy. Make sure you have the machine control parameter set to use DC1 to DC4 characters (software handshake characters).

Post the error that you're getting when sending data to the machine; it will be easier to help you if we know what the problem is.

Regards,

Bill
Bill

Surely it would be better to link out CTS, RTS, DSR, DCD & DTR at the PC end as well ?

The control signals on the PC end can not cause problems then ?

regards

Les Robbins

EditComm - CNC communication software - Les Robbins CNC Services
Reply With Quote

Reply

Tags
amada, o3p, rs232




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
RS232 link problem on CL200 with M64 Controller rkucbel1 Mori lathes 5 02-03-2011 08:12 PM
RS232 or CAN 2.0 Step Motor Controller Supplier from Shanghai uirobot Product Announcements & Manufacturer News 1 03-28-2010 09:25 PM
Need Help!- Download programs from controller thru RS232 CzechMarty Daewoo/Doosan 5 10-09-2009 06:29 AM
rs232 issues with a fanuc 6t controller merrittr Fanuc 5 07-31-2008 08:18 AM
Fanuc 0P-C controller RS232 Parameters scottsr60 Fanuc 5 01-02-2007 07:13 AM




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