<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[关于S7200中数据直接相互转换的问题]]></title>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1478046.html]]></link>
 <description><![CDATA[Latest 50 replies of 关于S7200中数据直接相互转换的问题]]></description>
 <copyright><![CDATA[Copyright(C) 工控人家园]]></copyright>
 <generator><![CDATA[www.ymmfa.com]]></generator>
 <lastBuildDate><![CDATA[Sat, 09 May 2026 21:54:03 +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-1478046#1642296.html]]></link>
 <author><![CDATA[lcwlaile]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 29 Jan 2015 11:39:11 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[谢谢您的执着，我原来也没注意这个事情，想给你回答这个问题的时候才又找到教材查阅的。现在回答你的例子：如果是将字节转换为字，数据的保存是由转换后字的最低位依次向高位排列，未使用的位用0补充，如果是双字转换为字或者是字转换为字节也是这样，应该考虑的是转换的数据长度，（字节：-128—+127或0—255；字：-3276 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1478046#1642150.html]]></link>
 <author><![CDATA[weisongyuan]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Thu, 29 Jan 2015 02:24:45 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[6楼明白我的意思了。关于2进制，16进制，BCD码我是了解的。比如一个常数十进制的9，我可以用4位2进制数表示它。一个字节有8位，表示一个4位2进制数足够用，但是如果我想把这个字节的数据，转换成字。那么一个字有16位，16位表示一个4位的2进制数只用了4位，其它12位是空着的吗？这就是我想问的问题。我只是举个例子。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1478046#1642053.html]]></link>
 <author><![CDATA[lcwlaile]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Wed, 28 Jan 2015 14:04:51 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第5楼weisongyuan于2015-01-27 07:25发表的&nbsp;&nbsp;:
呵呵呵 我给你的就是你想要的，数据长度的转换就是要用转换指令解决，各种类型的数据都可以根据你自己的需要转换，字节转换为字，字转换为双字，双字转换为实数，反之亦然。我给你的截图就是转换用的指令，你根本没看我给你的最后一个截图，我在网络都 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1478046#1641713.html]]></link>
 <author><![CDATA[liuhuaxing]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 27 Jan 2015 10:57:17 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[呵呵呵 我给你的就是你想要的，数据长度的转换就是要用转换指令解决，各种类型的数据都可以根据你自己的需要转换，字节转换为字，字转换为双字，双字转换为实数，反之亦然。我给你的截图就是转换用的指令，你根本没看我给你的最后一个截图，我在网络都注释了指令的用途。你点击最下面的程序截图使其放大，就看的仔细了。第 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1478046#1641507.html]]></link>
 <author><![CDATA[weisongyuan]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 26 Jan 2015 23:25:04 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[这看你要16位还是32位的数据了，]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1478046#1641468.html]]></link>
 <author><![CDATA[liuqiang1986]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 26 Jan 2015 13:05:21 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[指令一给，自动进行，怎么变，你要仔细研究一下八进制，十进制，十六进制，BCD码什么的]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1478046#1641461.html]]></link>
 <author><![CDATA[新手驾驶f22]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 26 Jan 2015 12:45:27 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[谢谢你的回答，但是不是我要的答案，我主要是想问，PLC是如何把不同长度的数据相互转换的。比如字转换成双字，双字转换成字，具体的转换过程是什么样的。并不是问转换的指令。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1478046#1641453.html]]></link>
 <author><![CDATA[lcwlaile]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 26 Jan 2015 12:33:22 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[&nbsp;&nbsp;西门子S7-200可以按：位、字节、字、双字寻址，如V200.0 、VB200、 VW200、 VD200，还有4个累加器：AC0&nbsp;&nbsp;AC1 AC2 AC3，AC0—AC3可以是字节、字、双字。一定注意的是：西门子与三菱、欧姆龙等的双字不同，三菱的一个双字的四个字节高低位的顺序是从右向左，即起始字节为低位，而西门子200的一个字、 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1478046#1641177.html]]></link>
 <author><![CDATA[weisongyuan]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Sun, 25 Jan 2015 16:11:20 +0000]]></pubdate>
</item>
</channel></rss>