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 12-18-2007, 07:07 PM
 
Join Date: Feb 2005
Location: USA
Posts: 143
Shizzlemah is on a distinguished road
Drip feeding fadal : DNC or DNCX

Hi guys.
Just curious when you are running DNC, do you enter the "DNC" or DNCX" command ?

I've been using DNC for a couple of years without issue, wondering if there is any benefit in going to DNCX (w/xmodem smarts) ?
Reply With Quote

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

Never heard of DNCX.
Let me know of any benefits as well.
__________________
www.integratedmechanical.ca
Reply With Quote

  #3   Ban this user!
Old 12-19-2007, 08:49 AM
Neal's Avatar  
Join Date: Mar 2003
Location: Chatsworth, Ca
Posts: 896
Neal is on a distinguished road

Shizzlemah--
The DNCX command is an old command that was required in the early machines. The machines of today only need the DNC command. If you send Xmodem protocol to them they will recognize it and adjust automatically. It will recognize only the 128 bit packet Xmodem.
For all DNC I highly recommend using only Xmodem.

Neal
Reply With Quote

  #4   Ban this user!
Old 12-19-2007, 03:14 PM
 
Join Date: Feb 2005
Location: USA
Posts: 143
Shizzlemah is on a distinguished road

Neal,
First off, I *really* appreciate your contributions here. There were some comments in the manual about DNCX only being used with the -3 CPU and that confused me thoroughly. Esp since "MU" on my -5 shows both DNC and DNCX

MY DNC SW doesn't support Xmodem, so I tried a couple of terminal programs yesterday but didn't have the right combination. Do I want to be 7E1 for PU,TA,DNC w/o xmodem,#SPRINT,(etc) and 8N1 only for DNC w/xmodem ? With Xmodem, do I need to start sending at the PC prior to initiating the receive at the Fadal ?

Will anything impacy my ability to use #SPRINT when not in DNC (or DNCX) mode?

My current procedure is to "CD,9" "DNC" at the fadal, then load the program into the DNC SW, and then send it to the Fadal using standard SW handshaking. Does this have to change at all if I send using Xmodem?

Thanks much!



Darebee,
In standard serial comm, there is a parity bit with every byte. It isn't super reliable as it will not detect two (or 4 or 6) bits flipped, but when it detects a bad byte, it will abort communications. Your DNC will stop.

With x-modem, 128 charachters are sent at a time, with one checksum for the lot. Again, it will not detect an even number of bad bytes. But the 128-char message is also sent with a sequence number. If for some reason the checksum doesn't match, the 128char chunk is resent up to ten times (or more possibly). This lets the comm link self recover.

Xmodem/128 was the earliest of the x/y/zmodem protocols. X-1k came later with a (drum roll please!) 1kbyte string.
Reply With Quote

  #5   Ban this user!
Old 12-19-2007, 04:09 PM
Neal's Avatar  
Join Date: Mar 2003
Location: Chatsworth, Ca
Posts: 896
Neal is on a distinguished road

Using 19,200 baud rate is fine as long as you do not data starve. Always use 7E1 with the Fadal Control. When not using DNC mode the #sprint statement requires no special settings.

Neal
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-19-2007, 07:37 PM
 
Join Date: Feb 2005
Location: USA
Posts: 143
Shizzlemah is on a distinguished road

Always use 7E1 with the Fadal Control.
Do I still use 7E1 with xmodem ? I thought Xmodem required 8, and conventionally used no parity bit.

the manual, chap 14, "software" "b" (pg 333) says 8-N-1 with X. Is that true? I'm certainly not confident - still havent got the magic combination yet!!
Reply With Quote

  #7   Ban this user!
Old 12-20-2007, 09:03 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

071220-0951 EST USA

Shizzlemah:

You are correct that Xmodem requires 8, N, 1 or 2. Xmodem uses all 8 data bits. There is no parity because this would cause a parity error and interfere with the simple algorithm used in Xmodem. They could have used parity as a secondary check but did not.

Recent UARTS based on the 16550 always assume 1 stop bit on receive. Thus, the stop bit selection only affects the transmission direction and using 2 stop bits slows your transfer time by 10 %.

.
Reply With Quote

  #8   Ban this user!
Old 12-20-2007, 04:49 PM
Neal's Avatar  
Join Date: Mar 2003
Location: Chatsworth, Ca
Posts: 896
Neal is on a distinguished road

Xmodem on the Fadal control does NOT requires 8N1. You may continue to use 7E1 and are not required to make any changes from Xon/Xoff to Xmodem.

Neal
Reply With Quote

  #9   Ban this user!
Old 12-21-2007, 07:08 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

071221-0755 EST USA

Neal:

Your statement means that on receiving at the CNC under Xmodem you ignore the 8th bit, which for 7E1 is the parity bit, or you use it as parity and as supplemental information to the checksum. This might mean you set your UART to 8N1 and mask off the 8th bit, or the UART is set to 7E1 and you do something with the parity error if it occurs.

What happens if you use a generic Xmodem program at the computer end and send data from the CNC to the computer when the computer is set to 7E1?

.
Reply With Quote

  #10   Ban this user!
Old 12-21-2007, 08:21 AM
Neal's Avatar  
Join Date: Mar 2003
Location: Chatsworth, Ca
Posts: 896
Neal is on a distinguished road

gar--
We use the 128 bit packet with the header and footer for a total of 132 bit packet and the protocol of 7E1 is hard coded in the e-proms. Unless the internal software make this change in the background when it receives Xmodem the 7E1 remains in effect. If this change does occur in the background, it is against what I was lead to believe from our Engineering group years ago.
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
Drip Feeding widgitmaster Polls 26 01-28-2011 02:02 PM
drip feeding vtc-41 scottn Mazak, Mitsubishi, Mazatrol 1 11-08-2007 06:52 AM
Drip Feeding with Fanuc 6mb-2 SJacques Fanuc 1 07-05-2007 04:23 AM
Drip feeding your V2XT weyland Bridgeport and Hardinge Mills 4 03-01-2007 09:53 AM
Drip Feeding To a Brother (TC-218) Igot2drip General Metal Working Machines 0 03-15-2004 10:50 AM




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