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%
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.
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 ! :)