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 > General Metalwork Discussion


General Metalwork Discussion Discuss everything relating to metal work.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-08-2007, 07:29 AM
 
Join Date: Sep 2007
Location: USA
Posts: 4
Tool Breaker is on a distinguished road
Question Is anyone familiar with macral programming?

I have not really heard of this. I would like to know as much about this if anyone can help!
Reply With Quote

  #2   Ban this user!
Old 09-09-2007, 07:14 AM
ImanCarrot's Avatar  
Join Date: Nov 2005
Location: UK
Posts: 1,468
ImanCarrot is on a distinguished road

Haven't heard of MACRAL programming, but did you mean MACRO programming? if so there's a wealth of information here about it.

Sorry if you did mean MACRAL, just never heard of it.
__________________
I love deadlines- I like the whooshing sound they make as they fly by.
Reply With Quote

  #3   Ban this user!
Old 09-09-2007, 01:58 PM
 
Join Date: Sep 2007
Location: USA
Posts: 4
Tool Breaker is on a distinguished road

Thanx for the input ImanCarrot. Im new to CNC programming and have heard of macro's but am unfamiliar with that form of programming. IS that the "if blank = 1 than do this or if blank = 0 do that?" Any input would be helpful.
Reply With Quote

  #4   Ban this user!
Old 09-09-2007, 02:07 PM
 
Join Date: Sep 2007
Location: USA
Posts: 4
Tool Breaker is on a distinguished road
Thumbs up

Thanx ImanCarrot. I hadnt heard of it either but have heard of Macro's. Im new to CNC programming and am in need of figuring out how to do it (Macro programming). Is that the type of programming where "If blank = 1 then do this or if blank = 0 then do that?" Any info on this would be appreciated.
Reply With Quote

  #5   Ban this user!
Old 09-09-2007, 08:51 PM
 
Join Date: Oct 2005
Location: US
Posts: 247
ctate2000 is on a distinguished road

Programming with macros is also referred to as parametric programming. It uses variables along with logic statements to perform complex tasks. Automatic tool setting and probing employ macros. Many times it used to program part families where the geometry of the parts is very similar and one program can run many different parts by changing the values of the variables. You also see macros used in many canned functions like circular interpolation of holes and making bolt patterns. It is a very powerful form of programming and is not difficult just intimidating at first.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-09-2007, 09:34 PM
 
Join Date: Nov 2006
Location: USA
Posts: 364
jetski is on a distinguished road

Macral programming is a programming language use only by fish in deap water. It was invented by a religious macral who went by the name "Holy" Hence the name "Holy Macral". Dont forget about Macral B programming. Imacarrot I hope you are out there this is some good stuff.
Reply With Quote

  #7   Ban this user!
Old 09-09-2007, 10:59 PM
 
Join Date: Sep 2007
Location: USA
Posts: 4
Tool Breaker is on a distinguished road

LOL JESTKI! I believe your referring to Makarel though! That was very helpful crate2000, thanx. The machine is using a probe to locate the workpiece and creating a hole pattern so I guess its a good program for the job but I am supposedly gonna have to go thru this program to make it more operator friendly. Im a decent programmer when it comes to G's and M's and dont have alot of problem with the simple stuff but I feel like macro, or parametric programming (which Ive heard of), is gonna be a bit tougher. But IM gonna have to figure it out I guess.
Reply With Quote

  #8   Ban this user!
Old 09-10-2007, 12:16 PM
 
Join Date: Nov 2006
Location: USA
Posts: 364
jetski is on a distinguished road
Talking Fanuc has a class in Hoffman Estates near Chicago

I just could not resist the fun guys sorry. Any way Fanuc offers a Macro B programming class at Hoffman Estates near Chicago. Their office building. I took the class several years ago and did some cool stuff with it when I worked for an oem of graphite machining centers. The other thing is to address the above I am a tool maker not an english teacher, so my spelling sucks but I can trig the hell out of anything. I use to design injection molds on paper no cad. Take the class in Chicago if you can. What a cool class. Basicaly takes and reads machine inputs and you can do things like if you have a cutter running for 6 hours straight you can monitor the time and at 3 hours in change the cutter. Or program the machine to check the tool probe program for cutter wear. Fanuc has a great class and good instructors.
Reply With Quote

  #9   Ban this user!
Old 09-13-2007, 09:02 PM
 
Join Date: Jul 2007
Location: usa
Posts: 8
snafu350 is on a distinguished road

G and M code programs are basicly Macros too...it's just that the if and then action is happening behind the scenes. I have learned the most about Macros from the company that installed my spindle probe. Also, the machine tool rep, has application guys that have helped me out tremendously. Is there a specific question or problem you have??
Reply With Quote

  #10   Ban this user!
Old 10-18-2007, 11:39 PM
 
Join Date: Oct 2007
Location: Norway
Posts: 3
_Kristian_ is on a distinguished road

Ive been programming iso for quite some time now but just recently started to try out the macro programming, i was wondering if anyone knows where to find a list of wich words can be used such as, if then when and so on...
so far ive been learning by trying and trying and trying, no books or anything that can help, done some progress tho but it would probably go a bit faster with some help... so far ive manage to create a macro that checks the

Wear value in the tool offset and change it automaticly and to tell you when its about time to change the tool.

some of us have problems with threads that dont fit exactly so you have to change the wear in offset and run the cycle again... so i thought it would be good especially if you have larger series to let the machine do it itself.

anyone got the list over various commands that he/she wishes to share with us?
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-19-2007, 04:49 AM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,338
neilw20 is on a distinguished road
Talking Invent your own!

You invent your own words, within the rules of the program you are using.
Like don't use this symbol, do this with spaces, how many letters. Upper/lower case and other rules. Braodly, you might think of it a s text substutuion.
Read the documentation for the language you are targeting.
Example:
COMMAND_I_CAN_READ could mean WHAT_GIBBERISH_IS_THIS (wierd command).
see: http://en.wikipedia.org/wiki/Assembly_language#Macros
for a real explanation!.
__________________
Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.
Reply With Quote

  #12   Ban this user!
Old 10-19-2007, 06:58 AM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

Originally Posted by _Kristian_ View Post
Ive been programming iso for quite some time now but just recently started to try out the macro programming, i was wondering if anyone knows where to find a list of wich words can be used such as, if then when and so on...
Have you looked at the programmers manual that for the control you are using?

If you do not have the manual you should try to get one.

You can get a GE FANUC User Manual for the 16i and 18i controls here. Look down at the bottom of the page. It is a little over 5MB.
http://www.compumachine.com/Support/DL-Fadal.htm

The macro stuff starts on page 392, much of the info will allpy to amost any control but some of it like the address of the tool offset table will change depending on the machine/control.
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
Anyone familiar with a Spaulding DRO ? Rich Carlstedt General Electronics Discussion 2 11-07-2010 04:08 PM
Anyone familiar with the Fadal TRM? Tarkus Fadal 13 03-21-2009 05:06 PM
Anyone Familiar with Slo Syn MD4 drivers gone4pepsi Benchtop Machines 15 02-07-2008 11:02 PM
Anyone familiar with this Bargain CAD/CAM raytor General CAM Discussion 6 11-07-2006 01:26 PM
Anyone familiar with... Dave's_Not_Here General CAM Discussion 0 05-24-2005 01:50 PM




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