TIA Portal: S7-Graph Interlocks, Supervision and Counter

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ค. 2019
  • Setting up an S7-Graph Interlock and Supervision using TIA Portal V15.
    In addition a counter is used in the S7-Graph program
    Contents are:
    - Interlocks in S7-Graph
    - Supervision in S7-Graph
    - Error handling
    - Simulating S7-Graph program
    - S7-Graph Interface
    - S7-Graph Counter
    If this video helped you, please consider helping me by joining my "GoFundMe" and donating a small amount to my cause. Link here:
    www.gofundme.com/f/let039s-fi...
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Hello, I'd like to thank you very much because you presents the subjects completely and how you explain, makes it looks very clear. Congratulations.

  • @jayadhiwenardo2474
    @jayadhiwenardo2474 4 ปีที่แล้ว +3

    Thank you for the video 👍. its very informative and well explanation. i hope you cover more topic about motion control. cant wait for next video 😁😁😁

  • @thiel88
    @thiel88 4 ปีที่แล้ว

    Verry cool and helpful. Thank you very much! Nice greetings from Germany!

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

    I really loved this vídeo!! I hope other with more details about the Other events you can create!!

  • @framos9991
    @framos9991 ปีที่แล้ว

    Thanks! Very helpful!

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

    Do you know if there's a way to use the counter value as a logical comparator (eg. "Count_Errors" >= 3) in the interlock / supervision / transition logic? thanks!

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

    @hegamurl you have explained sequencial programming very well and I have actually use it.Thank you very much. is it possible to make some video on STL area pointers and some crucial instructions...It will be great.

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

    Thank you so much!

  • @hegamurl7434
    @hegamurl7434  4 ปีที่แล้ว

    One thing I forgot to mention: The "ERR_FLT" Output will also turn on if the Interlock is active

    • @04Ismet04
      @04Ismet04 3 ปีที่แล้ว

      Thank you very much for Videos. Could you please, once, due to your time, show us how to properly set the OB1 for SW with as much security as possible. SQ should not be REMANENT or?

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

    Really enjoyed this tutorial, would be good to see how these same programs would be done in other languages like ladder and SCL.

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

    Hi, nice video 👍. Is it possible to make decision logic between steps.. I mean jumping between single steps?

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

    Another great Vid

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

    Is there an indication that the error situation (supervision) has cleared on the outside ? At the end of the video you explain V1 (rising edge when the error occurs) and V0 when the error acknowledged, but in between the error should have a falling edge as well. Does that detection exist -and- is it available in the FB in OB1 at the outside for a ERROR CLEARED LED ?

  • @YashNavindgi
    @YashNavindgi 4 ปีที่แล้ว

    Hey Hegamrul, great vid love the explanation, really helped me advance my system, was just wondering with the supervision though, say the supervision condition is true whatever it may be, a combination of sensors or just a simple error memory but, that doesnt stop the process actuating? It simply sends an error flag sort of thing? If i want the process to stop i need to have all the combinations of sensors in the interlock section as normally closed, if they are normally open sensors, to stop the actuations?
    If that is the case i dont see the point in supervision really if im gonna need to put it in as an interlock anyway? Hoping you could correct me if im wrong!

  • @peterfeldman777
    @peterfeldman777 4 ปีที่แล้ว +3

    Perfectly done. Great video and audio quality.
    A question, if the piece takes too long to go right on the conveyor. Could we also make an error?
    And another question, how do you make a delay between steps?

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

      (I am not a profissenial ) although i think i can answer
      If piece took a long time you could supervised with a timer which is very common way in some even high tech companys , some electrical PLC programmers actually depend just on the the timer without mounting an end switch which is not good at all . the same way you could delay every step with a timer TON .

    • @hegamurl7434
      @hegamurl7434  4 ปีที่แล้ว +7

      Hi, thanks for the feedback!
      Both questions actually have the same answer. You can use a comparator and use the integrated "T" value that every step automatically has to evaluate time.
      Putting that comparator in the supervision network will lead to an "Timeout Error" ("Laufzeitfehler" in german, a very fancy word)... I've made a quick screenshot here: imgur.com/LcTiEL5
      Putting that comparator in any transition will make a time delay between steps: imgur.com/bZDwzHb
      In both cases, the time can be changed by putting either a variable of type "time" in the lower part or simply changing the time next to the "t#", e.g. "t#100MS" -> "t#2M13S" will change the time to 2 minutes and 13 seconds.
      There are some more details and special cases, but that is the general principle and should work in almost all cases.

    • @hegamurl7434
      @hegamurl7434  4 ปีที่แล้ว +3

      @@kaakos9273 Generally correct, thanks for the hint! Most people will use a TON timer and use the output of it in the supervision/transition... although that works, it is NOT the ideal way to do it, as it requires a lot more programming and additionally takes a lot of memory and processing time. The intended way is described by me in an additional comment. S7-Graph already has those timers pre-installed and we can simply use a comparator at any place.
      Most people don't know about those pre-installed timers, because they are rather new (~15years) and programmers tend to not like "new" technology if theirs already works.

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

    Thank you!! Do you know how can u display alarms from (c) and (v) on HMI screen? How can you link this db to alarms on HMI? Thank you!

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

    very helpful

  • @Sergnavin
    @Sergnavin 7 หลายเดือนก่อน

    Great stuff, thanks a lot! I have a question. Why when the error is true, the motor reverse is red, but the output bit of the motor reverse is true? After all, it is the output bit that controls the real motor.

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

    Very very good

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

    Thank you

  • @kristof3019
    @kristof3019 4 ปีที่แล้ว

    Good explanation ... However this way of programming only works if you use the Qualifier "N" to start the motor in STEP1 en reverse the motor in STEP2. What if you use the qualifier "S" start the motor in STEP2 en "R" the motor in STEP 20. Than the motor stays running even if you program interlocks to stop the motor in manual mode in let say STEP4 or 5 ... do you use the qualifier "N" throughout the complet GRAPH ?

  • @albizeta5674
    @albizeta5674 4 หลายเดือนก่อน

    Hi thank you very much, i have a question where is possible to understand the right address for the IO for the motor ? Let me explain better, you have changed 256 with 257 in the clearence paramameters, how did you get aware of the error ?

  • @Amandyss08
    @Amandyss08 ปีที่แล้ว

    Hiii, very good!

  • @sebastianwunderer4112
    @sebastianwunderer4112 ปีที่แล้ว

    Danke für die gute Erklärung. Ich habe noch ein Problem und zwar möchte ich das eine weitere Aktion nur ausgeführt wird wenn z.b. ein Zähler über einen Eingang einen bestimmten Wert erreicht hat und beim nächten Durchlauf soll dieser wieder von vorne anfangen zu zählen.
    In einem FC dies umzusetzen kein Problem, aber mit graph komme ich nicht klar.

  • @elnursucayev6625
    @elnursucayev6625 10 หลายเดือนก่อน

    Hi. First of all thank you for your best explanation
    I have 2 question
    1. if I want to add an emergency stop, how should I do it? all proses must back to initial( first step) step
    2. What should I do if I want to 1 sec turn on and 1 sec off (flash) the LED or the motor in a time interval in one of the steps?

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

    very good

  • @khalidkarra8679
    @khalidkarra8679 4 ปีที่แล้ว

    Hello, i would like to thank you a lot for your big efforts you're doing for us as beginners. Continue like that you're great and we understand and we realise real projects. I would to ask you a question please. How can we, (in an action during a step activation juste one time) realize addition of two words ( for example : %MW0 and w#16#2BC3 ). Thanks a gain sir :)

  • @mostafaalrakhawy2738
    @mostafaalrakhawy2738 4 ปีที่แล้ว

    thanks a lot for your awesome Videos. could you make a Video about indirect addressing ? it is very importat topic in PLC programming

  • @zhengkunyan8001
    @zhengkunyan8001 4 ปีที่แล้ว

    THANKS

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

    Thanks

  • @Sh_Firouz
    @Sh_Firouz ปีที่แล้ว

    Sehr gut

  • @jagdishgite2889
    @jagdishgite2889 4 ปีที่แล้ว

    Thank you very much, for explaining about graph language in detail. I have one doubt if I want to add the delay after the transitions is true or delay between two consecutive step. How I can add that delay??

    • @hegamurl7434
      @hegamurl7434  4 ปีที่แล้ว

      You are very welcome! I am not 100% certain what you exactly mean, but adding delays can simply be done using the pre build time comparator as shown in the following picture: imgur.com/bZDwzHb

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

    great video..thank you .. philipp paus

  • @brooksdetuncq3727
    @brooksdetuncq3727 4 ปีที่แล้ว

    Good video. One thing I'm noticing is that there doesn't seem to be capabilities for simple math. I have tried to add together the number of push buttons being activated at any given time, but Each time I try to do it I get hung up on unexplained syntax errors. I would be great if you could put together video that covers numbers, not just Boolean.

  • @Kyletran0202
    @Kyletran0202 7 หลายเดือนก่อน

    can you please explain how you got the tag name as "Sensor_Start":P?

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

    It doesn't work if I just implement one of the interlocks. If I implement the second interlock, the Motor stops but I can see in the live monitoring that the orange indication that the interlock is active switches between S1 and S2. Why is that and what did I do wrong?

  • @manurung497
    @manurung497 4 ปีที่แล้ว

    hay,, i make more than 1 sequences, but why the other sequence not working? only sequence no 1 is working,, Many thanks for any reply

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

    Herzlichen dank für alle diese sehr klar beschriebene hilfreiche Videos. Würde Nett wann du ein (Demonstration) Video über alle FB Graph Parameters (z.B. OFF_SQ, INIT_SQ, SW_TAP, ERR_FLT, S-SEL usw.) machen kannst. Cheers

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

      Hi Sadiq, danke fürs Feedback.
      Ich schau mal, ob ich in der nächsten Zeit dazu komme!

    • @04Ismet04
      @04Ismet04 3 ปีที่แล้ว

      @@hegamurl7434 Danke für investierte Zeit und Mühe. Gute Junge ! Weiter so :)

  • @subhamthakur607
    @subhamthakur607 4 ปีที่แล้ว

    Hello,Can you help me with the communication of S7300 and rockwell Plc

  • @Vozzhd
    @Vozzhd 4 ปีที่แล้ว

    Great))

  • @user-pn9gb2zr1n
    @user-pn9gb2zr1n 2 หลายเดือนก่อน

    Vielen dank

  • @kaakos9273
    @kaakos9273 4 ปีที่แล้ว

    Would you make us familiar with the other options in the seq-Block . and i think it would be very interessting if you handel the PID controller in PLC . when to use it ?? how differ S1200 from S300 in PID and so on ? or how to tune it with TIA Portal ??
    i know it is too much to ask but i like your way in explanation. Good work and keep on
    THX ALOT

    • @hegamurl7434
      @hegamurl7434  4 ปีที่แล้ว

      Will try to make some content on those in the future!

  • @davecrux1696
    @davecrux1696 4 ปีที่แล้ว

    HI, MR HEGAMURL, MY NAME IS DAVID I LIKE TO SEE YOUR PROYECTS WITH TIA PORTAL, I HAVE A QUESTION, COULD YOU MAKE A EXAMPLE WHERE CHANGE (OR MIGRATE )FROM GRAPH (FLUDSIM) TO GRAFH (TIAPORTAL)? THX.

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

    hi . please continue another video about the function modes of s7-graph plz plz plz :)

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

    How to step jump and reverse the steps in graph

  • @hakuzu88
    @hakuzu88 ปีที่แล้ว

    it is an electrical interlock as on the contactors with an NC contact upstream on each coil it is the same principle

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

    In the Tag, Motor Forward is False and I can't click on the True

  • @gagangupta1754
    @gagangupta1754 4 ปีที่แล้ว

    hi
    please make a vidio for v16 infinty

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

    Is possible to view this S7 graph in a HMI ?

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

      i agree.. if one can see this graph sequence directly on hmi, you wont need to take out a PC to troubleshoot things.. Pls let me know if u found anything on this

    • @TheDvd3000
      @TheDvd3000 ปีที่แล้ว

      @@a4wong In The HMI "Controls" section there's a "Graph Overview" you can drag and drop :) Beside all the recipe/alarms/user view etc

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

    Hello Hegamurl,
    is there any way i can add a Flank in a transition without making an extra FB in FUP?
    Also is there any way to evaluate the following? (2 Interlocks in one Step)
    imgur.com/a/LuMvwGF
    We have Final Exams soon and TIA drives me crazy, i really want to know why simple Triggers are not included in S7 Graph i mean this language is more than 10 years old

  • @longbeachboy57
    @longbeachboy57 4 ปีที่แล้ว

    Where can I send you money?

    • @hegamurl7434
      @hegamurl7434  4 ปีที่แล้ว

      No need to, but thanks. Appreciating every view!

    • @longbeachboy57
      @longbeachboy57 4 ปีที่แล้ว

      @@hegamurl7434 Seriously. You have a 'subscribe star' account...

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

    Thanks