Absolute Beginners guide to Siemens PLC Programming // SCL

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024

Комментарии • 77

  • @ternbartolovic4041
    @ternbartolovic4041 5 лет назад +3

    I am quite troubled by the jump at 15:45. The video shows it as an error (red underline) and by typing exactly what is found there I could not get the program to compile. As an actual beginner it would have been very useful to see the complete process for creating that function call.

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  5 лет назад +3

      Tern Bartolovic you have to define the function in the static area first, data type has to be the fb name. Sorry for the confusion. First define -> then call

  • @mohayes459
    @mohayes459 4 года назад

    Very good video. I am new to Siemens PLC's, this is an excellent introduction. Followed your tutorials (but also hacked forward alone) - downloaded the simulator - worked first time!!! I will be completing all of your tutorials - THANK YOU!

  • @alexyousefian8819
    @alexyousefian8819 4 года назад

    Mike, I been programming for a while, but this one is helping me get into writing more SCL code. I'm really trying to sink my teeth into it for 2020 cause I know it can be very powerful when compared to writing everything in ladder logic. I really appreciate this video, great job!

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  4 года назад +1

      Alex Yousefian I hear you. It’s extremely powerful for data processing functions where trouble shooting actual tasks is not an issue. The reason ladder logic is used in the first place is to make it easier, more visual for the maintenance techs. We can do so much more in SCL and with less code than in ladder logic.

    • @alexyousefian8819
      @alexyousefian8819 4 года назад

      @@SiemensPLCTraining2021 Definitely! I just started a new project that's partly based off an older machine written mostly in ladder, but I'm forcing myself to write it in mostly SCL (that is if I can make the deadline of course!) I also just picked up "PLC Controls with Structured Text" by Tom Mejer Antonsen and am using it for examples. If you know anywhere else I can get some SCL examples please let me know! -Alex

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  4 года назад

      Alex Yousefian keep is useful though. Use ladder where people have to troubleshoot. Use scl where it does make sense. I’m not a fan of STL. I wish it would go away. Most people can’t read or write it and it’s very confusing at times.

  • @andregrobler4393
    @andregrobler4393 3 года назад +1

    Many thanks. Excellent presentation.

  • @ThrorimWoW
    @ThrorimWoW 6 месяцев назад

    I am still hard stuck at 15:45 as user in pinned comment. I still don't get the call function to work. The explanation you gave: "you have to define the function in the static area first, data type has to be the fb name. Sorry for the confusion. First define -> then call"
    Could you explain this more step by step? Love the videos - complete beginner here

  • @lawtonsegler1923
    @lawtonsegler1923 6 лет назад +1

    Great presentation. Very very helpful. Thanks!

  • @nabeelahmadkhanjadoon1276
    @nabeelahmadkhanjadoon1276 5 лет назад +2

    if anybody has a problem with calling the "Operating hours" function here what you gonna do.
    The function block where you are calling the operating hours, open the instance dB of same FB where you are calling the "operating hours".(Instance dB will open when you drop down the menu). Now define operating hours under the static interface and set the data type as of FB of which variables are define beyond the calling of operating hours (e.g in this case i_sec, i_min etc function name is SCLOperatinghours counter define this as data type.
    I hope this will help.

  • @sahil8079
    @sahil8079 5 лет назад

    Hey it is awesome to learn from you, cleared my imagination a lot. But here is a small request for you, please make advanced programming for Siemens in tia. We will be waiting for the next level you take us. And language should be ladder also.

  • @A_O-o3p
    @A_O-o3p 2 года назад

    thank you for the video great job

  • @pavankumarganji6217
    @pavankumarganji6217 3 года назад +1

    Hey Mike,
    How are you?
    We met at Team Technik GmbH for Valeo
    Do you remember?😀

  • @Manne-st9mr
    @Manne-st9mr Год назад

    dont understand how this is suposed to be "Better" then fbd. Can make this program in less then 5 min in FBD. But it took me about 15 in SCL with your help that is

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  7 месяцев назад

      There is no “better”. This is just to show you the concept of the different languages. SCL as all other have their place. Depends on the problem you want to solve. Thx for watching.

  • @glenlammers482
    @glenlammers482 5 лет назад

    Mike, I have a question relating to Ladder and SCL. In ladder I created a memory bit on the input side and a discrete output on the output side of ladder. In SCL, when I write the code with memory bit first and discrete output following, the output instruction will not work. If I flip the two instructions it works correctly. Why does it work just the opposite of ladder?
    Thanks,
    Glen

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  5 лет назад +1

      Glen Lammers if you write input := output it actually means move output into input. So the right way would be output:= input

  • @kishore12577
    @kishore12577 2 года назад

    Hi im new to PLC programming kindly guide about the operatinghours FB defining as I am stuck at this

  • @glenlammers482
    @glenlammers482 6 лет назад

    Mike,
    The Call function in Main OB1 is not recognized when i compile the program. Is there a setup issue?
    Glen

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  6 лет назад

      Glen Lammers might be, hard to tell without seeing the program. Please watch the whole course to make sure you didn’t forget something.

  • @johnsincak3877
    @johnsincak3877 5 лет назад

    Will you have any videos up of using the TIA Portal Brewing Template?

  • @glenlammers482
    @glenlammers482 6 лет назад +1

    Mike,
    Are Videos 7 and 8 available to view?

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  5 лет назад

      Glen Lammers Video no 7 is online now, video 8 will follow this week. Thanks for watching.

  • @rincebaby145
    @rincebaby145 3 года назад

    Please send any link . because here not clear on video please

  • @madhavanmaddy4524
    @madhavanmaddy4524 4 года назад +1

    Hi sir thank you
    I want plc software

  • @glenlammers482
    @glenlammers482 6 лет назад

    Mike,
    I continue to get invalid data type errors in the OperatinghoursdevicesSCL function block. In the second line of code, if #"Operating hours" is called, shouldn't the data in the parenthesis be listed in the "Operating hours" function data list as well?
    Glen

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  6 лет назад

      Glen Lammers you have to create an instance of the #”operatinghours” Block in the static of the block where you call it, the data type has to be operatinghours

    • @michelheiz4
      @michelheiz4 5 лет назад

      could you explain this a little bit further?I don't get what you exactly mean .

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  5 лет назад

      If you open the drop down menu in the to of the fb, you have to define a static with the data type of the name of the fb you want to call.

    • @benlee4012
      @benlee4012 5 лет назад

      Ben Lee
      1秒前
      hi,do you have some tutorials about SCL in V14? tks

    • @jeffreyhanson607
      @jeffreyhanson607 4 года назад

      Hello Maik, please I'm a rookie to PLC & your video tutorial happens to be my very first. I've been able to follow with your earlier videos but I'm still struggling with the OperatingHoursDevices FB

  • @anandrao2308
    @anandrao2308 4 года назад

    please share some advance PLC topics

  • @zmajew
    @zmajew 7 лет назад

    Hi. Where did you define #"Operating hours" function block? (16:00)

    • @zmajew
      @zmajew 7 лет назад

      See it now in Static. This is a function made from SCL_OperatingHoursCounter function block. I am a little bit rusty in programming... Best

  • @gost3907
    @gost3907 5 лет назад

    Mike,
    why that red line under #"Operating Hours"? I instantiate SCL_OperatingHoursCounter in static area of FB yet.

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  5 лет назад +1

      Gilmar Jesus hard to tell from here. Check for typos etc. try also deleting the call and call again. The scl language is not as forgiving as LAD for example.

    • @gost3907
      @gost3907 5 лет назад +2

      @@SiemensPLCTraining2021 I just fixed it. Everything is working! Thanks again! .... I'm from Brazil. Think about creating an PLC online course for us. Me and others would buy it.

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  5 лет назад +2

      @@gost3907 thank you for saying that. I'm always happy to help. I am in fact working on an online course. I hope I can finish it before summer.

  • @anandrao2308
    @anandrao2308 2 года назад

    if place #countersecscl in temp then no need to initalize

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  7 месяцев назад

      This is just a concept. In real life, you would user a timer function.

  • @ciprianfc
    @ciprianfc 6 лет назад

    if you use instantiate SCL_OperatingHoursCounter multiple times you will have a problem with R_TRIG_DB_1

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  6 лет назад

      Ciprian Florin Constantin you’re right about that. You have to rewire it as a local static

    • @F1GradPrixMontenegro
      @F1GradPrixMontenegro 6 лет назад

      Can somebody explain how to do it!? Tnx

    • @benlee4012
      @benlee4012 5 лет назад

      hi,do you have some tutorials about SCL in V14? tks

  • @brondeelb
    @brondeelb 6 лет назад

    i have a problem, this is text from (FB3)
    in your video its on time 16:43
    Regard Bart B from Belgium
    OperatingHoursDevicesSCL (FB3),,7,0,8:59:52 PM
    Network 2,Semicolon missing.,,,8:59:53 PM
    Network 2,The formal parameter 'b_device_active' is invalid.,,,8:59:53 PM
    Network 2,Invalid expression 'i_sec => "Times" device 5 sec'.,,,8:59:53 PM
    Network 2,Invalid expression 'i_min => "Times" device 5 min'.,,,8:59:53 PM
    Network 2,Invalid expression 'i_hours => "Times" device 5 hours'.,,,8:59:53 PM
    Network 2,Invalid expression 'i_days => "Times" device 5 days'.,,,8:59:53 PM
    Network 2,Parameters of the function or the function block do not match the transferred formal parameters. ,,,8:59:53 PM
    ,Compiling finished (errors: 7; warnings: 0),,,8:59:54 PM

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  6 лет назад

      Looks like you didn't declare the data in the first place. This is a full course and I declared some of the data in previous videos. Please watch the full course on my channel.

    • @brondeelb
      @brondeelb 6 лет назад

      i do watch all your video's, i work with the PLC 1200 TIA V14
      and sometimes its the program different. for example function Call don't exists for the siemens 1200

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  6 лет назад

      Bart Brondeel just put an empty box in the network where you want to call the FB or FC and type in the name or FB/FC number and it will call the corespondents

    • @brondeelb
      @brondeelb 6 лет назад

      Thank you for the information, its ok now. i really like your video's

  • @femikunle9632
    @femikunle9632 3 года назад +1

    absolute beginners ? And you already created FB and DB before start of the lessons ??

  • @rincebaby145
    @rincebaby145 3 года назад

    Video not clear

  • @hcowen7
    @hcowen7 5 лет назад +1

    Uhmm...

  • @edmondstrelnikov8378
    @edmondstrelnikov8378 6 лет назад +4

    Mike, your intentions are laudable , i.e. creating all these videos to help people to learn to programme using STEP 7. However, your videos are unbearable for me, due to those awful pauses you make when speaking. You sound as if English were not your first language, which I am sure it is, but it should take you half the time to convey your messages to your audience if you could speak without those awful pauses and hesitations. Make your speech more fluent, that will make a heck of a difference.
    Don't get me wrong, I think that what you are doing is great, but for God sake, it can be a lot better.

    • @SiemensPLCTraining2021
      @SiemensPLCTraining2021  6 лет назад +1

      I'm sorry listening to me is so awful for you. I'll do my best to improve that, and no, you're wrong, English is not my first language. Its German ;)

    • @edmondstrelnikov8378
      @edmondstrelnikov8378 6 лет назад

      OK, that explains those pauses and hesitations and my hunch that you did not sound as an English native speaker, however your good pronunciation deceived me. Anyhow, you don't sound German, more like an American accent. Keep making this sort of videos, but improve your fluency to make them shorter and more pleasant to your audience.

    • @parisgr99
      @parisgr99 6 лет назад +1

      This is the least problem, your pronunciation is more than enough. Why you people focus on so minor issues is to wonder. Nice job Mike, and thanks.

    • @michelheiz4
      @michelheiz4 5 лет назад +1

      Edmond, think about all non English native speakers.For me (Swiss) and many others, his way to speak is perfectly fine.Otherwise, I wouldn't understand as much as I do now.Vielen Dank Mike für diesen grossartigen Kurs!!

    • @joeslam5
      @joeslam5 5 лет назад

      I couldn’t even watch 5mins. Sorry mike. I just don’t find the use of many “likes”..attractive 🙊, hope this doesn’t stop you from uploading more

  • @joeslam5
    @joeslam5 5 лет назад

    The use of too much “Like Like Like Like..”..put me off