5.3 子程序调用指令4.5.4 中断指令4.5.5 暂停指令4.5.6 结束指令4.5.7 顺控继电器指令(SCR)4.5.8 程序控制指令的应用小结题第5章 逻辑控制编程的编写方法5.1 顺序功能图5.1.1 顺序功能图的画法5.1.2 梯形图编程的原则5.2 逻辑控制实例38:延时接通/延时断开控制实例39:多个定时器组合实现长延时控制实例40:定时器和计数器组合实现长延时控制实例41:计数器串联组合实现时钟控制3.2.3 脉冲触发控制实例42:用微分操作指令实现脉冲触发实例43:用定时器实现周期脉冲触发控制实例44:用定时器实现脉宽可控的脉冲触发控制3.2.4 分频控制实例45:二分频控制3.2.5 报警控制实例46:单故障报警控制实例47:多故障报警控制3.2.6 计数控制实例48:扫描计数控制实例49:6位数计数控制3.通过输入接口电路把外部的开关信号转化成PLC内部能接受的数字信号。(2)输出接口PLC的继电器输出接口电路工作过程:当内部电路输出数字信号1,有电流流过,继电器线圈有电流,然后常开触点闭合,提供负载导通的电流和电压。当内部电路输出数字信号0,则没有电流流过,继电器线圈没有电流,然后常开触点断开,断开负载的电流或电压。也就是通过输出接口电路把内部的数字电路化成一种信号使负载动作或不动作。(3)还有特别用来输入/输出模拟电流信号和高速脉冲信号的特殊结构,例如:模数/数模转换模块、高速计数模块等。4.编程器编程器分为两种,一种是手持编程器,方便,我们实验室使用的就是手持编程PLC的定义有许多种。国际电工委员会(IEC)对PLC的定义是:可编程控制器是一种数字运算操作的电子系统,专为在工业环境下应用而设计。它采用可编程序的存贮器,用来在其内部存贮执行逻辑运算、顺序控制、定时、计数和算术运算等操作的指令,并通过数字的、模拟的输入和输出,控制各种类型的机械或生产过程。可编程序控制器及其有关设备,都应按易于与工业控制系统形成一个整体,易于扩充其功能的原则设计。上世纪80年代至90年代中期,是PLC发展*快的时期,年增长率一直保持为30~40%。在这时期,PLC在处理模拟量能力、数字运算能力、人机接口能力和网络能力得到大幅度提高,PLC逐渐进入过程控制领域,在某些应用
5.3 subroutine call instruction 4.5.4 interrupt instruction 4.5.5 pause instruction 4.5.6 end instruction 4.5.7 sequence control relay instruction (SCR) 4.5.8 application summary of program control instructions Chapter 5 writing method of logic control programming 5.1 sequence function diagram 5.1.1 drawing method of sequence function diagram 5.1.2 principle of ladder programming 5.2 logic control example 38: delay on / delay off control example 39: multiple timer combination to realize long delay control example 40: timer and counter combination to realize long delay control example 41: counter series combination to realize clock control 3.2.3 pulse trigger control Example 42: using differential operation instruction to realize pulse triggering example 43: using timer to realize periodic pulse triggering control example 44: using timer to realize pulse triggering control with controllable pulse width 3.2.4 frequency division control example 45: two frequency division control 3.2.5 alarm control example 46: single fault alarm control example 47: multi fault alarm control 3.2.6 count control example 48: scanning count control example 49:6 digit count control example 3 Through the input interface circuit, the external switch signal is converted into a digital signal that can be accepted by the PLC. (2) The working process of the relay output interface circuit of the output interface PLC: when the internal circuit outputs digital signal 1, there is current flowing, and the relay coil has current, and then the normally open contact is closed to provide the current and voltage of load conduction. When the internal circuit outputs a digital signal of 0, no current flows, and there is no current in the relay coil, and then the normally open contact opens to disconnect the current or voltage of the load. That is, the internal digital circuit is transformed into a signal through the output interface circuit to make the load act or not act. (3) There are also special structures for inputting / outputting analog current signals and high-speed pulse signals, such as a / D / a conversion module, high-speed counting module, etc. 4. Programmer there are two kinds of programmers. One is hand-held programmer, which is convenient. What our laboratory uses is hand-held programming. There are many definitions of PLC. The International Electrotechnical Commission (IEC) defines PLC as an electronic system with digital operation, which is designed for application in industrial environment. It adopts programmable memory, which is used to store and execute the instructions of logic operation, sequence control, timing, counting and arithmetic operation, and control various types of machinery or production processes through digital and analog input and output. The programmable controller and its related equipment shall be designed according to the principle that it is easy to form a whole with the industrial control system and expand its functions. From the 1980s to the mid-1990s, PLC developed rapidly, with an annual growth rate of 30-40%. During this period, the ability of PLC in processing analog quantity, digital operation, man-machine interface and network has been greatly improved, and PLC has gradually entered the field of process control, in some applications