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   Ban this user!
Old 08-08-2007, 06:28 PM
 
Join Date: Dec 2004
Location: USA
Posts: 167
TR MFG is on a distinguished road
Fadal 88HS Comunication errors

Ok we got a new used machine in the shop…..1994 Fadal VMC15. I made a cable like the Fadal manual recommends and I’m using the editor that comes with ONECNC to communicate. Somewhere I must have something wrong though, because they are experiences some strange, non consistent errors.
For example, the first program you send to the machine works fine. If you delete it,….and try to send the same program again…..its strips the first hundred lines or so. If you turn the machine off and on again it usually works fine again.
I haven’t been able to successfully send a program from the machine to the pc either…..I just get a bunch of Qbert ….*#$5@@!@#*&^%#$
If I try to DNC a program, sometimes it works and other times it won’t…it may give a parity error or spindle control error
This is the cable and settings I am using.
Cable Pinout—Straight From the Fadal Manual.
9Pin - 25pin
1-8
2-2
3-3
4-20
5-7
6-6
7-4
8-5
9-22

Setting From Oncnc Editor
Baud Rate 9600(Matches the Machine)
Stop Bits 7
Xon/Xoff


This is my first experience with a FADAL……can somebody point me in the right directions……
Matt
Reply With Quote

  #2   Ban this user!
Old 08-08-2007, 08:54 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070808-2031 EST USA

TR MFG:

Working with software handshake I believe you can jumper 6, 8, and 20 together and separately 4 and 5 together at the 25 pin Fadal connector.
And generally in this mode you would only need wires to 2, 3, and 5 at the 9 pin computer connector. I believe the other pins can be ignored. Your shield if you have one goes to pin 1 at Fadal.

As a start the setup at both ends should be 9600 baud, 7 data bits, even parity, 1 stop bit, and XON/XOFF (which is software handshake).

How long is your cable?
How is the Fadal grounded?
How is the computer grounded?

Try playing with a very short program. Post here a copy of a short test program. Maybe half a dozen lines.

If Edster sees this he maybe able to help you more and correct any misinformation I have given.

I believe you must start and end the program with a % delimiter.

Electrical noise could be your problem, but I would look for other issues first.

.

Last edited by gar; 08-10-2007 at 10:27 AM.
Reply With Quote

  #3   Ban this user!
Old 08-08-2007, 09:04 PM
 
Join Date: Oct 2006
Location: USA
Posts: 134
donl517 is on a distinguished road

Just a thought; try sending the files from a different PC. I have one here that has a funny serial port problem. I can't DNC with it because when the file finishes at the PC side the Fadal starts hesitatinig intermitently. I have to unplug the cable from the PC and then the machine is fine I tried a different PC and everything works fine.

Don
Reply With Quote

  #4   Ban this user!
Old 08-08-2007, 10:08 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070808-2200 EST USA

donl517:

Fadal may be sensitive to RS232 data before and after you send a file.

If the computer you had trouble with is one where the RS232 driver has power shut off when not sending a file, then the RS232 line is not held in its rest state and electrical noise could cause Fadal to get random junk. Typically the TxD line at rest is about -10 V if the driver has power. An RS232 port that drops power when not in use is found on some newer laptop computers to save the battery.

.
Reply With Quote

  #5   Ban this user!
Old 08-09-2007, 06:39 AM
 
Join Date: Dec 2004
Location: USA
Posts: 167
TR MFG is on a distinguished road

Also, if we slow the baud rate down at the machine and pc you can see the start of the program scroll by as it is loaded in. After the control is done receiving the first lines are missing, the line numbers will start at N11, or N36, or N811. How much of the program is missing seams to be random.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-09-2007, 08:15 AM
 
Join Date: Dec 2004
Location: USA
Posts: 167
TR MFG is on a distinguished road

Hey Guys, thanks for the responses. I really do appericate your suggestions....

Gar: to answer your questions....

The cable is about 6-8 feet long and is routed away from any power cables.

The machine is grounded via what appears to be about a 5/8 diameter copper rod in the floor.

the computer has no additional grounding.

Here is the program I am trying to send....

