<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[子程序控制的输出问题]]></title>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306.html]]></link>
 <description><![CDATA[Latest 50 replies of 子程序控制的输出问题]]></description>
 <copyright><![CDATA[Copyright(C) 工控人家园]]></copyright>
 <generator><![CDATA[www.ymmfa.com]]></generator>
 <lastBuildDate><![CDATA[Mon, 13 Apr 2026 15:01:45 +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[程序运行的结果是：I0.0按下后松开，Q0.0输出，10秒后Q0.1输出。
按下I0.1后，Q0.0停止输出，而Q0.1保持输出。
分析程序，按下I0.1后，T37复位，不调用子程序了，而子程序中线圈输出保持不变。100MS定时器保持当前值不变。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1461412.html]]></link>
 <author><![CDATA[sanlihu]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sat, 06 Jul 2013 02:06:45 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[程序运行的结果是：I0.0按下后松开，Q0.0输出，10秒后Q0.1输出。
按下I0.1后，Q0.0停止输出，而Q0.1保持输出。
分析程序，按下I0.1后，T37复位，不调用子程序了，而子程序中线圈输出就应停止呀？
　若子程序中是置位Q0.1，主程序调用它后，即使不调用它，Q0.1维持输出倒可以理解！]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1460609.html]]></link>
 <author><![CDATA[sanlihu]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Wed, 03 Jul 2013 09:35:20 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第9楼sanlihu于2013-07-02 11:25发表的&nbsp;&nbsp;:
难道是要复位才能改变Q0.1的状态
[/quote]
你是不是贴图贴错了，最后一张图，如果不调用子程序时，应该全部断开才对啊！应该全是灰色的]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1460172.html]]></link>
 <author><![CDATA[守护北辰]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 02 Jul 2013 03:54:21 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第2楼tiantian168于2013-06-29 10:40发表的&nbsp;&nbsp;:
[s:21] 同上回答，在条件调用子程序的主程序中，当停止子程序调用时，如果定时器已经激活正在计时，停止调用这个子程序会造成定时器的失控。
[/quote]
定时器的失控指的是什么呢？还有，看楼主的图片，T37断，T38接通了，应该跳出子程序了啊！]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1460171.html]]></link>
 <author><![CDATA[守护北辰]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 02 Jul 2013 03:50:38 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[如果SB2为自复位型按钮侧这个程序是不能正常运行的，就是当你按下它就停，放开它就启动。
当按下SB2后定时器失电被复位，得电后从零重新计时。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1460168.html]]></link>
 <author><![CDATA[杨-cloudjing]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 02 Jul 2013 03:46:33 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[按钮不能直接作为停止使用，需要用中间继电器]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1460166.html]]></link>
 <author><![CDATA[杨-cloudjing]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 02 Jul 2013 03:42:15 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[难道是要复位才能改变Q0.1的状态]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1460153.html]]></link>
 <author><![CDATA[sanlihu]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 02 Jul 2013 03:25:27 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[难道是要复位才能改变Q0.1的状态？]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1460151.html]]></link>
 <author><![CDATA[sanlihu]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 02 Jul 2013 03:23:37 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第5楼sanlihu于2013-06-30 08:35发表的&nbsp;&nbsp;:

子程序执行一次，Q0.1就不会停。
[/quote]
不调用了，还执行什么啊？]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1460111.html]]></link>
 <author><![CDATA[flyaway]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 02 Jul 2013 02:36:18 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[&nbsp;&nbsp; 同上回答，在条件调用子程序的主程序中，当停止子程序调用时，如果定时器已经激活正在计时，停止调用这个子程序会造成定时器的失控。
你的意思是我用按钮调用还不行呢？]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1460110.html]]></link>
 <author><![CDATA[flyaway]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 02 Jul 2013 02:34:53 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第3楼狼堡于2013-06-29 14:42发表的&nbsp;&nbsp;:
T37没有电，子程序不执行
[/quote]
子程序执行一次，Q0.1就不会停。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1459423.html]]></link>
 <author><![CDATA[sanlihu]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sun, 30 Jun 2013 00:35:30 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第2楼tiantian168于2013-06-29 10:40发表的&nbsp;&nbsp;:
[s:21] 同上回答，在条件调用子程序的主程序中，当停止子程序调用时，如果定时器已经激活正在计时，停止调用这个子程序会造成定时器的失控。
[/quote]
谢谢]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1459418.html]]></link>
 <author><![CDATA[sanlihu]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sun, 30 Jun 2013 00:21:36 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[T37没有电，子程序不执行]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1459226.html]]></link>
 <author><![CDATA[狼堡]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sat, 29 Jun 2013 06:42:26 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[s:21] 同上回答，在条件调用子程序的主程序中，当停止子程序调用时，如果定时器已经激活正在计时，停止调用这个子程序会造成定时器的失控。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1459148.html]]></link>
 <author><![CDATA[tiantian168]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sat, 29 Jun 2013 02:40:42 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[q0.1继续输出。。。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1431306#1459092.html]]></link>
 <author><![CDATA[kyy80]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sat, 29 Jun 2013 00:54:05 +0000]]></pubdate>
</item>
</channel></rss>