CODESYS: Actions in SFC

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ต.ค. 2024

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

  • @heberhart61
    @heberhart61 4 ปีที่แล้ว +2

    Thank you very much for providing these instruction videos, and as I need to basically learn on my own as our company will be adopting CODESYS in the neaqr future, your video's have proven to be a valuable resource to my learning curve.

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

    Much appreciation for putting together these videos.

  • @laloquera5066
    @laloquera5066 3 ปีที่แล้ว +2

    Thanks for the video. I am trying to emulate an RSLogix5000 program made with SFC to a SFC program in Codesys. . My dilemma is that RSLogix5000 has one qualifier to detect at Rising Edge and another to detect at Falling Edge. The question is how do I do it in Codesys?

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

      I think you can use the Entry and Exit actions for this in CODESYS.

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

    I see how it works and all, but I'm still a bit unsure, why doesn't it just perform the IEC action only once? What does the transition have to do with this? Wouldn't it make life easier the other way around, or does it have different uses?

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

    I have a question. I am writing program with SFC. SFC is a FB. I published SFCPause and SFCReset variables so I can pause cycle if there is an error. My question how to work with timers there. For example first step is to open valve 2 for 10 seconds. If there is an error or stop during that, I want to pause it and when stop released continue if cycle not reseted.
    Can you help me with this over skype for example?

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

      Sergey, I am a bit busy these days. I will check this out ASAP.

  • @zannatulferdousbristy235
    @zannatulferdousbristy235 3 หลายเดือนก่อน

    Can you please explain again, why step_0 is executed for once and step1 is executed for twice and at the same time, INT04 remains 2?? I coudn't catch it somehow. Thanks in advance

  • @zoeyan7225
    @zoeyan7225 8 ปีที่แล้ว +3

    Hi Mr. Alizadeh, I am working on a project about linear stage. I have a push button connected to digital input I0, and what I expect is that every time when I press the button, the linear stage will move forward 100000 encoder value. Can this " action" help me with it?

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

      Dear Zoe Yan, I think it depends on the way that you implement what you want to do. It could be used for this purpose, for example by considering the push of the button as the transition condition for a step, and then in the step you can have some action, performing what you want to have.

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

      Tohid Alizadeh Thanks for your reply Mr.Alizadeh, one problem I am facing is that if I want my linear stage move 100000 encoder value forward in online mode, I have to prepare a value for forcing or writing a variable either in the declaration
      editor (see page 415) or within the editor. But how could I do it without opening the editor just by pushing the button and the value will automatically be provided with the value I initially assigned?

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

      +Zoe Yan I did not get what do you refer by (see page 415), however, in general, what you can do is as follows: You declare a Boolean variable and assign it to your button. Then in the run time, whenever your button is pushed, the values of the variable will be automatically changed from False to True. You can refer to this variable in your program, and based on its value can do something (for example you can send a command to your linear stage to move a given value).
      I hope this helps you.

  • @Victor_Sj
    @Victor_Sj 8 ปีที่แล้ว +2

    could you upload the pdf archive?
    thanks

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

      +Victor Sj You can find the lecture notes in the following link. The website is still under construction, though!
      tohidalizadeh.weebly.com/robt308.html

    • @Victor_Sj
      @Victor_Sj 8 ปีที่แล้ว +2

      Hi, thanks for the info

    • @Victor_Sj
      @Victor_Sj 8 ปีที่แล้ว +2

      +Tohid Alizadeh Hi Tohid, could you review the links of the web pages? There are same links repeat

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

      Hi Victor, I checked them and updated one link. Please let me know if everything is fine now.