PS0031 Illegal P Command in G10
Data input for the L No. of G10 or the corresponding function is not enabled. A data setting address such as P or R is not specified. An address command not concerned with data setting was specified. An address varies with the L No. The sign or decimal point of the specified address is in error, or the specified address is out of range. Modify the program.