WriteError
This method is used to give error message while post processing. This method only gets one parameter of string type. Therefore, you must write the expression in quotation marks.
Example (Heidenhain): WriteError (“Circular moves are not accepted in M128 mode”) The NC line output will be: ;Error: Circular moves are not accepted in M128 mode
This error message will be displayed in 3 different places: 1.It will be written inside the NC program as comments. 2.It will be written in MANUSpostdeveloper “Log View” window. 3.It will also be written on the “NC Program Errors” window inside MANUSpost.