6.5 6.5 (HMI) IO 6.52 6.52 6.5 2007 113 A 602 100086 010 82616619 010 62638166 www.kingview.com
4 7 25 38 43 52 63 68 86 SQL 95 99 WEB 105 Web Web Web
I/O Microsoft Windows XP/NT/2000 I/O PLC PLC PLC PLC USB GPRS IO *.dll
I/O I/O http://www.kingview.com OPC DDE Intouch Ifix Wincc VB VC I/O I/O 6.52 I/O
F1
I/O 6.52 --- --- 6.52 --- 6.52 2-1 2-1
2-2 2-2 2-3 2-3 2-4
2-4 2-5 2-5 2-6
2-6 2-7 2-7 2-8
2-8 2-9 2-9 2-10
2-11 2-10 2-11
2-12 2-12.cmp 2-13 2-13 2-14
2-14 2-15 2-15 DB
EXCEL EXCEL EXCEL DB EXCEL DB EXCEL 6.52 Web SQL Windows 2-16
2-16 2-17 2-17 2-17
2-18 2-17 2-18 2-18 PLC DDE OPC 232/422/485 CP5611 PLC
1, 2-19 2-19 COM1 COM2 DDE OPC COM1 COM2 DDE DDE COM1 COM2 PC 2 PLC 2-20 2-20 3 PLC PLC1 2-21
2-21 4 COM1 2-22 2-22 2-22 5 0 2-23 2-23
6 2-23 1 2 3. 1 2 3 4 2-24 2-24 7 Com1 PLC1 8 Com1 2-25 2-25 I/O
TouchVew I/O I/O I/O I/O 1 I/O BOOL 0 1 2 I/O 10E-38 10E+38 7 3 I/O 2147483648 2147483647 4 I/O
I/O 2-26 2-26 I/O 0 0 0 100 0 100 PLC1 DECREA100 SHORT 1000
PLC INCREA DECREA RADOM STATIC INCREA DECREA RADOM STATIC 1-1000 SHORT 100 0 INCREA100 0~100 0 DECREA100 0~100 100 RADOM100 0~100 0 100 STATIC100 STATIC100 0-100 0 I/O I/O
ISA AD ISA A/D 12 AD ISA 0 4095 0 4095 0~5V 5 0 I/O 9 Bit 1 0 1 Byte 8 Short 16 2 Ushort 16 2 BCD 16 2 Long 32 4 LongBCD 32 4 Float 32 4 String 128
1 3-1 2 3-1 pic00001.pic 0
0 1024 768 1024 768 3 1 F10 Windows 3-2 3-2 2 3 3-3
3-3 3-3 F2 3-4 3-4 _
1 + 2 3 3-5 3-5 4
1 3-6 3-6 \\ \ 0 0 100 100 2 \\ \ \\ \ 3 #### 4 #### 3-7
3-7 \\ \ 2 0 5 #### \\ \ \\ \ 1 3-8 3-8 \\ \ 2
3 \\ \ \\ \ 1 0 0 100 2 3-9 3-9 3 3-10 3-17 \\ \ 3-10 4 \\ \
3-11 3-11 5 3-12 3-12 1 100 3-13
3-14 1 TRUE 2 100 100 3-15 3-16
3 3-17 3-17 \\ \ 0 0 100 100 4 3-18 3-18
3-19 \\ \ 0 0 360 100 5 3-20 3-20 3-21 \\ \
0 100 0 100 1 3 23 3-23 2 3-24 3-24
3 3-25 3-25 4 3-26 3-26 1 2
SQL 1 2 3 4 5 6
Windows Exit() 1 2 Exit(0); 3 1
F1 1 4-1 4-1 2 F1 3 if \\ \ = = 1 \\ \ = 0; else \\ \ = 1; 4 F1
ShowPicture() 1 4-2 4-2 XY 1 2
4-3 3 1 2
1 5-1 5-1 2 RootNode
3 4 5-2 5-2 1 5-3 5-3 10 90 100 2 10 90
1 2 3 5-4 5-4 4 5-5 5-5
5-6 5-6 5-7 5-7
5-8 5-8 999 a 999 b 5-9 5-9 5
6 VIEW 5-10 5-10 5-11 5-11
$ 1 5-12 5-12 2 1 5-13
5-13 [ 2001 4 28 ] [ 14 24 7 ] [ ] [ ] [ 2001 4 28 ] [ 14 24 14 ] [ ] [ 5-14 5-14
5-15 5-15 < 2001 4 28 >/< 14 24 7 >/< >/< > ------------------------------------------------------- < 2001 4 28 >/< 14 24 14 >/< >/< > 1 2 3 4
1 2 3 6-1 6-1
6-2 6-2 1 \\ \ 6-3 6-3 X Y 0 100 1 30
4 5 6 VIEW 6-4 6-4 Active X ODBC ODBC / / 16 1 \\ \ 6-5
6-5 \\ \ 0 2 1 6-6 6-6 8 0 30 2 8 30
1 2 3 6-7 6-7 6-8 6-8
6-9 6-9 + 6-8 6-10 6-10
6-11 6-11 6-12 6-12 6-13
6-13 ODBC 4 5 6 VIEW 6-14 6-14
1 Y Y 2 HTGetValueScooter 3 6-15 6-15 6-16 6-16 1 1 Y A /
/ / / / B / / / / / / C / / / / A / / / / / / B / / / / / / C / / / / 5-9 6-17
6-17 4 / / 6-18 6-18 1 2 3
XY XY 1 XY 2 XY 3 X-Y XY 7-1 7-1 XY 4 7-2
7-2 XY 1 XY 7-3 5 6 VIEW 7-4 7-4 XY Active X Windows Active X Microsoft Active X Active X Active X
Active X Microsoft Date and Time Picker Control 6.0 1 a 0 10000 b 0 12 c 0 31 2 3 7-5
7-5 7-6 7-6 4 7-7 ADate 7-7 CloseUp 7-8 7-8 5 \\ \ \\ \ \\ \ 6 7 VIEW 7-9
7-9 \\ \\ \\ \\ 1 2
6 7 3 8-1
8-1 8-2 Report1 6 10 8-2 4 A1 J1 8-3 8-3
5 B2 C2 =\\ \$ 8-4 8-4 = 6 7 VIEW 8-5 8-5 1
2 8-6 8-6 3 1 2 8-7 8-7 8 9 8-8
8-8 5 1 2 8-9 8-9 3 4 8-10
8-10 10 1 2 8-11 8-11 3 4 8-12
8-12 11 1 2 3 8-13 8-13
string filename; filename=infoappdir()+"\ \"+ StrFromReal( \\ \$, 0, "f" )+ StrFromReal( \\ \$, 0, "f" )+ StrFromReal( \\ \$, 0, "f" )+ StrFromReal( \\ \$, 0, "f" )+ StrFromReal(\\ \$, 0, "f" )+ StrFromReal( \\ \$, 0, "f" )+".rtl"; ReportSaveAs("Report1",filename); 5 1 2 3 4 Report2 5 8-14
8-14 6 8-15 8-15 string filename; filename=infoappdir()+"\ \*.rtl"; listclear("list1"); ListLoadFileName( "List1",filename); 7 8 8-16
8-16 string filename1; string filename2; filename1=infoappdir()+"\ \"+\\ \ ; ReportLoad("Report2",filename1); filename2=infoappdir()+"\ \*.rtl"; listclear("list1"); ListLoadFileName( "List1", filename2); Report2 \\ \ 9 10 VIEW
1 2 3 Report5 8-17 8-17 ReportSetHistData2 1 2 8-18
8-18 3 4 VIEW 8-19 8-19 8-19 8-20 8-20
8-21 8-21 5 8-22 8-22 1 1
1 1 2 1 3 64 5 Report6 8-23 8-23 4 8-24 8-24 \\ \$
long row; row=\\ \$ +4; ReportSetCellString("Report6", 2, 2, \\ \$ ); ReportSetCellString("Report6", row, 1, \\ \$ ); ReportSetCellValue("Report6", row, 2, \\ \ ); ReportSetCellValue("Report6", row, 3, \\ \ ); ReportSetCellValue("Report6", row, 4, \\ \ ); If(row= =4) ReportSetCellString2("Report6", 5, 1, 63, 5, ""); \\ \ \\ \ \\ \ 5 6 VIEW 8-25 8-25 1 2 ReportSetHistData() 1 1 1
2 1 3 33 5 Report7 8-26 8-26 4 b33 =Average('b3:b32') c33 =Average('c3:c32') d33 =Average('d3:d32') 8-27 8-27 5 8-28
8-28 \\ \$ \$,0); long StartTime; StartTime=HTConvertTime(\\ \$,\\ \$,\\ \$,\\ StartTime=StartTime-60; ReportSetTime("Report7", StartTime, 2, "a3:a32"); ReportSetHistData("Report7", "\\ \ ", StartTime, 2,"b3:b32"); ReportSetHistData("Report7", "\\ \ ", StartTime, 2,"c3:c32"); ReportSetHistData("Report7", "\\ \ ", StartTime, 2,"d3:d32"); \\ \ \\ \ \\ \ 2 Report7 a3 a32 Report7 b3 b32 c3 c32 d3 d32 5 6 VIEW 8-29
12 8-29 1 \\ \ \\ \ \\ \ b33 c33 d33 8-30 8-30 1 2 3 4
SQL SQL SQL ODBC SQL SQL SQL Access d:\peixun mydb.mdb Windows ODBC Data Sources (32bit) Microsoft Access Driver(*.mdb) mine Access mydb.mdb 9-1 9-1ODBC
1 SQL 9-2 9-2 2 SQLCreatTable Access 1 SQL 9-3 9-3 Access
Access \\ \$ \\ \$ \\ \ \\ \$ Access \\ \$ Access \\ \ Access 2 1 DeviceID 2 3 4 5 9-4 9-4 mine mydb.mdb
1 2 9-5 9-5 Table1 KingTable KingTable Table1 1 2 9-6 9-6 KingTable bind1 Access
KingTable 1 a b c 0 2 3 4 \\ \ \\ \ \\ \ 5 9-7 9-7 6
7 9-8 9-8 Bind2 KingTable 8 9 VIEW 9-9 9-9 10 a SQLFirst( DeviceID ); b SQLNext( DeviceID ); c SQLPrev( DeviceID ); d SQLLast( DeviceID ); 1
2 9-10 9-10 KVADODBGrid Class 1 \ KVADODBGrid Class 9-11 9-11 2 KVADODBGrid Class grid1 3 9-12
9-12 mine KingTable 4 grid1.fetchdata() ; grid1.fetchend() ; long aa; aa= grid1.querydialog(); if (aa==1) { grid1.fetchdata(); grid1.fetchend(); } grid1.print() ; ( CSV ) grid1.savetocsv( d:\peixun\data.csv ) ;
1 KVADODBGrid Class 2
1~999 1 999 64 1 2 10-1 10-1 10-2
10-2 A 2 10-3 10-3 3 10-4
master 10-4 4 1 1 operater1 5 50 2 2 operater2 5 150 5 1~999 64
1 100 2 3 4 VIEW 10-5 10-5 1 2 1 100 1 50 2 100 2 150 1
I/O / WindowsNT/2000 TCP/IP PC 11-11- IO IO IO IO IO
IO 1 d:\peixun\ 2 11-2 11-2 IP 3 11-3
11-3 IO 1 2 11-4 11-4 3 11-5
11-5 d:\peixun\ 11-6 11-6 4 11-7 11-7
5 11-8 11-8 IP 6 11-9 11-9 IP 7 11-10
11-10 IO I/O 1 2 11-11 11-11 3 4 VIEW 1
WEB Web Web Web 6.52 For Internet WEB Internet/Intranet WEB B/S Internet/Intranet WEB IE Microsoft Internet Explore 5.0 Netscape 3.5 JRE 12-1 TCP/IP
12-1 Web Web λ λ λ λ Java2 Linux υ 24 Web java2 2D Web λ υ λ υ IE λ λ λ IE WEB IE υ λ υ IE IE IE λ Web IE Web
λ λ λ λ TCP/IP Http B/S 6.52 6.52 IE IE WEB λ λ λ λ λ λ Web LOGO Web Web 12-2
12-2 IE 8001 6.52web Web, Web 12-3
12-3 web 31 IE 11-3 WEB IE IE IE Web IE Internet IE Internet 12-4
12-4 WEB IP IE 1 2 IE http:// IP : WEB 8001 http://webserver 12-5 12-5
3 WEB JRE JRE JRE Group 12-6 12-6 JRE 4 JRE 12-7 12-7
WEB 6.52 WEB λ λ λ λ λ λ λ λ λ λ λ λ λ λ λ λ 6.52 BMP 1