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 07-13-2009, 01:49 AM
 
Join Date: Jul 2009
Location: Australia
Posts: 4
BrendanF is on a distinguished road
Fanuc Ot DNC issue

Hi all. I've been trying to install dnc software to communicate with my very ancient CNC 350 Colchester with Fanuc ot controller.

Does anyone know a good...free package that actually works. And what are the parameters for the OT controller.

I have tried Nclite which appears to be an excellent program but I cannot get it to communicate with my machine.

Please help.

Thanks

BrendanF
Reply With Quote

  #2   Ban this user!
Old 07-13-2009, 07:49 AM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

Most DNC programs will work OK with the 0T, but if you have trouble, try a free 30-day demo of our PC-DNC Editor by clicking here:

http://www.sub-soft.com/download/Edi...itor_3.5.3.exe

Support in Australia is through Shera Bonnet & Associates at rb@shera.com.au

On the Fanuc 0T, go to the first parameter page and you will see a bit labeled "I/O". Set this bit to "0". Then, page up to parameter 002 and set the bit on the far left to "1" and the bit on the far right to "0" (the 6 bits in the middle are for something else, so don't change them). Then, page up to parameter 552 and set the number "10".

To match these settings on the DNC side, set the DNC software to use 4800 baud, 7 data bits, 1 stop-bit, and Even parity. Handshaking should be set to "Xon/Xoff"

The first test would be to try to send a program from the CNC to the PC. Get the DNC software ready to receive, then select EDIT on the Fanuc, Press the PRGRM key to display your program, then key in the letter "O" followed by a 4-digit number, then press Output/Start to begin transmission.

To send the other way, get the DNC software ready to send, put the CNC into EDIT mode, turn off the memory protect key switch, then press the INPUT key.

An alarm 086 usually indicates a cable problem. An alarm 087 usually indicates that the DNC software is not handshaking fast enough when the Fanuc tries to stop it with an Xoff character. If this happens, right-click on "My Computer", click "Manage" then "Device Manager". In the list of devices, click the (+) next to "Ports (COM and LPT)", right-click on the COM1 port, click "Properties", then "Port Settings", then "Advanced". Move the "Transmit buffer" slider all the way to the left,then click OK many times to exit all menus. Then, try your DNC software again.

Your cable should be a 9-25 "Null Modem", which you can buy anywhere. If you want to make your own, here's how it's done for the 0T:

25-pin male -------------- 9-pin female
pin 2 ------------------------- pin 2
pin 3 ------------------------- pin 3
pin 5 ------------------------- pin 7
pin 7 ------------------------- pin 5
pin 6 ----
pin 8 ---- <-- jumper these three pins together
pin 20 ---

Your PC may have a 25-pin female plug on the back, just like the Fanuc. DO NOT USE this plug. It's for a parallel printer, not RS232. Your PC should have a 9-pin MALE plug on the back, which matches the 9-pin female on this cable.

NOTE: A few 0T controls out there do not have the ability to send & receive ISO tape code. If you have no luck with these settings, try setting your DNC software to use EIA (RS244B) tape code instead.
Reply With Quote

  #3   Ban this user!
Old 07-14-2009, 04:49 AM
 
Join Date: Jul 2009
Location: Australia
Posts: 4
BrendanF is on a distinguished road

Dan,

Thankyou so much for your help. I will let you know how I go.

Brendan
Reply With Quote

  #4   Ban this user!
Old 07-14-2009, 07:42 AM
 
Join Date: Jul 2009
Location: Australia
Posts: 4
BrendanF is on a distinguished road

Hi Dan,

I have done everything you suggested but still no luck.

When you say parameter 002 do you mean 0002 or 0020? I tried both anyway. Also in the DNC settings the Handshaking section gives options of Software, Harware, Nothing or Both? There is no mention of Xon/Xoff here. The program is Nclite, I haven't tried the program you suggested yet.

I tend to agree that it could be a cable issue. I'm using a 25 to 9 pin cable but through a usb adaptor to a laptop. The laptop had no 9 pin ports. When Outputting the program I'm receiving no response at the pc, but no alarms on the CNC. I know the CNC does transmit because a technician downloaded the machine parameters off the machine when I bought it.

I went into the laptops device manager and was able to set the usb adaptor to match the settings you suggested for the DNC. 4800 buad, 7 bit, 1 stop bit, even parity and Xon/Xoff. So everything appears to be set correctly but no go.

I'm pulling out whats left of my hair. I think I may have to replace the laptop with a pc and a direct 9 pin port. Either that or I'll have to track down the technician from when I bought the machine.

Thanks for your help mate. Its greatly appreciated.

BrendanF
Reply With Quote

  #5   Ban this user!
Old 07-16-2009, 02:39 PM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

Xon/Xoff handshaking is sometimes called "Software" handshaking. Japanese companies use the term "DC codes", which are the same as Xon/Xoff

If you're getting no data in either direction, check your cable first. The USB adapter just gives your laptop a 9-pin male serial port. The cable from the USB adapter to the CNC needs to be a NUL MODEM cable, wired like the one I described earlier.

The parameters to set on the 0T are 002 and 552. Some later 0Ts will have a leading zero on these numbers (your's apparently does), so it will be parameters 0002 and 0552. The left-most bit of parameter 0002 should be a "1" and the right-most bit should be a "0". Parameter 0552 should be "10". That is a setting of 4800 baud, 1 stop-bit, 7 data bits, Even parity, and Xon/Xoff handshaking.

Try sending something from the CNC to the computer first. I don't know anything about your NCLite software, so I can't be of any help with it, sorry.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-19-2009, 12:57 AM
 
Join Date: Jul 2009
Location: Australia
Posts: 4
BrendanF is on a distinguished road

Dan,

Thanks Dan, you are the man. I followed your instructions precisely and my machine is now communicating with the laptop.

It appears there were two areas causing problems. 1. NClite is a piece of ****! It caused some serious Bios errors on the laptop so I had to delete it and do a complete windows install. 2. The cable was not wired as you had stated. I had my brother re-wire this correctly. I then download the dnc software you recommended and amazingly the setup worked correctly.

Thanks again Dan, I would have been lost witout your insight. If you ever head down to Aus drop a line and I'll shout you a beer or twenty!

BrendanF
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!- Fanuc Ladder III software issue Walz Fanuc 1 05-09-2012 06:45 AM
Problem- FANUC 0M ISSUE mccullyengineer Fanuc 9 05-26-2009 07:25 PM
Fanuc 0M, M19 Issue.. gearsoup Fanuc 14 09-14-2007 12:09 PM
Fanuc 18-MC with Dataserver and Renishaw issue ddanutz Fanuc 10 10-30-2006 03:51 PM




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