Arrays, Structures and User Defined Types! How and Why?

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

КОМЕНТАРІ • 71

  • @erolkeyfoglu311
    @erolkeyfoglu311 4 роки тому +2

    106/5000
    I think it has been much more useful than Siemens' help texts. Siemens should thank you.

  • @adrian-stefan3053
    @adrian-stefan3053 4 роки тому +1

    Deine videos sind großartig!!! 👌
    Ich habe andere Leute gesehen, die die Grundlagen und die Verwendung von SPS (TIA Portal) präsentieren, aber von ihren Videos, ich habe nicht so gut verstanden wie aus Deinen Videos.
    Es hilft mir persönlich sehr! Die Art und Weise, wie Du es mit Beispielen, und alle der rest ist TOLL.
    Ich kann Dir nur sagen, aus meinem Herzen ein aufrichtiges 'DANKE'.🍻

  • @oogalook
    @oogalook 4 роки тому +3

    Thanks for another really helpful video! You always move at a perfect pace and cover all of our questions.

    • @leoantonio5477
      @leoantonio5477 3 роки тому

      i dont mean to be so off topic but does any of you know of a way to get back into an instagram account?
      I was dumb forgot my login password. I appreciate any tips you can give me.

    • @carterandy7202
      @carterandy7202 3 роки тому

      @Leo Antonio Instablaster :)

    • @leoantonio5477
      @leoantonio5477 3 роки тому

      @Carter Andy I really appreciate your reply. I found the site on google and im in the hacking process atm.
      Seems to take a while so I will reply here later when my account password hopefully is recovered.

    • @leoantonio5477
      @leoantonio5477 3 роки тому

      @Carter Andy it did the trick and I actually got access to my account again. I'm so happy!
      Thanks so much you saved my ass :D

    • @carterandy7202
      @carterandy7202 3 роки тому

      @Leo Antonio You are welcome :)

  • @gpmscosta
    @gpmscosta 3 роки тому +2

    Having to be able to change, add or remove variables from tons of states or different machines in huge projects, I find UDTs quite useful. Arrays and structures are interesting too, you can make arrays or structures of different UDTs, it's quite useful. Thanks for your lessons, Hega!

    • @silentbob1236
      @silentbob1236 3 роки тому +2

      I just started usinng structures and I love them. I set each of my IO points into a structure with multiple other structures storing the scaling values, alarms setpoints, config info, smoothed values, ect. It makes it really easy to find tags, and entering multple tags into a functon is cut way down. You also pass all of the information to the HMI with one tag. If you add another tag to the stucture, all you need to do is reupload, you dont need to add the tags to the HMI.

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

    really helpful video sir .
    respect & love from India.

  • @saeed2tube
    @saeed2tube 5 років тому +7

    Hi.
    If you can please make clip about indirect addressing.🙏

  • @zebulonzhou6912
    @zebulonzhou6912 4 роки тому

    You are a good teacher. Like your videos very much.

  • @gianzap
    @gianzap 4 роки тому

    hi,im italian technician,thanks for your wonderful work in all your videos...thanks very much
    you are the best guide to my study..(sorry for my bad english)

  • @losantonio9049
    @losantonio9049 Рік тому

    Thank you sir!
    Please make a video how to address variable datatype nested inside structures to hardware.
    For example how to address start and running bool datatype to hardware addresses.
    Thank you in advance! Great work!

  • @Youness-Ladib
    @Youness-Ladib 5 років тому +3

    Hi, I find your videos so much useful thanks for you're explanation and videos about Tia Portal
    I just went if you can talking about sinamics and simotion and communication with plc

  • @owinookello9358
    @owinookello9358 2 роки тому

    this guy is great good educative videos thanks sir

  • @MrPyroman420
    @MrPyroman420 11 місяців тому

    Thank you So Much. Your video's are really helpfull to me. Very clear and easy to follow and listen to.

  • @dnyaneshwargobade7846
    @dnyaneshwargobade7846 3 роки тому

    Sir, You are really awesome.

  • @marvinn42
    @marvinn42 2 роки тому +2

    There's another type of Structure - which uses the AT system - Could you do another video to show us how that works - Thanks for a great set of videos

  • @ATOMACH
    @ATOMACH 3 роки тому

    Thank you....made it easy to understand

  • @bhagyodayasinghjadhav
    @bhagyodayasinghjadhav 3 роки тому

    Thank you sir...
    Very nice explanation

  • @neelsherman6436
    @neelsherman6436 2 роки тому +1

    Hi, Like the way you explain things. Can you think of Making a video and explaining when do you select retain and setpoint etc. in a data block ?

  • @raviteja-sz9jt
    @raviteja-sz9jt Рік тому

    Nice video . Is Tia supports muti dimensional array ?

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

    Helo, very good video!!!
    I have a very old and frustrating question. When use PLC tag and when Data blocks?

  • @ajayogliya7287
    @ajayogliya7287 3 роки тому

    Thank you sir this video's is vary help full

  • @marouanebayad
    @marouanebayad 4 роки тому

    thanks you so much for your explaining and efforts you done a great job...keep up

  • @Michal-l6b
    @Michal-l6b 10 місяців тому

    super job. Thanks!!!!!!!

  • @suriyat8773
    @suriyat8773 2 роки тому

    Thank you

  • @georgeabalon6481
    @georgeabalon6481 4 роки тому

    Nice video. Very helpful

  • @framos9991
    @framos9991 Рік тому

    Helpful! Thanks!

  • @gajendram6462
    @gajendram6462 3 роки тому

    Superb sir

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

    Super cool

  • @condaungayxuaay
    @condaungayxuaay Рік тому

    Thanks

  • @nazimmirza9421
    @nazimmirza9421 5 років тому

    Kindly make a vedio on memory bits and how adressing is done in TIA portal.

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

    Can you please upload those symbol tag table which would be helpful

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

      I unfortunately already deleted the project (at least I can't find it anymore). I am currently working to create a forum where I can share future content!

  • @A_O-o3p
    @A_O-o3p 2 роки тому

    @hegamurl can you do indirect addressing video please

  • @0Nadim0
    @0Nadim0 Рік тому

    very useful content, thank you so much!
    plus, can you leave your linkedIn link if you're using it? thanks!

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

    Perfect

  • @machineryoverhaulretrofitm6607
    @machineryoverhaulretrofitm6607 2 роки тому

    u r always great

  • @CosminRusu154
    @CosminRusu154 3 роки тому

    Thank you!

  • @maxpenfold8699
    @maxpenfold8699 4 роки тому

    Sehr gutes Englisch und super Video.

  • @suganthivid
    @suganthivid 2 місяці тому

    Most usefull fhanks

  • @SudaXzzz
    @SudaXzzz 2 роки тому

    Lifesaver

  • @familjen5863
    @familjen5863 3 роки тому

    hi!
    can you do the difference betweeen a local and global variables

  • @mahmudrajon9104
    @mahmudrajon9104 4 роки тому

    Very helpful.

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

    How could we save the UDT and use in another project ?

  • @ArtWolfProductions
    @ArtWolfProductions Рік тому

    Hi, I have a Boolean in my PLC data type "logging". I have a DB "Sensorlogging" with a Production Array of type "logging". In the "logging" PLC data type there is a boolean. I want to log and write the status of the boolean to Sensorlogging.Production[0].Sensor_Pot
    I tried:
    A Sensor_Pot
    T Sensorlogging.Production[0].Sensor_Pot
    This doesn't seem to work as it wouldn't allow me to transfer a bit.
    Any suggestions?

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

    Hello! I come back with another question:
    I use a TCP conexion for a PLC 1200 as server: sometimes i have a time out error, the client send a disconnection request, after that the PLC send the keep alive bit and the CLIENT accept the bit keep alive, so the PLC don't start another connection. Can you help me to explain better this situation or to have a solution for this problem?

    • @hegamurl7434
      @hegamurl7434  5 років тому

      Hmmm I don't exactly get the problem, your PLC does not want to disconnect? Sounds very strange (a lot of those things are automatically handled because you use "TCP").
      There is a lot of diagnostics already implemented in TIA Portal that might help... I explain the most important thing here: ua-cam.com/video/8qkmAO7Ey_w/v-deo.html
      Maybe that helps!

  • @ИсламОспанов-л1ц
    @ИсламОспанов-л1ц 3 роки тому

    Can not find video of summing over all array values, whatever thank you from Kazakhstan for helpfull video!

  • @mkrisan
    @mkrisan Рік тому

    Could you please explain ANY pointer. Vielen Dank

  • @binarynumbers7681
    @binarynumbers7681 4 роки тому

    What's the actual difference between using a Struct compared to a UDT? Can't understand the differences and when to use which?

    • @ВадимПешков-ь7ж
      @ВадимПешков-ь7ж 4 роки тому +2

      If you change the UDT (for example add a new variable) it will take effect in all affiliated structures. UDT is something like a template for structures.

  • @Generation_X_Gaming
    @Generation_X_Gaming 4 роки тому

    Hallo Hegamurl,
    Ich habe eine Frage an Sie,
    Ich möchte Conveyor Position über Encoder Überwachen,aber es gibt ein Problem!
    Obwohl ich HSC aktiv habe und die Adresse (Dint) ID1000 ins Variablentabelle rein geschrieben habe, Program sieht das nicht!
    Factory IO 2.4.0 und TIA V14 die frage ist, kann ich überhaupt Position siehen über Simulations Programe?
    Also Encoder Signal A Bool
    Encoder Signal B Bool
    HSC Hw id 257
    Typ Count
    Operating A/B Counter
    Initial Count Up
    I/O Adresse Dint(ID1000)
    Komischeweise Signale A und B sind am Blinken, aber keine Position zu siehen
    Können Sie mir Helfen um rausfinden wo das Problem liegt?
    Danke im Voraus

  • @jeffreydijkstra3391
    @jeffreydijkstra3391 3 роки тому

    Very usefull thnx! , btw does anyone know if it is possible to create a GUID? a random generated number datatype?

  • @mr.write1433
    @mr.write1433 6 місяців тому

    wow nice

  • @photosapientt
    @photosapientt 4 роки тому

    How can I use index as a variable within an array without using SCL?

  • @yokeshbalajiravichandran2934
    @yokeshbalajiravichandran2934 4 роки тому

    can you make a video on array in scl language

  • @johanneskampfl6794
    @johanneskampfl6794 2 роки тому

    Best

  • @AkhilPG369
    @AkhilPG369 4 роки тому

    Hi
    What if we use struct inside an array of 50 struct?

    • @AkhilPG369
      @AkhilPG369 4 роки тому

      Tell me about using the array and struct for communication for any type

  • @trollquantum
    @trollquantum 4 роки тому

    And what about instance DB?

  • @BerryBagmeijer
    @BerryBagmeijer 2 роки тому

    Don't forget that UDT's can have a default value...

  • @mahsahassani1475
    @mahsahassani1475 3 роки тому

    Hi Philip. Thank you for your good videos. Can you put the subtitles in English To be translated correctly into other languages. Dankeschön :)

  • @yoghurtedchikenpneumatics749
    @yoghurtedchikenpneumatics749 4 роки тому

    hi, i have a comment

  • @АллаКлевер
    @АллаКлевер 7 місяців тому

    A lot more better IF you forget about LAD at all an will do (and remske this video) just on SCL. This ugly conseption run FBD (that created on SCL) in LAD... Oh shoot... Just SCL please!

  • @santoelectron
    @santoelectron 2 роки тому +1

    Please make the videos much shorter by editing them. Your videos are good but have info not needed to be explained for so long. Thanks