<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[S7-200子程序调用的问题]]></title>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-63621.html]]></link>
 <description><![CDATA[Latest 50 replies of S7-200子程序调用的问题]]></description>
 <copyright><![CDATA[Copyright(C) 工控人家园]]></copyright>
 <generator><![CDATA[www.ymmfa.com]]></generator>
 <lastBuildDate><![CDATA[Sun, 12 Apr 2026 06:25:52 +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-63621#787580.html]]></link>
 <author><![CDATA[wwcwwc]]></author>
 <category><![CDATA[西门子工控论坛]]></category>
 <pubdate><![CDATA[Tue, 18 May 2010 01:50:48 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[[quote]引用第7楼wwcwwc于2010-05-15 08:00发表的&nbsp;&nbsp;:
看了你的程序我说说个人观点，尽供参考。
因为我这里现在没有实体进行测试，可能程序还存在一些问题，望见谅！
1）&nbsp;&nbsp;&nbsp;&nbsp;子程序结构不够严紧，同样的功能占用字节稍稍偏大（可能是编程习惯问题）。相同的功能用这样调用子程序做法是可行的 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-63621#786773.html]]></link>
 <author><![CDATA[cyh1986]]></author>
 <category><![CDATA[西门子工控论坛]]></category>
 <pubdate><![CDATA[Mon, 17 May 2010 00:34:21 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[看了你的程序我说说个人观点，尽供参考。
因为我这里现在没有实体进行测试，可能程序还存在一些问题，望见谅！
1）&nbsp;&nbsp;&nbsp;&nbsp;子程序结构不够严紧，同样的功能占用字节稍稍偏大（可能是编程习惯问题）。相同的功能用这样调用子程序做法是可行的。程序尽量采用指令方式编写。直接能够使用输出条件的网络段程序 ..]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-63621#785354.html]]></link>
 <author><![CDATA[wwcwwc]]></author>
 <category><![CDATA[西门子工控论坛]]></category>
 <pubdate><![CDATA[Sat, 15 May 2010 00:00:30 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[奇怪了，为什么你修改后的子程序移植到我现在的项目里面就不行了呢？？？]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-63621#784011.html]]></link>
 <author><![CDATA[cyh1986]]></author>
 <category><![CDATA[西门子工控论坛]]></category>
 <pubdate><![CDATA[Thu, 13 May 2010 02:11:48 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[zz680217这位朋友，谢谢你的热心支持
我也试了一下，把子程序给修改了一下，还是出现以前这样的情况。
原因很有可能就是你说的原因。
我开始纵一位是我子程序调用的问题]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-63621#783957.html]]></link>
 <author><![CDATA[cyh1986]]></author>
 <category><![CDATA[西门子工控论坛]]></category>
 <pubdate><![CDATA[Thu, 13 May 2010 00:35:06 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[一楼的朋友，我把你的程序改了一下并下载到PLC中已成功，你在调用子程序的变量参数上存在一定的问题，特别是用BOOL时，尽量用IN/OUT而不要用OUT，同时在设计子程序时尽量做到精短，少用中继线圈。因为200在参数返回容易出错，出现你所发现的情况。最后向你说明的没有按照你原有程序全部更改，如有需要你自己完成吧。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-63621#783614.html]]></link>
 <author><![CDATA[zz680217]]></author>
 <category><![CDATA[西门子工控论坛]]></category>
 <pubdate><![CDATA[Wed, 12 May 2010 11:08:05 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[我简单的看了下，你的子程序局部变量表里面没有OUT变量，我想问题也许出在这里]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-63621#783581.html]]></link>
 <author><![CDATA[zsb]]></author>
 <category><![CDATA[西门子工控论坛]]></category>
 <pubdate><![CDATA[Wed, 12 May 2010 10:13:10 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[你的子程序network1和network2的线圈#中继A和#中继B为什么要这样写？我感觉逻辑上存在问题。主程序(OB1)是应该可以这样写的。]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-63621#783429.html]]></link>
 <author><![CDATA[wwcwwc]]></author>
 <category><![CDATA[西门子工控论坛]]></category>
 <pubdate><![CDATA[Wed, 12 May 2010 06:06:03 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[子程序的变量，怪怪的！]]></description>
 <link><![CDATA[http://www.ymmfa.com/read-gktid-63621#783167.html]]></link>
 <author><![CDATA[beiye1234]]></author>
 <category><![CDATA[西门子工控论坛]]></category>
 <pubdate><![CDATA[Wed, 12 May 2010 00:25:20 +0000]]></pubdate>
</item>
</channel></rss>