检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《组合机床与自动化加工技术》2009年第7期97-99,共3页Modular Machine Tool & Automatic Manufacturing Technique
摘 要:文章将结合国内某汽车空气滤清器生产线,详细介绍如何进行面向对象编程、面向对象编程中硬件对象和流程对象的创建步骤以及这两种对象间数据的传递方法。实践证明,在大型工业控制系统中,由于该方法类似于高级编程语言中类的思想,把控制系统划分成设备硬件类和流程控制类,极大方便了程序的编写和维护,并提高了程序的可读性和开发效率。在做设备性能扩展时,只需对已有的类进行实例化,就可轻松扩展该系统中已有的类对象,此外,文中还给出了新方法的特点。The paper presents how to do object-oriented programming, the setup process of hardware Class and flow control Class, as well as how to transfer value between Objects with the application of a PU air filter product line. It is proved that it' s much more convenient and easier to read and maintain the program as a re- sult of adopting object-oriented program method. Classes are divided into hardware Class and the flow control Class. We can easily expand original system or rebuild a new factory automation system by instancing the Class. It also presents the character of the new programming method.
关 键 词:可编程序控制器 编程 面向对象 中断 固定周期扫描
分 类 号:TH16[机械工程—机械制造及自动化] TG65[金属学及工艺—金属切削加工及机床]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.42