CODESYS: Combining TON (On-delay timers) to create flashing signal (square wave)

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 10

  • @rezaazer6210
    @rezaazer6210 8 років тому +3

    very good learning. keep doin these videos on codesys. you are my hero man 👍

    • @TohidAlizadeh
      @TohidAlizadeh  8 років тому +1

      +Reza Azer Thanks for your positive feedback! I will try my best to keep on preparing videos.

  • @boadupiciel
    @boadupiciel 4 роки тому +1

    great, thank you!

  • @jaribcastillosalcedo4279
    @jaribcastillosalcedo4279 5 років тому +1

    Keep up the good work Dr.Alizadeh! If anybody tried what was suggested in min 4:15, but couldn't get it to work.....here's the solution www.dropbox.com/s/k8t7ly5jmj2pf25/V5%28Flashing%20signal%29.project?dl=0

  • @sakirdag2976
    @sakirdag2976 4 роки тому +1

    Thanks

  • @kamilsaygili9447
    @kamilsaygili9447 7 років тому +2

    how do we set the Elapsed time(ET) in structured text, for example i try this ;
    if Timer.ET

    • @TohidAlizadeh
      @TohidAlizadeh  7 років тому +2

      You get the error because you want to compare two different data types with each other: Time and INT (and CODESYS tries to convert the INT to TIME for comparison, and it can not!).
      Try doing this: if Timer.ET

    • @kamilsaygili9447
      @kamilsaygili9447 7 років тому +2

      thank you sir, of course t#... now it works i was trying to assign the ET. to another int variable. it should also be possible actually timers are little bit tricky how to manipulate variables, and reset them and so on. an instruction video would be helpful in structured text. thanks again

    • @TohidAlizadeh
      @TohidAlizadeh  7 років тому

      Nice to hear that you have made it work. I may prepare a video tutorial on Data types in CODESYS, and how to convert between them. Stay tuned!