It's been some time since the last Mitsubishi, but I don't know what's wrong with it. With or without the % sign. Syntax error.
Positions and variables are defined globally and entered in the PRGUSR parameter.
Def Plt 1,P_Origin,P_X_Plus,P_Y_Plus,M_Number_X%,M_Number_Y%,0