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! > MetalWorking Machines > Fadal


Fadal Discuss Fadal machinery here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-13-2009, 12:38 PM
DareBee's Avatar
Monkeywrench Technician
 
Join Date: Jan 2004
Location: Stratford, Ont. Canada
Posts: 2,783
DareBee is on a distinguished road
losing program lines on transfer

Hey fellows

Is there a way to check program continuity in my 88HS-4?
Every once in awhile I lose a few lines when transferring a program from the computer to the control. My programs have line numbers so IF I can catch it, it is obvious. Problem is when I have 20000 lines it would take a day to scroll through each page looking for missing lines.
I also hate to have to stand at the machine and stare at it will i do an hour long "dry run" to hopefully see errors.
Today the transfer skipped from line 2056 to 2068.
It also seems to typically happen on long blocks.


N2055 X-0.9215 Y0.0654 F17.
N2056 G3 X-0.9871 Y0.0115 I-0.0059 J-0.0597 F17.
N2057 X-0.7529 Y-0.0115 I0.1171 J-0.0115 F17.
N2058 X-0.9871 Y0.0115 I-0.1171 J0.0115 F17.
N2059 G2 X-0.9915 Y0.012 I-0.0022 J0.0003 F17.
N2060 G3 X-0.9958 Y0.0124 I-0.0022 J0.0002 F17.
N2061 X-0.7442 Y-0.0124 I0.1258 J-0.0124 F17.
N2062 X-0.9958 Y0.0124 I-0.1258 J0.0124 F17.
N2063 G2 X-1.0002 Y0.0128 I-0.0022 J0.0002 F17.
N2064 G3 X-1.0046 Y0.0133 I-0.0022 J0.0002 F17.
N2065 X-0.7355 Y-0.0132 I0.1346 J-0.0133 F17.
N2066 X-1.0046 Y0.0133 I-0.1345 J0.0132 F17.
N2067 G2 X-1.0089 Y0.0137 I-0.0021 J0.0002 F17.
N2068 G3 X-1.0133 Y0.0141 I-0.0022 J0.0002 F17.
N2069 X-0.7267 Y-0.0141 I0.1433 J-0.0141 F17.

TIA
__________________
www.integratedmechanical.ca
Reply With Quote

  #2   Ban this user!
Old 11-13-2009, 12:46 PM
Neal's Avatar  
Join Date: Mar 2003
Location: Chatsworth, Ca
Posts: 896
Neal is on a distinguished road

Try the SUM command: SU,,,,1 and press enter. The program will rapidly scan the program and display all the move translated to incremental on the screen. If it finds an impossible move it will stop and error out.

Neal
Reply With Quote

  #3   Ban this user!
Old 11-13-2009, 01:02 PM
cncboy1's Avatar  
Join Date: May 2008
Location: Germany
Posts: 46
cncboy1 is on a distinguished road
WLAN may be help

Hallo

Whats the lenght of the cable? NO? ==>> Use WLAN
Is the screen grounding? (both side?)
Baudrate to high.?
Databit's and or Stopbit's Oke?
Working with Xon/Xoff? or DTR RTS/CTS?
Machine and PC on the potential (ground) NO? ==>> Use WLAN
Reply With Quote

  #4  
Old 11-13-2009, 06:03 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Wow, that sucks.

What kind of communications software are you using?

Have you tried using a different comm port on the PC? Could be something wrong with that. Does everything appear to be ok in device manager? You might even need to try to install a new serial card in your PC to make meaningful comparison tests.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #5   Ban this user!
Old 11-14-2009, 10:02 AM
 
Join Date: Jan 2007
Location: USA
Posts: 1,298
Delw is on a distinguished road

darebee
Ive had that problem sending long programs to the fadal and its sucks.
lower the baud rate to the next settng and try it. you need to change both in your software and on the fadal. if that doesnt fix it, make sure your wires dont run next to or above florescent lights thats a killer sometimes. a Quality cat 5 cable is a must if you have florescent lights with in 10 feet of your cable especially on long programs.

I send programs that are 2-7 megs all the time and those were the only 2 things that gave me problems, the lights and the baud rate and the florescent lights are usually a problem duirng the colder months and I have no clue why.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-15-2009, 07:14 AM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,338
neilw20 is on a distinguished road

One, slightly expensive solution is an optical serial link.
No idea where to get one, but the one I saw had DB25 each end, and heaps of fiber optic between them.
I am sure a web search will find plenty of good products like this, and it won't care what the temperature is or which flouro lights are interfering.

Get rid of the noisy cable problem, (and the earth connections which pickup noise)

