|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/plc-structured-desig-no-more-ladder-logic-spaghetti-code/
课程评论:没有评论
**课程名称:** PLC CODESYS - 基于ST的高级软件结构化设计 **课程概述:** 本课程旨在帮助学员摆脱传统PLC编程(如Ladder Logic、CFC)中因复杂算法和客户需求频繁变更而产生的“意面代码”困境。课程强调学习**模式化编程(Pattern-based programming)**,将PLC软件设计类比为组装拼图,通过设计独立的“代码块”并巧妙组合,构建强大且易于维护的PLC软件架构。 课程将从**单元函数(unit functions)**的设计入手,逐步构建**组件(components)**,进而形成生产线上的**机器(machines)**,最终完成**控制器(controller)**的构建。这种结构化的方法使得任何部分的修改都变得极其简单,避免了耗费大量时间调试或重写整个程序的麻烦。 本课程教授的知识和技能具有普适性,可应用于任何支持**CFC**和**Structured Text (ST)**语言的PLC平台,包括Codesys、TIA Portal、Beckhoff等。学员将通过大量的**Structured Text**和**CFC**实践,掌握流行的设计模式。 **核心内容:** * **解决“意面代码”问题:** 克服Ladder Logic和CFC语言在复杂逻辑和频繁变更下的维护难题。 * **模式化编程:** 学习像拼图一样组合代码块,构建灵活、可扩展的PLC软件。 * **分层设计:** 从单元函数到组件,再到机器和控制器,逐步构建软件结构。 * **易于修改和维护:** 显著提升软件的可维护性,降低修改成本。 * **跨平台应用:** 适用于支持CFC和ST语言的各种PLC平台。 * **Hands-on实践:** 大量Structured Text和CFC的实践练习。
You are on this page, so you probably know that writing a PLC code that gets the job done, is sometimes not really super complicated.You are also probably aware that customers tend to change their minds quite frequently about the PLC design and the system algorithm.If that's the case, then you are definitely aware that changing a complicated algorithm written in Lader Logic or even CFC languages is not that of an easy task. Especially when dependencies in your code are high. Well, that is what we call a Spaghetti Code. It is a code, that basically gets the job done. But it lacks all the extendHere I am presenting you a solution, a way to elevate above the masters of PLC programmers. Learning Pattern-based programming is like designing a puzzle-based design, where you design individual code pieces and fit them together to create a powerful PLC software infrastructure. We will first start the design by creating unit functions, building them up to components that form the machines in the production line. And finally the controller. Modifying any piece of these would be so easy that you won't have to scratch your head for hours trying to figure out how to modify your algorithm or even worse deleting the whole thing. We all been there once!This knowledge can be applied to any PLC and any platform, be it Codesys, Tia portal, Bechoff or any brand that supports the following languages:CFCStructured TextYou are going to master a very famous design pattern including extensive hands-on Structured text and CFC.I hope to see you all in there!