<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[请教一下]]></title>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1443959.html]]></link>
 <description><![CDATA[Latest 50 replies of 请教一下]]></description>
 <copyright><![CDATA[Copyright(C) 工控人家园]]></copyright>
 <generator><![CDATA[www.ymmfa.com]]></generator>
 <lastBuildDate><![CDATA[Fri, 08 May 2026 11:23:12 +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[感谢楼上的解答，昨晚实际上说了，是16位和32位的区别导致的。
我现在想问的是，怎么把一个16位的负数转化为32位的负数？
好象很麻烦的，要先判断第15位是否为1，再决定是否把32位的最高位置1。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1443959#1520145.html]]></link>
 <author><![CDATA[老家伙学电工]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 09 Dec 2013 04:47:00 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[楼上正解，这就是数制的问题了]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1443959#1520103.html]]></link>
 <author><![CDATA[jesselai]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 09 Dec 2013 03:37:44 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[要先了解 PLC 數值表現方式

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;內部表示&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 外部顯示&nbsp;&nbsp; 
16位元 :D10 = 0000&nbsp;&nbsp;0000&nbsp;&nbsp;0000&nbsp;&nbsp;0001 =&nbs ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1443959#1520011.html]]></link>
 <author><![CDATA[john42tw]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 09 Dec 2013 00:44:50 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[编程的时候用DDIV指令，运算负数。比如：DDIV&nbsp;&nbsp; D10&nbsp;&nbsp; D14&nbsp;&nbsp; D18&nbsp;&nbsp; 
Ｄ１０中的值原来是一个１６位的负数。用ＤＤＩＶ指令就变得很大了。
我试过如果Ｄ１０如果是一个刚开始就是３２位的数值，就不会变，显示的就是本身的负值。
问题是，我用十六位的计算结果，怎么转换成３２位 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1443959#1519861.html]]></link>
 <author><![CDATA[老家伙学电工]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sun, 08 Dec 2013 10:43:42 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[用ＤＩＶ指令是可以运算负数的，只是觉得它有点小，只能到－３２７６８，有点不够用的样子]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1443959#1519856.html]]></link>
 <author><![CDATA[老家伙学电工]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sun, 08 Dec 2013 09:56:14 +0000]]></pubdate>
</item>
</channel></rss>