Or use a really short cable and a laptop running on it's own battery for the transfer.
Can you send the file, and then read it back to another temporary file?
Compare with the original (DOS FC - file compare will work.)
If what you got back compares, then it is almost certain all the lines will be there.
__________________
Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.
Reply With Quote

  #7   Ban this user!
Old 11-15-2009, 10:40 AM
fizzissist's Avatar  
Join Date: Apr 2006
Location: USA
Posts: 2,365
fizzissist is on a distinguished road

DareBee,

I'm leaning towards the lower the baud rate one notch, but I'd also check the grounding of the cable. Use a meter and check that the ground is only on the correct end of the cable connection, or you could get spurious signal noise.

If you can correlate a code problem to the lights, I'd be real suspicious of a grounding problem.

(I've been blaming myself for code problems...but that light thing might come in handy!!)
Reply With Quote

  #8   Ban this user!
Old 11-15-2009, 05:46 PM
 
Join Date: Aug 2006
Location: United States
Posts: 44
David Ferguson is on a distinguished road

Missing data without parity errors is usually the inability of the host system to handle the software flow control correctly. I would mess with the advanced setting for the serial port hardware (or USB adapter). This could also be caused by the host communication software not supporting software flow control. Lowering the baud rate so that software flow control is not activated is one possible workaround -- trying other communication programs is another.
Reply With Quote

  #9  
Old 11-16-2009, 07:16 AM
DareBee's Avatar
Monkeywrench Technician
 
Join Date: Jan 2004
Location: Stratford, Ont. Canada
Posts: 2,783
DareBee is on a distinguished road

Originally Posted by Neal View Post
Try the SUM command: SU,,,,1 and press enter. The program will rapidly scan the program and display all the move translated to incremental on the screen. If it finds an impossible move it will stop and error out.

Neal
That is the issue Neal. The moves I have been missing aren't impossible and program checks fine. Luckily I didn't crash the machine.
Unluckily , it cost my $1000 making a new part.
__________________
www.integratedmechanical.ca
Reply With Quote

  #10  
Old 11-16-2009, 07:34 AM
DareBee's Avatar
Monkeywrench Technician
 
Join Date: Jan 2004
Location: Stratford, Ont. Canada
Posts: 2,783
DareBee is on a distinguished road

Advice is appreciated.
I have tried or considered everything mentioned already.
- My issue is very rare (for me) but has happened twice now on this same program couple months apart.
- I am running 19.2K baud - some of my programs take over an hour to transfer if I go to 9600 and I have found no difference in com "quality" between the 2.
- I am actually (cheap bastard) running a USB converter on a 15 foot cable that was wired to Neil's supplied drawings maybe 7-8 years ago. USB shows up as port 4 as long as I use the same USB port. I should probably just get PCMCIA card.
- I am using hyperterminal for transfer and I us NCFadal for DNC. For some reason I can NOT get NC Fadal to do a transfer even though it works perfectly for DNC (anyone can help with this would be superb). I am able to transfer files both ways with Hyperterminal.
I have also used MultiDNC with no issues.

Enough for now - back to work
__________________
www.integratedmechanical.ca
Reply With Quote

Sponsored Links
  #11  
Old 11-16-2009, 10:39 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

I have heard that hyperterminal is not as smart as some real dnc software. I don't pretend to know the difference, but I have reason to believe what I was told.

Try getting NCLink from OneCNC and using that.

I'm also dubious of using a USB com port setup. At best that is a software emulation of real serial port hardware, and who knows what bugs could creep in there, or how Windows itself might occasionally screw around with buffer loading, etc.
__________________
First you get good, then you get fast. Then grouchiness sets in.

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #12  
Old 11-16-2009, 11:44 AM
DareBee's Avatar
Monkeywrench Technician
 
Join Date: Jan 2004
Location: Stratford, Ont. Canada
Posts: 2,783
DareBee is on a distinguished road

I agree completely Hu.

I have gone a LOT of years without trouble.
I am ordering an Expresscard to serial adapter to hopefully fix the issue.
My current issue with most NC software is that they don't support the com 4 port that gets assigned to my USB-serial adapter.
Ideally I would like my NCFadal to work, either i am doing something wrong or it doesn't like my adapter. Strange because it does DNC properly.
__________________
www.integratedmechanical.ca
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
program transfer between CNC and PC sinha_nsit Fanuc 10 08-01-2009 05:03 AM
NC Transfer Program JamesBond General CAM Discussion 69 04-07-2009 06:40 PM
Need Help!- Losing lines going from DXF to G-Code BearKraft General CAM Discussion 2 03-30-2009 08:23 PM
My Program Skips Lines DroopyPawn G-Code Programing 11 11-22-2007 02:26 AM
transfer of program Dar Bridgeport and Hardinge Mills 10 09-13-2007 09:43 PM




All times are GMT -5. The time now is 01:32 AM.





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