CODESYS: SFC programming example- Traffic light control in the intersection

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 เม.ย. 2016
  • If you want to watch the videos in order, download the up-to-date version of the road map from the pinned comment of the corresponding video: • CODESYS: A road map fo...
    -------------------------------------------------------------------------------------------------------------------------------------
    In this video, you will learn how to develop a PLC program using Sequential Function Chart (SFC) programming language. Creating the project, adding Steps and Transitions, creating Parallel branches, Adding different types of Actions, and determining a background image in the visualization are covered in this video. Everything is explained through the traffic light control system at an intersection.

ความคิดเห็น • 29

  • @TohidAlizadeh
    @TohidAlizadeh  7 ปีที่แล้ว +6

    Here is the same video without the background music! Sorry for that, and thanks a lot for the feedback!
    th-cam.com/video/MGJu3b18wRk/w-d-xo.html

  • @shazabrahim5208
    @shazabrahim5208 7 ปีที่แล้ว +15

    Hi Tohid, great videos. But are you aware of the very loud and distracting sound that is overlaid on your presentation? It would be so good to remove that music.

    • @TohidAlizadeh
      @TohidAlizadeh  7 ปีที่แล้ว

      Thanks for the feedback! I am preparing the version without background music and will let you know as soon as it gets ready.

    • @shazabrahim5208
      @shazabrahim5208 7 ปีที่แล้ว +2

      Hello Tohid. Thats great news.

    • @TohidAlizadeh
      @TohidAlizadeh  7 ปีที่แล้ว +2

      I just uploaded the one without music. Thanks again for your feedback!

  • @serhioromano
    @serhioromano 8 ปีที่แล้ว +1

    I have a little bit more complicated SFC. That one is metal washer with different chemicals. And in one step error may occur like for example level of chemicals in a tank lower than allowed. I use SFCPause to pause SFC. But unfortunately when SFCPause is set, timers continue to count. I mean the transitions are not done, but Ton continue to count. For example I enabled SFCPause when timer was T#2s and released it in 5s. Then timer after release will be T#7s. It does not show timer running while SFCPause but it continue to run.

    • @TohidAlizadeh
      @TohidAlizadeh  8 ปีที่แล้ว

      I am a bit busy these days, I will write about this ASAP.

    • @serhioromano
      @serhioromano 8 ปีที่แล้ว +1

      Tohid Alizadeh I did it actually. But i did not use SFCPause, but I used my custom Pause input variable. With that one everything works. I save value of times on pause and resume after pause released.

    • @TohidAlizadeh
      @TohidAlizadeh  8 ปีที่แล้ว

      Sergey Romanov Good to hear that you have found a solution.

  • @heberhart61
    @heberhart61 3 ปีที่แล้ว

    How were the 2 timers (TON_0.Q and TON_1.Q) added at the end ?

  • @hannagantimothyp
    @hannagantimothyp 4 ปีที่แล้ว +1

    What traffic light simulation program is being utilized in this video ?

  • @user-dc9qx5ij3v
    @user-dc9qx5ij3v 8 ปีที่แล้ว +1

    How did you change the background? Where did you put the image?

    • @TohidAlizadeh
      @TohidAlizadeh  8 ปีที่แล้ว

      Please have a look at this video: th-cam.com/video/i3LnoEpPuMc/w-d-xo.html

  • @goroman3747
    @goroman3747 6 ปีที่แล้ว +1

    Ok But why didn't you use like a DRUM function (in Siemens TIA Portal or Schneider Unity Pro XL or a SQO function in Rsloxgix) for progromming a repetitive sequence ...It's better

    • @TohidAlizadeh
      @TohidAlizadeh  6 ปีที่แล้ว

      Well, it could be another solution, however, here I just wanted to show an example of using SFC programming language, as a standard PLC language.

  • @matiasgreenwood4260
    @matiasgreenwood4260 2 ปีที่แล้ว +1

    How do I reset the "TON_0.Q"? Because I tried but when continuos to the other steps my "TON_0.Q" stays whit the TRUE signal.

    • @TohidAlizadeh
      @TohidAlizadeh  2 ปีที่แล้ว

      As soon as the input to the timer goes down the output goes down to zero. You don't need to reset it

  • @omidmoradtalab8822
    @omidmoradtalab8822 5 ปีที่แล้ว +1

    Hi. Thanks to your Tutorial. It will be much appreciated if you can remove background music. Thanks

    • @TohidAlizadeh
      @TohidAlizadeh  5 ปีที่แล้ว

      Hi Omid. Thanks for your feedback. Here you can see the same video without background music.
      th-cam.com/video/MGJu3b18wRk/w-d-xo.html

  • @realcyan
    @realcyan 7 ปีที่แล้ว +1

    your videos are great but the backgroundmusic is so annoying

    • @TohidAlizadeh
      @TohidAlizadeh  7 ปีที่แล้ว +1

      I will prepare the one without background music and update you soon!

    • @realcyan
      @realcyan 7 ปีที่แล้ว +1

      That would be great. Tranks a lot :-)

    • @TohidAlizadeh
      @TohidAlizadeh  7 ปีที่แล้ว

      Check the link in the top most comment, please!

  • @000Nishith
    @000Nishith 5 ปีที่แล้ว +1

    Hi Tohid,
    I'm working on some codesys program and I have some query which I don't understand how to solve.
    Can you share me your email id so we can discuss.
    Thanks.

    • @TohidAlizadeh
      @TohidAlizadeh  5 ปีที่แล้ว +2

      Hi there,
      Here is my email address: tohid.alizadeh@gmail.com. I am quite busy these days, so please do not expect too much help, but I will try my best.