TIA Portal: OB40+ - Hardware Interrupts (Digital)

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

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

  • @armchairfreedomfighter
    @armchairfreedomfighter 5 ปีที่แล้ว +13

    Best PLC channel on youtube!!!!

  • @ziborgbe
    @ziborgbe 5 ปีที่แล้ว +7

    I confirm for 1200 PLC , they have hardware interrupts lined to inputs on PLC itself .

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

    Thank you so much for sharing these videos! Lots of love and support from Australia!

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

    Nice explanation, easy to understand, thanks for your great work

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

    Same here, I did it on a S7-1200, Tia v16. Thanks a lot for your help, gait job, keep it up. I will be recommending you to my fellow programmers.

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

    I like your way of explaining the things

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

    you truely deserve the best. Thanks a lot

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

    10:49 "be carefull... high frequency".
    Not clear, so what a difference between BA DI module and HF DI module if
    first one is not able to react at high frequency and usage of second one also limited by high frequency.
    For example to count 6000 rpm, what module is suitable for that purpose?
    6000/60 = 100 Hz pulsation frame we have.

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

    Clear explanation. Thanks Hegamurl 🤓

  • @Ashlvvy_.x
    @Ashlvvy_.x 2 ปีที่แล้ว

    I have a problem on plc 414 using this hardware interupt OB40 when ever one iinput is activated the cpu goes to stop mode and internal fault red is on. My question is how to resolve this problem?

  • @luckyme8610
    @luckyme8610 18 วันที่ผ่านมา

    Good day, actually, i do not understood , when we need to use these funktion? please tell any example.

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

    Thank you very much.
    Your tutorials are very helpful.

  • @bluebug4575
    @bluebug4575 14 วันที่ผ่านมา

    Hi there, it would have been good to explain how to handle all the different points of that card independently. Say you have a different function on all your 16 points, how are used the local variables of OB40: LADDR, IChannel, EventType, PointAddr to handle the correct input address and discern rising from falling edge. Otherwise people will have the reflex of creating a new OB for each point :D (I had two colleagues do that already! instead of doing the proper handling in the OB). Also to note: if you have older hardware and remote IOs (S7-300, ET200SP) then you have to use the old version of the OB40 which had local address like OB40_EV_CLASS, OB40_MDL_ADDR, OB40_POINT_ADDR, and was much less intuitive.

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

    I add output Q0.6 in hardware interrupt OB40 (s7 300 PLC). As per your video after rising edge my output Q0.6 continuously on. Output Q0.6 is connected with input rising edge I124.0. How can I off my output Q0.6 ??

  • @ShanePlatt-p6r
    @ShanePlatt-p6r 10 หลายเดือนก่อน

    I was wondering if you are still making TIA Portal content? I haven't seen any new ones.

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

    I have tried test this on PLCsim and it doesn't seem to work. But I haven't tried it on the real PLC yet. just want to ask that it doesn't work in the SIM right?

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

    Sometime My plant PLC is giving following error. So can you give me solution .
    Diagnostic Buffer
    I/O read access error.(I address 15004) in FC 15014.
    I already checked in FC and found iOS has been called only in once.
    From last one year system is running ok. But last two days error has been come. Because of this error some time IM module has been communication failure. Because of that related section of plant has been stopped. But again it will be reconnect with in milisecond.

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

    You use data block for making a static variable, can we use local variables for counting the interrupts ?
    thanks for your great work

  • @Al-UqoolAl-Thakiea
    @Al-UqoolAl-Thakiea ปีที่แล้ว

    Great job dear! Thanks a lot.

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

    What should I do if I use encoder ? Case with encoder card and case with fast inputs ? Thank you.

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

    Then is call the ob40 When you put 24v on the DI... Did I understand correctly?

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

    Hi, i need help, there are some way to protect the PLC against mres? I could Solve on a PLC 1500 with display protection, i did a password, but i cant do that with plc 300 and the some people in my work reset the memory without reasson and it's easier to them because push the swich and delete all configurations of daba blocks. If you can help me i'ld appreciate it

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

    thaks for your effort to share knowledge with us

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

      Sure thing, no big deal! It's good if my hobby of making those videos helps out

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

      @@hegamurl7434 don't forget to make an application an industrial situation as possible

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

    Hello Sir, Can you make a Video of Siwarex wp231 Programming, explaining data Record settings?

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

    Plz guide, et200 series plc with analog input, but value of is showing 0. But mA is provided at the input side

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

    Hi
    I have a question please
    Can I execute a jump command inside an hardware interrupt?

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

    Nice video. Thank you.
    Can you make a video to download program in remote plc with router.

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

    whats the application of ATTACH and DETACH?

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

    Hi Hegemurl!
    As fas as I understand, I can creat OB40 for stop emergency and I0.0 as input channel, and I connect my EmergencyStop button to I0.0. Every time I push the button, programe in OB1 will stop. Is that correct?

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

    I use I0.0 as an interrupt input but also as an ordinary input elsewhere in the program. Is that allowed?

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

    Nice video...Do you have one with an example using a "DRUM'' block

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

      Hi Ntombo! I have never used the "DRUM" sequencing block. But it looks quite interesting, I might look into it and make an example at some point. The problem I've got in this block is that TIA Portal lists it in "Legacy", which means it is an old type of block/programming that is not used anymore these days and/or there is a better alternative for it. I try to avoid those "Legacy" blocks as much as possible... but it still looks interesting, so I might look into it!

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

    What happens if the hardware interrupt is being in loop processed ... ?? i mean how to ensure that the main OB are processed after going in hardware interrupt ??

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

    Hi! How are you connected to your PLC? With WLAN? What is Displaylink Network Adapter NCM? Is it possible to use wireless connection?

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

    Can we create Hardware Interrupt with basic module?
    for example if we can add a function and give this fuction priority 16 or more.
    or if there is any other way to create Hardware Interrupt with basic module
    Thanks

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

      You can make hardware interrupt using basic modules via software

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

      @@geokou18 Yeah i know we can, but how ?

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

    Hey, you are doing amazing work. It would be great if you could do a video on application example of complex data types. There is no proper info available on it other than the standard declaration of variables.

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

      Hi Bhagyashree, and thanks! There is muuuch to cover when talking about (complex) data types, do you have a specific idea what you need there?

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

      @@hegamurl7434Thanks for the reply!! I was wondering where can we use arrays and structures, how will that be beneficial? I actually couldn't relate it to any industrial use as such, coz if we talk abt PLC data type then that is nothing but a structure in itself then how structure and PLC data type are different from each other? I'm pretty confused here.

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

      @@bhagyashreezaware5314 So looking at the direction of "composite data types", got you! Especially UDT's (User defined data types) are pretty important. I'll put it on my list of things to talk about!

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

      @@hegamurl7434 Yeah, waiting for ur upload on it.🙌

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

      @@hegamurl7434 could you make a video of how analog signals are recieved by AI modules? And how they values are recieved ( i mean their datatypes is it double word or byte)

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

    Hi , I need ask you something about HW Interrupts. Are you reachable somewhere? Thanks

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

    Thanks for this video but whats about electronical hand wheel with A / B signals , it's usefull to use OB40? I like to detect the turn direction with the interuppt signal.

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

      No it will stay on loop and wreck your program. hardware interrupts are not meant for HSC. You can easilly program that in like a single rung

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

    Hi can you make a video on hsc
    Thanks

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

    Excellent Video!

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

    Thanks for your great videos, I really appreciate them... @Hegamurl Just a question. I understand that the hardware interrupt can take place at any time and does not depend on the input's value in the main process image stored every time before the OB1 is executed, but on the current actual state of it. If I want to use that very input in the OB40, do I need to use another process partition image for that input, in order to have the real value of it during the execution?

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

    Great job

  • @jjm.anil1731
    @jjm.anil1731 5 ปีที่แล้ว

    You are really great sir

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

    thank you

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

    To professor please explain OB95 OB91

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

    Thank you !

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

    Please give your valuable suggestions.

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

    Excellent. Did you know that there are no educational videos on this topic?
    Like you, I love automation and gaming.
    And getting to know you is very appealing to me.
    I follow your training.
    Good luck

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

    Great job 👏

  • @jjm.anil1731
    @jjm.anil1731 5 ปีที่แล้ว

    Sir can you make a video on G120 PZD realated how to PZD use .. sir

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

    Very helpful

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

    Hi
    I have one question. You select one chanel so it has one byte how specify which bit work? What if have rise edge in i0.1 instead i0.0?

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

      I have selected ONE input channel (Channel 0, which in this case is I0.0) for rising edge detection. The interrupt OB will only be executed when detecting a rising edge on that input, and won't be called on all other inputs. If you want to select I0.1 instead of I0.0, you would have to select input channel 1. You can do that for all input channels seperately... I quickly show it at 7:18 in the video. If two/more channel should detect the edge, then you can just assign the same OB to multiple channels

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

      @@hegamurl7434 tanx for your perfect answer.

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

    Wow wow wow! Subscribing!

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

    haha Hegamurl in the end of the video :D like and suscribe :D awesome series!

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

    hi can you make a video abut shared device?

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

      Hi Alireza! Good Idea! Unfortunately I currently do not have private access to another PLC/IO Device (for shared devices I would need a third one...). I will try to get my hands on one and make a video on it, but it might take some time

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

    Hi, great videos! Could you make an video where you explain a bigger picture/ overview? Maybe a little background of plc, what are the things one should be able to do for a expert level so on :) maybe too boring to do. Or can write you mail? Br

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

      I take it back, you're doing great lol

  • @jjm.anil1731
    @jjm.anil1731 5 ปีที่แล้ว

    Keep making video on TIA SIR

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

    Exceeeeeeelent ...///

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

    And you dont need to write anything in OB1

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

    Gegroet Kernteam