<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[单按钮起停电路！]]></title>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-33231.html]]></link>
 <description><![CDATA[Latest 50 replies of 单按钮起停电路！]]></description>
 <copyright><![CDATA[Copyright(C) 工控人家园]]></copyright>
 <generator><![CDATA[www.ymmfa.com]]></generator>
 <lastBuildDate><![CDATA[Sat, 18 Apr 2026 21:35:35 +0000]]></lastBuildDate>
  <image>
 <url><![CDATA[images/rss.gif]]></url>
 <title><![CDATA[工控人家园]]></title>
 <link><![CDATA[http://www.ymmfa.com]]></link>
 <description><![CDATA[工控人家园]]></description>
  </image>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[用保持指令做一个就可以阿，很简单]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-33231#582444.html]]></link>
 <author><![CDATA[hhdmywp]]></author>
 <category><![CDATA[欧姆龙工控论坛]]></category>
 <pubdate><![CDATA[Thu, 23 Jul 2009 00:58:01 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[s:21]]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-33231#472400.html]]></link>
 <author><![CDATA[qdpdliyan]]></author>
 <category><![CDATA[欧姆龙工控论坛]]></category>
 <pubdate><![CDATA[Sat, 28 Mar 2009 15:48:13 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[s:32]&nbsp;&nbsp;[s:32]&nbsp;&nbsp;[s:28]]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-33231#471563.html]]></link>
 <author><![CDATA[zl383901]]></author>
 <category><![CDATA[欧姆龙工控论坛]]></category>
 <pubdate><![CDATA[Sat, 28 Mar 2009 01:36:05 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[VAR_TEMP
&nbsp;&nbsp;// Temporary Variables&nbsp;&nbsp;

END_VAR

&nbsp;&nbsp;// Instruction Section

qx4.1:= ix0.4 AND NOT mx0.0;
mx0.0:= ix0.4;

&nbsp;&nbsp;qx4.3:=qx4.1 XOR qx4.3;
&nbsp;&nbsp;
&nbsp;&nbsp;FC2 := 0;
END_FUNCTION
I0.4作为起停按钮 Q4.1 作为边沿检测 Q4.3 是输出。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-33231#468501.html]]></link>
 <author><![CDATA[wangfang110]]></author>
 <category><![CDATA[欧姆龙工控论坛]]></category>
 <pubdate><![CDATA[Wed, 25 Mar 2009 05:45:11 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[楼上的哥哥：
看了一下CX-PRO的帮助没发现边沿检测指令在ST中的定义，比如说要将 A定义为BOOL 地址是I0.0&nbsp;&nbsp;&nbsp;&nbsp;怎么样将A 定义为 边沿检测指令呢？]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-33231#468227.html]]></link>
 <author><![CDATA[wangfang110]]></author>
 <category><![CDATA[欧姆龙工控论坛]]></category>
 <pubdate><![CDATA[Wed, 25 Mar 2009 00:54:28 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[果然厉害！！ 谢谢。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-33231#467747.html]]></link>
 <author><![CDATA[wangfang110]]></author>
 <category><![CDATA[欧姆龙工控论坛]]></category>
 <pubdate><![CDATA[Tue, 24 Mar 2009 09:11:37 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[如富士SPH系列PLC提供有边沿检测指令，用户可以这样写单按钮起停：
Tigger_Plus_1(Input:= Button );
TEMP:=Tigger_Plus_1.Output_Plus;

IF TEMP THEN
&nbsp;&nbsp;&nbsp;&nbsp;Out_Coil :=&nbsp;&nbsp;Button XOR Out_Coil;
END_IF;

以上]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-33231#467200.html]]></link>
 <author><![CDATA[cvlsam]]></author>
 <category><![CDATA[欧姆龙工控论坛]]></category>
 <pubdate><![CDATA[Mon, 23 Mar 2009 14:19:38 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[要使用的边沿检测指令，在PLC的ST语言中，一般厂家会提供边沿检测指令。

然后根据边沿检测的指令做条件判断就可以了。
如：边沿检测指令的Q（输出端）为Temp

IF Temp THEN
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OUT ：= INPUT XOR OUT；
END_IF；

以上]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-33231#467198.html]]></link>
 <author><![CDATA[cvlsam]]></author>
 <category><![CDATA[欧姆龙工控论坛]]></category>
 <pubdate><![CDATA[Mon, 23 Mar 2009 14:17:30 +0000]]></pubdate>
</item>
</channel></rss>