您好,欢迎访问三七文档
Forinternaluseonly/©SiemensAG2009.AllRightsReserved.S7-1200andSTEP7BasicV10.5练习Forinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage2/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-1:设备与网络组态让我们从这里开始...为您设计的实验室Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage3/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-1:创建一个新项目123Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage4/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-1:创建未定义PLC456789Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage5/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习练习3-1:上传硬件组态10111213Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage6/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-2:设备与网络组态让我们从这里开始...为您设计的实验室Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage7/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-2:创建新工程123Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage8/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-2:添加PLC4576Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage9/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-2:添加模块8891091011121112Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage10/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-2:装载硬件组态131415161718Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage11/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-3:设备网络组态让我们从这里开始...为您设计的实验室Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage12/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-3:属性-子网123Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage13/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-3:PLC-属性-过程报警46578Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage14/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-3:PLC-属性-替代值10911111111Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage15/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-3:PLC-属性-系统/时钟存储器131214Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage16/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-3:模块-属性-诊断报警16171518Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage17/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-3:装载硬件组态192021222324Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage18/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习3-3:测试诊断报警LCD-DisplayLCD-DisplayPoti252526Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage19/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习4-1:STEP7BasicV10.5的编程让我们从这里开始...为您设计的实验室Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage20/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习4-1:检查重量测量值任务:创建一个程序,将两个输入电位器的值转化为重量值。重量值的变化范围是0-100Kg,数据类型为实数。当“Set_value”按钮激活时,完成此项功能。当输入值超过最大值超过50kg时,重量测量值将不准确。此时布尔型输出“weight_ok”将以2HZ的频率闪烁。当输入值低于50kg时,重量测量值是准确的,布尔型输出“weight_ok”恒为1。若用到内部缺省设定值(0-100kg)或HMI的缺省设定值,应选中“intern_or_HMI”按钮。这一内容添加在了HMI章节中。以下将详细讲述编程代码的实现过程。Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage21/91练习s练习4-1:创建变量12Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage22/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习4-1:在LAD中创建函数132Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage23/91练习s练习4-1:在LAD中创建函数46Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage24/91练习s132练习4-1:创建全局数据块Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage25/91练习s练习8-2练习8-1练习7-1练习6-3练习6-2练习6-1练习5-4练习5-3练习5-2练习5-1练习4-2练习4-1练习3-3练习3-2练习3-1练习4-1:在FBD中创建功能块1324Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage26/91练习s练习4-1:在FBD中创建功能块Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage27/91练习s练习4-1:在FBD中创建功能块Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage28/91练习s练习4-1:在FBD中创建功能块Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorPage29/91练习s练习4-1:向循环OB1块中插入程序块本地临时数据Hands-onForinternaluseonly/©SiemensAG2009.AllRightsReserved.IndustrySectorP
本文标题:设备与网络组态
链接地址:https://www.777doc.com/doc-1315394 .html