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 10-03-2011, 07:43 PM
 
Join Date: Apr 2004
Location: Canada
Age: 31
Posts: 290
laka is on a distinguished road
Can download from, but cant upload to Fanuc OM or OT

So, just got these new to me machines with Fanuc O series controls. I can download programs/parameters thru RS232 and NCNet Lite from both machines without any trouble, but I cannot upload programs to either machine. Continuously am getting alarm #86

I could only find one set of parameters dealing with RS232 setting, unless I am missing a bunch that are related to uploading programs?

Any ideas? Thanks
Reply With Quote

  #2   Ban this user!
Old 10-03-2011, 08:00 PM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

What procedure are you using? If you press INPUT on the CNC before the DNC software opens the port, you might get the 086 alarm because of the way the cable is wired. An 068 alarm doesn't seem to happen when you're sending from the CNC to the PC, probably because you're opening the port on the DNC system (getting it ready to receive) before you try to send from the CNC.

Most people jumper pins 6, 8, and 20 together on the CNC side of the cable, which will defeat the 086 alarm no matter which direction the data goes. If, however, your cable has pins 6 and 8 on the CNC side tied to either 4 or 7 on the PC side, then the Fanuc won't get a signal on pins 6 or 8 until you open the port on the PC first.

Can you get the DNC software ready to send first, then press INPUT on the CNC to trigger the data flow? That would probably solve the problem. If that doesn't do it, you may have to re-make your cable like so:

CNC side ------------ PC side (9-pin)
pin 2 -------------------- pin 2
pin 3--------------------- pin 3
pin 5--------------------- pin 7
pin 7--------------------- pin 5
pin 6 ----
pin 8 ---- <-- jumper these 3 together on CNC side onlyl
pin 20 ---
Reply With Quote

  #3   Ban this user!
Old 10-03-2011, 09:50 PM
 
Join Date: May 2004
Location: United States
Age: 48
Posts: 2,217
txcncman is on a distinguished road

One bad pin can cause this problem. You probably need to test everything for connection with an ohmmeter.
__________________
http://www.kirkcon.com/
Reply With Quote

  #4   Ban this user!
Old 10-03-2011, 11:19 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by txcncman View Post
One bad pin can cause this problem. You probably need to test everything for connection with an ohmmeter.
Actually the cause is the Data Set Ready signal is low which is pin 6 on the DB25 connector. Its as explained by Dan.

If softaware handshaking is used, most common, then pins 6,8 and 20 are bridged to keep the control side happy to send and receive. Pins 6 and 8 are powered off of pin 20. As Dan suggested, some power pins 6 and 8 from pin 4 on the PC side, and again as Dan suggested, pins 6 and 8 won't be powered until the com port being used on the PC is opened. Accordingly, the OP needs to focus on why pins 6 is not being powered. It could be break in the wire from pin 6 at the DB25 connector to the control board, but its more likely to be a cabling issue as suggested by Dan.

Regards,

Bill
Reply With Quote

  #5   Ban this user!
Old 10-04-2011, 04:51 AM
fordav11's Avatar  
Join Date: Aug 2011
Location: Fordaville
Posts: 939
fordav11 is on a distinguished road

We had exactly the same problem (one way transfer). We tested the cable on a different machine and it worked. it ended up being the controller was faulty. We had to get a Fanuc service guy to repair it.

Anyway, test the cable on a different machine. if it doesn't work its your cable.

most PCs have 9 pin serial port connector. Use the pinout on the left below.....



If your cable is known to work with a different CNC machine then your controller has a faulty communication board.

Last edited by fordav11; 10-04-2011 at 06:58 AM.
Reply With Quote

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

Originally Posted by fordav11 View Post
Anyway, test the cable on a different machine. if it doesn't work its your cable.
Note that laka has the same issue with two machines just received. Possible, but unlikely that both would be suffering the same control problem, at the same time. To me that's a good sign; it points more to cable than it does machine.

Dan's cable configuration is achieving the result of the 4-5 bridge you've shown in your cabe config, by the connection of pin 5 on the machine side to pin 7 on the PC side. But the alarm #86 still comes back to an issue with the Data Set Ready line.

The asserted condition on a control line is when there is a voltage of between +3v to +25v, normally around 10v. This can be measured on pin 20 on the machine side to see it its capable of asserting logic 1 to 6 and 8. But before getting into that, it will take but a few minutes to make a cable with the pinout describe in your post #5. This pinout seldom fails, unless there is an issue with the control.

I've seen on a few occasions where there has been an issue with pin 20 on the machine side. A work around is to do as Dan suggested how some cables are configured, that being to conect 6 and 8 on the machine side to pin 4 on the PC side.

Regards,

Bill



Regards,

Bill

Last edited by angelw; 10-04-2011 at 08:19 AM.
Reply With Quote

  #7   Ban this user!
Old 10-04-2011, 08:22 AM
 
Join Date: May 2004
Location: United States
Age: 48
Posts: 2,217
txcncman is on a distinguished road

