Self counting Timer instruction in IL

Self counting Timer instruction in IL

  • 18 Februar 2020 um 4:57 pm #35737
    [email protected]
    Teilnehmer

    I am new to Movicon and IL. I am trying to transfer a constant value to a variable after certain time has elapsed. But its doesn’t transfer the value. Below is the code:

    AN Start_Timer
    = T 1.200
    AT 1
    L KD 5
    T VAR00001 //16bit

    Please help me with the issue.

    Thanks

  • 21 Februar 2020 um 12:10 pm #35749
    Robin
    Teilnehmer

    Hi Muzzaffar
    Why don’t you create an event?
    I usually do an event that is enabled at the the system variable change (e.g. ActTimeMin) and then use the standard commands to move\tranfer the value.
    I find it so convenient and requires no logic, I think You might consider what I suggest,.

    Regards
    Robin

  • 10 März 2020 um 5:35 pm #35865
    [email protected]
    Teilnehmer

    Hello Robin.

    Thank you for your reply. I am new to movicon, could you give me an example how to do an ‚event‘ in movicon

    thanks much!

  • 11 März 2020 um 4:18 pm #35885
    Robin
    Teilnehmer

    Hi ,
    The event is a feature available on the tree structure of the project.
    It’s well documented in the product help.
    You have to work with different properties and define commands what can’t you do?
    Maybe is better if you open a support ticket in order to interface directly with the Progea tech support and ask for an example.

    Regards
    Robin

Du musst angemeldet sein, um auf dieses Thema antworten zu können.