WriteWarning
This method is used to give warning message while post processing. This method only gets one parameter of string type. Therefore, you must write the expression in quotation marks.
Example (Fanuc, Mazak, Mitsubishi): WriteWarning (“Cutter Compensation Is Activated”) WriteWarning (“Check Tool Diameter”) The NC output lines will be: (Warning: Cutter Compensation Is Activated) (Warning: Check Tool Diameter)
This warning 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.