các anh cho em hỏi, em đưa thời gian thực vào td200, và em muốn chỉnh thời gian ấy, ví dụ tăng giờ nên thì phải làm sao làm được
TITLE=PROGRAM COMMENTS
Network 1 // Network Title
// Network Comment
LD I0.0
MOVB 16#80, VB14
Network 2
LD M0.0
LPS
TODW VB400
AW>= VW46, 23
MOVW 0, VW46
MOVW VW46, AC0
IBCD AC0
ITB AC0, VB403
LRD
AW>= VW46, 0
+I 1, VW46
MOVW VW46, AC0
IBCD AC0
ITB AC0, VB403
LPP
R M0.0, 1
Network 3
LD I0.0
AN M0.0
TODR VB400
Network 4
LDN M0.0
A I0.0
BTI VB403, AC0
MOVW AC0, VW89
BCDI VW89
// data block TD_data0
VB0 'TD' //
VB2 16#10 //Set Language to English, set Update to as fast as possible
VB3 16#F1 //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 0 //Global Password (if enabled)
VW12 2 //Character Set = Latin 1 (Bold)
//MESSAGE 1
//Message Enable Bit V14.7
VB24 ' chuong bao ' //
VB44 16#00 //No Edit;No Acknowledgement;No Password;
VB45 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW46 16#0000 //Embedded Data Value: Move data for display here.
VB48 ' ' //
VB52 16#00 //No Edit;No Acknowledgement;No Password;
VB53 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW54 16#0000 //Embedded Data Value: Move data for display here.
VB56 ' ' //
VB57 16#00 //No Edit;No Acknowledgement;No Password;
VB58 16#30 //Unsigned Word; 0 Digits to the right of the decimal;
VW59 16#0000 //Embedded Data Value: Move data for display here.
VB61 ' ' //
//END TD200_BLOCK ------------------------------
//
//DATA PAGE COMMENTS
//
//Press F1 for
and example data page
//
Đánh dấu