%
O0001(FADAL TEST
G0G20G17G40G80G90H0M5M9
G53Z0
T2M6
G0G90S6000M3E1X0.Y-.4137
H2Z.1M8
G1Z-.0197F5.
G2X-.4137Y0.I0.J.4137F35.
X0.Y.4137I.4137J0.
X.4137Y0.I0.J-.4137
X0.Y-.4137I-.4137J0.
G0Z.1
Y-.1276
G1Z-.0394F5.
G3X.1276Y0.I0.J.1276F35.
X0.Y.1276I-.1276J0.
X-.1276Y0.I0.J-.1276
X0.Y-.1276I.1276J0.
G0Z.1
G0G80G90M5M9
G53Z0
X0Y0Z0E0H0
M30
%
Reply With Quote

  #7   Ban this user!
Old 08-09-2007, 08:22 AM
 
Join Date: Dec 2004
Location: USA
Posts: 167
TR MFG is on a distinguished road

Ok.....I tried using a different cable config like gar suggested....
6,8, 20 jumpered and 4,5 jumpered on the cnc side


Same problem......turned the machine on, sent the program one time, which worked fine......deleted it and tried to send it again......it chopped the first 7 lines out......



although.......now it appeares that I can send a program from the control to the pc ok....


thanks again..
Matt
Reply With Quote

  #8   Ban this user!
Old 08-09-2007, 08:26 AM
 
Join Date: Jan 2007
Location: Hamilton,Oh
Posts: 331
bborb is on a distinguished road

Originally Posted by TR MFG View Post
Setting From Oncnc Editor
Baud Rate 9600(Matches the Machine)
Stop Bits 7
Xon/Xoff
-
Here's a problem, 7 stop bits?
My software is setup as
baud=9600
parity=Even
data bits=7
stop bits=1
handshake=XonXoff
Ascii (if applicable)
-
If you made a typo here, you may have made a mistake in OneCNC. Re-check.
You need to get clear file transfer FROM the machine (no Qberts) so I'd concentrate on that for now, THEN go back and troubleshoot sending TO the Fadal.
The settings in the Fadal AND OneCNC should match.
Reply With Quote

  #9   Ban this user!
Old 08-09-2007, 08:35 AM
 
Join Date: Jan 2007
Location: Hamilton,Oh
Posts: 331
bborb is on a distinguished road

I only see one parenthesis for your comment, my Quick Code generates two... one at the beginning and one at the end of the comment.
(FADAL TEST
maybe should be
(FADAL TEST)
Reply With Quote

  #10   Ban this user!
Old 08-09-2007, 08:52 AM
 
Join Date: Dec 2004
Location: USA
Posts: 167
TR MFG is on a distinguished road

BBorb...

opps.....thats why I try not to hand edit programs....

my data bits is set at 7
and my stop bits are 1


I also stripped all the comments out of the program....no luck
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-09-2007, 08:59 AM
 
Join Date: Dec 2004
Location: USA
Posts: 167
TR MFG is on a distinguished road

I put a pretty lage delay in the settings so I could see the code as it was being transfer in the fadal screen and took a video...

Here is a link to the video

see how you can see the first lines of the program when its transfering, but when its all done,... it starts with line N28.....weird huh?
Reply With Quote

  #12  
Old 08-09-2007, 10:54 AM
DareBee's Avatar
Monkeywrench Technician
 
Join Date: Jan 2004
Location: Stratford, Ont. Canada
Posts: 2,783
DareBee is on a distinguished road

I didn't watch your video but here are some of my personal findings.

My machine is a '94 88HS

When batch sending to my machine it works best to have no line numbers in the file.
When DNC you need to have line numbers.
I found that I needed to add a "line pause" protocol in my batch sending software to keep the control from missing or skipping data during send, it is something like a .2 - .5 second pause per line.
I am also running a higher baud rate, I don't remember which off-hand but I think it is 19200 (just so you know that you can speed things up after you get the issues sorted out.
Other points of note; My cable is about 3X the length of yours and I am using a serial to USB converter. If anything these are negative aspects to my setup.

I have never needed/wanted to send a program back to my computer from the control so I have no insights there.

HTH
__________________
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
Comunication problem Alex S.A Machine Problems, Solutions , Wireless DNC, serial port 4 03-31-2011 03:25 PM
Fadal 88HS problem rai Fadal 4 09-01-2007 10:36 AM
Fadal CNC 88HS Post Processor Required cncsydney General CAM Discussion 3 12-04-2006 12:07 PM
mitsubishi comunication rosli Servo Motors and Drives 3 05-27-2006 04:14 PM
Sending code to the Fadal CNC errors? HCG General CNC (Mill and Lathe) Control Software (NC) 2 11-11-2005 01:02 PM




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