OutputCompilerError

Verwenden Sie diesen Befehl für die bedingte Kompilierung im ST-Editor.

Beispiel

#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;

Ergebnis

Dieser Code liefert bei einer FP0 den folgenden Fehler:

Verwandte Themen

Letzte Änderung: 2024-03-15Feedback zu dieser SeitePanasonic Hotline