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 12-06-2010, 09:43 AM
 
Join Date: Dec 2010
Location: USA
Posts: 2
dangittj is on a distinguished road
Tsuagami Lathe with Fanuc Controlller not communicating

We have a Tsugami S25 SuperSwiss Turn lathe with a Fanuc Series O or OO Controller that we moved to one of our other facilities and it stopped working.

The machine is connected to the computer using a regular 25 pin parallel cable over LPT1, using an old version of ProComm to send the files.

Im not sure how this worked originally, as ProComm can't even send over the parallel port. The machine was just boxed up and sent out, no configuration changes were made as far as I can tell. All the operators have said it's the exact configuration, but i can't figure out how in the hell it worked before and how to get it to work. The cable they have given me is the same one they used in the original facility, and it is not bad, I have hooked it up to a cable tester and it is working.

I have tried using a null modem adapter and a 25-9 serial converter (working on the theory that maintenance lost them in the move) but both of these combinations cause the controller to immediately error out like it is not connected.

Any help would be greatly appreciated.

Last edited by dangittj; 12-06-2010 at 10:57 AM. Reason: clarification on model of controller
Reply With Quote

  #2   Ban this user!
Old 12-06-2010, 08:30 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by dangittj View Post
We have a Tsugami S25 SuperSwiss Turn lathe with a Fanuc Series O or OO Controller that we moved to one of our other facilities and it stopped working.

The machine is connected to the computer using a regular 25 pin parallel cable over LPT1, using an old version of ProComm to send the files.

Im not sure how this worked originally, as ProComm can't even send over the parallel port. The machine was just boxed up and sent out, no configuration changes were made as far as I can tell. All the operators have said it's the exact configuration, but i can't figure out how in the hell it worked before and how to get it to work. The cable they have given me is the same one they used in the original facility, and it is not bad, I have hooked it up to a cable tester and it is working.

I have tried using a null modem adapter and a 25-9 serial converter (working on the theory that maintenance lost them in the move) but both of these combinations cause the controller to immediately error out like it is not connected.

Any help would be greatly appreciated.
What is the error you get when using the Null Modem Cable?

Many not familiar with Fanuc Comms, mistake the DB25 Female connector at the machine as a parallel port; this is not the case.

Check the following parameters and cable pin out.

#0002
Bit 0 = 1 for 2 Stop Bits
Bit 2 = 0 for RS-232 Input

#552 = 10 (4800 Baud) starting point

Machine Control Set Page Settings
I/O = 0
ISO Format

Cable pin out. This will depend on whether the PC has a 9 or 25 pin serial port.

Machine Side------------------------PC Side
DB25 Male--------------DB9 Female----------DB25 Female
2--------------------------2-------------------3
3--------------------------3-------------------2
7--------------------------5-------------------7

4
| bridged
5

6
|
8 all bridged
|
20

Configure the PC software as follows:
Handshaking Method = Xon Xoff
Baud Rate = 4800
Data Bits = 7
Parity = Even
Stop Bits = 2

Communication with your machine should will work unless there is a problem with the controller or PC Comm Port.

Regards,

Bill
Reply With Quote

  #3   Ban this user!
Old 12-10-2010, 09:02 AM
 
Join Date: Dec 2010
Location: USA
Posts: 2
dangittj is on a distinguished road

Ok, go that error fixed a day or two ago. I found the settings for ProComm and was able to procure the right cable (we actually ended up using a 25 pin serial to a null modem adapter to a 25-9 converter)

The problem now is that while the program doesn't have a problem sending small files, on large files the controller throws up a PS 87 alarm

(When entering data in the memory by using reader/puncher interface, though the read terminate command is specified, input is not interrupted after 10 characters read.)

and only picks up part of the program. I have checked the memory and program space and there appears to be plenty available. Is there some setting in ProComm that we need to change? (As far as I can tell, this version of procomm doesn't have any kind of buffer overflow protection or setting)
Reply With Quote

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

Originally Posted by dangittj View Post
Ok, go that error fixed a day or two ago. I found the settings for ProComm and was able to procure the right cable (we actually ended up using a 25 pin serial to a null modem adapter to a 25-9 converter)

The problem now is that while the program doesn't have a problem sending small files, on large files the controller throws up a PS 87 alarm

(When entering data in the memory by using reader/puncher interface, though the read terminate command is specified, input is not interrupted after 10 characters read.)

and only picks up part of the program. I have checked the memory and program space and there appears to be plenty available. Is there some setting in ProComm that we need to change? (As far as I can tell, this version of procomm doesn't have any kind of buffer overflow protection or setting)
This is a Handshaking issue. Either the machine side is not sending a DC3, Ascii character 19, Xoff, or the PC software is not acknowledging it. Make sure the PC software is set to Xon Xoff handshaking.

I'd be dubious using a cable set up as you described. With software handshaking you only need 3 wires, Send, Receive, and Signal Ground, plus the hardware pins at the machine end bridged to satisfy it's Uart.

Assuming that you end up with a 25 pin male connector at the machine end of your cable, and a 9 pin female at the PC end with the cable assembled with all its adapters, use a multimeter to check that pin 2 is connected to pin 2 and pin 3 to pin 3. If pin 2 to 2 is not connected, no handshake signal will be received by the PC

Have you been able to set the Comms parameters of Pro Comm to those I described in my previous post? If you cant set to Xon Xoff, no handshaking will occur and you will get the error you're getting.

If you can't get hold of another Comms package in a hurry for the purpose of comparison with the software you have now, your PC should have an application called Hyper Terminal, accessible through Windows menu system:

START
|
ALL PROGRAMS
|
ACCESSORIES
|
COMMUNICATION

Its not the most intuitive program to set up and to get going, but I'm sure you'll work it out. Configure the Comms parameters of the program as follows:

Handshaking Method = Xon Xoff
Baud Rate = 4800
Data Bits = 7
Parity = Even
Stop Bits = 2

Try to send a program using a software package that you know for sure can be set as I've described and see what happens. If you do that, and you're sure the software is set correctly, and you still get the error, look carefully at the cable.

Regards,

Bill
Reply With Quote

  #5   Ban this user!
Old 12-10-2010, 05:49 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

If your PC is running Windows, you can eliminate many "buffer overflow" errors by turning off the FIFO buffers for the COM port you're using.

Go into Control Panel - System - Hardware - Device Manager - expand the Ports (COM & LPT) - right-click on the port you are using and select Properties.

In the Properties dialog, click the Port Settings tab, then click Advanced. You should see two slider bars for Receive and Transmit buffers. Slide them both to Low(1), then un-check the Use FIFO buffers check-box.

OK all the way out of Control Panel and restart your PC.
Reply With Quote

Sponsored Links
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!- boss 6 communicating timprebleco Bridgeport and Hardinge Mills 6 12-11-2008 11:48 AM
Any Controlller recommendation for a 4'x4' wood router? journeyonline Stepper Motors and Drives 14 01-22-2007 06:08 PM
need help communicating to Fanuc Omc controller maxvic Fanuc 6 12-19-2005 08:31 PM
need help communicating to Fanuc Omc controller maxvic General CNC (Mill and Lathe) Control Software (NC) 0 12-16-2005 08:03 PM




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