- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
PLC的面向对象编程(国外英文资料)
PLC的面向对象编程(国外英文资料)Object-oriented programming is a kind of advanced computer high-level language programming model, in the industrial control system of PLC program also can use this kind of design thought, although we cant realize the object-oriented many excellent characteristics such as inheritance, even it does not have the characteristics of object-oriented programming language, but the basic concepts of object-oriented programming is a class and instances of the class (object), we only need to use this concept. We need to put some things in the computer programming abstractions and generalizations, to write a class, and in the industrial control system, control object, such as: motor, valve and so on are obvious control category, dont need abstraction can obviously against it to write a class, the following will use Siemens Step7 programming language and the Unity of schneider PLC programming language to explain the object oriented programming.implementationUsing function block (FB) in Step7 programming, people will think of when it comes to the modular programming, put forward by the Siemens is good, this is the modular programming, but Siemens proposed modular, background data block, multiple backgrounds nouns cannot let everybody understand understand and use the excellent design concept. If you understand this from an object-oriented programming perspective, this design pattern is well understood. FB look into a class, it can be as a control object code for similar induction, such as the MM440 frequency changer can write FB: MtrMM440, this is called the class in object-oriented programming, when need specific programming control motor, can be assigned to it a background DB block, called class implementation in object-oriented programming (i.e. create instances of the class: object), when more than the need to control motor, you can assign a different background DB to this FB block, namely to create multiple instances of the class. There is another block in
您可能关注的文档
最近下载
- 2025最新高级生命支持(ACLS)理论考核试题及答案.docx VIP
- T∕CCSAS 001-2018 危险与可操作性分析质量控制与审查导则.pdf
- 07J912-1变配电所图集.pdf VIP
- 基于PLC控制的小车自动化送料系统设计(毕业论文).doc VIP
- 2025北京海淀高一(下)期末数学试卷含答案.pdf VIP
- 中国社会的不婚现象:现实与潜在影响探讨.docx VIP
- 2025最新高级生命支持(ACLS)理论考核试题和答案.docx
- 5.2《稻》《作酢法》+二则(知识清单)-【中职专用】高二语文(高教版2023拓展模块下册).docx VIP
- 2025年非车险考试题 .pdf VIP
- GB50016-2014 建筑设计防火规范(2018年版).docx
文档评论(0)