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   Ban this user!
Old 06-04-2007, 08:05 AM
 
Join Date: Apr 2007
Location: usa
Posts: 10
WhiteZee is on a distinguished road
haas vf-4 mill not reading code

i am having a problem getting our haas vf-4 mill to read the code featurecam is putting out, this has so be a simple problem. would someone mind taking a look at this code, im getting error messages: "432 Floppy Illegal Prog Name" and "433 Floppy Empty Prog Name" i would apprciate any help, thank you.
Attached Files
File Type: txt leesocket.txt.TXT‎ (67.7 KB, 73 views)
Reply With Quote

  #2   Ban this user!
Old 06-04-2007, 08:11 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

In places you have lines like these:

N90 X0.5746 Z-0.0379
:~leesocket01
N100 G01 X0.225 F5.0



N155 P~leesocket01 M98
N160 G00 Z1.0
N165 X-0.5009
N170 Z0.1
N175 G01 Z-0.0379 F2.5
N180 Y-0.8191 F5.0
:~leesocket02
N190 G01 X-0.225 F5.0

Whatever a :~leesocket is I am pretty sure the controller does not like it.
__________________
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 06-04-2007, 03:58 PM
 
Join Date: Jul 2005
Location: USA
Posts: 32
Dr Honda is on a distinguished road

Yup... that's my guess too. You are making a call to a sub program (M98) So, the internal programs still have to follow the "Oxxxxx" format.
Reply With Quote

  #4   Ban this user!
Old 06-04-2007, 06:45 PM
 
Join Date: Apr 2007
Location: usa
Posts: 10
WhiteZee is on a distinguished road

ok, thanks for the help. theres no reason it should be calling for a sub-program, its only doing a pocket. guess i need to jump over to the featurecam fourm, thank you.
Reply With Quote

  #5   Ban this user!
Old 06-04-2007, 08:45 PM
CJH CJH is offline
 
Join Date: May 2007
Location: United Staes
Posts: 103
CJH is on a distinguished road

I'm not familiar with featurecam, but it looks to me as though maybe the post is putting a comment or not that may have been added into the offline programming of the part. I don't usually mess too much with subprograms but have seen this a few times with other software that I've used. It generally tends to happen if you use some type op name of other than the standard software naming of particular operation. That has led to us checking out g-code in a notepad editor before we send it over to the machine. But I could be totally wrong on this since I have no knowledge of the software you're using. Just my 2 cents.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-07-2007, 06:10 PM
 
Join Date: Apr 2007
Location: usa
Posts: 10
WhiteZee is on a distinguished road

Originally Posted by CJH View Post
I'm not familiar with featurecam, but it looks to me as though maybe the post is putting a comment or not that may have been added into the offline programming of the part. I don't usually mess too much with subprograms but have seen this a few times with other software that I've used. It generally tends to happen if you use some type op name of other than the standard software naming of particular operation. That has led to us checking out g-code in a notepad editor before we send it over to the machine. But I could be totally wrong on this since I have no knowledge of the software you're using. Just my 2 cents.
thanks, ill try editing it out.
Reply With Quote

  #7   Ban this user!
Old 06-07-2007, 09:44 PM
 
Join Date: Jul 2005
Location: USA
Posts: 32
Dr Honda is on a distinguished road

It’s not a comment. It is trying to run a loop via a macro. The M98 is a macro call. The “P” just before is the call for the program name. And the “:” is the sub program. The ~leesocket is the name of your part, so it uses that as the name.

To fix the problem… you need to manually rename them in your program to the correct format. For example

:O00001

N115 P00001 M98

Or you need to go into the post processor, and check the box that says “Disable Macros.” It wont disable all the macros… it will just disable the internal macro calls. OR… you need to massage your post processor to get it to call the macro the correct name.
Reply With Quote

  #8   Ban this user!
Old 06-07-2007, 09:49 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by Dr Honda View Post
I.....The M98 is a macro call.....
I thought M98 is an external sub-program call, M97 is an internal sub-routine call and M65 is a macro call.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #9   Ban this user!
Old 06-08-2007, 08:05 AM
 
Join Date: Jul 2005
Location: USA
Posts: 32
Dr Honda is on a distinguished road

Originally Posted by Geof View Post
I thought M98 is an external sub-program call, M97 is an internal sub-routine call and M65 is a macro call.
Macro... sub-program... whatever. It was making a call to some other point with a label that it didn't like.

Last edited by Dr Honda; 06-08-2007 at 08:32 AM.
Reply With Quote

  #10   Ban this user!
Old 06-09-2007, 01:45 PM
 
Join Date: Apr 2007
Location: usa
Posts: 10
WhiteZee is on a distinguished road

ok, thank you very much, ill give that a try.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-09-2007, 02:53 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070509-1427 EST USA


There needs to be a clear definition of terms for efficient communication.

In the computer field there is a reasonably useful definition for the word MACRO. The concept of SUBROUTINES is also well defined.

In the CNC field MACRO is very poorly defined. I tried a search in Google for the group of words --- cnc code definition of macro --- and saw nothing in the first results of any value. In the CNC field I generally define the useage of MACRO(S) as being an extension of the basic G-code language and the added functions that are provided.

I do not define a subroutine of any kind as a macro. In the basic G-code language of HAAS there are two subroutine calls that do not require the option of MACROS. These are G97 and G98 as previously mentioned.

The G97 is a call to a subroutine that is contained within the current program (called a local subroutine) and is located by a line number. This subroutine looks no different than any other code in the program except it must have a unique line number at the start of the subroutine, and it has a return code at the end. I do not know what happens if you do a GOTO to this line number.

The G98 is a call to some other program that is currently in the machine memory. In this case the numeric address in the call is the number of the O-number program being called.

If you have the MACROS option, then there is an additional type of subroutine call, G65, which has the added advantage of being able to pass parameters from the calling line to the called program. But G65 only works with external subroutines.

Within the scope of CNC I would classify the following items as some of the macro functions:
#100 = #100 + 5 (count by 5)
DPRNT
SIN
ABS
G65
and lots of others.

.
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 Visual Quick Code (VQC) ethal68 Haas Visual Quick Code 27 06-05-2011 02:27 PM
haas m code heartlnd Haas Mills 12 05-31-2007 02:47 PM
Seig Mini Mill to CNC - Reading to much Smitty911 Benchtop Machines 14 05-10-2007 07:34 PM
code question on haas sl40 rusticr6 Haas Mills 8 09-18-2006 10:33 AM
Haas visual quick code GENMACH Haas Visual Quick Code 1 11-16-2005 01:07 PM




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