Fanuc PS0128 Illegal Macro Sequence Number


Results 1 to 3 of 3

Thread: Fanuc PS0128 Illegal Macro Sequence Number

  1. #1
    DOD22's Avatar
    Join Date
    Sep 2020
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Fanuc PS0128 Illegal Macro Sequence Number

    Hi everyone,

    I keep getting this error when ever I try to use a GOTO command, I'm stripped everything else out and am just trying to run the code below to test it but it still throws the PS0128 error.

    Any ideas? It executes n02 correctly #704 changes to 1 but then is fails.

    N01(O028);
    N02#704=1;
    N03IF[#704EQ1]GOTO05;
    N04#705=1;
    N05#706=1;
    N06M30;
    N07%



  2. #2
    Member
    Join Date
    Apr 2011
    Location
    USA
    Posts
    841
    Downloads
    0
    Uploads
    0

    Default Re: Fanuc PS0128 Illegal Macro Sequence Number

    Check for fat fingure mistakes. I ran this just as you have it on a 0iF with no issues.



  3. #3
    Member lucaswalker's Avatar
    Join Date
    Sep 2018
    Posts
    27
    Downloads
    0
    Uploads
    0

    Default Re: Fanuc PS0128 Illegal Macro Sequence Number

    One time I had a problem declaring subpgm like O00123 and calling them M98 P00123 instead of P123 ...

    try a GOTO5 instead of GOTO05

    Controllers are sometimes a bit picky on syntax !



Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Fanuc PS0128 Illegal Macro Sequence Number

Fanuc PS0128 Illegal Macro Sequence Number