What's new
What's new

Fanuc 16 not taking workshift and sub routine

Fred T

Cast Iron
Joined
Jan 20, 2003
Location
Ohio
Gents,
I have a Johnford SV-40 with a fanuc 16 control. it will not accept the following:

M98P1001
G00 X1.625 Y0.0
M98 P1001.
It goes back to the original position and repeats the sub routine. It will however take this:
M98P1001
G00 G55
M98P1001.
IN both instances G54 was the original work offset. do I need to change a paramater? If so any clue to which one?

Thank you all
Fred T
 
Hello Fred.

You stated that G54 was active both on both sub calls. So it looks like:

(MOVE TO G54 POSITION)

M98 P1001 (EXECUTE SUB PROGRAM)

G00 X1.625 Y0.0 (MOVE TO A DIFFERENT POSITION)

M98 P1001 (EXECUTE SAME SUB PROGRAM WHILE STILL REFERENCING G54 COORDS)

Assuming you're not programming in incremental in your sub, you're still referencing G54 for all your moves. When you give it the G55 you're shifting your reference to a new place and that's why this works:


M98 P1001 (EXECUTE SUB PROGRAM)

G00 G55 (CHANGE REFERENCE LOCATION)

M98P1001 (EXECUTE SUB AT NEW LOCATION)

At least that would be my guess....
 








 
Back
Top