View Single Post
  #10   Ban this user!
Old 07-13-2005, 08:18 AM
MR_NC MR_NC is offline
 
Join Date: Dec 2004
Location: USA
Posts: 15
MR_NC is on a distinguished road

Originally Posted by gar
050712-2038 EST USA

sundy58:

One reason to send a file back to the computer is to do a file comparison. This is even better than XMODEM for program verification because HAAS compresses your program when it is loaded into main memory. Thus, XMODEM when it verifies transfer is not working with the data that is in main memory. That HAAS compresses data you can see by comparing the amount of memory used in HAAS with the size of the file you sent. When you send the file back to the computer HAAS re-expands the program, By this method you actually check the data that is used by HAAS to run the program.

Another reason is that you may make program changes on the HAAS and then want to save the actual file that was used.

Still another is that you may compose a program on the HAAS and when done you want to save the program.

Also you can use DPRINT to send information to the computer.

(edit 0507813-0547)
Even if you use file comparison for final verification of your data XMODEM can be valuable for detecting and thru resend correcting errors during communication. What file comparison does for you is detection of errors in HAAS processing after XMODEM has done its work or errors in HAAS main memory.
(end edit)

.
Indeed,
However, the control checks files "regardless" of where they come from. When I attempt to load a file into the machine buffer (run memory) if the file contains syntax type errors they will trigger an alarm. This is about all you are getting from the xmodem error checking. Confirmation that what you are sending is what the control is getting. There is no "quality" checking. You can still send a bad program via RS232 or e-net. As long as the program passes syntax checking it will load. Xmodem is a good thing as the type of connection in question can be somewhat "less than dependable". This can be compounded by using max speed via RS232.

RS232 possibly brings the pain of :
1. The "mill PC" can be tempermental. Meaining some computer RS232 systems work far better than others. We needed to try 3 computers here with the late Fadal to get a PC talking to the mill @ 115K (long run on the wire however)
2. RS232 / modems are KNOWN to be more likely to pass a voltage spike. Personally, I think the 3K option is worth it to prevent this alone. IMHO, smoking something in a 100K machine over a <1K PC is not something I feel ok about. Granted you could just unplug the 232 everytime, but here we are with that pain in the neck thing again. That being said, indeed an e-net connection can indeed pass a "strike" to the mill. However, it is FAR more rare for this to occur. In defense of this, I would say that most commonly the server in any given shop that the mill would likely be connected to will be on a protected uninterupted power-supply. Further protecting connections to the expensive machine.

Best regards,
Sean
Reply With Quote

Sponsored Links
 

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