Not all machines with Fanuc control are wired the same for RS232. Most are, but not all. This is why you really should have the manuals and read them.
__________________
http://www.kirkcon.com/
Reply With Quote

  #8   Ban this user!
Old 10-04-2011, 08:39 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by txcncman View Post
Not all machines with Fanuc control are wired the same for RS232. Most are, but not all. This is why you really should have the manuals and read them.
Although the RS232 standard can be a bit grey, I'm yet to see a Fanuc control that does not comply to the popular standard. They vary in the parameter setup, for example, some Fanuc controls allow you to select whether control characters are used (DC1 to DC4), whilst other don't. With the 0 Series Controls using ISO format, only Baud rate and the number of Stop Bits can be set, but the cable configuration can be as Dan and fordav11 have described, ford's config being the most frequently used.

Regards,

Bill
Reply With Quote

  #9   Ban this user!
Old 10-04-2011, 04:50 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Originally Posted by angelw View Post
Although the RS232 standard can be a bit grey, I'm yet to see a Fanuc control that does not comply to the popular standard. They vary in the parameter setup, for example, some Fanuc controls allow you to select whether control characters are used (DC1 to DC4), whilst other don't. With the 0 Series Controls using ISO format, only Baud rate and the number of Stop Bits can be set, but the cable configuration can be as Dan and fordav11 have described, ford's config being the most frequently used.

Regards,

Bill
Just out of curiosity Bill, what's your opinion of Fanuc putting 24v on pin 25? I've always thought this could be very dangerous, and wonder if anyone has ever fried some delicate equipment due to this?

Dave
Reply With Quote

  #10   Ban this user!
Old 10-04-2011, 08:37 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by dcoupar View Post
Just out of curiosity Bill, what's your opinion of Fanuc putting 24v on pin 25? I've always thought this could be very dangerous, and wonder if anyone has ever fried some delicate equipment due to this?

Dave
Hi Dave,
Pin 25 on a DB25 connector is used for no purpose other than testing. Accordingly, its probably safe simply because its highly unlikely that any connection to it would be made. The voltage for the RS232 control circuit is +3v to +25v for logic 1, notwithstanding that its generally around 9v to 13v, and although I've not done so, it should be safe to connect the control lines to pin 25 (but I'm not sure what protection this pin has), if for some reason pin 20 was not viable. Further, it should be safe to connect an external devices that uses RS232 protocal to it.

I've never heard of any equipement being damaged because of the voltage from pin 25, but it would be possible if the device couldn't tolerate that voltage level and there was a short to it, but no more so than being damaged by the voltage from pin 20, although, as stated before, pin 20's voltage is normally around 9v to 13v.

Regards,

Bill
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-04-2011, 09:14 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Originally Posted by angelw View Post
Hi Dave,
Pin 25 on a DB25 connector is used for no purpose other than testing. Accordingly, its probably safe simply because its highly unlikely that any connection to it would be made. The voltage for the RS232 control circuit is +3v to +25v for logic 1, notwithstanding that its generally around 9v to 13v, and although I've not done so, it should be safe to connect the control lines to pin 25 (but I'm not sure what protection this pin has), if for some reason pin 20 was not viable. Further, it should be safe to connect an external devices that uses RS232 protocal to it.

I've never heard of any equipement being damaged because of the voltage from pin 25, but it would be possible if the device couldn't tolerate that voltage level and there was a short to it, but no more so than being damaged by the voltage from pin 20, although, as stated before, pin 20's voltage is normally around 9v to 13v.

Regards,

Bill
Bill,

Thanks for clearing that up. I swear that I had read somewhere that voltage was limited to +5 / -5 V.

Ya learn something every day.

Dave
Reply With Quote

  #12   Ban this user!
Old 10-05-2011, 09:42 AM
fordav11's Avatar  
Join Date: Aug 2011
Location: Fordaville
Posts: 939
fordav11 is on a distinguished road

TTL level voltages are +5V / -5V. not sure what level the RS232 is.
If TTL receives even 6V it'll usually fail. The TTL spec is 5.0V +- 10%
Most serial communication circuits have a chip that converts the voltage to TTL-level voltages for the general purpose 5V logic electronics (usually a MAX232 chip or similar)
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
PMC Ladder Upload/Download - Fanuc Powermate D RLMTS Machine Problems, Solutions , Wireless DNC, serial port 9 11-19-2011 10:00 AM
Can Download but Not Upload?? amf1277 General CNC (Mill and Lathe) Control Software (NC) 1 07-01-2010 10:00 AM
DMG MF Twin65. How to upload/download files? teal854t Deckel, Maho, Aciera, Abene Mills 2 07-04-2008 04:24 AM
Mazak M32 Comms Upload-Download Mr_Carpyman Mazak, Mitsubishi, Mazatrol 1 07-25-2006 01:50 PM
Fanuc 18i Comms Download & Upload Mr_Carpyman Fanuc 2 06-26-2006 01:14 PM




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