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 > Haas Mills


Haas Mills Discuss Haas machinery here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-17-2009, 01:57 AM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road
Question Different HAAS Memory Question

I noticed in Fanuc Controls that 1 bite = one character or close to this.

Is this the same for a HAAS Controls?
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

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

www.refractotech.com
Reply With Quote

  #2   Ban this user!
Old 03-17-2009, 08:36 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

You need to use Google, here is part of what I found:

Before Unicode · In the early decades of our profession, much computing was centered in North American and done in English. You stored your text in ASCII or EBCDIC characters, which were stored one-per-byte in memory, ASCII using 7 and EBCDIC 8 bits of each byte. In other parts of the world, they invented their own systems for storing their own characters. In Japan, these are various flavors of the “JIS” encoding, “KOI8” for Russian, various “ISCII” standards for the languages of India, and so on. I am told that at one time, there were more than twelve different systems in use for Chinese text in Taiwan alone.

G-code is stored as ASCII so it uses one byte per character.

But I believe there is an inefficiency built into the way G-code is stored and interpreted; this could be a mis-understanding on my part so if someone can give me the correct story please do. Each line of a G-code program can store 80 characters or something like that but if you do not have 80 characters on a line the unfilled character spaces use memory. This is why in the old days you crammed as many commands as possible on a single program line and did not include comments or anything unless it was absolutely necessary. Remember CNC machines started out as NC machines running off paper tapes and the limitations of tape storage and reader systems are embedded in how G-code works. Even in newly printed manuals I have seen M30 described as Stop Program and Rewind Tape.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #3   Ban this user!
Old 03-17-2009, 09:00 AM
Xenomorph's Avatar  
Join Date: Mar 2009
Location: USA
Posts: 46
Xenomorph is on a distinguished road
Memory

This is a difficult question to answer. On the Haas control it converts the ascii to a slightly compressed format when loading to memory. So if you have 16 megs of ram it is possible to load a 20 meg program into the control. I do not know the technical stuff that goes on internally but I have done this. I had a program that windows said was 21.6 megs and loaded it into memory. It did fit, but I did not have much free memory left. I do not know how fanuc deals with this.


Originally Posted by tobyaxis View Post
I noticed in Fanuc Controls that 1 bite = one character or close to this.

Is this the same for a HAAS Controls?

Last edited by Xenomorph; 03-17-2009 at 09:03 AM. Reason: typo
Reply With Quote

  #4   Ban this user!
Old 03-17-2009, 09:13 AM
 
Join Date: Nov 2003
Location: USA
Posts: 231
Haas_Apps is on a distinguished road

Xenomorph is correct. When loading into memory we convert, internally, to a different format. This format uses less memory. This is transparent to the user. This does allow you to put a little bit larger program into memory.

If I remember correctly, generally, 8 bits is a byte.
Reply With Quote

  #5   Ban this user!
Old 03-17-2009, 09:56 AM
 
Join Date: Nov 2003
Location: USA
Posts: 231
Haas_Apps is on a distinguished road

I took many computer programing classes many years back and I still get confused by each definition of a meg. Back then one meg was 1024 kilobytes. Today when I go to buy a hard drive they will typically define a meg as 1000 kilobytes. This inflates the size of the hard drive. I always like to how someone defines computer terms.

If my memory serves me correctly 8 bits = 1 byte, 1024 bytes = 1 kilobyte, 1024 kilobytes = 1 megabyte, 1024 megabytes = 1 gigabyte.

Anyway, I digress. The answer to your question is 1 byte should be one character.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-17-2009, 10:01 AM
 
Join Date: Nov 2003
Location: USA
Posts: 231
Haas_Apps is on a distinguished road

8 bits = 1 byte, 1024 bytes = 1 kilobyte, 1024 kilobytes = 1 megabyte, 1024 megabytes = 1 gigabyte.

Yes, 1 byte should be 1 character. The definition above are standard unless you are a hard drive manufacturer and then they define 1 meg as 1000 kilobytes.


'Having some problems with the internet - sorry about posting twice

Last edited by Haas_Apps; 03-17-2009 at 10:03 AM. Reason: problems
Reply With Quote

  #7  
Old 03-17-2009, 12:08 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

I hope this isn't too far off topic, but I have a question for Haas_Apps: how does Haas defrag its memory, or why does it not need defragging (condensing) once in a while?
__________________
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

  #8  
Old 03-17-2009, 12:47 PM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road

Originally Posted by HuFlungDung View Post
I hope this isn't too far off topic, but I have a question for Haas_Apps: how does Haas defrag its memory, or why does it not need defragging (condensing) once in a while?
This was going to be my next question in a different Thread, HU.
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

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

www.refractotech.com
Reply With Quote

  #9   Ban this user!
Old 03-17-2009, 01:50 PM
 
Join Date: Sep 2005
Location: Colorado, USA
Posts: 47
xiondavis is on a distinguished road

I have the 16mb option and I've been instructed by a Haas tech to delete all programs, then re-load them to try to solve an alarm.. (the low battery alarm).

Perhaps there is no defrag process?

-J
Reply With Quote

  #10   Ban this user!
Old 03-17-2009, 02:57 PM
Xenomorph's Avatar  
Join Date: Mar 2009
Location: USA
Posts: 46
Xenomorph is on a distinguished road

I bet it is managed just like a pc's memory.

Last edited by Xenomorph; 03-17-2009 at 02:59 PM. Reason: re-wite
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-17-2009, 03:02 PM
 
Join Date: Nov 2003
Location: USA
Posts: 231
Haas_Apps is on a distinguished road

I do not know how the memory is managed in that detail. I assume it is managed just like a pc's memory.

xiondavis,
I you are being told to do this it is most likely due to the memory being corrupted. There are many causes of this and the list is too long to go into.
Reply With Quote

  #12  
Old 03-17-2009, 03:03 PM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road

Originally Posted by Xenomorph View Post
I bet it is managed just like a pc's memory.
Still makes us wonder why there is no Defrag. I believe that Fanucs have something when the memory gets constant use.
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

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

www.refractotech.com
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
HAAS memory options? panaceabea Haas Mills 62 07-07-2009 10:26 PM
Access to Haas extended memory Vern Smith Haas Mills 22 06-27-2008 10:19 PM
Need Help!- HAAS MEMORY hoff Haas Mills 20 02-16-2008 03:18 PM
Extended memory for a Haas VF3 bob1112 Haas Mills 0 05-03-2007 02:41 PM
VF0 Memory and floppy question: PEU Haas Mills 16 07-12-2006 02:03 PM




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