How is C++ used in PLC programming?

Поделиться
HTML-код
  • Опубликовано: 4 июн 2024
  • Ever wondered how C++ is used in PLC programming? Traditional PLC languages can fall short, and that's where C++ comes in. Vendors like Siemens (ODK) and PLCnext (SDK) offer tools to integrate C++ projects easily.
    No need to be a C++ expert-just copy, paste, and deploy through Eclipse IDE.

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

  • @darthenx2585
    @darthenx2585 Месяц назад +5

    When I was in engineering school for automation a lot of my classmates thought they could do good in the field because they were good at copying and pasting 😂
    But I warned them to get good at logic break down and problem solving because most programs are done in ladder and or structured text.

  • @OmarTarekPianist
    @OmarTarekPianist 29 дней назад +1

    There is also snap7 for python and Siemens. Very solid 👌

  • @theintjengineer
    @theintjengineer Месяц назад +1

    Could you showcase Siemens ODK with a C++ Project, etc., just as a short intro as to how one could start getting into that?
    Thanks.

    • @realpars
      @realpars  29 дней назад +1

      Thank you for your topic suggestion, I will happily go ahead and forward this to our course developers as a topic suggestion.
      Thanks again!

  • @tomyoung8563
    @tomyoung8563 26 дней назад

    Cool information
    Thanks

    • @realpars
      @realpars  24 дня назад +1

      Happy learning!

  • @NabiruBogdan
    @NabiruBogdan 12 дней назад

    More please

  • @anandaditya479
    @anandaditya479 Месяц назад

    Hi, can you give examples where C++ logic is used in PLC

    • @realpars
      @realpars  Месяц назад +1

      Hi there ! Thanks for reaching out.
      There are lots of applications that use C++.
      For example, a simple C++ program can provide logging data of machinery or component operations. Maybe you want to know when a motor turns on and for how long. Or perhaps you want to know if and when a certain temperature device is tripped.
      As a more complex example, consider a chemical processing plant controlling a reaction process using complex equations to model the reaction rates. A C++ program can be used to solve these equations and feed control parameters to the PLC for field device actions.

    • @anandaditya479
      @anandaditya479 Месяц назад

      @@realpars Thank you for your response. In the industry, conventional practice involves using historians in SCADA systems for the first example, and employing model predictive control through APC (Advanced Process Control) software for the second.
      I understand the familiarity and versatility of C++. It can be useful for early prototyping, especially when budget constraints prevent the use of commercial software licenses.
      However, I remain somewhat unconvinced about the use of C++ in programming PLC for process control, it is hard for me to think of tasks which aren't being automated or controlled out-of-the-box programming software.
      The only scenario where I see C++ being used is in solving real-time inverse kinematics for motion control. Even then, if the complexity increases and faster calculations or scan times are required, a PC-based control system might be a better choice.

  • @bumgunp
    @bumgunp 29 дней назад

    if the logic needs to be coded in C++ using plc, I would rather draw line as impossible...