欢迎来到天天文库
浏览记录
ID:48008434
大小:1.32 MB
页数:34页
时间:2020-01-13
《西门子基本指令的介绍.pdf》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、位指令I0.0I0.1Q8.0Q8.1(MCRA)I0.0(MCR<)I1.0I1.1Q8.0()M0.0I1.2Q9.3SRSQI1.3RSIMATICS7Date:2013-3-23InformationandTrainingCenterSiemensAG2000.Allrightsreserved.File:SSP1_08C.1KnowledgeforAutomation基本逻辑指令:与,或电路图LADFBDSTLS1(I0.0)I0.0I0.1Q4.0I0.0&Q4.0AI0.0=AI0.1S2(I0.1)I0.1AND=Q4
2、.0Q4.1Q4.1=Q4.1=L1L2(Q4.0)(Q4.1)S3(I0.2)I0.2Q4.2Q4.2OI0.2S4I0.2>=1OI0.3OR=(I0.3)I0.3=Q4.2I0.3L3(Q4.2)SIMATICS7Date:2013-3-23InformationandTrainingCenterSiemensAG2000.Allrightsreserved.File:SSP1_08C.2KnowledgeforAutomation基本逻辑指令:异或(XOR)LADFBDSTLI0.4&AI0.4I0.4I0.5Q4.0Q4.0
3、ANI0.5I0.5>=1O=ANI0.4I0.4&AI0.5I0.4I0.5I0.5=Q4.0XI0.4Q4.0I0.4XORXI0.5=I0.5=Q4.0SIMATICS7Date:2013-3-23InformationandTrainingCenterSiemensAG2000.Allrightsreserved.File:SSP1_08C.3KnowledgeforAutomation常开和常闭触点,传感器和符号过程PLC程序中的解释传感器传感器输入端输入端检查信号状态“1”检查信号状态“0”是...是...有电压的信号吗?
4、状态符号/检查符号/检查指令结果指令结果常开动作触点LAD:LAD:有1YesNo10常开触点常闭触点不动作无0NoYes01FBD:FBD:&&常闭动作无触点0NoYes01不动作STL:STL:有1YesNo10AIx.yANIx.ySIMATICS7Date:2013-3-23InformationandTrainingCenterSiemensAG2000.Allrightsreserved.File:SSP1_08C.4KnowledgeforAutomation练习8.1:常开点与常闭点任务:当S1动作和S2不动作时,在所
5、有三个例子中灯应该点亮!硬件S1S2S1S2S1S2I1.0I1.0I1.1I1.1I1.0I1.0I1.1I1.1I1.0I1.0I1.1I1.1可编程控制器可编程控制器可编程控制器Q4.0Q4.0Q4.0LightLightLight软件I1.0I1.1Q4.0I1.0I1.1Q4.0I1.0I1.1Q4.0LADI1.0&I1.0&I1.0&FDBI1.1Q4.0I1.1Q4.0I1.1Q4.0.......I1.0.......I1.0.......I1.0STL.......I1.1.......I1.1.......I1.
6、1.......Q4.0.......Q4.0.......Q4.0SIMATICS7Date:2013-3-23InformationandTrainingCenterSiemensAG2000.Allrightsreserved.File:SSP1_08C.5KnowledgeforAutomation赋值,置位,复位LADFBDSTLI1.0I1.1AI1.0Q4.0I1.0()&Q4.0AI1.1赋值=Q4.0I1.1=I1.2I1.3AI1.2Q4.1I1.2置位(S)&Q4.1AI1.3I1.3SSQ4.1I1.4Q4.1
7、(R)I1.4OI1.4>=1Q4.1OI1.5复位I1.5I1.5RRQ4.1SIMATICS7Date:2013-3-23InformationandTrainingCenterSiemensAG2000.Allrightsreserved.File:SSP1_08C.6KnowledgeforAutomation触发器的置位/复位LADFBDSTLM0.0M0.0I1.2Q5.3AI1.2SRSRSM0.0复位SQI1.2SAI1.3优先Q5.3I1.3RM0.0I1.3RQ=AM0.0R=Q5.3M0.0M0.0I1.3Q5.
8、3AI1.3置位RSRSRM0.0RQI1.3R优先AI1.2Q5.3I1.2SM0.0Q=AM0.0SI1.2S=Q5.3SIMATICS7Date:2013-3-23InformationandTrainingCen
此文档下载收益归作者所有