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

ganz einfache Verknüpfung

Anonymous
2005-10-21
2005-10-22
  • Anonymous - 2005-10-21

    Originally created by: Claus

    Hallo in Forum,

    bin Anfänger und möchte folgende einfache Verknüpfung mit codesys Vers. 2.3.4.2 ausführen.

    Bitte kann mir das mal jemand von Anfang an erklären, vor allem die Ausführung der Variablendeklaration. Ein neues Projekt anlegen mit dem Baustein PLC_PRG im FUP Modus bekomm ich hin.

    Wie muss die Variablendeklaration aussehen für folgt.

    u e1.1 Start

    u e1.2 N/A okay

    = A2.0 RelaisX

    wie erzeuge ich dann die Verknüpfung?

    Claus

     
  • Wolfgang Doll - 2005-10-22

    Hallo Claus !

       u e1.1 Start 
       u e1.2 N/A okay 
       = A2.0 RelaisX
    

    würde ich in CoDeSys mit AWL so umsetzten

    VAR
       bStart   : BOOL;
       bNAOk    : BOOL; 
       bRelaisX : BOOL;
    END_VAR
       LD bStart
       AND bNAOk
       ST Relais X
    

    Viele Grüße

    Wolfgang

     

Log in to post a comment.