S7300程序设计方法模拟量控制

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Date:2020/2/10FileNo.:SSP1_03C.1SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation7.1S7-300的程序结构7.2系统设计的原则7.3系统设计的内容7.4程序设计的方法与过程7.5开关量控制系统的设计7.6关于模拟量I/O模块7.7模拟量控制系统的设计7.8关于乒乓控制7.9关于PID控制Date:2020/2/10FileNo.:SSP1_03C.2SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation7.6关于模拟量I/O模块生产过程物理量标准的模拟信号传感器变送器•压力•温度•流量•速度•pH值•粘性•等±500mV±1V±5V±10V±20mA4...20mA等DACPQW...PQW...:::PQW...模拟量输出模块MR模块ADC结果存储器PIW...PIW...:::PIW...模拟量输入模块CPU::::::LPIW304TPQW320:模拟执行器物理量......................................量程卡Date:2020/2/10FileNo.:SSP1_03C.3SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation1量程卡Date:2020/2/10FileNo.:SSP1_03C.4SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation2S7-300模拟量模块的寻址IM256to270336to350352to366368to382304to318320to334272to286288to302(发送)槽口号234567891011384to398400to414432to446448to462464to478480to494496to510416to430机架1R0电源模块IM(接收)电源模块CPU512to526528to542544to558560to574576to590592to606608to622624to638机架2IM(接收)电源模块机架3640to654656to670672to686688to702704to718720to734736to750752to766IM(接收)电源模块Date:2020/2/10FileNo.:SSP1_03C.5SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation3模拟量模块SM335(输入)Date:2020/2/10FileNo.:SSP1_03C.6SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation4模拟模块SM335(输出)Date:2020/2/10FileNo.:SSP1_03C.7SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation5模拟输入模块SM331Date:2020/2/10FileNo.:SSP1_03C.8SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation6模拟量的表达方式和测量值的分辨率20212223242526272829210211212213214VZ16进制.位值十进制0123456789101112131415位的序号单位位的分辨率+符号111***************15*=0或18000000001128********8402010840000000000000000000002164132116181412*********************************************************************91011121314Date:2020/2/10FileNo.:SSP1_03C.9SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation7在不同测量范围下模拟量的表达方式范围超上限超上界额定范围超下界超下限测量范围±10V电压例如:=11.75911.7589:10.000410.007.50:-7.5-10.00-10.0004:-11.759=-11.76单位3276732511:276492764820736:-20736-27648-27649:-32512-32768测量范围4..20mA电流例如:=22.81522.810:20.000520.00016.000::4.0003.9995:1.1852=1.1845单位3276732511:276492764820736::0-1:-4864-32768测量范围-200...+850ºC温度例如Pt100单位3276710000:85018500:::-2000-2001:-2430-32768=1000.11000.0:850.1850.0:::-200.0-200.1:-243.0=-243.1测量范围0...300Ohm电阻例如:=352.778352.767:300.011300.000225.000::0.000不允许负值单位3276732511:276492764820736::0-32768-1:-4864Date:2020/2/10FileNo.:SSP1_03C.10SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation8模拟输入量的规范化(可随模块带的软件块FC105)500,00,0027648Date:2020/2/10FileNo.:SSP1_03C.11SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation9模拟量输出的规范化(可随模块带的软件块FC106)2764800,0100,0Date:2020/2/10FileNo.:SSP1_03C.12SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation10模拟输出量的表达形式范围超上限超上界额定范围超下界超下限单位=3276732511:2764927648:0:-6912-6913:::-27648-27649:-32512=-32513输出范围:电压011.7589:10.000410.0000:00to10V1to5V05.8794:5.00025.0000:1.0000011.7589:10.000410.0000:0:::::::-10.0000-10.0004:-11.75890±10V00.999900输出范围:电流023.515:20.000720.000:00to20mA4to20mA022.81:20.00520.000:4.000023.515:20.000720.000:0:::::::-20.000-20.007:-23.5150±20mA03.999500Date:2020/2/10FileNo.:SSP1_03C.13SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation11配置模拟量模块SM335Date:2020/2/10FileNo.:SSP1_03C.14SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation12配置模拟量模块SM331Date:2020/2/10FileNo.:SSP1_03C.15SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation13结构化的极限监视功能(可随模块带的软件块FB120)FB120ACTVHLLLHYSQHQLLIMIT模拟变量的实际值HLLLHYSHYSQHQLt功能符号LO_LIMHI_LIMDate:2020/2/10FileNo.:SSP1_03C.16SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation7.7模拟量控制系统的设计1.关于模拟量控制系统模拟量控制系统是指输入信号为模拟量的控制系统。控制系统的控制方式上可分为开环控制和闭环控制。闭环控制根据其设定值的不同,又可分为调节系统和随动系统两种。调节系统的设定值是由控制系统的控制器给出,控制器的作用就是使反馈值向给定值靠近,以反馈值对设定值的偏差最小为目的。随动系统的设定值是由被控制对象给出的,控制器的作用就是使控制目标不断地向被控对象靠近。各种跟踪系统都是随动系统。模拟量控制系统设计中应该注意抗干扰问题。解决干扰的办法有4个。其一是接地问题。这里包括PLC接地端的接地,要真接地不要假接地。这里所说的接地就是接大地。其二是模拟信号线的屏蔽向题,屏蔽线的始端和终端都要接地。信号线的屏蔽是防止干扰的重要措施。其三是对某些高频信号要解决匹配问题。如果不匹配很容易在信号传送中引进干扰,使信息失真。其四是对信号进行滤波。Date:2020/2/10FileNo.:SSP1_03C.17SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation2.模拟量控制系统设计举例(1)搅拌控制系统线性程序设计(S7-PRO111)•初始状态及操作工艺…•硬件设计…•软件系统结构Date:2020/2/10FileNo.:SSP1_03C.18SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomation•OB1块Date:2020/2/10FileNo.:SSP1_03C.19SIMATICS7SiemensAG2000.Allrightsreserved.InformationandTrainingCenterKnowledgeforAutomationOB1续Date:2020/2/10FileNo.:SSP1_03C.20SIMATICS7SiemensAG2000.Allrightsreserved.InformationandT

1 / 64
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功