发布于 2004-09-20 10:25:08
0楼
是你没明白我的意思。
在TD200中嵌入一个数据,可以不用允许编辑。当该画面显示时,当按下上下箭头,则PLC中相应的位会置位,根据该位对数据进行加减,这时数据是实时更新的。
Network 1 // Network Title
// Network Comment
LD SM0.0
= V14.7
Network 2
LD V3.2
INCW VW34
R V3.2, 1
Network 3
LD V3.3
DECW VW34
R V3.3, 1
VB0 'TD' //
VB2 16#60 //Set Language to Chinese, set Update to as fast as possible
VB3 16#81 //Set the display to 40 character mode; Enter key V3.1; Up key V3.2; Down key V3.3;
VB4 1 //Set the number of messages
VB5 16#00 //Set the Function Keys notification bits to M0.0 - M0.7, F-Keys configured to set M-bits
VW6 24 //Set the starting address for messages to VB24
VW8 14 //Set the starting address for message enable bits to VB14
VW10 65535 //Global Password (if enabled)
VW12 256 //Character Set = Simplified Chinese
//MESSAGE 1
//Message Enable Bit V14.7
VB24 '测试 ' //
VB32 16#00 //No Edit;No Acknowledgement;No Password;
VB33 16#10 //Signed Word; 0 Digits to the right of the decimal;
VW34 16#0000 //Embedded Data Value: Move data for display here.
VB36 ' ' //
//END TD200_BLOCK ------------------------------
//
//DATA PAGE COMMENTS
//
//Press F1 for help and example data page
//