




已阅读5页,还剩10页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
西安科技大学毕业设计(论文)外文翻译题 目 PLC系统的功能院、系 (部) 机械工程学院专业及班 级 机械设计制造及其自动化(0808班)姓 名 唐志勇指 导 教 师 朱华双 7.5 PLC System Functions system has advanced to become an open PLC system that can meet the following requirements:1. Portability: The PLC program can be operated and is reusable regardless of PLC system and maker.2. Connectivity: Communication (data transmission) between PLC systems whose makers are different should be guaranteed.3. Standardization: The user interface and programming language are unified regardless of system and maker. For example, the PLC systems and programming languages mentioned in previous sections are not compatible with other systems and languages that other makers provide. Therefore, users should learn the makers own programming languages. It is also very difficult for third parties to understand and modify PLC programs. In addition,when a new function is added, it is almost impossible to guarantee successful execution within a specified time. To overcome these problems, the activity for standardizing programming environments for industrial automation equipment was started and the IEC, (International Electromechanical Commission), established IEC1131-3 in 1993. The standard IEC1131, is the international standard for PLC, consisting of five parts and IEC1131-3 is one of the parts of which IEC1131 is composed.1. IEC1131-1: PLC General information.2. IEC1131-2: Equipment and test requirements3. IEC1131-3: PLC programming language4. IEC1131-4: User guidelines5. IEC1131-5: Communications IEC1131-3 is the international standard for programmable controller programming languages. It specifies the syntax, semantics and display for the following suite of PLC programming languages: 1) Ladder diagram (LD), 2) Sequential Function Charts (SFC), 3) Function Block Diagram (FBD), 4) Structured Text (ST), and 5) Instruction List (IL). If we use IEC1131-3 to edit a PLC program, it is possible to obtain the following advantages:1. Because syntax and semantics are unified, it is possible to generate a program that can be operated on all makers systems and the program can be executed regardless of maker.2. It is easy to maintain the program.3. Because the standard supports the structured programming method, any complex program can be edited in easily understandable and structured format and can easily be maintained.4. Due to the rigorous syntax and semantics it is possible to reduce program error.5. The standard makes modulation of a program easy and it is possible to increase the efficiency of programming using program modules. However, the following disadvantages have been identified:1. Compared with the sequence programming method, the programming procedure is complex due to computer programming.2. Much effort is needed to understand and know the grammar of the programming language.3. Due to the rigorous grammar, the flexibility of programming is restricted.4. Because IEC1131-3 is heavy, it is not appropriate for application in small-sized PLC systems. IEC1131-3 consists of the configuration model of a PLC system, five programminglanguages, and the common generality of programming languages.The software model and communication model address the name and definition of the parts from which a PLC system is composed and the data transmission mechanism between running programs. In the Programming model, not only basic elements such as identifiers, keywords, data types, and variables but also program elements such as functions, function blocks, programs, resources, and tasks are described as the common factors of the programming language. To understand IEC1131-3, it is necessary to undertake a study of the configuration model, which represents the design concept of a PLC system and includes a software model, communication model, and programming model.7.5.1 Software Model and Communication Model In the introductory part of IEC1131-3 the software model is described and represents the PLC system as a controller with multitasking-enabled architecture. In the software model,1. Configuration is the top-most concept that represents the PLC system and includes all the software that is contained in one PLC system.2. Resource is the element that makes up the configuration and means the functions that a processor board provides. It consists of the software that is needed to execute a PLC program.3. Program means the logical management unit of a user program and is edited by one of the languages specified by IEC1131-3.4. Function block is a key concept of IEC1131-3 and makes a program structured and modularized. It is the logical management unit for data transmission and consists of the data for defining input/output parameters and the algorithms for performing pacific functions.5. Task represents how a program or function block works. It begins iteratively or by a specific trigger.6. Function is one of the elements of which a program is composed. It is different from the function block, and it denotes the software that generates a single output from a specific input.7. Access path does not exist in a single resource system. In multiple resource systems it manages the data of elements and the communication between elements.There are various ways to transmit data in a PLC system. In a program, internal variables are used. To input and output the data to the program, function, and function block, input variables and output variables are used. To share resource or configuration information between programs, external variables that specify them are used. In addition, data transmission between configurations is done by the communication object defined by an access path. Using the access path, it is possible to exchange data between the functions and the programs that are located in different resources or configurations. Comparing PLC systems with the software model in IEC-1131-3, we can regard the controlled system as configuration. Configuration exchanges data or information with other configurations via Access paths (only specific variables can be transmitted via access paths and extended communication functions, as specified in IEC1131-5). This configuration consists of one or multiple resources and each resource consists of one or multiple tasks. Because of the high functionality of PLC systems,multiple processing is required and the CPU board can be regarded as a resource.Each task executes a program or function block based on regular interrupts or irregular triggers. Consequently, this systematic structure makes it possible to execute a lot of individual programs synchronously. In addition, resource has a function for supporting the interface between I/O channel and a program. Furthermore, small-sized PLC systems consist of one processor and one piece of software that controls single operations. A single configuration is formed, even in the case of large-sized PLC systems with multiple processors, a variety of resources (multiple processors) are controlled in real-time. In the case of complicated distributed systems, a system is composed of more than one configuration connected by a network and each configuration can include any resource or program on the network. As is known from the software model, the key concept of IEC1131-3 is to support the structured programming concept. Actually, by using the task, function, and function block mentioned in the software model, it is possible to change the programming style of the user. Therefore, by using IEC1131-3 it is possible to design a PLC system by distinguishing an iterative task and an interrupt-driven task (or event-driven task). Furthermore, it is possible to divide the iterative tasks into tasks with the same iteration time. In addition, by implementing common tasks or programs as functions or function blocks, it is possible to decrease the program size.Consequently, this structured programming method enables the modulation of programs and this modulation increases the productivity and maintainability of large-sized PLC systems.7.5.2 Programming Model The programming model describes the relationship between the common elements of the programming language specified in IEC1131-3. The programming model is based on the concept of derivation and reuse. In other words, the programmer can define new data types from basic data types, new functions or function blocks from basic functions (or standard functions) and can make libraries using them. These libraries can be used not only in an identical system but also in other non-identical systems.The reusability of programs enables advanced programming techniques such as libraries, functions, and function blocks and provides ease and reliability of programming. As mentioned above, as IEC1131 is the international standard for PLC, it consists of a configuration model and a programming model. To build the standard and open system, it is necessary for the PLC system developer to design the system and the functions based on IEC1131. It is also necessary to design the interpreter for the standard programming language. As well as programmers or system designers, it is also necessary for system users (operators) to understand the key concepts and Functions.7.5.3 User Programming Languages In IEC1131-3, five programming languages (actually, four languages and one common element) are specified; LD (Ladder Diagram), IL (Instruction List), ST (Structured Text), FBD (Function Block Diagram), and SFC (Sequential Function Chart).The user can select the appropriate language depending on the characteristics of the program. Actually, SFC is not a programming language for implementing the control program,but the representation tool to depict all sequences of a control program. SFC classifies continuous tasks into Steps as well as Transitions, which are the conditions for shifting between steps, and Actions, being the job to be performed at a step. In other words, SFC is composed of multiple steps, the module of a program, an action block associated with a particular step, and a transition to represent the condition for shifting between steps. This graphical representation method is based on Petri-nets or IEC848. SFC can be used not only by itself but also with other program languages specified in IEC1131-3. Therefore, SFC is used as a common element in IEC1131-3. SFC supports not only conditional sequencing but also parallel sequencing where one sequence monitors or executes a background task simultaneously with another performing the main control. For effective programming, it is necessary to reuse functions or partial programs. For this, functions, function blocks, and programs are reused in application programs. A function is composed of basic functions such as ADD, ABS, SQRT, SIN, COS and user-defined functions. A function block contains data and algorithms, as semiconductor hardware, which enables the specific function. It can be reusable in other application programs. In addition, Functions, function blocks, and programs are common elements that can be used in all programming languages specified in IEC1131-3. Besides SFC, the possibility of powerful data addressing is another common element.It is used to prevent a programmer from substituting (allocating) a different data type to a variable. Boolean type, integer type, byte type, word type, date type,and date-time type are defined as the data types of IEC1131-3. Local variables and global variables can be used as variables in IEC1131-3. A local variable is a variable that can be used only within software elements where it is defined. Global variables mean variables that can be used over whole software elements. It is also possible to define direct pointer variables that refer directly to memory locations. The key characteristics of the four languages specified in IEC1131-3 are summarized in Fig 7.10. With the above-mentioned common elements. For convenience of understanding, the program that sets or resets the output port depending on the type of input is edited by four languages and the basic format of each language will be described. Among the four languages, IL (Instruction List) and ST (Structured Text) are textual languages, while the Ladder Diagram and Function Block Diagram are graphical languages. In the late 1960s, after GE powertrain introduced the concept of the PLC system that replaced the relay board, PLC systems that control a variety of processes by using simple sequence programs has been widely used for 40 years. However, as the controlled systems have become more complex, faster, and larger, the demand for openness and standardization of PLC systems has increased. To meet this requirement, the PLC system has been changed from a hardware-based system to a software-based system. Consequently, Soft PLC systems, which operate from personal computers and enable logical sequence control functions in real time, were introduced. With the advancement of the PCs performance, Soft PLC systems have come to provide not only conventional sequence control functions but also easy user interfaces, network communication functions, and advanced functions for factory automation. In Soft PLC systems, the basic and advanced functions of PLC and communication functions are executed by one processor module, except for input and output modules. It is possible to make a standardized PLC system based on the software model and programming languages specified in IEC1131-3. Figure 7.11 shows an example of a Soft PLC that has been applied to the transfer line in Ford Motors. In this system, the interface board that can be connected to various I/O devices is built into a PC that contains the Soft PLC system. This system is a good example of a Soft PLC system that satisfies the openness requirement by using PC hardware. To develop a soft PLC system, real-time operation and reliability of response, which are key requirements for industrial PLC systems, should be guaranteed. Basically, though, PC operating systems cannot satisfy these. However, the non realtime property of DOS or Windows OS can be overcome by various methods and the method of designing a soft PLC system will be described together with design of Soft-NC in the later in this textbook. In Soft-NC, a PC is used as the hardware platform and all CNC functions including PLC functions are implemented in software. In this point, Soft PLC is very similar to Soft-NC. Furthermore, Soft NC includes more functions than Soft PLC, used for NCK control and MMI. Therefore, if NCK functions and MMI functions are omitted or simplified from Soft NC, Soft NC and Soft PLC can be regarded as the same system. Soft PLC which is made by a user interface and the PLC kernel based on the IEC1131-3 can be regarded as partial systems of Soft-NC. Figure 7.12 shows the open CNC system of MDSI. The figure shows that the CNC system consists of Interpreter , Servo controller , Interpolator for NCK, user interface for MMI, Soft PLC for PLC, and Apis for external users. This model shows that Soft PLC is one of the software modules from which a CNC system is composed. If you want to know more details about the hardware configuration and software of a Soft PLC, please read other references about Soft-NC and Open CNC systems.7.5 PLC系统的功能PLC已成为一个开放的先进系统,可以满足以下要求:1.可移植性:不管PLC系统的制造商,PLC程序能够运行和可重用。2.连通性:PLC系统的通信数据传输不同时应保证其制造商。3.标准化:无论系统和制造商,用户界面和编程语言是统一的。 例如,前几节中提到的PLC系统和编程语言与其他系统和其他制造商提供的语言不兼容。 因此,用户应了解自己的编程语言的制造商。第三方亦是理解和修改PLC程序十分困难。 此外,要添加新的功能,且保证指定的时间内成功执行这几乎是不可能。 为了克服这些问题,规范工业自动化设备编程环境,IEC(国际机电委员会)1993年成立IEC1131-3。标准IEC1131,PLC是国际标准,包括IEC1131-3 和IEC1131是其组成部分。1.IEC1131-1:可编程控制器的一般信息。2.IEC1131-2:设备和试验要求3.IEC1131-3:PLC编程语言4.IEC1131-4:用户指南5.IEC1131-5:通信协议 IEC1131-3可编程控制器编程语言是国际标准。它指定的语法、语义和显示为以下的PLC编程语言:1)阶梯形图 ,2)顺序功能图,3)功能模块图,4)结构化文本,5)指令表 如果我们使用IEC1131-3编辑PLC程序,就可以获得以下优点:1.由于语法和语义是统一的,不管那个程序制造商,它可以生成一个能够运行和执行所有的程序的系统。2.它是易于维护的程序。3.由于支持结构化编程方法标准,任何复杂的程序可以很容易理解和结构化格式的编辑,并容易维持。4.由于严格的语法和语义可以减少程序错误。5.标准便于使用模块化程序,使用程序模块可提高编程效率。 不过,有以下缺点:1.与序列规划方法相比,计算机编程的编程过程是复杂的。2.需要努力了解编程语言的语法。3.由于严格的语法、编程的灵活性受到限制。4.由于IEC1131-3很大,不宜在小号的可编程控制器系统中的应用。 IEC1131-3是PLC系统的配置模型,五个编程语言与编程语言有普遍共性。软件模型和通信模型的名称和定义地址PLC系统的部件是由运行程序和数据的传输机制确定的。在编程模型中,不仅基本元素,如标识符、关键字、数据类型和变量,而且程序元素,如函数、功能模块、程序、资源和任务描述为常见的编程语言因素。 理解IEC1131-3,有必要配置模型进行研究,这代表了PLC控制系统的设计概念,包括软件模型,通信模型和编程模型。7.5.1软件模型和通信模型 IEC1131-3的导言部分中描述了软件模型和启用了多任务处理的控制器PLC系统的体系结构。 在软件模型中,1.配置是最高级的概念,代表了PLC系统和包括所有包含在一个PLC系统的软件。2.资源是使用配置的元素,意味着处理器的主板提供函数。 它是执行PLC程序所需的软件。3.程序意味着用户程序的逻辑管理单元和编辑IEC1131-3指定的语言之一。4.使程序结构化和模块化是IEC1131-3的功能块的一个关键概念。它是逻辑管理单元传输数据,并由输入输出参数定义数据和执行功能的算法。5.任务代表程序或功能块的工作原理。 它的开始需要特定触发器。6.该程序的功能要素之一是组成。 它不同于功能块,它表示生成单个特定的输出输入的软件。7.单一资源系统中的访问路径不存在。 在多个资源系统管理数据的元素以及元素之间的通信。有多种方法在PLC系统中传输数据。程序中,使用内部变量。 程序的输入和输出数据、函数和功能块,使用输入和输出变量。在程序之间共享资源或配置信息,指定使用他们的外部变量。此外,配置之间的数据传输通信对象定义的访问路径。使用访问路径,它是可能的功能和程序之间交换数据位于不同的资源或配置。 比较IEC-1131-3的PLC软件的系统模型,我们可以认为控制系统配置。配置与其他配置通过交换数据或信息的访问路径(只能传送特定变量的访问路径和延长的通信功能,如IEC1131-5)。 此配置包括一个或多个资源,但每个资源都包含一个或多个任务。因为高级功能的PLC系统,需要多个加工和CPU主板可以被视为一个资源。 每个任务执行程序或基于定期中断或不规则触发器的功能块。 因此,此体系结构使您可以执行许多单个同步的程序。此外,资源之间的接口函数,支持I/O通道和程序。 此外,小型的PLC系统由一个处理器和一个软件控制单个操作。单个配置形成,即使在大尺寸的PLC的情况下具有多个处理器的系统,各种资源(多个处理器)都是在快速的控制。在复杂的分布式系统情况下,一个系统是由多个网络配置连接,每个配置可以包括网络上的任何资源或项目群。 众所周知,软件模型IEC1131-3的关键概念是支持结构化编程的概念。事实上,通过使用任务、职能和功能块中提到的软件模型,就可以更改用户的编程风格。因此,通过使用IEC1131-3可能识别设计PLC控制系统的迭代任务和中断驱动任务(或事件驱动的任务)。此外,就可以划分迭代任务为迭代的时间相同的任务。 此外,通过执行常见任务、程序函数或功能模块,就可以减少程序大小。因此,此大尺寸的PLC系统结构化编程方法使调制程序增加生产力和维修性。 7.5.2 编程模型 描述IEC1131-3常见编程模型之间的关系的编程元素指定的语言。编程模型基于概念的推导和重用。换句话说,程序员可以从基本的数据类型定义新的数据类型、新的功能或功能块的基本功能(或标准功能),可以在图书馆使用它们。 这些库不仅可以用于一个完全相同的系统,而且在其他非相同的系统中。可重用性程序启用高级编程技术,如图书馆、函数和编程的功能模块,并提供了易用性和可靠性。 如上所述,PLC IEC1131是国际标准,它包含配
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 二零二五年度公寓楼整栋租赁承包合同
- 2025年版证券居间代理服务合同样本
- 二零二五年度水利工程合同编制指南
- 二零二五年对讲门行业标准化生产规范合同
- 2025版智能电网建设用电力材料供应商合作协议
- 2025版生态环保项目施工总承包合同
- 2025版非物质文化遗产木雕艺术作品交易合同
- 二零二五年度金融资产转让居间服务合同范本
- 二手混凝土泵车购销合同示例
- 二零二五年度高级住宅置换居间服务合同
- XXX医院保安部合作单位安全培训计划
- 2024-2025学年人教版八年级数学下学期期末模拟试卷(含答案)
- 设计投标响应方案(3篇)
- 工程设计文档编制规范
- 精密数控机床制造项目运营管理方案
- 浙江省嘉兴市2024-2025学年高二下学期6月期末英语试题
- 巡察整改培训课件
- 医院招标培训课件下载
- 2025年南充市中考英语试卷真题(含标准答案及解析)
- 2025至2030中国硅纳米线(SiNWs)行业发展趋势分析与未来投资战略咨询研究报告
- 定量包装培训课件
评论
0/150
提交评论