<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[请教：奇数，偶数输出程序的问题]]></title>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-8121.html]]></link>
 <description><![CDATA[Latest 50 replies of 请教：奇数，偶数输出程序的问题]]></description>
 <copyright><![CDATA[Copyright(C) 工控人家园]]></copyright>
 <generator><![CDATA[www.ymmfa.com]]></generator>
 <lastBuildDate><![CDATA[Tue, 19 May 2026 10:18:56 +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-8121#156829.html]]></link>
 <author><![CDATA[sjfshi]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 17 Dec 2007 05:55:26 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[偶数输出程序的问题]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-8121#154648.html]]></link>
 <author><![CDATA[wjm1006]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 11 Dec 2007 08:12:49 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[LD&nbsp; &nbsp; &nbsp; X000
INC&nbsp; D0
LD&nbsp; &nbsp; M8000
MOV&nbsp; &nbsp; D0&nbsp; &nbsp; K4M0
LD&nbsp; &nbsp; M0
OUT&nbsp; Y000
LDI&nbsp; &nbsp; M0
OUT&nbsp; &nbsp; Y001
LD&nbsp; &nbsp; X1
MOV&nbsp; &nbsp; K0&nbsp; &nbsp; D0]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-8121#154647.html]]></link>
 <author><![CDATA[wjm1006]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 11 Dec 2007 08:12:36 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[不客气：）其实每个人都有自己的思路。我第一眼看见标题的反应是用DIV指令除2，然后看余数是不是1。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-8121#154589.html]]></link>
 <author><![CDATA[konev]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 11 Dec 2007 05:16:25 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[TO：konev 谢谢您的指导。
更感谢各位老师支持。 [s:19]&nbsp; [s:19]&nbsp; [s:19]]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-8121#154582.html]]></link>
 <author><![CDATA[雪花飘飘]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 11 Dec 2007 05:10:24 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[你这样编，可是要多占以个输入点，楼主的程序可以用的，如果感觉不好，可以把复位调到后面去。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-8121#154569.html]]></link>
 <author><![CDATA[8861661]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 11 Dec 2007 04:51:57 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[没有人看　顶一下]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-8121#154548.html]]></link>
 <author><![CDATA[yjp-gyl]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 11 Dec 2007 03:51:59 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[LD&nbsp; &nbsp; &nbsp; X000
INCp&nbsp;  D0
LD&nbsp; &nbsp; M8000
MOV&nbsp; &nbsp; D0&nbsp; &nbsp; K4M0
LD&nbsp; &nbsp; M0
OUT&nbsp; Y000
LDI&nbsp; &nbsp; M0
OUT&nbsp; &nbsp; Y001
LD&nbsp; &nbsp; X1
MOV&nbsp; &nbsp; K0&nbsp; &nbsp; D0
看看我写的程序，应该没有问题
楼主的程序有弊端，在计数器复位的时候 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-8121#154494.html]]></link>
 <author><![CDATA[yjp-gyl]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 11 Dec 2007 01:39:54 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[K4M0是指M0～M15 16位，K1M0是指M0~M3 4位，这个程序实际上只根据2进制数最低位是0还是1来判断奇偶数，所以只用到M0。K4M0和K1M0没区别]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-8121#154492.html]]></link>
 <author><![CDATA[konev]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 11 Dec 2007 01:33:37 +0000]]></pubdate>
</item>
</channel></rss>