TON ET not running

noty
2021-08-19
2021-08-19
  • noty - 2021-08-19

    Hello,
    I have a very simple project:

    PROGRAM PLC_PRG
    VAR
        T1: TON;
        START: BOOL;
    END_VAR
    

    AND

    IF NOT START THEN
        T1.PT:= T#1s;
        START:= TRUE;
    END_IF;
    
    T1.IN:= TRUE;
    

    The T1.ET does not change at all.
    I tried using a Wago and simulated the project.
    I hope someone can help.
    Cheers

     
  • i-campbell

    i-campbell - 2021-08-19

    you have to call T1();

     

Log in to post a comment.