回复:紧急征集S7-200软件的BUG

yanxiao

版主

  • 帖子

    12167
  • 精华

    47
  • 被关注

    187

论坛等级:至圣

注册时间:2003-06-06

钻石 钻石 如何晋级?

发布于 2006-05-22 07:11:38

0楼

一个跨越多个版本至今尚健在的BUG:
TD200向生成的数据块,如果再次进入并修改,而对嵌入变量进行移动、删除等 操作,可以触发此BUG。BUG特征:data block编译不能通过。我的做法是,手动修改向导生成的数据。4.x版的似乎与3.x版的稍有不同。
例:
刚生成时:
//Message Enable Bit V34.6
VB6040 '设 总卷数: ' //
VB6054 16#10 //Edit Notification V6054.2; No Acknowledgement;No Password;
VB6055 16#31 //Unsigned Word; 1 Digits to the right of the decimal;
VW6056 16#0000 //Embedded Data Value: Move data for display here.
VB6058 ' 定 导片数: ' //
VB6074 16#10 //Edit Notification V6074.2; No Acknowledgement;No Password;
VB6075 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW6076 16#0000 //Embedded Data Value: Move data for display here.
VB6078 ' ' //

改动变量位置后:
//Message Enable Bit V34.6
VB6040 '设 总卷数: 定 导片数: ' //
VB6074 16#10 //Edit Notification V6074.2; No Acknowledgement;No Password;
VB6075 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW6076 16#0000 //Embedded Data Value: Move data for display here.
VB6042 16#10 //Edit Notification V6042.2; No Acknowledgement;No Password;
VB6043 16#10 //Signed Word; 0 Digits to the right of the decimal;
VW6044 16#0000 //Embedded Data Value: Move data for display here.
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-200

共有33266条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
X 图片
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。