<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[怎样求一个字中间有多少个位是1]]></title>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1658588.html]]></link>
 <description><![CDATA[Latest 50 replies of 怎样求一个字中间有多少个位是1]]></description>
 <copyright><![CDATA[Copyright(C) 工控人家园]]></copyright>
 <generator><![CDATA[www.ymmfa.com]]></generator>
 <lastBuildDate><![CDATA[Fri, 01 May 2026 05:48:57 +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[AT一下]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1658588#2008790.html]]></link>
 <author><![CDATA[duanyang]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Wed, 31 Oct 2018 12:27:34 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第6楼sjbandmm于2018-10-28 22:04发表的&nbsp;&nbsp;:
有些PLC有专门统计一个区间内寄存器为ON的指令，而西门子300没有这个功能，需要自己编辑，可以用循环指令+位移指令实现：
1、ON数寄存器清零
2、检查字最低位（也可以最高位）是否为ON，如果为ON，寄存器+1
3、右移一位，再跳转到第二步
4、16次循环完成后 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1658588#2008232.html]]></link>
 <author><![CDATA[cvlsam]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 29 Oct 2018 06:40:05 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[有些PLC有专门统计一个区间内寄存器为ON的指令，而西门子300没有这个功能，需要自己编辑，可以用循环指令+位移指令实现：
1、ON数寄存器清零
2、检查字最低位（也可以最高位）是否为ON，如果为ON，寄存器+1
3、右移一位，再跳转到第二步
4、16次循环完成后得到ON位数]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1658588#2008118.html]]></link>
 <author><![CDATA[sjbandmm]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sun, 28 Oct 2018 14:04:45 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[能否分散到4个寄存器后单独判断后采用CASE指令判断，然后相加。 [s:28]]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1658588#2007679.html]]></link>
 <author><![CDATA[leechonghua]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Fri, 26 Oct 2018 06:40:00 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[s:39]]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1658588#2007671.html]]></link>
 <author><![CDATA[xinye668]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Fri, 26 Oct 2018 06:15:57 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[WAND [s:21]&nbsp;&nbsp;[s:21]]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1658588#2007617.html]]></link>
 <author><![CDATA[zqszk123]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Fri, 26 Oct 2018 02:40:54 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[s:26]&nbsp;&nbsp;[s:26] 有们判别指令]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1658588#2007604.html]]></link>
 <author><![CDATA[汪传福]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Fri, 26 Oct 2018 02:06:19 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[用1与每位相与，结果是1的相加]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1658588#2007595.html]]></link>
 <author><![CDATA[sanlihu]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Fri, 26 Oct 2018 01:49:55 +0000]]></pubdate>
</item>
</channel></rss>