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 02-09-2009, 12:57 PM
 
Join Date: Feb 2009
Location: USA
Posts: 23
RC-CNC is on a distinguished road
DNC Server on 18i - Hardware or Software Handshaking?

Hi All, new to the forum, new engineer, looking forward to being involved in the community.

My task is to hook up two Fanuc 18i Model A and Model B controllers to a DNC server. We are using a USB to Serial adapter.

I am a little confused as to the difference between Hardware and Software handshaking and which one we will be having to use with this new DNC server. As I understand it, Software Handshaking (which the 18i is) must use Xon/Xoff.

I have the parameter manual in front of me and have detailed the bits that need to be changed.

My question is, is this setup possible with the USB to Serial adapter?
Reply With Quote

  #2   Ban this user!
Old 02-09-2009, 01:24 PM
JimPAC's Avatar  
Join Date: Apr 2007
Location: USA
Posts: 125
JimPAC is on a distinguished road

Originally Posted by RC-CNC View Post
Hi All, new to the forum, new engineer, looking forward to being involved in the community.

My task is to hook up two Fanuc 18i Model A and Model B controllers to a DNC server. We are using a USB to Serial adapter.

I am a little confused as to the difference between Hardware and Software handshaking and which one we will be having to use with this new DNC server. As I understand it, Software Handshaking (which the 18i is) must use Xon/Xoff.

I have the parameter manual in front of me and have detailed the bits that need to be changed.

My question is, is this setup possible with the USB to Serial adapter?
As I remember The 18i is fairly common control and can be connected either way. look in the design drawing section for communication and double check the pin assignments for serial connection. you can get the adapter to go either way!

Does the control have a disk drive installed! If not it's probably serial only!

Hope I helped


Jim
Reply With Quote

  #3   Ban this user!
Old 02-09-2009, 01:47 PM
 
Join Date: Feb 2009
Location: USA
Posts: 23
RC-CNC is on a distinguished road

Okay I am just plunging into it. I am getting a '071 BP/S alarm' when I try to output a program, what could this mean?

EDIT: Solution: On page 561 of the Operation Manual (B-62444E/03) it says that 71 is 'An invalid file number or program number was entered. (Specified program number is not found)'

The problem is that I did not enter in a program number to output when attempting to send from CNC to PC.

Last edited by RC-CNC; 02-09-2009 at 02:26 PM.
Reply With Quote

  #4   Ban this user!
Old 02-09-2009, 03:05 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

It’s been awhile since I had to do this with the 18 series control. When you are trying to send a program out of the CNC when you press “program”, over arrow until you see the “punch” softkey once you press the “punch key I believe the options are “all” or “this”. If you press “all” it will punch out all programs in your directory other than the ones that are locked which are usually the 8000 and 9000 programs. If you press “this” it will send out only the program that is currently called up and displayed on the screen.

I don’t remember if there is another key you can press like “prog. #” that you can then specify a certain program that you want to send out by typing the program O1234.

You have to specify a program that exists in the control that you want to send out.

If you need to backup your 8000 and 9000 programs you must unlock them via parameter setting.
#3202 bit 0 locks your 8000 programs
#3202 bit 4 locks your 9000 programs
Bits run right to left (76543210)

Stevo
Reply With Quote

  #5   Ban this user!
Old 02-09-2009, 07:38 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

If there's a program in the memory, you should be able to punch that out in EDIT mode, PROG function, >, PUNCH, EXEC.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-10-2009, 05:09 PM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

When the 18i is sending data, it only handshakes using RTS/CTS. Your PC can stop the Fanuc from sending by driving CTS (pin 5 on the Fanuc) low. If pin 5 is high, the Fanuc can send. Some people jumper out pins 4 and 5, but that would let the Fanuc send data even if the PC wasn't ready.

When the Fanuc is receiving data, it only acknowleges Xon/Xoff. The RTS/CTS signals won't do anything, but CTS must again be held high, otherwise the Fanuc can't send the Xon/Xoff characters.

USB-to-Serial adapters pose some problems because they usually have larger buffers. When the PC is sending and the Fanuc issues an Xoff, the PC must stop sending within 10 characters or else a "Buffer overflow" alarm will happen. Many DNC systems can't react to Xoff fast enough, and you may have to turn down or disable the FIFO buffer in the serial port. Right-click on "My computer", select "Manage", then "Device Manager", then click the "+" next to "Ports (COM and LPT)". Then, right-click on your COM port, select "Properties", then "Port Settings", then "Advanced". Turn the "Transmit buffer" to it's lowest setting, then click OK many times to exit all menus. That should help eliminate the "Buffer overflow" alarms with most DNC software.

We recommend that you set your DNC software to send ASCII even parity, with Xon/Xoff handshaking, 7 data bits, with either 1 or 2 stop bits (stop-bits must match setting in Fanuc parameter 101). Also, be sure to set parameter 102 to "0" so that the Fanuc sends Xon/Xoff.

Here's a recommended cable diagram:

Fanuc 25-pin male -------------- PC 9-pin female
pin 1 -------------- cable shield
pin 2 ----------------------------------- pin 2 (data Fanuc to PC)
pin 3 ----------------------------------- pin 3 (data PC to Fanuc)
pin 5 ----------------------------------- pin 7 (CTS on Fanuc to RTS on PC)
pin 7 ----------------------------------- pin 5 (signal ground)
pin 6 and pin 8 ------------------------- pin 4 (DTR on PC holds DR and CD high)

The CD (pin 8) and DR (pin 6) signals on the Fanuc must be held high also to avoid alarms. Some people jumper 6-8-20 on the CNC side, and this works MOST of the time. Some newer Fanuc controls will still throw DR alarms with pins 6-8-20 jumpered however, so we now recommend that you tie pins 6 and 8 to DTR (pin 4) on the PC side.
Reply With Quote

  #7   Ban this user!
Old 02-19-2009, 10:05 AM
 
Join Date: Feb 2009
Location: USA
Posts: 23
RC-CNC is on a distinguished road

I jumpered 6-8-20 together and no longer received 86 alarms. I was also able to send and receive successfully.

What is the significance between 1 or 2 stop bits?
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
Need Help!- Searching for DNC Server software Ninus Machine Problems, Solutions , Wireless DNC, serial port 3 03-23-2008 02:53 PM
Alien hardware and software Ecclesiastes General CAM Discussion 0 01-06-2008 08:03 PM
hardware/software for new machine captahab CNC Wire Foam Cutter Machines 16 03-19-2007 07:41 AM
Question About CNC And Software/Hardware tarasan Machine Problems, Solutions , Wireless DNC, serial port 4 08-28-2006 08:23 PM
Wireless print server hardware for controller kdoney General Electronics Discussion 0 01-24-2006 05:31 PM




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