回复:TD200的参数设置问题?

sherry

  • 帖子

    141
  • 精华

    0
  • 被关注

    0

论坛等级:游民

注册时间:2003-06-24

普通 普通 如何晋级?

发布于 2004-05-13 15:01:20

0楼

VW0 80
VB80 'TD'
VB82 16#60 //Set Language to Chinese, set Update to as fast as possible
VB83 16#B1 //Set the display to 40 character mode; Up key V83.2; Down key V83.3;
VB84 8 //Set the number of messages
VB85 0 //Set the Function Keys notification bits to M0.0 - M0.7
VW86 600 //Set the starting address for messages to VW600
VW88 98 //Set the starting address for message enable bits to VW98
VW90 0 //Global Password (if enabled)
VW92 256 //Character Set = Simplified Chinese
//MESSAGE 1
//Message Enable Bit V98.7
VB600 '实际压力: '
VB620 16#00 //No Edit;No Acknowledgement;No Password;
VB621 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW622 16#0000 //Embedded Data Value: Move data for display here.
VB624 ' (KPa) '
//MESSAGE 2
//Message Enable Bit V98.6
VB640 '实际电压: '
VB660 16#00 //No Edit;No Acknowledgement;No Password;
VB661 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW662 16#0000 //Embedded Data Value: Move data for display here.
VB664 ' (V) '
//MESSAGE 3
//Message Enable Bit V98.5
VB680 '1 号泵电流A: '
VB700 16#00 //No Edit;No Acknowledgement;No Password;
VB701 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW702 16#0000 //Embedded Data Value: Move data for display here.
VB704 ' (A) '
//MESSAGE 4
//Message Enable Bit V98.4
VB720 '1 号泵电流B: '
VB740 16#00 //No Edit;No Acknowledgement;No Password;
VB741 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW742 16#0000 //Embedded Data Value: Move data for display here.
VB744 ' (A) '
//MESSAGE 5
//Message Enable Bit V98.3
VB760 '1 号泵电流C: '
VB780 16#00 //No Edit;No Acknowledgement;No Password;
VB781 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW782 16#0000 //Embedded Data Value: Move data for display here.
VB784 ' (A) '
//MESSAGE 6
//Message Enable Bit V98.2
VB800 '2 号泵电流A: '
VB820 16#00 //No Edit;No Acknowledgement;No Password;
VB821 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW822 16#0000 //Embedded Data Value: Move data for display here.
VB824 ' (A) '
//MESSAGE 7
//Message Enable Bit V98.1
VB840 '2 号泵电流B: '
VB860 16#00 //No Edit;No Acknowledgement;No Password;
VB861 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW862 16#0000 //Embedded Data Value: Move data for display here.
VB864 ' (A) '
//MESSAGE 8
//Message Enable Bit V98.0
VB880 '2 号泵电流C: '
VB900 16#00 //No Edit;No Acknowledgement;No Password;
VB901 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW902 16#0000 //Embedded Data Value: Move data for display here.
VB904 ' (A) '
//END TD200_BLOCK ------------------------------

上述8条消息都为在TD200上只显示不设置,若要设置则以“实际电压”为例:
VB640 '实际电压: '
VB660 16#10 //Edit Notification V660.2; No Acknowledgement;No Password;
VB661 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW662 16#0000 //Embedded Data Value: Move data for display here.
VB664 ' (V) '
注释里有“Edit Notification V660.2”,为什么在TD200上仍是只能显示不能修改?对应的变量为VW662。
请斑竹帮忙!

评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-200

共有33289条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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