<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[请教个程序思路]]></title>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922.html]]></link>
 <description><![CDATA[Latest 50 replies of 请教个程序思路]]></description>
 <copyright><![CDATA[Copyright(C) 工控人家园]]></copyright>
 <generator><![CDATA[www.ymmfa.com]]></generator>
 <lastBuildDate><![CDATA[Tue, 12 May 2026 20:58:49 +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-1484922#1668028.html]]></link>
 <author><![CDATA[0760]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 18 May 2015 06:18:12 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第16楼bettyl于2015-05-13 13:12发表的&nbsp;&nbsp;:

其实在西门子里面不用这么麻烦，直接用表指令就可以吧
[/quote]
我学的不多&nbsp;&nbsp;很多指令不熟悉哈&nbsp;&nbsp;勿喷[s:28] 对C语言比较熟悉而已，所以是站在C的角度想怎么处理这个的。。。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1667884.html]]></link>
 <author><![CDATA[kokoper]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Mon, 18 May 2015 00:48:23 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[这个确实有意思]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666461.html]]></link>
 <author><![CDATA[dream2012]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Wed, 13 May 2015 09:26:44 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[s:21] 排序~按顺序编号。然后列表，按了的，在列表无该号码的前提下按顺序写入；否则不作处理~就这样~]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666451.html]]></link>
 <author><![CDATA[hot_cha]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Wed, 13 May 2015 09:02:18 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第4楼kokoper于2015-05-12 13:21发表的&nbsp;&nbsp;:
我有个用C语言写的思路&nbsp;&nbsp;就是不知道怎么转化到三菱，西门子倒会写的。
先写一个请求函数
N为工位数，建立N个元素的数组，每个按钮编辑一个不一样的非零号码，每次按按键 ，就先查找数组里是否存在该数，如存在就没有任何操作；如不存在，则将该数 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666375.html]]></link>
 <author><![CDATA[bettyl]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Wed, 13 May 2015 05:12:19 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[谢谢大家的指教，我现在用先入先出指令已经成功的试运行过4个工位的程序，等过段时间机械安装好后再过去客户那边调试，有什么问题再来向大家请教。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666298.html]]></link>
 <author><![CDATA[1935807118]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Wed, 13 May 2015 01:33:57 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[在三菱就是&nbsp;&nbsp;先入先出FIFO指令，西门子的最好做，一个填表指令（AD_T_TBL)加先入先出指令(FIFO)就完全解决]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666213.html]]></link>
 <author><![CDATA[weisongyuan]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 12:51:47 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[附议楼上的，FX系列可以用SER数据检索指令求多个数值的最大值最小值]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666208.html]]></link>
 <author><![CDATA[endy2015]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 11:40:38 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第5楼1935807118于2015-05-12 14:18发表的&nbsp;&nbsp;:

这个方法不错，关键这几十个时间数据比较是个问题，三菱的好像还没有什么指令可以很方便的来比较几十个数据大小的指令。有没有什么办法来比较呢？谢谢！
[/quote]

Q系列 有MAX指令
FX 自己寫]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666191.html]]></link>
 <author><![CDATA[john42tw]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 09:29:49 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[不知道楼主用的什么牌子的PLC，若是三菱的就用先入先出指令吧，之前做过一个加药水的程序，9台机器共用一个加药桶，哪个机器先请求，就哪个先加。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666189.html]]></link>
 <author><![CDATA[wu32u2]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 09:24:28 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[学习来了&nbsp;&nbsp;很有意思]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666165.html]]></link>
 <author><![CDATA[liyong_1930]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 08:34:31 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[以前给客户做过一个类似例子，采用循环记录

[attachment=135021] 
[attachment=135020]]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666143.html]]></link>
 <author><![CDATA[lizhiliang]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 07:35:50 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[和电梯呼叫是一样的原理，这个程序不仅要按先进先出还要考虑什么路径最短最优，这个程序就很好了]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666120.html]]></link>
 <author><![CDATA[flyingbird]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 06:36:33 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第2楼jeffwang2011于2015-05-12 11:42发表的&nbsp;&nbsp;:
呵呵，这个有意思，可以研究下。。。
[/quote]
研究出来了，不要忘了拿出来分享下哦！]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666117.html]]></link>
 <author><![CDATA[1935807118]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 06:20:22 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第4楼kokoper于2015-05-12 13:21发表的&nbsp;&nbsp;:
我有个用C语言写的思路&#160;&#160;就是不知道怎么转化到三菱，西门子倒会写的。
先写一个请求函数
N为工位数，建立N个元素的数组，每个按钮编辑一个不一样的非零号码，每次按按键 ，就先查找数组里是否存在该数，如存在就没有任何操作；如不存在，则将该数 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666116.html]]></link>
 <author><![CDATA[1935807118]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 06:19:21 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第3楼john42tw于2015-05-12 13:17发表的&nbsp;&nbsp;:

1.先設定工位序號。(若同時按下時以序號小或大的優先)
2.當工位按下時開始計時。
3.比較各工位時間，時間大的優先處理。時間一樣，以序號比較。
[/quote]
这个方法不错，关键这几十个时间数据比较是个问题，三菱的好像还没有什么指令可以很方便的来比较几 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666115.html]]></link>
 <author><![CDATA[1935807118]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 06:18:19 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[我有个用C语言写的思路&nbsp;&nbsp;就是不知道怎么转化到三菱，西门子倒会写的。
先写一个请求函数
N为工位数，建立N个元素的数组，每个按钮编辑一个不一样的非零号码，每次按按键 ，就先查找数组里是否存在该数，如存在就没有任何操作；如不存在，则将该数存到数组最后一个非0数后面；
再写一个送料函数
送料时候，先移出 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666098.html]]></link>
 <author><![CDATA[kokoper]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 05:21:45 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用楼主1935807118于2015-05-12 11:27发表的 请教个程序思路 :
有一条大型生产线，一共有几十个工位，每个工位有个呼叫加料按钮，加料装置是一台私服马达拉着机械手跑，我刚开始是想着哪个工位先按，就送哪个工位，后按得无效，要等到上个工位取料完毕再按才有效，现在客户要求后按的必须保持等待加料状态，等上个 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666096.html]]></link>
 <author><![CDATA[john42tw]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 05:17:51 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[呵呵，这个有意思，可以研究下。。。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666082.html]]></link>
 <author><![CDATA[jeffwang2011]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 03:42:51 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[有个指令是先入先出，你用这个指令就可以了，再有就是按钮按下后应该要自锁，只要未完成不管按多少次都要算一次]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-1484922#1666077.html]]></link>
 <author><![CDATA[hafatahaha]]></author>
 <category><![CDATA[综合讨论]]></category>
 <pubdate><![CDATA[Tue, 12 May 2015 03:38:18 +0000]]></pubdate>
</item>
</channel></rss>