<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[有没有更加简洁的指令？]]></title>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845.html]]></link>
 <description><![CDATA[Latest 50 replies of 有没有更加简洁的指令？]]></description>
 <copyright><![CDATA[Copyright(C) 工控人家园]]></copyright>
 <generator><![CDATA[www.ymmfa.com]]></generator>
 <lastBuildDate><![CDATA[Tue, 07 Apr 2026 20:06:39 +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[[quote]引用第6楼哼哼小猪于2025-05-08 09:02发表的&nbsp;&nbsp;:

这个倒是可以应付16位以下的。
[/quote]

你就不能多弄几个吗]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2514834.html]]></link>
 <author><![CDATA[一键复位]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sat, 21 Jun 2025 01:18:14 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[AA:DWORD;&nbsp;&nbsp;//声明一个32位变量

if 联动按钮1 then
AA:=0;
AA.1:=1;
end_if
if 联动按钮2 then
AA:=0;
AA.2:=1;
end_if
//............以此类推32位DWORD可定义到AA.31
联动1:=AA.1;
联动2:=AA.2;
联动3:=AA.3;
//.........]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507924.html]]></link>
 <author><![CDATA[一朝风月]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Fri, 09 May 2025 00:54:21 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[哈哈，友友们，结合9楼的说法我把程序稍微改了下，这下子没问题了 [s:21]&nbsp;&nbsp;[s:21]&nbsp;&nbsp;[s:21]]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507856.html]]></link>
 <author><![CDATA[哼哼小猪]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 08 May 2025 06:30:21 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[遇事不决for循环]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507803.html]]></link>
 <author><![CDATA[麦克朱]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 08 May 2025 01:41:24 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[问了一下ai，ai给出的解决方案是先复位所有的输出，然后再置位对应的输出]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507793.html]]></link>
 <author><![CDATA[皮五]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 08 May 2025 01:19:53 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第6楼哼哼小猪于2025-05-08 09:02发表的&nbsp;&nbsp;:

这个倒是可以应付16位以下的。
[/quote]

。。 这个是个思路而已&nbsp;&nbsp;不要说16位&nbsp;&nbsp;需要多少定义多少]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507789.html]]></link>
 <author><![CDATA[1421448580]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 08 May 2025 01:07:49 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第4楼hsl200于2025-05-08 08:45发表的&nbsp;&nbsp;:
你看你&#160;&#160;水平不高 要求却很高，你能把SR指令用到极致 就可以成为高手了
[/quote]
大师有什么更加简洁的方法么？[s:28]]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507786.html]]></link>
 <author><![CDATA[哼哼小猪]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 08 May 2025 01:04:26 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第3楼1421448580于2025-05-08 08:43发表的&nbsp;&nbsp;:
取一个整数，2#&#160;&#160;&#160;&#160;16位，每位对应按钮的状态，假设按钮按下 对应的位为1，放开为0， 当整数不为0时 将这个整数的值移动到
另外一个整数，这个整数的2进制每一位对应一个灯的状态
[/quote]
这个倒是可以应付16位以下的。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507785.html]]></link>
 <author><![CDATA[哼哼小猪]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 08 May 2025 01:02:05 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第2楼木林森于2025-05-08 08:36发表的&nbsp;&nbsp;:
按钮组合成一个变量，输出组成一个变量，按钮组合赋值给输出组合就行了
[/quote]
也对啊，感谢，这也是一种好的思路]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507783.html]]></link>
 <author><![CDATA[哼哼小猪]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 08 May 2025 01:00:32 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[你看你&nbsp;&nbsp;水平不高 要求却很高，你能把SR指令用到极致 就可以成为高手了]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507772.html]]></link>
 <author><![CDATA[hsl200]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 08 May 2025 00:45:21 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[取一个整数，2#&nbsp;&nbsp;&nbsp;&nbsp;16位，每位对应按钮的状态，假设按钮按下 对应的位为1，放开为0， 当整数不为0时 将这个整数的值移动到
另外一个整数，这个整数的2进制每一位对应一个灯的状态]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507771.html]]></link>
 <author><![CDATA[1421448580]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 08 May 2025 00:43:46 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[按钮组合成一个变量，输出组成一个变量，按钮组合赋值给输出组合就行了]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507765.html]]></link>
 <author><![CDATA[木林森]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 08 May 2025 00:36:22 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[程序段4必须要加入，不然1个扫描周期内容易扫描出错，按钮按了没用]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1782845#2507761.html]]></link>
 <author><![CDATA[哼哼小猪]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 08 May 2025 00:24:50 +0000]]></pubdate>
</item>
</channel></rss>