Professional Documents
Culture Documents
Fanuc Multiple Location Set2
Fanuc Multiple Location Set2
I wrote this set-up for a customer that posts their NC program G55. When they
have multiple pieces that are the same. They copy the program multiple times
changing the G55 to G56 ETC. So this will allow you to set-up G56, G57, G58, G59
and run G55 posted program.
Macro variables
So this can be set-up like this. The operator measures the parts normally G56, G57
Now we have two or more new programs just for setting the locations.
( L 2 refers to a fixed mandatory offset group number that indentifies the offset input type
Work offset.) ( L 20 would be for height offset)
(OPTONAL G58,G59)
O0003 (G58 LOCATION WRITES TO G55)
G90
G10 L2 P2 X#5301 Y#5302 Z#5303 ( P2=G55)
M99
Select CS X Y Z A B C U V W
G54 1 5221 5222 5223 5224 5225 5226 5227 5228 5229
G55 2 5241 5242 5243 5244 5245 5246 5247 5248 5249
G56 3 5261 5262 5263 5264 5265 5266 5267 5268 5269
G57 4 5281 5282 5283 5284 5285 5286 5287 5288 5289
G58 5 5301 5302 5303 5304 5305 5306 5307 5308 5309
G59 6 5321 5322 5323 5324 5325 5326 5327 5328 5329
G59.1 7 5341 5342 5343 5344 5345 5346 5347 5348 5349
G59.2 8 5361 5362 5363 5364 5365 5366 5367 5368 5369
G59.3 9 5381 5382 5383 5384 5385 5386 5387 5388 5389
Table: Coordinate Systems
John J Smith
Roeders/Makino ex Employee.