Complete CODESYS tutorial how to use UP/Down and CTUD counters | Ladder Logic PLC programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ธ.ค. 2021
  • Complete CODESYS tutorial how to use UP/Down and CTUD counters | Ladder Logic PLC programming
    ++++++++++++++ AWESOME courses
    Now you can purchase these courses from www.plcgoods.com
    1- Complete programming Siemens S7-1200 PLC & KTP 400 HMI device course
    A 12:37 hours course / 44 complete videos
    2- Complete Programming Siemens Simatic S7-300 PLC course
    An 8:00 hours course / with 23 videos
    3-Allen Bradley PLC training - RSLogix 500/5000 series
    A 9hr/11min course/with 32 videos
    4-"CODESYS PLC programming tutorial for beginners"
    A 6:34 hours course / with 21 videos
    5-"Camtasia Mastery training course"
    A 2:30 hours course / with 10 videos
    6-Affiliate link to purchase Factory IO software
    factoryio.com/url-action?ref=...
    #plcgoods #plcprogramming #codesys
    -----------------------------
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Hello,
    please change the name of the video to represent Function Block not counters, thank you for the tutorial

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

      Thanks for suggestion! 👍👍

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

    Hello, the signals declared as outputs: Fill_Valve and Discharge_Valve should not be declared as input_output?, since in the program, in addition to being written, they are read, they are consulted within the FB...

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

      Hi there, your right. In this project, we can also define these 2 variables as Input-Output variables. Note that, because the Function block stores its output variables, my program is working correctly as well (time 1:37 to 1:50)

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

      @@plcgoodsteam8934 , So Codesys and Siemens work differently? Since in Siemens if you have a variable that is read and written within an FB, it must be declared as input_output, doesn't the same concept apply to Codesys?...

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

      @@Runtimevic Hi there, I've tested the program using Function-Block (FB) and the S_PEXT timer in Step7. It works as well as my code in CODESYS. In my opinion, both of them (FB blocks in both CODESYS and Step7) store their outputs and during the next scan cycle, they can use them. IN-OUT variable is used when we want to pass a data to a FB block, process its value, and then store the result in the same variable (not in a new variable).

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

      Thanks for checking out the channel!

  • @AA-nq8ec
    @AA-nq8ec ปีที่แล้ว

    In 17:22 - 17:28 how did you manage to turn the fill into True? When i double click i just get FALSE . Please help.

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

      Hi there, As I've mentioned in the previous videos of the Codesys course, after double clicking, press "CTRL"+"F7" on your keyboard.

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

      Thanks for checking the channel!

    • @AA-nq8ec
      @AA-nq8ec ปีที่แล้ว

      @@plcgoodsteam8934 How did the discharge valve automatically change to true when the fill was pressed? All the values are still false after I press the pushbutton?

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

      @@AA-nq8ec Hi there, I've explained all part of programs during the video. I think your problem is related to running and simulating your programs, not the logic of your code. Please see the first videos of our CODESYS course to ensure that you can simulate a simple program without any problem, or please clarify your problem for us to answer it.

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

    Sir multi blade bridge saw machine program please

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

      Hi there, I don't know what program you want. In this video, I wrote a program to control 2 tanks that its programming steps were explained. do you want it?

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

      you question is answered, check it out

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

    Hello sir multi Blade stone cutter machines plc program

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

      Hi there, I don't know what program you want. In this video, I wrote a program to control 2 tanks that its programming steps were explained. do you want it?

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

      you question is answered, check it out