I'm trying to use a macro I wrote for serial#'s that worked in a fanuc31i and 18i. I'm not sure the exact contoller, but its a yasnac on a 1997 matsurra mc-800vf (says matssura i80 on the side?). I can get basic addition functions to work, but it I use GOTO or IF, AND, THEN, I get an 0101 adress/data alarm. if I clear the variable or set them so the logic is NOT satisfied, it runs through fine. EX: [with #501 set to 2 and #502 set to 1] IF #501 LT #502....But #501=#501+1 works fine. Is there some parameter I need to switch? Could this control ust not support logic that intense?