Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Funktionsaufruf in ST

Ulrike
2015-09-11
2015-09-21
  • Ulrike - 2015-09-11

    Hallo!

    Bin neu hier und Studentin in der Automatisierungstechnik und arbeite derzeit an einem Projekt das mit Codesys programmiert wird. Wer kann mir sagen wie ich einen Funktionsaufruf in ST richtig ausführe. Ich bekomme immer eine Fehlermeldung wenn ich den FB oder FUN im Programm aufrufen will...dieser muss instanziiert werden, wo muss ich den Funktionsblock bzw. Funktion instanziieren?

    Habt ihr vielleicht ein Beispielprogramm?

    Vielen Dank für eure Rückmeldung

    LG

     
  • RolandWagner

    RolandWagner - 2015-09-17

    Hi,

    anbei ein kleines Beispiel. Ich hoffe, es hilft.

    FB_Aufruf.pro [11.38 KiB]

     
  • Erik Böhm - 2015-09-21

    Hallo

    In der Hilfe unter "Aufruf eines Funktionsblocks" zu finden.

    Gruß Erik

     

Log in to post a comment.