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

Systemereignisse in V3

markusm
2009-01-20
2009-01-21
  • markusm - 2009-01-20

    Wie verwendet man in V3 Systemereignisse, z.B start, stop, reset?

    Ich verwende V3 SP2 patch1.

    Schöne Grüße,

    Markus

     
  • J Schohaus - 2009-01-21

    Hallo Markus

    Es gibt wie bei Codesys V2 eine CallBack Lib.

    Also Lib einbinden

    Ich habe leider keine Dokumentation zur lib gefunden.

    z.B.

    SysCallbackRegister(ADR(UDPcom_CloseSockets), EVENT_STOP);

    Es wird der Baustein "UDPcom_CloseSockets" bei ein stop der Steuerung ausgeführt.

    FUNCTION UDPcom_CloseSockets : BOOL

    VAR_INPUT

    Event : EventParameter23 ;

    END_VAR

     

Log in to post a comment.