Fanuc 16 not taking workshift and sub routine
Close
Login to Your Account
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2003
    Location
    Ohio
    Posts
    304
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    12

    Question Fanuc 16 not taking workshift and sub routine

    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

  2. #2
    Join Date
    Jan 2014
    Country
    UNITED STATES
    State/Province
    Washington
    Posts
    4,062
    Post Thanks / Like
    Likes (Given)
    761
    Likes (Received)
    2143

    Default

    Post the code of your sub-routine. Tough for us when working without all the info.

  3. #3
    Join Date
    May 2006
    Location
    Burlington, North Carolina
    Posts
    355
    Post Thanks / Like
    Likes (Given)
    370
    Likes (Received)
    132

    Default

    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....

  4. Likes Ox liked this post

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •