Utilizzate questa istruzione per la compilazione condizionata nell'editor ST.
#IF IsInstructionSupported('F145_WRITE_DATA') <> 0 #THEN
(*condition TRUE: first part is compiled and executed*)
#ELSE
(*condition FALSE: second part is compiled and executed*)
OutputCompilerError('Instruction NOT supported');
#END_IF;
Questo codice, con un PLC FP0, restituisce il seguente errore: