Kinco DTools User Manual
Kinco DTools User Manual
Kinco DTools
User Manual
This manual is suitable for Green/Future series HMI
Read this manual carefully before you use the product
Kinco Automation(Shanghai)Ltd.
Safety Precautions
Read this manual and related manuals that mentioned in this manual carefully before you use the products, at the same time
operate the products under the premise of full safety attention. In order to use the products safely, we use the following icons
and graphic symbols to represent precautions, and there is some important safety content for the precaution’s icons, please be
!
Danger
If rated precautions are not taken, it may cause personal injury or death.
!
Warning
!
Be Care
If rated precautions are not taken, it may cause slightly personal injury
!
Notice
If rated precautions are not taken, it may cause undesirable result or state.
Forbidden
Some instructions, processes and remove operations are forbidden to ensure correct use of product
Put away this manual after reading, so that you can read it anytime.
➢ The place that the temperature and humidity exceed the range of the specifications
➢ The place with high humidity that may cause condensed water
⚫ The communication cables that connect HMI and PLC should be kept far from equipment that may generate
interference, like VFD, motor at the same time. At the same time do not put the control cable, power cable and
high line in the same wire way or nearby, or the interference may cause the malfunction of the equipment.
⚫ Please ensure the security of the system before you power on the HMI.
⚫ The proper configuration program is must when you want to use HMI to control PLC.
⚫ Please install the USB driver before you use USB cable to download user data
⚫ The input operation may fail if the HMI is touched rapidly and continuously. Please input the content after the
⚫ If the backlight is off or the HMI has no display, do not touch it by mistake. Please confirm the safety of the
⚫ If the dip switches are changed, the operation takes effects after the restart button is pressed or the HMI is
⚫ When you change the 3V battery in HMI, please choose the right model and install it correctly.
2
Preface
Thank you for choosing Kinco Green/Future series HMI.
Before you use the Green/Future series products, please read this manual carefully and understand it fully to ensure the
!
The content in this manual may not be updated in time because of the improvement of products or other reasons.
We advise customer to pay attention to the information at our web site in order to ensure the right timely
When you use this manual, some rated manuals and supporting details maybe involved. They are:
This manual provides some information of rated communication setting, supported registers and communication cables when
the Green/Future series HMI communicate with the PLC that it supports.
⚫ Product documents
Like catalog, products parameter list, order explanation, installation explanation manual, warranty and so on.
⚫ Examples
⚫ Range of Application
This manual provides guides to Kinco DTools, so that you can develop the project in HMI.
⚫ Target Population
This manual is for the people, commissioning engineers, technical support and Maintenance engineers who use Kinco
Green/Future series HMI and has basic knowledge in automation area. If necessary, they should have the ability to program
with C language.
difficult and step by step. It has three parts: introductory part, junior part and senior part. The new starter can start form
introductory part, the one who has experience with Kinco DTools just need to run over the introductory part, the engineer
with rich experience in Kinco DTools can start from the third part directly.
1
⚫ Safety icons and terms
!
Danger
If rated precautions are not taken, it may cause personal injury or death.
!
Warning
If rated precautions are not taken, it may cause personal injury.
!
Be Care
If rated precautions are not taken, it may cause slightly personal injury
!
Notice
If rated precautions are not taken, it may cause undesirable result
Forbidden
Some instructions, processes and remove operations are forbidden to ensure correct use of product
⚫ Items
Kinco DTools The software for Kinco Green/Future series HMI: Kinco DTools configuration software
PC Personal Computer
External Storage Device The U disk or SD card that Kinco Green/Future series HMI supports.
2
The following items are different from the official trade mark or name
Click Do not move the mouse; press the left button, then release.
Right Click Do not move the mouse; press the right button, then release.
Do not move the mouse; press the left button two times quickly, this operation
Double Click
only takes effect on left button.
Hold pressing the left button and move the mouse, release the left button at the
Drag
target position.
A
Press the left button in the input box, then release. When there is a cursor in the
Input
input box, input the content.
3
Operation Click, double click or right click the blank
function may be abnormal, because there is no Chinese character library in English OS.
⚫ Kinco DTools is backward compatible, but not the reverse. That is to say, the project that compiled by the higher
version software cannot be opened and compiled by lower version, but the project that compiled by lower version
⚫ Please remember the password if you use the project password, upload password and decompilation password, we
cannot provide the reset the password service or any universal password.
(1) When you configure the project, there are some grids as the aligning reference in Kinco DTools configuration area,
(2) The following size difference maybe happen when using dial scale and dial axis.
(3) If the graphic uses the gradient color as fill color, the following display difference maybe happen.
⚫ Product Support
⚫ Online support
If you have any question when using the product, you can contact our overseas technical engineers; they can support you
4
online or by email.
⚫ Technical Training
If you have any question about the product described in this manual, you can contact our company directly or local
distributors. About the technical training, please pay attention to the information at our site or consult the sales manager.
⚫ Contact us
Kinco Automation Ltd
Email: [email protected]
5
Index
Part1 Basic Part
Preface ....................................................................................................................................................................................... 1
1 Introduction ............................................................................................................................................................................ 1
1.1 About Kinco DTools ................................................................................................................................................... 1
1.2 Features List of Kinco DTools .................................................................................................................................... 1
2 Starting ................................................................................................................................................................................. 13
2.1 How to use Kinco DTools......................................................................................................................................... 13
2.2 How to get Kinco DTools software .......................................................................................................................... 13
2.3 Kinco DTools Installation and Operating Environment Requirement ...................................................................... 13
2.4 Install/Uninstall ........................................................................................................................................................ 13
2.4.1 Install Kinco DTools .................................................................................................................................... 13
2.4.2 Uninstall Kinco DTools ................................................................................................................................ 14
2.5 Start/Quit .................................................................................................................................................................. 14
2.5.1 Start Kinco DTools ....................................................................................................................................... 14
2.5.2 Quit Kinco DTools ....................................................................................................................................... 15
2.6 System Language Change ........................................................................................................................................ 15
2.8 Upgrade/Update........................................................................................................................................................ 16
2.9 Software Compatibility............................................................................................................................................. 16
2.9.1 Project made by Kinco DTools software ...................................................................................................... 16
2.9.2 Project not made by Kinco DTools software ................................................................................................ 16
2.10 Install USB Driver .................................................................................................................................................. 18
2.11 Software Application Program Introduction ........................................................................................................... 21
3 Make Project ......................................................................................................................................................................... 22
3.1 Project Requirement ................................................................................................................................................. 22
3.2 System Analysis ....................................................................................................................................................... 23
3.3 Make Project............................................................................................................................................................. 25
3.3.1 Create Project ............................................................................................................................................... 25
3.3.2 Device Selection, Connection and Parameters Setting ................................................................................. 26
3.3.3 Edit Frame .................................................................................................................................................... 27
3.3.4 Save Project .................................................................................................................................................. 44
3.3.5 Project Simulation ........................................................................................................................................ 44
3.3.6 Download Project ......................................................................................................................................... 45
3.4 Project Folder Introductions ..................................................................................................................................... 45
1
1.2.2 Edit Menu ..................................................................................................................................................... 47
1.2.3 View Menu ................................................................................................................................................... 48
1.2.4 Screen Menu................................................................................................................................................. 48
1.2.5 Draw Menu................................................................................................................................................... 49
1.2.6 Components Menu ....................................................................................................................................... 49
1.2.7 Lib ................................................................................................................................................................ 49
1.2.8 Option Menu ................................................................................................................................................ 49
1.2.9 Window Menu .............................................................................................................................................. 49
1.2.10 Help Menu .................................................................................................................................................. 50
1.3 Toolbar...................................................................................................................................................................... 50
1.3.1 Basic Toolbar................................................................................................................................................ 50
1.3.2 Draw Toolbar................................................................................................................................................ 50
1.3.3 Page Switch Toolbar ..................................................................................................................................... 50
1.3.4 Position Toolbar ........................................................................................................................................... 50
1.3.5 Line Width Toolbar....................................................................................................................................... 51
1.3.6 Line Style Toolbar ........................................................................................................................................ 51
1.3.7 System Toolbar ............................................................................................................................................. 51
1.3.8 Database Toolbar .......................................................................................................................................... 51
1.3.9 Code Edit Toolbar......................................................................................................................................... 51
1.3.10 Fill Effect Toolbar ...................................................................................................................................... 51
1.3.11 Label Position Toolbar ................................................................................................................................ 52
1.3.12 State Switch Toolbar................................................................................................................................... 52
1.3.13 Font Toolbar ............................................................................................................................................... 52
1.3.14 Status Bar ................................................................................................................................................... 52
1.3.15 Tip Text ...................................................................................................................................................... 52
1.3.16 Toolbar Options .......................................................................................................................................... 52
1.4 Software window ...................................................................................................................................................... 52
1.4.1 Graph Element Window ............................................................................................................................... 52
1.4.2 Project Files Window ................................................................................................................................... 54
1.4.3 Project Structure Window............................................................................................................................. 54
1.4.4 Message Window ......................................................................................................................................... 55
1.4.5 Component List Window.............................................................................................................................. 56
1.5 Configuration Edit Area............................................................................................................................................ 57
1.5.1 Construct Window ........................................................................................................................................ 57
1.5.2 HMI Edit Window ........................................................................................................................................ 58
1.5.3 Graphic Edit Window ................................................................................................................................... 58
1.5.4 Macro Edit Window ..................................................................................................................................... 59
1.5.5 Edit Initial Window ...................................................................................................................................... 59
2 Basic Design Method ............................................................................................................................................................ 60
2.1 Window screen ......................................................................................................................................................... 60
2.1.1 Specification of window screen .................................................................................................................... 60
2.1.2 Window Display Methods ............................................................................................................................ 60
2.1.3 Display Position ........................................................................................................................................... 63
2.1.4 Display Order ............................................................................................................................................... 63
2
2.1.5 Copy/Delete Windows .................................................................................................................................. 64
2.2 Draw ......................................................................................................................................................................... 65
2.2.1 Image Format ............................................................................................................................................... 65
2.2.2 Vector ........................................................................................................................................................... 65
2.2.3 Geometric Figures Attribution ...................................................................................................................... 68
2.2.4 About Fountain Fill ...................................................................................................................................... 69
2.2.5 Bitmap .......................................................................................................................................................... 70
2.2.6 About Transparent Color .............................................................................................................................. 70
2.3 Text ........................................................................................................................................................................... 71
2.3.1 Font Type...................................................................................................................................................... 72
2.3.2 Dot Matrix Font ............................................................................................................................................ 72
2.3.3 Vector Font ................................................................................................................................................... 72
2.3.4 Graph Font ................................................................................................................................................... 73
2.3.5 Text Attribute Edition ................................................................................................................................... 74
2.3.6 Notes for Using Vector Font ......................................................................................................................... 74
2.4 Keyboard .................................................................................................................................................................. 75
2.4.1 Keyboard Type ............................................................................................................................................. 75
2.4.2 NUM Keyboard ............................................................................................................................................ 77
2.4.3 ASCII Keyboard ........................................................................................................................................... 79
2.4.4 HEX Keyboard ............................................................................................................................................. 79
2.4.5 Create your Own number Keyboard ............................................................................................................. 80
2.4.6 Create your Own Unicode Keyboard ........................................................................................................... 82
2.4.7 Call Keyboard in the Group Component Library ......................................................................................... 83
2.5 Code Type................................................................................................................................................................. 84
2.5.1 BIN ............................................................................................................................................................... 84
2.5.2 BCD ............................................................................................................................................................. 85
2.5.3 LSB .............................................................................................................................................................. 85
2.6 Language Switching ................................................................................................................................................. 85
2.7 RTC Set .................................................................................................................................................................... 87
2.7.1 Through Special Registers ............................................................................................................................ 88
2.7.2 Calibrate System Time in System Setup Screen ........................................................................................... 89
2.7.3 System Time and PLC Time Synchronization .............................................................................................. 89
2.8 LOGO Screen(Logo) ........................................................................................................................................... 91
2.8.1 LOGO Screen Specification ......................................................................................................................... 91
2.8.2 Init Screen Setting ........................................................................................................................................ 92
2.8.3 Note for Using Init Screen ............................................................................................................................ 93
2.9 Exchange Serial ........................................................................................................................................................ 94
2.10 Replace Devices ..................................................................................................................................................... 94
2.10.1 Replace HMI .............................................................................................................................................. 95
2.10.2 Replace PLC............................................................................................................................................... 96
2.11 Index Function ........................................................................................................................................................ 97
2.11.1 Index Register............................................................................................................................................. 97
2.11.2 Index Station Num ...................................................................................................................................... 98
2.12 Buzzer................................................................................................................................................................... 100
3
2.12.1 Touch Beep ............................................................................................................................................... 100
2.12.2 Alarm Beep............................................................................................................................................... 102
2.13 Screen Saver ......................................................................................................................................................... 102
2.14 Password Setting .................................................................................................................................................. 103
2.14.1 Project Protection ..................................................................................................................................... 103
2.14.2 Screen Protection ...................................................................................................................................... 104
2.14.3 Component Protection .............................................................................................................................. 105
2.15 Data Encryption .................................................................................................................................................... 105
2.16 Animation Effects ................................................................................................................................................. 107
2.17 multi-Copy............................................................................................................................................................ 110
2.18 Group..................................................................................................................................................................... 111
2.19 Find /Replace ........................................................................................................................................................ 113
3 Window............................................................................................................................................................................... 116
3.1 Window Types ........................................................................................................................................................ 116
3.2 System Default Window ......................................................................................................................................... 118
3.3 Edit Window ........................................................................................................................................................... 119
3.3.1 Window Add............................................................................................................................................... 119
3.3.2 Window Opening........................................................................................................................................ 120
3.3.3 Window Copy/ Multi-Windows Copy ........................................................................................................ 121
3.3.4 Window Deletion/ Multi-Windows Deletion .............................................................................................. 121
3.4 Window Attribute ................................................................................................................................................... 123
3.4.1 Open Window Attribute Box ...................................................................................................................... 123
3.4.2 Window Attribute Descriptions .................................................................................................................. 124
3.5 Components Related to Window ............................................................................................................................ 126
4 Component ......................................................................................................................................................................... 127
4.1 Common Setting of Component ............................................................................................................................. 127
4.1.1 Create and Delete Component .................................................................................................................... 127
4.1.2 Execution Order of Components ................................................................................................................ 128
4.1.3 Methods to Open Attributes Window ......................................................................................................... 129
4.1.4 Basic Setting............................................................................................................................................... 130
4.1.5 Tag Setting.................................................................................................................................................. 132
4.1.6 Graphics Setting ......................................................................................................................................... 133
4.1.7 Control Setting Option ............................................................................................................................... 134
4.1.8 Display Setting ........................................................................................................................................... 137
4.1.9 Touch Sound Control .................................................................................................................................. 139
4.1.10 Save Historical Data ................................................................................................................................. 140
4.2 Button/Switch Components .................................................................................................................................... 143
4.2.1 Bit State Setting .......................................................................................................................................... 143
4.2.2 Bit State Switch .......................................................................................................................................... 146
4.2.3 Multiple State Setting ................................................................................................................................. 147
c4.2.4 Multiple State Switch ............................................................................................................................... 151
4.2.5 Combination Operations............................................................................................................................. 154
4.2.6 Function Key .............................................................................................................................................. 155
4.3 Lamp Component ................................................................................................................................................... 161
4
4.3.1 Bit State Lamp............................................................................................................................................ 161
4.3.2 Multiple State Display ................................................................................................................................ 163
4.4 Number Components .............................................................................................................................................. 164
4.4.1 Number Input ............................................................................................................................................. 166
4.4.2 Number Display ......................................................................................................................................... 167
4.5 Text Components .................................................................................................................................................... 168
4.5.1 Text Input ................................................................................................................................................... 171
4.5.2 Text Display ............................................................................................................................................... 171
4.5.3 Note Book .................................................................................................................................................. 171
4.6 Graph/Meter Components ...................................................................................................................................... 172
4.6.1 Trend Curve ................................................................................................................................................ 175
4.6.2 XY Plot....................................................................................................................................................... 186
4.6.3 Oscillograph ............................................................................................................................................... 192
4.6.4 Meter .......................................................................................................................................................... 195
4.6.5 Bar Picture .................................................................................................................................................. 197
4.6.6 Pie chart...................................................................................................................................................... 200
4.7 Alarm Component .................................................................................................................................................. 203
4.7.1 Event Display ............................................................................................................................................. 205
4.7.2 Historical Event Display............................................................................................................................. 216
4.7.3 Event Bar .................................................................................................................................................... 217
4.7.4 Alarm Display ............................................................................................................................................ 219
4.7.5 Alarm Bar ................................................................................................................................................... 220
4.8 Window Component ............................................................................................................................................... 220
4.8.1 Direct Window ........................................................................................................................................... 220
4.8.2 Indirect Window ......................................................................................................................................... 222
4.9 Graphic Components .............................................................................................................................................. 223
4.9.1 Vector Graph .............................................................................................................................................. 223
4.9.2 Bitmap ........................................................................................................................................................ 223
4.9.3 Free Plotting ............................................................................................................................................... 224
4.9.4 Dynamic Graph .......................................................................................................................................... 224
4.9.5 GIF ............................................................................................................................................................. 225
4.10 Video Input Component ........................................................................................................................................ 225
4.10.1 Video ........................................................................................................................................................ 225
4.10.2 USB Camera ............................................................................................................................................. 228
4.10.3 IP Camera ................................................................................................................................................. 228
4.10.4 Media Player ............................................................................................................................................ 233
4.11 Multiple State Neon Lamp .................................................................................................................................... 234
4.11.1 Bit State Neon Lamp ................................................................................................................................ 234
4.11.2 Multiple State Neon Lamp........................................................................................................................ 235
4.12 Animation Components ........................................................................................................................................ 236
4.12.1 Animation ................................................................................................................................................. 236
4.12.2 Moving Component .................................................................................................................................. 237
4.12.3 Pipeline..................................................................................................................................................... 241
4.13 Grid Components.................................................................................................................................................. 242
5
4.13.1 Grid .......................................................................................................................................................... 242
4.13.2 Historical Data Display ............................................................................................................................ 243
4.13.3 User Info Display ..................................................................................................................................... 248
4.13.4 Operation Log .......................................................................................................................................... 249
4.13.5 Data Report .............................................................................................................................................. 251
4.13.6 Data Curve ............................................................................................................................................... 261
4.13.7 CommState Display .................................................................................................................................. 268
4.13.8 Schedule Info Display .............................................................................................................................. 269
4.13.9 Authorized Info Display ........................................................................................................................... 271
4.13.10 Recipe Area View ................................................................................................................................... 273
4.13.11 Database Display .................................................................................................................................... 276
4.14 Data Transmission Component ............................................................................................................................. 277
4.14.1 Recipe....................................................................................................................................................... 277
4.14.2 Data Transmission .................................................................................................................................... 278
4.15 Project Database ................................................................................................................................................... 280
4.15.1 Text Library .............................................................................................................................................. 281
4.15.2 Address Tag .............................................................................................................................................. 282
4.15.3 Event Information..................................................................................................................................... 283
4.15.4 Alarm Information .................................................................................................................................... 287
4.15.5 PLC Control ............................................................................................................................................. 289
4.15.6 Sound Lib ................................................................................................................................................. 297
4.15.7 Data Logger .............................................................................................................................................. 297
4.15.8 Schedule List ............................................................................................................................................ 299
4.15.9 Recipe Area List ....................................................................................................................................... 304
4.15.10 Network Database .................................................................................................................................. 306
4.15.11 Database Query ...................................................................................................................................... 310
4.16 Auxiliary Component ........................................................................................................................................... 313
4.16.1 Scale ......................................................................................................................................................... 313
4.16.2 Timer ........................................................................................................................................................ 313
4.16.3 Scroll Bar ................................................................................................................................................. 316
4.16.4 Date/Time ................................................................................................................................................. 317
4.16.5 Note Pad ................................................................................................................................................... 318
4.16.6 File List .................................................................................................................................................... 318
4.16.7 Trigger Touch ........................................................................................................................................... 318
4.16.8 VNC ......................................................................................................................................................... 319
4.16.9 PDF Display ............................................................................................................................................. 320
4.16.10 FTP Client .............................................................................................................................................. 322
4.16.11 QRCode Display ..................................................................................................................................... 331
4.16.12 BarCode Display .................................................................................................................................... 332
5 Better Understanding of Library ......................................................................................................................................... 334
5.1 Text Library ............................................................................................................................................................ 334
5.1.1 Create a Text Library .................................................................................................................................. 334
5.1.2 Search Text Library .................................................................................................................................... 336
5.1.3 Export/Import Text Library ........................................................................................................................ 336
6
5.1.4 Set the Language of Text Library ............................................................................................................... 337
5.1.5 Text Library Application ............................................................................................................................ 337
5.2 Address Tag Library ............................................................................................................................................... 339
5.2.1 Build an Address tag Library ...................................................................................................................... 339
5.2.2 Address Tag Application ............................................................................................................................. 339
5.3 Graphic Library ...................................................................................................................................................... 340
5.3.1 Import Graphics.......................................................................................................................................... 340
5.3.2 Build New Graphics ................................................................................................................................... 345
5.3.3 Edit Graphics .............................................................................................................................................. 352
5.3.4 How to Use the Graphics............................................................................................................................ 355
5.4 Sound Lib Application ............................................................................................................................................ 357
5.4.1 Import Audio File ....................................................................................................................................... 357
5.4.2 How to Use Audio File ............................................................................................................................... 359
6 System Parameters .............................................................................................................................................................. 360
6.1 HMI Attributes ....................................................................................................................................................... 360
6.1.1 HMI ............................................................................................................................................................ 360
6.1.2 Task Bar...................................................................................................................................................... 361
6.1.3 HMI Extended Attributes ........................................................................................................................... 364
6.1.4 HMI System Information Text.................................................................................................................... 367
6.1.5 Security Levels Setting ............................................................................................................................... 368
6.1.6 User Permissions Setting ............................................................................................................................ 368
6.1.7 Historical Events Storage ........................................................................................................................... 368
6.1.8 Print Setting ................................................................................................................................................ 370
6.1.9 Serial Port Setting....................................................................................................................................... 371
6.1.10 Extended Memory .................................................................................................................................... 372
6.1.11 HMI License Setting................................................................................................................................. 372
6.1.12 Internet Time Synchronization/summer time............................................................................................ 375
6.2 PLC Attribute ......................................................................................................................................................... 376
7 Compile/Simulate/Download/Upload ................................................................................................................................. 378
7.1 Compilation ............................................................................................................................................................ 378
7.1.1 Methods of Compilation ............................................................................................................................. 378
7.2 Simulation .............................................................................................................................................................. 378
7.2.1 Modes of Simulation .................................................................................................................................. 378
7.2.2 Exit Simulation ........................................................................................................................................... 379
7.3 Download ............................................................................................................................................................... 379
7.3.1 Download Method Selection ...................................................................................................................... 379
7.3.2 Download via U disk or SD card ................................................................................................................ 381
7.3.3 Download Selection ................................................................................................................................... 382
7.4 Upload/ Download/Compile Project via KDManager ............................................................................................ 385
8 KDManager ........................................................................................................................................................................ 386
8.1 Introduction to KDManager ................................................................................................................................... 386
8.2 Methods of Open KDManager ............................................................................................................................... 387
8.3 Download ............................................................................................................................................................... 387
8.4 Upload .................................................................................................................................................................... 388
7
8.5 System Operation ................................................................................................................................................... 388
8.6 Get Version ............................................................................................................................................................. 388
8.7 Decompile Operation .............................................................................................................................................. 388
8.8 Data Decryption...................................................................................................................................................... 389
8.9 Net Pass Through ................................................................................................................................................... 389
8.10 Virtual COM Through .......................................................................................................................................... 389
8.11 Bridged Net Pass Through .................................................................................................................................... 390
9 Macro.................................................................................................................................................................................. 391
9.1 Macro Editing Environment ................................................................................................................................... 391
9.2 Macro Edit .............................................................................................................................................................. 391
9.2.1 Build Macro ............................................................................................................................................... 391
9.2.2 Delete Macro .............................................................................................................................................. 392
9.2.3 Rename Macro ........................................................................................................................................... 392
9.2.4 Program Macro ........................................................................................................................................... 393
9.2.5 Execute Macro............................................................................................................................................ 396
9.3 Macro Application .................................................................................................................................................. 396
9.4 Application of communication function ................................................................................................................. 398
9.4.1 Local Variable Function ............................................................................................................................. 398
9.4.2 Controller Variable Function ...................................................................................................................... 399
9.5 Array Application ................................................................................................................................................... 400
9.6 Some Notes on the Macro ...................................................................................................................................... 403
10 Password ........................................................................................................................................................................... 404
10.1 Project Protection ................................................................................................................................................. 405
10.1.1 Project Password Protection ..................................................................................................................... 405
10.1.2 Upload Password Protection and Prohibit Uploading............................................................................... 405
10.1.3 Decompilation Password Protection and Prohibit Decompiling ............................................................... 407
10.1.4 Download Password Protection ................................................................................................................ 408
10.2 Window Protection ............................................................................................................................................... 409
10.2.1 Window Password Setting ........................................................................................................................ 409
10.2.2 Security Level Setting of Window............................................................................................................ 410
10.2.3 System reserved registers related to security level ................................................................................... 411
10.2.4 Security level password input window ..................................................................................................... 411
10.2.5 Modifying Password Online ..................................................................................................................... 412
10.2.6 Application of Passwords Required for Switching Windows ................................................................... 413
10.3 Component Protection .......................................................................................................................................... 414
10.3.1 Security Level Protection for Components ............................................................................................... 414
10.3.2 User Permission Protection for Components ............................................................................................ 414
10.3.3 System Reserved Registers Related to User Permissions ......................................................................... 417
10.3.4 System Reserved Registers Related to Add/Delete Users and User Permissions Online.......................... 418
10.3.5 Window for User Permission Password Input .......................................................................................... 418
10.3.6 Application of Security Level Protection for Components ....................................................................... 419
10.3.7 Application of User Permission Protection for Component ...................................................................... 420
11 Recipe/ RecipeEditor ........................................................................................................................................................ 429
11.1 Register Related to the Recipe .............................................................................................................................. 429
8
11.2 Method for Checking the Recipe Size .................................................................................................................. 430
11.2.1 Method for Checking the RW Size ........................................................................................................... 430
11.2.2 Calculation for Recipe Address Range ..................................................................................................... 431
11.3 Usage of Recipe .................................................................................................................................................... 432
11.3.1 Absolute Address ...................................................................................................................................... 432
11.3.2 Index Address ........................................................................................................................................... 432
11.3.3 Application of Recipe ............................................................................................................................... 433
11.4 RecipeEditor ......................................................................................................................................................... 435
11.4.1 Recipe Editor Start-up .............................................................................................................................. 436
11.4.2 Recipe Editor User interface ..................................................................................................................... 436
11.4.3 Usage of RecipeEditor .............................................................................................................................. 438
11.5 Recipe Uploading/ Downloading/ Clearing .......................................................................................................... 445
12 KHMonitor ....................................................................................................................................................................... 446
12.1 Descriptions of KHMonitor .................................................................................................................................. 446
12.2 Start KHMonitor................................................................................................................................................... 446
12.3 KHMonitor Interface ............................................................................................................................................ 446
12.4 How to Use KHMonitor ....................................................................................................................................... 447
13 Print .................................................................................................................................................................................. 450
13.1 Type of Printer supports local printing ................................................................................................................. 450
13.2 Printing-related Components ................................................................................................................................ 451
13.3 Print Function Setting Method.............................................................................................................................. 453
13.3.1 Local Print: HMI serial is connected directly to the Printer ..................................................................... 453
13.3.2 Network Print (remote print): Through Network Printer to Print HMI Screen. ........................................ 454
13.4 Print Page Application Skills ................................................................................................................................ 459
13.5 Print Error ............................................................................................................................................................. 460
14 HMI Communication ........................................................................................................................................................ 461
14.1 Serial Communication .......................................................................................................................................... 461
14.1.1 HMI and PC Serial Communication ......................................................................................................... 461
14.1.2 HMI and PLC /Controller Serial Communication .................................................................................... 461
14.1.3 Serial Communication Related Settings ................................................................................................... 468
14.2 Network Port Communication .............................................................................................................................. 468
14.2.1 HMI and PC Network Port Communication ............................................................................................. 468
14.2.2 HMI and HMI Port Communication Network .......................................................................................... 469
14.2.3 HMI and PLC/Controller Network Port Communication ......................................................................... 470
14.2.4 FTP Function ............................................................................................................................................ 473
14.3 Field Bus Communication .................................................................................................................................... 476
14.3.1 CAN Communicate .................................................................................................................................. 476
14.3.2 DP Communicate...................................................................................................................................... 477
14.4 MODBUS Protocol Applications(Master-slave mode).................................................................................... 482
14.4.1 MODBUS Protocol Overview .................................................................................................................. 482
14.4.2 MODBUS Protocol Communication Format ........................................................................................... 484
14.4.3 MODBUS Protocol in the HMI Application ............................................................................................ 490
15 VNC.................................................................................................................................................................................. 496
15.1 Various client-sides ............................................................................................................................................... 496
9
15.2 Access via LAN .................................................................................................................................................... 497
15.2.1 Remote control HMI by PC via LAN ....................................................................................................... 497
15.2.2 Remote control HMI by mobile via LAN ................................................................................................. 499
15.2.3 Remote control HMI by browser via LAN ............................................................................................... 501
15.3 Access via WAN ................................................................................................................................................... 502
15.3.1 Remote access by VNC Viewer ................................................................................................................ 502
15.3.2 Remote access by browser........................................................................................................................ 503
15.3.3 DMZ host setting ...................................................................................................................................... 504
15.3.4 Access multiple HMIs .............................................................................................................................. 504
15.3.5 Dynamic IP network monitoring .............................................................................................................. 506
17 IOT ................................................................................................................................................................................... 507
17.1 OPC UA Server .................................................................................................................................................... 507
17.1.1 Enable OPC UA Server ............................................................................................................................ 507
17.1.2 Server Node Info ...................................................................................................................................... 508
17.1.3 For example .............................................................................................................................................. 508
17.2 MQTT................................................................................................................................................................... 512
17.2.1 EnableMQTT ........................................................................................................................................... 512
17.2.2 Topics Publish .......................................................................................................................................... 513
17.2.3 Topics Subscription .................................................................................................................................. 514
17.2.4 For Example ............................................................................................................................................. 514
18 Register ............................................................................................................................................................................. 519
18.1 Local Registers of HMI ........................................................................................................................................ 519
18.1.1 Bit Address ............................................................................................................................................... 519
18.1.2 Word Address ........................................................................................................................................... 520
18.2 System Special Registers of HMI ......................................................................................................................... 521
18.2.1 Parameter Setting of Hardware ................................................................................................................. 521
18.2.2 System Setting .......................................................................................................................................... 522
18.2.3 Components Setting ................................................................................................................................. 530
18.2.4 Security Leve l and User Permission ........................................................................................................ 534
18.2.5 Data and Project Management .................................................................................................................. 536
18.2.6 Communication ........................................................................................................................................ 539
10
4.1 Methods to Display Touch Screen Calibrate Mode ....................................................................................... 559
4.2 Touch Screen Calibrate Setting ..................................................................................................................... 559
5 Firmware Update Mode ...................................................................................................................................................... 560
5.1 Methods to Display Firmware Update Mode ................................................................................................ 560
5.2 Firmware Update Setting............................................................................................................................... 560
6 Maintenance and Tending ................................................................................................................................................... 561
6.1 Maintenance .................................................................................................................................................. 561
6.2 Tending .......................................................................................................................................................... 561
Appendix 1 Regular PLC Used for HMI ............................................................................................................................... 563
Appendix 2 List of Error Information .................................................................................................................................... 567
Appendix 3 List of System Prompt Message ......................................................................................................................... 572
11
Basic Part
Basic Part
1 Introduction
This chapter mainly introduces the features and functions of Kinco DTools Configuration Software.
configuration software developed by Kinco Electric (Shanghai) Ltd. (Hereinafter referred to as “Kinco”),it is special for
Green/Future series HMI. Kinco DTools provides a powerful integrated development environment for users. Products are
widely applied in various kinds of fields such as medical, chemical industry, electric power, printing, textile, food, national
defense and engineering machinery, intelligent household, high speed railway and so on.
SETTING SETTING
☞Details please refer to
Batch to modify font
START STOP START STOP 【 Advanced Part 2.3.5 Text
properties
Attribute Edition】
Frame12
Project A Project B
Menu】
1
Kinco DTools Configuration Edit Software
Menu】
Menu】
Display Methods】
Multi-copy】
PLC 0
☞Details please refer to
COM 1
【Advanced Part 2.9 Exchange
Exchange serial ports
Serial】
COM 0
PLC 0
Devices】
Exchange devices
HMI 1 PLC 1
⚫ Functions of Components
2
Basic Part Introduction
Input】
D100=120
☞Details please refer to
120
Number display
【Advanced Part 4.4.2 Number
Display】
D100 4 D 4 8
M H
☞Details please refer to
D101 2 0 4 9
Space I
【 Advanced Part 4.5.1 Text
Text input HMI
Input】
D100 4 D 4 8
M H
☞Details please refer to
D101 2 0 4 9
Space I 【 Advanced Part 4.5.2 Text
Text display
HMI
Display】
Date/Time】
3
Kinco DTools Configuration Edit Software
Data transmission
...
...
D109 50 D9 50
D109 50 D9 50 Transmission】
5 D100 5
☞Details
RW0
RW1 10 D101 10 please refer to
RW2 15 D102 15
【Advanced Part 4.14.1 Recipe
...
...
Transmit
Meter and Graph
D100=75 100
☞Details please refer to
Display data as bar
50 【 Advanced Part 4.6.5 Bar
graph
Picture】
0
4
Basic Part Introduction
20
20
20
Curve】
Zoom out
Alarm
5
Kinco DTools Configuration Edit Software
☞Details
2 2011/06/23 15:22:54 15:25:13 Abnornal Temp.
1 2011/06/23 14:01:00 14:44:20 14:44:23 Abnornal Temp. please refer to
Display user-defined 0 2011/06/23 10:50:01 11:40:10 10:54:20 Abnornal Temp.
【 Advanced Part 4.7 Alarm
alarm information when
! 2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
0 2011/06/23 10:50:01 11:40:10 10 Component】
alarm happen
Display alarm
!
2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
0 2011/06/23 10:50:01 11:40:10 10
☞Details please refer to
information in popup Abnormal
Temp.! 【 Advanced Part 4.7 Alarm
window when alarm
Component】
happen
!
2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
☞Details please refer to
The buzzer will peal 0 2011/06/23 10:50:01 11:40:10 10
Beep...
when alarm happen 【 Advanced Part 4.7 Alarm
Component】
NO. Date
1
Time
State Content
2011.06.23 14:44:23 2 Abnormal
☞Details please refer to
20110623 1
1
2011.06.23
2011.06.23
14:44:23
14:44:20
2
1
Abnormal
Abnormal
Import/Export
CSV
☞Details please refer to
CSV
alarm/event logon file file 【 Advanced Part 4.7 Alarm
information Component】
Conditional control
6
Basic Part Introduction
registers. ON
When...
Notify M0 turn on
ON ☞Details please refer to
D100 100
【Advanced Part 4.1.7 Control
Notification operation
M0 Setting Option】
Input:120 Input is
accepted
100 120
Conditional Display
7
Kinco DTools Configuration Edit Software
Hide Appear
☞Details
Display condition
please refer to
ON OFF
When...
Appear
1
日期
2011.06.23
时间
14:44:23
用户名
Admin
日志
设备运行
☞Details please refer to
2 2011.06.23 14:44:20 Admin 修改值(10)
SD
【 Advanced Part 6.1.3 HMI
3 2011.06.23 14:01:00 Admin 设备停止
SAVE
Extended Attributes】
8
Basic Part Introduction
9
Kinco DTools Configuration Edit Software
project. Protection】
PKG WPJ
☞Details please refer to
Password protection for
file file 【 Advanced Part 10.1 Project
decompiling project.
After input
decompile password Protection】
☞Details
Level 0 Input level 3 password Level 3
please refer to
10
Basic Part Introduction
Bar-code Reader
135624
☞Details please refer to【HMI
Read data from barcode
manual
Input Component】
⚫ Print Function
15:25:54 Abnormal T
☞Details please refer to
Information】
Curve】
☞Details
Frame 10
D0:0à10
please refer to
Frame 0
⚫ Upload/Download
11
Kinco DTools Configuration Edit Software
Key】
⚫ Script Function
Macro
int MacroEntry()
{ ☞Details please refer to
Execute data operation if(D100==1)
{ M0=1; } 【Advanced Part 9 Macro】
or control the display D100 1 else
{ M0=0; }
in HMI by macro. M0 return 0;
}
⚫ Other Function
P
BM IF
G ☞Details please refer to
JPG
Customize logo. Kinco 【 Advanced Part 2.8 Logo
Screen (Logo)】
12
Basic Part Introduction
online
日本語 中文
2011.06.23 09:52:50
2011.06.23 09:52:50 ☞Details please refer to
Initial address
D110=100 ☞Details please refer to
Index address
13
2 Starting
2.1 How to use Kinco DTools
The procedure for using Kinco DTools is shown in following figure.
Select device
Save and Create new and set
Edit window
compile window communiction
parameters
Quit Kinco
Simulate Download
DTools
!
Note for using Windows Vista/Windows 7 OS:
⚫ When using Windows Vista/Windows 7 OS, don’t install Kinco DTools in system disk (C :).
⚫ When using Windows Vista/Windows 7 OS, Kinco DTools must run as administrator. Right click the
icon of Kinco DTools.exe, and then select “Run as administrator” as following figure:
2.4 Install/Uninstall
There are multilingual versions of Kinco DTools.
Confirm installation.
It will appear installation statues of Kinco DTools, click【Install】to start installing software.
13
Kinco DTools Configuration Edit Software
Install successfully
If the software installs successfully, then it will appear the information. Click【Finish】to finish installation.
After finishing installation, Kinco DTools will create a complete startup directory in【Start】menu, and create the shortcut of
Run uninstall.
Method 1:Uninstall from【Start】menu.
Uninstall procedure
Select “Remove”, click【Next】to start uninstalling process.
Modify Select new program features to add or select currently installed features to remove.
If there are some files or folders added in the install directory of Kinco DTools, please delete these contents
2.5 Start/Quit
2.5.1 Start Kinco DTools
Method 2:Double click the shortcut of Kinco DTools in desktop to start software.
⚫ When it is first time to start Kinco DTools, it will display window as following:
⚫ When it is not the first time to start Kinco DTools, then it will open the last operated project automatically.
14
Basic Part Starting
After starting Kinco DTools software, there are several ways to quit the software as follows:
⚫ Click the icon of Kinco DTools on the upper left of the window, then select “Close” in the control menu.
1
3
15
Kinco DTools Configuration Edit Software
1
3
2.7 F1 Help
When user use the Kinco DTools software, there are there methods to use the F1 help.
⚫ Press the F1 on the keyboard
⚫ Click the [Help] button on the component attribute
⚫ Click the [Help] menu
2.8 Upgrade/Update
!
Note
1. To ensure the product working properly, it is forbidden to update, modify, uninstall and reinstall before
2. Before updating software, to ensure the product working properly, please uninstall the old version
software completely.
3. Please backup the project made by old version software before using the new version software to
The latest software or upgrade package can be downloaded from the download center in Kinco’s website:
http://www.kinco.cn/en
!
In Kinco DTools, projects made by old version software can be opened by new version software, but
project made by new version software can’t be opened by old version software.
Click the open icon, and choose the file type, and then can open a project made by Kinco HMIWare or Kinco HMIware_CZ
software.
16
Basic Part Starting
Open a project made by Kinco HMIWare or Kinco HMIware_CZ software, Will automatically change the original project
suffix to *.dpj.
Prompt to n
upgrade backup Exit
Save
!
Not all of the projects made by Kinco HMIWare can be opened, only to support the project of the next
list HMI model, Kinco DTools software will be replaced automatically to the corresponding model.
DTools HMIWare
1 GL043 MT4230T, ET050
2 GL043E MT4230TE
3 GL070 MT4434T, ET070, MT4414T
4 GL070E MT4434TE, MT4414TE
5 GL100 MT4532T, ET100
17
Kinco DTools Configuration Edit Software
6 GL100E MT4532TE
7 GL150E MT4720TE
8 GH043 MT4210T
9 GH043E MT4220TE
10 GH070 MT4404T
11 GH070E MT4424TE
12 GH070EW MT4424TE
13 GH150E MT4720TE, MT5720TE
14 G070 MT4414T
15 G070E MT4414TE
16 G070E-CAN MT4414TE-CAN
17 G080E MT4403TE
18 G100 MT4512T, MT4522T
19 G100E MT4512TE, MT4522TE
20 G121E MT4620TE
21 GH104E MT4523TE, MT4523T
22 GL104E MT4513TE, MT4513T
23 F080E MT5423T
24 F104E MT5520T
25 F104E-CAN MT5520T-CAN
When it is first time to use Kinco DTools, it needs to install the USB driver for downloading HMI project.
Use USB cable to connect the USB SLAVE port of HMI to USB HOST port of PC, and connect the power supply of
HMI
correctly and power on, then it will popup dialog box of【Update Driver Software】,then click “Browse my computer for
driver software”.
18
Basic Part Starting
Set the route to the driver folder in the install directory of Kinco DTools, then click【OK】:
After finishing installation, it will pop up the dialog box of “The best driver software for your device is already
19
Kinco DTools Configuration Edit Software
If PC doesn't popup【Installing device driver software】automatically in the first step, but there is a balloon tips in the toolbar
as following figure:
Then open【Device Manager】à【Universal Serial Bus Controllers】,there is a detection icon of unknown device. Right click
1
2
Select “No,” and click【Next】,then continue the installation procedure of USB driver as above.
After finishing installation, there is a balloon tip of “Kinco HMI USB” on the toolbar as following figure:
After that, open【Device Manager】,the unknown device will change to “Kinco HMI USB” in【Universal Serial Bus
20
Basic Part Starting
If the USB driver can’t be installed correctly, there is a balloon tips on the toolbar of operation system as following figure:
Then there is an icon of unknown device in【Device Manager】.For this problem, please select the right directory to reinstall
USB driver.
PDOManager and so on. Additionally, there are two manuals integrated in Kinco DTools software. Users can find the
Main software which is used to create, edit, compile, simulate and download
project.
User’s Manual
Guide manual about communication between Kinco HMI and supported control
devices.
Auxiliary software, it is used to create, view or edit recipe data file and external
21
3 Make Project
This chapter takes PH value of neutralization pond control system for example to explain the process of making project by
Kinco DTools.
Liquidometer
LIT01
M
Circulating
pump P01
First neutralization
Air blower
pond
B01
⚫ In full-automatic control mode, after pressing “Start” button, the system will detect the water level of first
neutralization pond automatically. When the liquid meter (LIT03) detect that the water level reaches preset height, then
it will enter automatic circulation process: close electric valve (AV01), open electric valve (AV02), and start air
blower(B01) and circulating pump(P01) to aerate and circulation stir. After stirring uniform, it will start acid metering
pump(P02) or alkali metering pump(P03).When the PH value detected by AIT01 satisfies effluent standard
(6≤PH≤9),then stop P02 or P03,open AV01 and close AV02,then let off the qualified water to the second
neutralization pond. If the water level detected by LIT04 reaches the preset height, then it will detect the PH value of
AIT02 automatically. If it satisfies 6≤PH≤9, then close AV04 and open AV03.Let off the water until the water level
detected by LIT04 is lower than lower limit, then close AV03.If it doesn’t satisfy the requirement, then it will close
When detecting the water level of the first neutralization pond lower than lower limit, then stop B01 and P01, herein
this process finish. When the water level of the first neutralization pond reaches preset height, then continue to next
process.
22
Basic Part Make Project
In the circulation process, LIT01 and LIT02 real time monitor the liquid level of acid storage jar and alkali storage jar.
If
⚫ In manual control mode, every process is controlled separately by manual according to the value of AIT01 and AIT02
PLC is mainly used to sample data (data of liquid meter and PH meter), control device (air blower, circulating pump, electric
valve). Here we use HMI as upper computer to communicate with PLC by RS-232C.
Hardware One PC with Windows XP/Vista/7 operation system and Kinco DTools software.
One specified USB download cable(Herein we choose USB port for downloading program)
One RS232C cross cable for communication between HMI and PLC.(Herein we choose RS232C
communication)
SW02
Auxiliary relay AR01 M 0.0(Turn on when the liquid Auxiliary relay AR05 M 0.4(Turn on when the liquid
Auxiliary relay AR02 M 0.1(Turn on when the liquid Auxiliary relay AR06 M 0.5(Turn on when the liquid
23
Kinco DTools Configuration Edit Software
Auxiliary relay AR03 M 0.2(Turn on when the liquid Auxiliary relay AR07 M 0.6(Turn on when the liquid
Auxiliary relay AR04 M 0.3(Turn on when the liquid Auxiliary relay AR08 M 0.7(Turn on when the liquid
⚫ HMI frame
Auto Control
a. Bar Graph
Auto Control h
h j PH
d
b. Bit State Lamp
6.80
Level c. Multiple State Display
2.5 Output
AV01 AV03
d h M Second d. Number Display
Acid jar P02 AV02 pond b
Level a b b AV04
e. Date/Time
0.6 h
M f. Event Bar
d Alkali jar P03 M
h P01
PH
h g. Bit State Switch
c First pond 11.00 h. Text
e f B01 g i d i. Function Key
Time 2010.9.23 15:20
Start Stop Alarm Manual
Alarm Low level in Alkali jar j. Timer
Manual Control
Alarm Display
24
Basic Part Make Project
a. Event Display
Alarm Display b
b. Text
d. Date/Time
e. Event Bar
f. Function Key
a
b d c f
Time 2010.9.23 15:20
Alarm Low level in Alkali jar
e Stop Manual Auto
25
Kinco DTools Configuration Edit Software
1
A 2
3
After creating project, it will popup grey grid working area. This area is named “Construct Window”.
26
Basic Part Make Project
Set parameters
according to
actual PLC
27
Kinco DTools Configuration Edit Software
It will open HMI edit window as following figure (It will open Frame0 by default)
28
Basic Part Make Project
The initial background color of windows is black(RGB:0,0,0).User can change the background color according to actual
A 5 2
3
6 4
29
Kinco DTools Configuration Edit Software
A 2
3 4
6
Size 16
Alignment Center
Color Black
Edit “Auto Control” frame——Draw the operation flow chart of PH control system
Draw the operation flow chart of PH control system by using line, rectangle and polygon.
30
Basic Part Make Project
Take the graph in red box in the figure above for example, the procedure of drawing is as follows:
~Move mouse to edit area, it will appear “+”. Then click 7 times on the related position.
Right click mouse to finish drawing polygon.
1 2
3
4
8
7
5 6
31
Kinco DTools Configuration Edit Software
If there is no desired graph in the system image library, then user can create a new graph.
⚫ New Graphics
2
1
⚫ Draw graph
Select state0 in the edit window of vector graph,click icon in the Draw Toolbar
~Move the mouse to the black edit area below, it will appear “+”. Then press left mouse button and drag to
lower right side. Then release at the proper position to finish drawing a circle.
32
Basic Part Make Project
Select state1 and draw a graph by the same way as drawing state0.
☞More details about new graph please refer to【Advanced Part 5.3 Graphic Library】
⚫ Set graphics attribute
Double click the graph to open【Graphics Attribute】window,then set the attribute of state0 and state1.
⚫ Save graph
After finishing drawing graph of metering pump, click icon in Basic Toolbar to save file pump.vg
Click the icon on the upper right of graph edit window to quit the window.
33
Kinco DTools Configuration Edit Software
2
1
Edit “Auto Control” frame——Add Bit State Lamp components (metering pump, circulating pump and electric
valve)
Add 7 “Bit State Lamp” components for state indication of metering pump, circulating pump and electric valve. The
procedure is as follows:
Select “Bit State Lamp” from【Graph element window】—【PLC Parts】,then press left mouse button and drag to HMI
edit area.
Release mouse and it will popup attribute box of【Bit State Lamp】
1
2
34
Basic Part Make Project
Circulating pump P01/Metering pump P02/ Metering pump P03 Electric valve AV01/AV02/AV03/AV04
Read Address Q0.1 Q0.2 Q0.3 Read Q1.0 Q1.1 Q1.2 Q1.3
After finishing setting the components, the screen will show as following figure:
Finally add text in the screen. The procedure of adding text is the same as【Edit frame title】,show as following:
Edit “Auto Control” frame——Add Bit State Switch components(Start, emergency stop)
Add two “Bit State Switch” as “Start” and “Emergency stop” button as shown in following figure:
35
Kinco DTools Configuration Edit Software
follows:Start/Emergency stop
stop;1:Start/Emergency stop
Button3-15.vg*
Button3-12.vg*
Add two “Function Key” from【Graph element window】—【Function Parts】,which are used to change window to
Function Key Change window [Frame10] Function Key Change window [Frame11]
36
Basic Part Make Project
3
1
Event Trigging On
Text The liquid level of alkali storage jar is below lower limit!
Address M0.2
Event Trigging On
Text The liquid level of acid storage jar is below lower limit!
37
Kinco DTools Configuration Edit Software
Information bar include current system time and current alarm display.
Firstly, add a rectangle graph and two lines as background of information bar as following figure:
Rectangle Line
Date Display:YYYY.MM.DD
Time Display:HH:MM: SS
Graph No use
figure:
Add “Event Bar” from【Graph element window】—【Function Parts】for rolling displaying alarm information
38
Basic Part Make Project
figure:
Add 4 “Number Display” from 【Graph element window】—【PLC Parts】for display the liquid level of alkali(acid)
AIT02
LIT01
LIT02
AIT01
39
Kinco DTools Configuration Edit Software
Add 2“Bar Picture” from【Graph element window】—【PLC Parts】for displaying the liquid level of alkali(acid) storage
jar
Minimum/Maximum 0/50
Graph No use
Edit “Auto Control” frame——Add Multiple State Display and Timer components
Add one “Multiple State Display” from【Graph element window】—【PLC Parts】for displaying the rotary of fan blade
of air blower.
Read Address LW 0
State Num. 3
Graph Bitmap:fan-05.bg*
Library】—【BG】—【Fan】
Add one “Timer” component from【Graph element window】—【Function Parts】for changing the state value of
40
Basic Part Make Project
Click “10:Frame10”in【Project structure window】to change window to frame10 as shown in following figure:
Change
window to
Frame10
Add 8 “Bit State Switch” components from【Graph element window】—【PLC Parts】for controlling the start and stop
metering pump
Read/Write Address Q1.0 Q1.1 Q1.2 Q1.3 Read/Write Address Q0.0 Q0.1 Q0.2 Q0.3
41
Kinco DTools Configuration Edit Software
Add 4“Number Display” components from【Graph element window】—【PLC Parts】for displaying the liquid level of
PH value of first neutralization pond / PH value of Acid storage jar / Alkali storage jar
The information bar in “Manual Control” frame is the same as “Auto Control” frame. Therefore, we can copy the
Select all information bars in “Auto Control” frame and right click.
Click【Copy】
Change to “Manual Control” frame and right click.
Click【Paste】
42
Basic Part Make Project
1
4
2
Edit “Manual Control” frame——Add “Emergency stop” button and “Change window” button
Copy the “Emergency stop “button, “Alarm” button and “Manual Control” button in “Auto Control” frame and
follows:
Tag Use
0:Auto Control
1:Auto Control
43
Kinco DTools Configuration Edit Software
Add one “Event Display” component from【Graph element window】—【PLC Parts】for displaying the triggered alarm
Read
LW1
Address
Acknowledge Time
The procedure is the same as【Edit “Manual Control” frame——add information bar】
Edit “Alarm Display” frame——Add “Emergency stop” button and “Change window” button
Copy the “Emergency stop” button, “Alarm” button and “Auto Control” button in “Manual Control” frame and
follows:
Manual Control
After finishing project, user can simulate the project by “Off-line simulation”. The procedure is as follows:
Select the HMI need to compile and then click【Simulate】button to start simulation as shown in following figure:
44
Basic Part Make Project
Choose download way. Click the icon in System Toolbar to open the dialog box of【Project Setting Option】
corresponding to the operation. The instructions of the files are as following table.
Name Instructions
HMIn “n” indicates number. All HMI used in one project will generate independent folder. This
ProjBK It is used to store the old project which is backup by new software.
sound It is used to store the initial file and convert file of the sound in project.
temp It is used to store the project which is stored at the last time.
name.pkg\. pkgx Data package file generated by compilation; it is used for downloading to HMI.
45
Advanced Part
Advanced Part
46
1 User Interface
1.1 Interface Layout
After opening Kinco DTools, the main interface displays as below:
e
c
f
d
g h
i
a. Menu bar b. Toolbar c. Configuration edit area d. Component library window e. Project file window f.
Project construct window g. Compile information window h. Component list window i. Status bar
⚫ Menu
⚫ Toolbar
⚫ Software window
⚫ Edit area
1.2 Menu
1.2.1 File Menu
⚫ 4 files recently opened:The software automatically remembers most recently opened 4 files’ name in the “File”
Quit:Close the software, then software will prompt users to save unsaved project.
⚫ Undo: Cancel the latest operation, and return to the state before this operation; redo: Redo the latest operation which
47
Kinco DTools Configuration Edit Software
! Can only undo or redo one step, multiple steps of undo and redo is not supported.
⚫ Size: Width/Height/Both: Set the selected components to the same width/height/ size.
⚫ Layer: Set Top Layer/Set Bottom Layer/Previous Layer/Next Layer: Adjust the sequence of the multiple overlapped
components.
⚫ Same Horizontal/Vertical Space: Implement the equal horizontal/vertical space between multiple selected components.
⚫ Align Horizontal/Vertical Center: Place multiple selected components in the horizontal/vertical center of the window.
degrees.
⚫ Show Grid: Display screen grid; Alignment Grid: Move by grid; Define the Grid Spacing: Self-define the screen grid
space.
⚫ Lock Component: Lock the components, then the components cannot be moved again.
⚫ Display Alignment Line:Whether the alignment line is displayed during the moving element process
⚫ Display Component`s Size:Whether the current component size is displayed during the stretching process
48
Advanced Part User Interface
⚫ Group components:Use the group element; Save the group element: Save the group component to system library.
components;
⚫ Load Image: When creating a new bitmap graphic, single click【Load Image】to browse and import pictures.
⚫ Multicolor-Gray switch: Single click【Multicolor-Gray switch】to switch between multicolor image and grayscale
image.
⚫ Import Graphics Library: Import graphics of the system default image library.
⚫ Compress big graph: Compress large bitmap size to reduce project size when quantities of bitmaps are used in the
project.
⚫ Construct Window: User’s configuration connection of HMI and PLC, as well-set communication parameter in the
window.
49
Kinco DTools Configuration Edit Software
⚫ Communication Connection Guide:Connection guide of Kinco DTools communicating with various PLCs and
controllers.
1.3 Toolbar
1.3.1 Basic Toolbar
New About
Open Display Component’s
Save Delete Attribute Name
Cut Print
Copy Search
Paste Undo
Multi-Copy Redo
a b c d e f g h i
a:Nudge Left/Right/Up/Down by one pixel
e:Group/Ungroup
50
Advanced Part User Interface
Compile Decompile
Compile All Direct Online Simulation
Clear Build Result Indirect Online Simulation
Download Offline Simulation
Download Method
⚫ Filled Style 0~26:when check【Window Attribute】-【Use Background Color】,there are 26 filled styles selectable.
⚫ Unfilled: When【Use Background Color】 is checked, single click 【Unfilled】to cancel fill color and filled style.
51
Kinco DTools Configuration Edit Software
⚫ 【Status Bar】:Shows the current X, Y coordinate values of mouse position, width/height of the target object.
⚫ 【Tip Text】:When mouse is hovering over toolbar icon, the responding tip text will display.
⚫ 【Toolbar Options】:Single click the down arrow【Toolbar Options】,【Display/hide panel】 will display for user
Graph element window is one of the most indispensable windows, which is mainly for supply configuration with devices,
52
Advanced Part User Interface
1. Right click on the Graphic Element Window to switch between big icon and small icon of parts:
2. Hover mouse over icons of HMI or PLC to view information of the corresponding devices:
53
Kinco DTools Configuration Edit Software
Project files window is for displaying all graphic libraries, macro files, recipe files and other information include in the
current project.
Macro File
Recipe File
Graph File
1. Double click macrocode file in Project files window to open macro edit window and edit corresponding
macrocode.
2. Double click graphic files in Project files window to open graphic edit window and edit corresponding
graphic.
Project structure window is for displaying all the elements in the current project by tree diagram or previews.
Tree structure: Displaying all the elements in the current project by tree diagram:
54
Advanced Part User Interface
Component 0
Frame 0 Component 1
Project Name
HMI0 Frame 1 Component2
HMIn
PLC0
PLC PLC1
PLCn
Click the project name in Project structure window to expand the topological structure; Click “HMIn” or
“Frame n” to display the responding configuration window of the certain HMI; Click component to display
Message window displays information of the loaded projects and compilation results, in order to facilitate users accurately
55
Kinco DTools Configuration Edit Software
Users could delete or export compilation information in Message window by right click.
Clear message: clear all the compilation information shown in Message window.
Export message: export all the compilation information shown in Message window to the current project file,
Component list window is for check information of all the components used by current projects, including affiliated
1. Open Component list window from the drop list of【View】 Menu.
2. Double click the line of a component, then configuration edit window will change to the frame which the
56
Advanced Part User Interface
⚫ Construct Window
Open Construct window by clicking “Construct Window” in 【Window】menu or clicking project name in Project
structure window.
Drag an HMI into the Construct Window, and then open HMI Edit Window by right clicking on the HMI icon and select
Open Graphic Edit window by creating a new graphic or by double clicking one graphic file in Project files window.
Open Macrocode Edit Window by creating a new macro or by double clicking macro files in Project files window.
Enter the Edit Init Window by selecting HMI and clicking the icon of the Database Toolbar in Construct Window, or by
When multiple edit windows are opened, you can arrange the windows by “Cascade”/ “Tile Horizontally”/
Users can configure communication connection between devices and set communication parameter in Construct Window.
devices to connect with wire ends. To make sure the connection is established, drag devices, then the properly attached wire
57
Kinco DTools Configuration Edit Software
➢ Serial communication
➢ Ethernet communication
☞More details about communication please refer to【Advanced Part 14 HMI Communication】
1.5.2 HMI Edit Window
Users could edit vector graphics (.vg) and bitmap graphic (*.bg) in Graphic Edit Window.
☞More details about graphics edit please refer to【Advance Part 5.3 Graphic Library】
58
Advanced Part User Interface
In Macro Edit Window, users could write source code to realize such functions as operation and logic by using standard C
language.
Macro Parameters
Definition Window
In Edit Initial Window, users could replace or edit the default initial window of HMI.
☞More details about initial window please refer to【Advanced Part 2.8 LOGO Screen (Logo)】
59
2 Basic Design Method
2.1 Window screen
This chapter mainly introduces the specification of basic windows in Kinco DTools, and how to use and display them.
480×272 480×272
640x480 640x480
800×480 800×480
1024x600 1024x600
1024×768 1024×768
1280x1024 1280x1024
Change window
Window change is to shut down the current window (including the sub window) and open another appointed one.
60
Advanced Part Basic Design Method
Frame 0
D0:0à10
Frame 10
Basic
window
Bottom
window 1
Common
window
➢ Bottom window
Double click at the space on the basic window, you can see [window attribute] frame. Once chosen as a bottom
window, all the components on it will also show on the basic window.
Default common window:[1:Common Window],users also can define any other one freely. All the components on
参数设置
Para
setting
Fast
select
window Keyboard window
Basic window
61
Kinco DTools Configuration Edit Software
➢ Direct window
You can switch on or off to open or close popup the window. Its size is determined by the one of direct window.
➢ Function key
Function key: [Popup window] to open the specific window, [close window] to close it. Its size is determined by
Default fast selection window [2:Fast Selection], users also can define any other one freely.
By click [Menu] on task bar, the fast selection window will display and it will shut down after click again.
1. No limit of popup window. But it`s better to use much fewer or much RAM will not be released.
2. only one fast selection window
⚫ Window moves
Control
bar Password:
******
password:
******
Password :
******
62
Advanced Part Basic Design Method
The popup window will display where the “direct window” or “indirect window” is put.
******
Set [variable display coordinate], values or addresses determine the position of popup window (coordinate of top left
corner point.
Set values of “X”,” Y” in [window attribute]-[position], they are the coordinates of the popup window.
Popup window
attribute
(80,10)
******
Its position cannot be changed when the screen is a basic window and it can only display full screen.
63
Kinco DTools Configuration Edit Software
password:
******
运行画面
Common
参数设置
window
Bottom
window
bottom
Basic
window
Popup
Please enter the window
password: Keyboard
****** window
Opertion
screen Fast
select
Para window
setting
front
(1)copy window
⚫ Same project
➢ Same HMI
Right click the component on frame A, choose [copy], then change to frame B and paste it on it. By this way, only
◼ [copy/delete window]
“OK”. By this way, all the components and window attribution are copied.
! [Screen]—[copy/delete window]: this copy operation across the HMI windows is not supported
When copy across different projects, you should open the related two projects with Kinco DTools, and then right click
[copy].
(2)delete window
64
Advanced Part Basic Design Method
Right click the frame you want to delete under [project structure window], then it will be deleted.
⚫ [copy/delete windows]
Click HMI you want to handle, click [screen]- [copy/delete windows- [delete window], [delete single window] can delete an
appointed window, [delete multi-windows] can delete continuous-number windows.
Kinco DTools mainly supports two format vg and bg. When creating a vector graph, its default format is vg, while creating a
Graph format Max size(pixel) Min size(pixel) Graph types State limit
2.2.2 Vector
[vector], in short, enlarge or narrow without distortion. Geometric figures which can be infinitely enlarged without color
65
Kinco DTools Configuration Edit Software
In Kinco DTools, you can create vector graph through in two ways:
Use component [vector graph]. open window edition, draw as you need with drawing tools, save, exit edit window, a new
Draw in the edit window with drawing tools, right click the graph done, choose “save to the VG map”, a new vector graph
is finished
Drawing
tool
line
curve
66
Advanced Part Basic Design Method
rectangle
round rectangle
2 release
3 the mouse, a round rectangle is
finished
radius.
polyline
polygon
67
Kinco DTools Configuration Edit Software
1 2
3
4 ~ move mouse into edit area,
5 6
ellipse
be a circle
sector
Attributions as below:
68
Advanced Part Basic Design Method
⚫ Attribution frame
⚫ Tools bar
Choose the graph, modify its attribute through [drawing tools]/ [ line width]/ [line style]. In this way, you can only set line
Double click the graph,choose[fountain fill]choose the foreground fill color, background fill color line color .
69
Kinco DTools Configuration Edit Software
Example:
Horizontal ■ □ ■
Vertical ■ □ ■
Oblique ■ □ ■
Under
■ □ ■
Oblique
Corner of
■ □ ■
Radiation
Centre for
■ □ ■
Radiation
2.2.5 Bitmap
[bitmap],in short,structured with pixel,enlarger or narrow with distortion. Bitmap is structured with pixel array and each
has its own information. We can change the graph by dealing with every pixel.
Bitmap, open the edit window, import pictures in forms of jpg, bmp, gif, png and so on, save, exit, a new bitmap is created.
If a picture influences the aesthetic, users can deal with the pure color with[transparent] tool in drawing tools :
70
Advanced Part Basic Design Method
“Transparent” can only deal with simple actions, not suggested to use.
Besides,bitmap supports PNG format, so you can edit a picture with another editor and convert it into PNG form before
import.
2.3 Text
User can add the text for the component by the following way in Kinco DTools.
⚫ Click the [A] icon in Draw Toolbar, and input the needed text content in [Text Attribute]- [Display Setting].
Position free
Select [Use Tag] in the [Tag] option in component attribute, and input the needed text contents in [Tag Contents], or select
71
Kinco DTools Configuration Edit Software
Kinco DTools provides 3 available fonts, i.e., dot matrix font, vector font and graph font. The advantages and disadvantages
of these three fonts will be described as follows; users can select the suitable font type according to its characteristics.
Dot Matrix font saves the bitmap for each character of the required Chinese character set. Each primitive (small picture) is
For each character, 3 kinds of bitmaps (8×8, 16×8, 24×16 (height*width)) are reserved respectively, so the effect
Kinco DTools deals with ASCII characters as half-width ones, while unASCII as full-width ones. So, if each
Vector font intercepts the characters that are used by the user from the corresponding font library through checking the setup
of the user-set fonts, and then makes them into TrueType font file (*.ttf format) for HMI to use.
➢ Only Support the TrueType installed in the operating system (*.ttf format).
➢ Without selecting “Vector Fonts Edge Blur”,the font is displayed with some projections, and comparison
72
Advanced Part Basic Design Method
“Vector Fonts Edge Blur” can be set in [HMI Attribute]-[HMI Extended Attributes].
➢ A smaller storage space is occupied. It adopts the method of intercepting the matrix from the font file, thus
reducing the size of the font file. For the same character in the same font, only one matrix needs to be intercepted
User can define the default vector font in [System Default Vector Font] in [Option].
[Example] Set System Default Font as “Arial”, when using tag or text and select “Vector Font”, it will select “Arial”
by default automatically.
Graph font treats the whole character string as a whole, and intercepts the whole bitmap and saves it in the project.
73
Kinco DTools Configuration Edit Software
➢ A larger storage space is occupied. Because the character string saves as bitmap, so it needs a larger space. For
example: Four characters “configuration” displayed in zero SimSun needs 1824 bytes, as shown below:
In addition, the graph font should be intercepted again if the content, size or colors vary slightly, thus causing a
User can modify the font attribute through the following two methods:
⚫ Modify in the component attribute dialog box
Double-click component /text to set the font attributes in [Component Attribute]-[Tag] or [Text Attribute].
⚫ Modify in Font Toolbar
Selected component/ text, and then set the font attributes in [Font Toolbar]. This method can support multi-modify font
attribute.
Different font types support different font attribute to be modified, specific as below:
: Support;--: Unsupported
Font Attribute Graphic Dot Matrix Font Vector Font Graph Font
Common
A
Bold
A --
Italic
A --
Underline
A -- --
strikeout
A -- --
Size
AA A
Color
AAA
Based on the special treating method for the vector font, the following conditions should be paid attention to when the vector
font is used:
1. Some fonts may not support some characters, or have poor support effects.
74
Advanced Part Basic Design Method
For example, the Chinese characters can be displayed by using Arial font, because there are no corresponding Chinese
characters in Arial font library. Otherwise, the effect will as show below:
2. Because the dot matrix font and graph font have many disadvantages in the storage space and scaling etc., therefore, use
the vector font as much as possible when it can meet the project requirements.
It too many types of vector fonts (e.g., dozens or more) are used by the user, the number of font files will be too many, thus
affecting the compilation speed, downloading speed and screen switching speed.
If a certain project uses “Microsoft Elegant Black” font when it is edited on PC, and when it is transferred to another PC
where no “Microsoft Elegant Black” font exists for editing, then all the “Microsoft Elegant Black” characters used in
2.4 Keyboard
This chapter describes keyboard type and methods of calling keyboard in Kinco DTools.
Kinco DTools support three keyboard for users: NUMERAL Keyboard、ASCII Keyboard and HEX Keyboard. And users can
Window
Max value* control bar
Max:AAAAAAAAAAAA
Min:AAAAAAAAAAAA Shut down
Input
Min value* AAAAAAAAAA display
clear
1 2 3 CLR
backspace
4 5 6 ß
_ minus
7 8 9
enter
0 . ENTER
※ 1. The values shown here are max and min in Max/Min Value Setting in [Number Input Component Attribute]- [Numeric
Data], Keyboard permission input value range is limited by the value.
2. If [Proportion Conversion] is selected, the values shown here are max and min after proportion conversion.
⚫ ASCII Keyboard:ASCII Keyboard for text input component or number input component.
Lowercase:
75
Kinco DTools Configuration Edit Software
Window Shut
control bar down
Input display AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Backspace
exit ESC 1 2 3 4 5 6 7 8 9 0 BACK
= | ? z x c vv b n m ; { }
space Page
Ch-En switch
up
Caps:
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
ESC ! @ # $ % ^ & * ( ) BACK
Clear Q W E R T Y U I O P
Caps A S D F G H J K L ENT
= | ? Z X C v
V B N M : { }
Page Page
+ _ > < CH Up Down
Chinese Input:
我握窝卧挝 沃蜗涡
wo
ESC 1 2 3 4 5 6 7 8 9 0 BACK
Hanzi input
Clear q w e r t y u i o p
Caps a s d f g h j k l ENT
= | ? z x c v
v b n m ; { }
Page Page
+ _ > < EN Up Down
※Set Chinese Font Box Height in [HMI Attribute]- [HMI Extended Attributes], height range from 24 to 99 (pixel).
⚫ HEX Keyboard:for HEX character input
76
Advanced Part Basic Design Method
Window
Max value* control bar
Max:AAAAAAAAAAA Shut
Min:AAAAAAAAAAA down
Input
Min value* AAAAAAAA display
A B C D
E F 9 8
7 6 5 4
3 2 1 0
Clear
CLR BS ENTER enter
Backspace
※1. The values shown here are max and min in Max/Min Value Setting in [Number Input Component Attribute]- [Numeric
Data], Keyboard permission input value range is limited by the value.
2. If [Proportion Conversion] is selected, the values shown here are max and min after proportion conversion.
Through the following three methods, Number Input Component will pop up NUM Keyboard in Kinco DTools.
Open [Number Input Component Attribute] - [Keyboard Setting] dialog box, and then select [Public Windows Keyboard], as
shown below:
Put two “direct window” components respectively on the left and right side of [Frame 1:Common Window],choose
Take apart in the middle of a screen, when the components on the left side is triggered, the direct window on the right side
will pop the keyboard, It`s the same with the other side.
77
Kinco DTools Configuration Edit Software
Use specified keyboard. Only after setting window attribute as “keyboard page” can you find the page in [input attribute]-
Special
attribute:
keyboard page
Size of window
and keyboard
Select
self-made
keyboard
Open [Number Input Component Attribute] - [Keyboard Setting] dialog box, and then select [Not Use Pop-up Keyboard], as
shown below:
No keyboard will pop up, while user can input things through circumscribed keyboard.
78
Advanced Part Basic Design Method
DTools.
If you want to us your own keyboard, you should set it as a keyboard page, and choose the frame ID of the
keyboard window.
Same as number input,No keyboard will pop up, while user can input things through circumscribed keyboard.
When input hex number, you should make it with two methods as below:
If you want to us your own keyboard, you should set it as a keyboard page, and choose the frame ID of the
keyboard window.
79
Kinco DTools Configuration Edit Software
No keyboard will pop up, while user can input things through circumscribed keyboard.
Window
control bar
Display aera
Keyboard
area
Create keyboard:
9 1
Max: AAAAAAAAAAAA 2
Mi n: AAAAAAAAAAAA
8 AAAAAAAAAA 3
1 2 3 CLR
4
4 5 6 ß
7 5
_
7 8 9
0 . ENTER
6
80
Advanced Part Basic Design Method
State 0 State 1
Graphics
1
function key,character input,attribute setting:take for example
81
Kinco DTools Configuration Edit Software
Unicode uses two bytes to form a character,often used to display characters cannot display by ASCII, kanji for example.
1 2
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 3
1 2 3 4 5 6 7 8 9 0
А Б В Г Д Е Ё Ж З И
Ю Я Й К Л М Н О П Р 4
С Т У Ф Х Ц Ч Ш Щ Ъ
Ы Ь Э BS СБР вВОД 5
8 7 6
И
function key,character input,attribute setting:take for example
82
Advanced Part Basic Design Method
Tag 0:вВОД;1:вВОД
Font vector:Arial Unicode MS
Graphics
State 0 State 1
Kinco DTools provides 21 default keyboards in Group Components Library, the method of calling the keyboard in Group
Components Library is as follows:
【example】number input calls a keyboard made of group(text input/note book)。[Example]
Create a new window named Frame10, and select [Keyboard Page] from [Special Attribute] in Window Attribute.
Right-click the mouse in the blank area in the Frame10 window to select [Group]- [Use the group element], then select
[keyboard] from [Group Components] in [Edit Box of Group Components Library], and select the right keyboard from
[Preview] and click [Place Group Components] button, then the keyboard will appear in Frame10.
83
Kinco DTools Configuration Edit Software
Modify the window size of Frame 10 to the same size as the specified keyboard.
Place one number input component (LW0) in Frame0, and select [Specified Keyboard] in [Keyboard Setting] in
[Number Input Component Attribute], select [10: Frame10].
Save, compile, and run the project. Then click the number input component (LW0) to make the specified num keyboard
pop up in the middle of HMI screen.
2.5.1 BIN
BIN(Binary)is binary code type. Most digital systems are based on BIN code to process the data
[Example]
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
84
Advanced Part Basic Design Method
2.5.2 BCD
BCD (Binary Coded Decimal) is two-decimal code. The encoding type represents a decimal number 0 to 9 with 4-bit binary
As easy to deal with, often use for BCD switch and BCD nixie tube display 由
[Example]
Decimal data is +123,the binary data is 0000 0000 0111 1011 (64+32+16+8+2+1=123). But BCD data is #123,it can be
Decimal data is -413,the binary data is 1111 1110 0110 0011(complement for negative number,negation adding 1). But
BCD data is #F413,it can be simply expressed as 1111 0100 0001 0011
2.5.3 LSB
LSB is the acronym of Least Significant Bit. This encoding type first converts the data in the buffer to binary data, and then
determines the current state of component based on the number of consecutive “0”at the least significant bits of the binary
dat. [Example] Take the data with word address for example:
1 0000 0000 0000 0001 The number of consecutive “0”at least significant bits is 0, the state is 0
2 0000 0000 0000 0010 The number of consecutive “0”at least significant bits is 1, the state is 1
3 0000 0000 0000 0011 The number of consecutive “0”at least significant bits is 0, the state is 0
4 0000 0000 0000 0100 The number of consecutive “0”at least significant bits is 2, the state is 2
5 0000 0000 0000 0101 The number of consecutive “0”at least significant bits is 0, the state is 0
6 0000 0000 0000 0110 The number of consecutive “0”at least significant bits is 1, the state is 1
7 0000 0000 0000 0111 The number of consecutive “0”at least significant bits is 0, the state is 0
8 0000 0000 0000 1000 The number of consecutive “0”at least significant bits is 3, the state is 3
the multiple languages’ contents can be realized by modifying the value of special register, which refers to LW9130 in Kinco
DTools.
85
Kinco DTools Configuration Edit Software
运行 停止 RUN STOP 運転 停止
☞ For details about text library, refers to [Advanced Part 5.1 Text Library]
There are two following usages for switching display among the multiple languages by LW9130.
⚫ Use Multiple State Setting and Multiple State Display components.
Device operation
fault
Chinese
English Multiple
states setting
Japanese
Multiple
states display
Three multiple state settings stack up upon a multiple state display in corresponding order, attribute settings:
86
Advanced Part Basic Design Method
Language 中文
中文
English Multiple state switch
87
Kinco DTools Configuration Edit Software
In Kinco DTools,components with real time clock:time, event display, event bar, historical event display, historical data
So, when using components above, you should ensure the accuracy of time or you may get wrong information
LW10000~LW10006:
[Example]set year, month, date, minute, second, use 6 number input components as shown:
#### / ## / ## ##:##:##
1 4
2 5
3 6
attributes:
Read/Write LW10005(HMI system LW10004(HMI system LW10003(HMI system
Address special register) special register) special register)
Integer 4 2 2
Min/ Max 2000/2037 1/12 1/31
Alignment Left Leading 0 Leading 0
Font Color Black
Graphics No
attributes:
Read/Write LW10002(HMI system LW10001(HMI system LW10000(HMI system
Address special register) special register) special register)
Integer 2 2 2
Min/ Max 0/23 0/59 0/59
Alignment Leading 0
Font Color Black
Graphics No
Input the real time to get the right time information:
88
Advanced Part Basic Design Method
2011 / 10 / 18 19 : 57 : 01
2011 / 10 / 18 19 : 57 : 01
Max:AAAAAAAAAAAA
Max:AAAAAAAAAAAA
Min:AAAAAAAAAAAA
20
1 2 3 CLR Min:AAAAAAAAAAAA
57
4 5 6
ß
7 8 9
_
1
0 . ENTER
1 2 3 CLR
4 5 6 ß
7 8 9
_
0 . ENTER
MTxxxx SETUP
Mi n: AAAAAAAAAAAA
. HMI
0Reset ENTER
after set the buzzer!
☞More infermationrefers to[Hardware Part 3.1 Methods to Display System Setting Mode]
2.7.3 System Time and PLC Time Synchronization
There are two following ways to make the system time and PLC CPU time synchronization:
In this way, we will use the Timer component to transfer the data in the time register of PLC to HMI system special register
LW10000~LW10006.
☞ For details about Timer component, refers to [Advanced Part 4.16.2 Timer]
! Minimum execution cycle is 100ms,so there is an inevitable time deviation between HMI and PLC.
Only for trigger time and return to normal time of event (HMI time for acknowledge time).
Choose “use external time for event”- [HMI attribute]-[HMI extended attributes ],related time will read from special
registers: LW9010~LW9017 ,which get time by timer receiving from PLC CPU clock.
89
Kinco DTools Configuration Edit Software
LW9010~9017:
! Minimum execution cycle is 100ms,so there is an inevitable time deviation between HMI and PLC.
Select “Use External Time for Event” in [HMI Attribute]- [HMI Extended Attributes].
90
Advanced Part Basic Design Method
☞ For details about event information logon, refers to [Advanced Part 4.15.3 Event Information]
use an event display to display information written in event information list.
attribute:
91
Kinco DTools Configuration Edit Software
window.
92
Advanced Part Basic Design Method
HMI.
Open [KDManager]- [Download Operate] and select “Unshown LOGO”, then click the [Set] button. If the setting is
successful, [Set Successfully] dialog box will appear. And then LOGO screen will not appear during the startup of HMI next
time.
93
Kinco DTools Configuration Edit Software
In Kinco DTools construct window select the HMI which to exchange serial, right-click and select "Exchange serial 0 and
Before
After
! Exchange serial function is only applicable to COM0 and COM1, are not suitable for COM2
94
Advanced Part Basic Design Method
!
Note
HMI replacement must be carried out through the [Replace HMI Type] option, and if it is done by getting
the original HMI deleted and then a needed HMI type created, the original project screen will be lost.
!
Note
PLC replacement must be carried out through the [Replace PLC Type] option,and if it is done by getting the
original PLC deleted and then a needed PLC type created, the PLC address type set in the original project
Select an HMI icon and right-click it in the Construct Window of Kinco DTools, and then click “Replace HMI Type”, as
shown below:
Then, the [Replace HMI Type] dialog box will pop up:
95
Kinco DTools Configuration Edit Software
Choose destination
HMI
Replace special
windows as
needed
Choose the HMI you want in [] new HMI]- [HMI type], If resolution ratio of the two differ a lot, it is suggested to choose all
the special windows, or the old ones are in use. Click OK to finish.
!
1. Replace an HMI with 3 serials with one with 2, you should connect the device to COM0 or COM1 if it is
3.Once the new HMI type doesn`t support components in the old ones, all them will disappear
automatically.
4. If resolution ratio of the two types is different size of component will be enlarged or narrowed, excluding
word size.
Select a PLC icon and right-click it in the Construct Window of Kinco DTools, and then click “Replace PLC Type”, as
shown below:
96
Advanced Part Basic Design Method
2
Then, the [Replace PLC Type] dialog box will pop up:
The user can select the replace PLC type in the pull-down list of the destination PLC type, and the user select new address
types in address type mapping list according to the address type relationship between source PLC type and destination PLC
type.
If the replaced PLC has the same register name, it will automatically correspond to the register; if there is no same register,
then manually select the corresponding relationship between registers in the drop-down menu.
We can change operator address by changing value of a register. In this way; we call this register index register. Real
address=initial address + value of index register. After using index register, only the real register value will be modified, not
97
Kinco DTools Configuration Edit Software
!
Some backgrounders including event information logon, alarm information logon, PLC control, macro,
[Example]
You can check all the product indicator data by input line number
D101: 150
Production line 1 Production line 2
D102: 200
...
When HMI communicates with more than one PLC through one port, it usually needs to drag many PLCs on the screen. If
there are a lot, it will be a little crowd. In order to avoid it, user can make it by [change station num.
When editing a project, only one PLC is dragged out, by change choose [change station num] in component attribute, you
98
Advanced Part Basic Design Method
!
1. Some backgrounders including event information logon, alarm information logon, PLC control, macro,
2. Special register index station ID, 16 different number devices to max on one screen.
[Example]
99
Kinco DTools Configuration Edit Software
You can check all the product indicator data by input line number
Station 2
Production line 2
Station 1 Station 3
Production cycle 200
2.12 Buzzer
Buzzer is built HMI body, and can issue a "beep" sound device. The buzzer is usually used for touch and alarm.
Touch beep means that when user touches the screen components, the buzzer will issue a "beep" sound.
100
Advanced Part Basic Design Method
Beep...
Enabling and disabling the touch beep can be achieved through the following three ways:
Check the "User buzzer" means that enable the buzzer sounds, as shown:
Save, compile and download to the HMI, then setting can take effect.
Switch to system setting mode, and set the buzzer enable or disable.
Enable
Option
Reset HMI after set the buzzer! Startup Window NO. 0
Backlight Saver Time: 10
Buzzer Disabled Enable
101
Kinco DTools Configuration Edit Software
When item logon in the alarm information or event information is triggered, HMI will beep.
!
2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
0 2011/06/23 10:50:01 11:40:10 10
Abnormal Beep...
Temp.!
Users can choose buzzing time ranging from 1 to 65535, unit: second
disoperation.
Screen saver function is enabled in the [HMI Attribute] - [HMI extended attributes]:
102
Advanced Part Basic Design Method
When the HMI screen in the set period of time without touched, the screen will switch to the specified window that
screensaver window.
If the screen saver window is a non-fixed value, you can change the value of the special register LW9532 to change
1. Screen saver time range from 1 to 65535, unit is minute; if set to 0, it means does not use the screen
saver function.
2. Check the "Return to original window when screensavers end", which means that when the system
enters screen, if there are touch-screen operation, the system will switch back to the previous window
into screensavers. Uncheck it means to continue to stay in the screensaver window, you need to set
⚫ project protection:before you can open a project, you should input password
103
Kinco DTools Configuration Edit Software
PKG WPJ
file file
You can set security levels or user permissions to limit operator from entering some important windows.
Max: AAAAAAAAAAAA
Mi n: AAAAAAAAAAAA
********
Frame 0 Frame 10
1 2 3 CLR
4 5 6 ß
Frame 10 7 8 9 _
0 . ENTER
Set number of security levels and relevant password in [HMI attribute]- [security levels].
Window security level is set to 0(default), Window B security level is set to 1, then window A can be switched to window
B when the system security level is equal or up to 1. So, user must input the 1 or up 1 level password before switching the
window.
User can pop password window with the help of direct window, while function key will be used to switch the state of it.
User can also create a new window or call the system one [Frame9: Login Window].
Set control setting to the component changing window. Choose “conditional enable” in [attribute]- [control setting]-
[Touching enabled setting], select “security level”, set minimum level:1(or higher than 1). Then only users whose level
You need first to assign authority in [HMI attribute]- [user permissions setting]
Then you can set control setting of a component to implement this function.
Choose “conditional enabling”in [HMI attribute]-[control setting]-[touching enabled setting],select “permission control”,
Only user who has permission 1 can use this component. User can input its name and password to get the permission.
104
Advanced Part Basic Design Method
User can also create a new window or call the system one [Frame9: Login Window].
2.14.3 Component Protection
In Kinco DTools, you can limit others to operate some important components by set security levels or user permissions.
Max: AAAAAAAAAAAA
Mi n: AAAAAAAAAAAA
********
1 2 3 CLR
4 5 6 ß
7 8 9 _
0 . ENTER
In two following ways you can protect components from being used without allowance:
1. If the [data decryption] operation is not performed to the CSV file generated for the component using
2.
[Data Encryption], the illegible characters will be displayed in the opened CSV file.
If the data is decrypted through KDManager, the CSV file or PDF file can only be opened for viewing
instead of modifying or editing.
3. If the encrypted file is modified by someone intentionally, the error prompt will appear during the
[Decompile] operation in KDManager, making the damage of source file informed to the user.
4. The components supporting [Data Encryption] function is trend curve, XY plot, historical data display
components.
Take the setting method of [Data Encryption] for sampling data file of the Trend Curve as example:
(1) [Trend graph component attribute] - [Save historical data] - Select [Save to external device] - Select [Data Encryption].
(2)The illegible characters will be displayed in the generated CSV file after the encryption if it is directly opened.
105
Kinco DTools Configuration Edit Software
Choose[data encryption]
106
Advanced Part Basic Design Method
The following dialog box will pop up after the successful decryption.
The display effect of the CSV file decrypted successfully is as shown below.
By frequently switching some static pictures, you can see a continuous effect.
Vector graphics:
timer,change values of multiple state display,attribute:
Execution Cycle 1×100ms
State Setting Mode Periodical JOG++ (circle)
Date Type word
107
Kinco DTools Configuration Edit Software
Asc value 1
Upper 2
Addr. Type LW 0 (HMI local register)
By changing values, component can move from one position to another, so user will see a continuous action effect.
0 1 2 3
1
ambition, attribute:
Read address LW 0(HMI local register)
Graphics State0
Vector graphics:
108
Advanced Part Basic Design Method
⚫ By changing values, component can move from one position to another, so user will see a continuous action effect.
320px
1 50px
50px
2 240px
Vector graphics:
Timer element, used to change the X-direction coordinate values of moving element, property is set to:
Execution Cycle 2×100ms
State Setting Mode Periodical Bounce(turnover upon limit)
Date Type word
Step 1
Upper 0
Lower 270(320-50)
Addr. Type LW 1(HMI local register)
Timer element, used to change the Y-direction coordinate values of moving element, property is set to:
Execution Cycle 3×100ms
State Setting Mode Periodical Bounce(turnover upon limit)
Date Type word
Step 1
Upper 0
Lower 190(240-50)
109
Kinco DTools Configuration Edit Software
2.17 multi-Copy
d
a
e f
a:Interval makes the right border of the component as the start point to perform the copy. Pitch makes the 1st point in the
upper-left corner of the component as the start point to perform the copy.
110
Advanced Part Basic Design Method
Interval
Pitch
2.18 Group
Several components or the graphics are combined together and saved into the Group Components Library, thus making them
called by other projects conveniently.
The format of Group Components Library is *.pgl.
⚫ How to open [edit box of group components library]
➢ Click [Draw] menu- [Group components]- [use the group element]
➢ Right-click the mouse in the blank space of the window, select [Groups]- [use the group element], then the [edit box of
group components library] dialog will pop up, as shown below:
Name Description
Export Library Make the [Group Components Library] saved in the path defined by the user for convenient
import.
Import Library The default path of group components library is the userlib directory under the installation
path of Kinco DTools, and the user can also import the group components library from the
111
Kinco DTools Configuration Edit Software
self-defined path. Click [Import Library], and select the required group components library
in the path corresponding to the saved group components library, then click [Open] to add
this group components library to the group components library of the current project.
New Library Click [New Library] button will make the dialog pop up, and the user can put the name of
this new created group components library in it. The default path to save the group
components library is the userlib directory under the installation path of the software.
Delete Library Delete the group components library opened currently.
Delete All Groups Delete all the graphics in the group components library opened currently.
Delete Group Components Delete the selected graphics in the group components library opened currently.
Place Group Components Place the selected group graphics in the group components library opened currently into the
screen edited currently.
[Example]: How to add group graphics to a new created group components library is described as follows:
(1) Click [use the group element] in [Group components] in [Draw], and click [New Library] after the Edit Box of
Group Components Library pops up, and input “group” as the name of the group components library in the
group component library name dialog box, as shown below:
112
Advanced Part Basic Design Method
Selected these 3 rectangles, and right-click the mouse to select [Group]- [Save the group elements], and then click the [Save
Group Components] button in the Edit box of Group Components Library dialog box to make the following dialog box pop
up.
(3)Input “graph 1”in the Part Group Name dialog box, and then click [OK] button, then these 3 rectangles with the
name of [graph 1] will be added into the new created group components library with the name of [group], as shown below:
(4)If there are other group components to be added into the group components library with the name of [group], the
operation method is the same as that mentioned above. And you just need to select [group] in the Group Components Library
list as the path to save it.
113
Kinco DTools Configuration Edit Software
Name Description
Find Current Project All the frames, macros, background database in HMI will be searched.
Range Background Only the background database components, such as event information logon,alarm
Database information logon,trend carve etc. will be searched.
All HMI Frames and Macros All the frames and macros in current project will be searched.
All Frames All the frames in current project will be searched.
All Macros All the macros in current project will be searched.
Current HMI Frames and Macros All the frames and macros in the selected HMI will be searched.
All Frames All the components in all the frames in the selected HMI will be
searched.
Current Frame All the components in the current frame in the selected HMI will be
searched.
All Macros Only all the macros in the current HMI will be searched.
Find Register Register Type It means to find the device with Bit type or Word type.
Addr. Type It represents the device type and device address in the controller
where the search is performed. Checking “Range” means the
search will be performed in the set range of address.
Text Unselect match It means the judgment of the case of the characters and the
case/ full match consistency in the whole text will not be done during the search.
Match Case It means the match of the case of the characters in the text to be
searched is required.
Full Match It means the match of the text to be searched in the whole text is
required.
Replace After this option is set, the device type and address found according to the set conditions will be replaced by the
specified device type and address. “Automigration by Cor. Address” in the Replace part will take effect once
the “Range” in Find part is selected. If “Automigration by Cor. Address”is not selected, the replace address
114
Advanced Part Basic Design Method
is the same; while if “Automigration by Cor. Address”is selected, the replace address is the consecutive
address which will automatically deviate by making the set replace address as the start address. When the above
parameters are set, if the “Find” button in the dialog box is clicked, the search of address meeting the
condition will be performed the window locating in the Find Range. If the component is found, then No.,
Location, Name and Data will be displayed in the bottom white box. When the component meeting the
requirements is found, the screen will automatically switch to the position where this component locates and the
attribute dialog box for this component will pop up after this component is double-clicked. Clicking
“Replace” or “Replace All” means the found component meeting the conditions will be replaced by the
component with the address type and address set in the “Replace” part.
115
3 Window
Window is the basic element for HMI project, each screen is made of some windows. With window, you can place the
and Fast Selection Window. The Basic Window after its size is changed can also be used as pop-up window. All the windows
can be used as the bottom window. Specific descriptions are shown as below:
Basic Window This window is the most commonly used window. When Basic Window is changed by using [Function
Key]- [change window] or [PLC Control]- [change window] function, the current screen will be cleared
(All the windows rather than Common Window and Fast Selection Window will be cleared.), and the
Basic Window to be changed will be displayed in the current screen. When the component in Basic
Window calls the pop-up windows, the Basic Window is always on opening status, and the original
information will be reserved, and the called pop-up window will be attached to the current Basic
Window. The master-slave relationship is between Basic Window and all of related pop-up windows.
When Basic Window N is switched to Basic Window M, all of the sub-windows of Basic Window N
Fast Selection This window is the window called by the operation buttons, is generally used to place the commonly
Window used buttons. And it will be always displayed in the screen until the operation button makes it hidden.
The default Fast Selection Window is Frame 2. You can modify the other window as Fast Selection
Common The components in this window will be displayed in the other window, but does not include Pop-up
Window Window. Usually, each window shared or the same components will be put in Common Window. The
default Common Window is Frame 1. You can modify the other window as Common Window in [HMI
Bottom Window This window is generally used to put some common components such as background graphics, charts,
and titles and so on. Using this window, you needn’t to edit some components repeatedly. The
components in Bottom Window will be inserted into the general window during, and in fact window
Pop-up Window All the Pop-up windows are attached to the current Basic Window. The windows closed by the function
key only can close Pop-up window, direct window or indirect window, can’t close Basic Window. The
direct window, indirect window, [Event Information Logon]- [Pop-up window] and [Function Key]-
116
Advanced Part Window
One screen can include Basic Window, Fast Selection Window, Common Window, while every Basic Window or Common
Window can include many Bottom Windows and Pop-up Windows. The relationship between them is shown as below:
Screen
※ The pop windows by Event information logon and Function key setup
The number of windows in each project is limited as follows:
Common Window 1 1
!
1.As once opened,the popup window won`t release the RAM unless closed,it is suggest to use it as few as
possible.
2. The same window can be opened once by one related window; therefore, you can’t open the same
3. All the Pop-up windows are attached to the current basic window, so when the current window is switched
to the other Basic Window, the Pop-up window will be closed. In this case, if the window is switched back to
this Basic Window, you will find that the Pop-up window originally attached to this window still exist;
4.A popup window in the common window does exist until shut down with the Function key [Close window]
6. Use Basic window rather than Popup window, Indirect window or direct window which may slow down
7. The actual largest number of Basic window and Popup window is related to HMI`s RAM.
117
Kinco DTools Configuration Edit Software
2 Fast Selection Fast Selection,used in coordinate with [Fast selection window] in HMI attribute
5 File List Window File List Window,used in coordinate with [Input/Export] in Function key
!
1. Default Frame 0~9 no deletion
2.Device address and attribute in Frame1-9 cannot been modified, or they may not be in normal use. You can
118
Advanced Part Window
A new project has 10 system default windows. User can add some new windows, and there are 3 methods to create a new
window.
⚫ Select the HMI0 to right click in Project Structure Window and select [Add Frame],
Click [Add Frame], and the [New Frame] dialog box will pop up.
Name Descriptions
Frame Vacant When the existing windows are not in a continuous order, the new window will automatically insert
End The new frame will automatically be numbered next to the existing last number. Default choice.
Custom The new frame number can be defined freelyfrom10 to 32767 without duplicating the existing
number.
119
Kinco DTools Configuration Edit Software
Frame ID New frame number. When the Frame position is [Vacant]or [End], this option is unavailable. Only
There are 4 methods to open the window after the window is created.
⚫ Click the icon of [Previous page]/ [Next page] to open the window. The previous window can be displayed by clicking
the icon, and the next window can be displayed by clicking the icon.
⚫ Click the window ID in [Project Structure window]- [Tree View].
120
Advanced Part Window
➢ Window support the function of copy and multi copy. Click the [Copy/Delete windows] in [Screen] menu to copy
window.
Click [Copy/Delete windows] and the following dialog box will pop up:
Name Descriptions
Operation Type Copy window:count Select the function of Copy window and set the count
Source Windows Copy Single Window Set the starting source copied window ID
Param Setting Copy Multi-Windows Set the starting source copied window ID and the end source window ID,
Set the starting destination windows ID. The end destination window ID
Destination windows ID Setting will increase automatically according to the copied number and the number
121
Kinco DTools Configuration Edit Software
➢ Right click the selected window in [Project Structure window]- [Tree View], select [Delete].
➢ Selected the window in [Project Structure window]- [Tree View], and press the [Delete] key of PC keyboard.
➢ Click [Copy/Delete windows] to pop up the [Copy/Delete windows] properties dialog box,and select [Delete
Window].
Name Descriptions
Delete Window Delete Single Window Set the starting deleted window ID
122
Advanced Part Window
Operation Setting Delete Set the starting source deleted window ID and the end source window ID,
!
1. After delete window, all components in this window will lost and can’t be recovered. Be careful with using
this function.
2. The windows from Window 0 to window 9 are system default window, unable to delete.
There are 5 methods to change the window attribute in Kinco DTools software.
⚫ Click the icon in the [Current Frame Attribute] in [Page Switch Toolbar].
⚫ Right click the selected window to set in [Project structure window]- [Tree View], select [set].
123
Kinco DTools Configuration Edit Software
Name Assign the name for each window for convenient differentiation.
No. The window No. ranges from 0 to 32767. Window No. can be set when the new window is created,
Security Level Set the security level for the current window
lowest security
☞For details, refer to [Advanced Part 10 Password]
level when window
closed
Position X/Y This function is only valid for using “popup window” function of the function
key. When the window is set this attribute, the vertex in the upper-left of the
Width/Height Set the width and height of the window. If the special attribute features [Print
page], the width and height both can be larger than the fact screen size, but do not
Bottom Window Set the corresponding bottom windows for the current window. The bottom window is in the bottom
of the edit window as background graphics. The window to be set as the bottom window must be the
created window, where the components used by the multiple windows together can be put.
Frame Set the width and the color of frame. The frame width ranges from 0 to 16. If the width is not 0, the
124
Advanced Part Window
Shielding public If the shielding public window keyboard mapping is selected, it will shield the keyboard in the
window keyboard common window. This function is only valid for the self-keyboard HMI.
mapping
Special Attribute Keyboard page: Set the current window as keyboard window, and use with the specified keyboard of
the keyboard setting in component attribute. ☞For details, refer to [Advanced Part 2.4 Keyboard]
Print page: Set the current window as print window. ☞For details, refer to [Advanced Part 13 Print]
Video page: Set the current window as video window. It is set when video component is put in
pop-up window.
Use Background [Fill color] is the background color, [Background] is the filling graphics color. If the fill style is 0,
Transparence It is only valid for the pop-up window and the fast selection window. Transparence is 0%, 20%, 50%,
80%, 100%
Pop Window Type The Pop Window Type shows the relationship between one pop-up window and its adjacent window.
Monopoly If one window features “Monopoly”, its parent window will be frozen after it pops
Clipping If one window features “Clipping”, the border of this window will be restricted by
its parent window, i.e., the part displayed out of the border of its parent window will be
cut off.
Tracking If one window features “Tracking”, it will move together when its parent window
moves.
Coherence Window A and Window B are both attached to the Basic Window. Generally, Window
selected, it will not be displayed in the Top layer even if it is touched, but it will always
Timer List Show all the timers. If there is none,it won`t display.
Special setting Show all the timers and setting components with window attribute. If there is none, it won`t display
element list
respectively(0,0),(110,0),(220,0).
125
Kinco DTools Configuration Edit Software
Tag Use tag;0:Pop frame10 Use tag;0:Pop frame11 Use tag;0:Pop frame12
Graphic
State0 State1
Vector graphic:
Frame10,11,12attribute settings:
Initial coordinate 0 110 220
Save, compile and download. In operation,click function key, you can see frame as bellow
Prey, change common window, change fast selection window, Popup window, Close window, Popup window title bar and
minimize).
Functions directly related to the window are: Change Window, Write Data to PLC (Current Base Window), Change Window
☞ For details about contents of these components, refer to [Advaced part 4 Component]
126
4 Component
Components are the objects by which user inputs and operate data; user can execute some operations by operating these
objects. The attribute of component must be set correctly according to actual application. Different attributes influence the
component operating and executing result directly. This chapter will introduce the detail of component attribute.
In the PLC parts/Function parts/projects database of Graph element window, drag the component to the edit area, then the
attribute window will pop up automatically, there will be a “+” cursor when you click the OK of attribute window, then move
the cursor to appropriate position and click left button to put the component, click right button to cancel creating component.
Click the components(I) menu, chose a wanted component, then the attribute window will pop up automatically, there
will be a “+” cursor when you click the OK of attribute window, then move the cursor to appropriate position and click
left button to put the component, click right button to cancel creating component.
127
Kinco DTools Configuration Edit Software
1 3
2
Text library, address tag and sound lib are in the Option(O) menu
(2)Delete component
There are two ways to delete the components that have created
Chose the component, right click then click the Delete to delete the selected component
Chose the component, then press the Delete key on the keyboard to delete component
In some application, there is a chance that one touch to trigger multiple components execution, so the customer stacks
At this time, if there is a touch operation, the stacked components are not executed at the same time but executed according
The top component is executed first, then the following components. As shown in the following picture:
Executing
order The top
The
bottom
Besides, customer can check the layer position of the stacked components
Right click the stacked components; you can see the following options:
128
Advanced Part Better Understanding of Library
SWD1
SWD0
SW0
SB0
You can use the tool bar (set top/set bottom/ previous layer/next layer) to adjust the layer position of the
stacked components
SWD1
3
SWD0 1
SW0
SB0
2
SWD0
SWD1
SW0
SB0
!
1. If there is a component that executes Change window operation in the stacked components, the
components that under this Change window component will not be executed.
Execute first
Do not
execute
The attributes window will pop up automatically when the component created, and there are three methods to open attribute
129
Kinco DTools Configuration Edit Software
⚫ Chose the component, right click, chose the Attribute operation in the menu
When multiple components stacked together, the lower component can be selected by right click, then open attributes
In the Basic Attributes option, customer can set the operation object, address type and other related attributes
Basic Attributes
Priority Reserved
130
Advanced Part Better Understanding of Library
Write Address The register address to which the status value or data that writes. If it is unavailable, the component is
read-only component, the display status depends on the value and data in the Read Address
HMI The HMI number; the number is distributed automatically in order when the HMI is
built
PLC No. The PLC controller number; the number is distributed automatically in order when
Change Station When HMI communicate with multiple PLC controllers, you can use this option to
Num connect corresponding PLC controller. This option is used in the application that
uses one HMI-multiple PLCs or, multiple HMIs-multiple PLCs but only one PLC in
the program
device
☞For details, refer to [Advanced Part 15.2 System Special Registers of HMI]
Format The format of the address type in PLC/controller or HMI
Use Address Tag Use the addresses that have been defined in the Address Tag
register
☞For details, refer to [Advanced Part 2.11.1 Index Register]
Read Address The register address from which the status value or data read. If it is unavailable, the component is
131
Kinco DTools Configuration Edit Software
write-only component; the display status cannot display the data or state of read address.
In the Tag option of component attribute, set the display text of each state.
Tag
Check picture:
Manual
Operation
Uncheck Do not adjust the component size automatically according to the tag content, the tag
Manual
operation
132
Advanced Part Better Understanding of Library
Copy Contents
Choose one state in the Tag list, click this option to copy the tag content of this state to all the state
to All State
Front Type Use vector font or dot matrix font in tag content
Content
2
A 3
Content
A 2
1
Set the graphic of each state in the Graphics option of component attribute, the graphic can be vector or bit map.
Graphic
133
Kinco DTools Configuration Edit Software
Vector Graphics Use vector graphic to display Bitmap Use bitmap to display
Use original size This option is effective when chose bitmap as graphic, if it is checked, component will display the
Save to System
Save the checked graphic or graphic of some state to the system library in the UserselPath file folder
Library
Graphics Status Preview the graphic of the checked state. For some stateless control component, like Vector Graph
and Bitmap, the graphic display in Vector or Bitmap is the picture checked here.
Set the control conditions and security in the Control Setting, also can set the trigger macro and trigger register operation
here.
Control Setting
134
Advanced Part Better Understanding of Library
Touching Always valid The touch is enabled always the time. The operator can operate is all the time
Enable Always invalid The touch is never enabled. The operator cannot control operator it
Setting Conditional Security Level: If clicked means the current security level must higher than the set
Enabling security, so the operator can operate this component to set the state value or data to the
corresponding register.
4 5 6 ß
_
7 8 9
0 . ENTER
☞For details, refer to [Advanced Part 10.3.1 Security Level Protection for
Components]
Permission Control: If clicked means the operator must has corresponding permission so
he can operate this component to set the state value or data to the corresponding register.
135
Kinco DTools Configuration Edit Software
☞For details, refer to [Advanced Part 10.3.2 User Permission Protection for
Components]
Register Control: if clicked means the specified bit register or word register must satisfy
the setting conditions, so that operator can operate this component to set the state value
Operate condition
ON OFF
When...
Auto show If clicked means when touch the component but the current user
login window security level or permission cannot satisfy the setting security level or
Show Element If clicked means when the component is touch invalid, the component will display touch
Invalid Tag invalid tag. This function is optional only when the Always Invalid or Conditional
Enabling is selected. The color of touch invalid tag can be set in HMI Extended
Security Min Press Time The minimum time of a hold pressing to make touch effective. The unit is 100ms, when
Operator If clicked means when touch the component, the Confirm Window (Frame7:Confirm
Confirm Action Window) will pop up. Click YES to make this touch effective and if click Cancel
or do not click YES during the wait(s), the touch operation will be canceled
136
Advanced Part Better Understanding of Library
automatically.
Record If clicked means the operation event will be recorded, this event can be displayed in the
Operations Operation Log, and saved in csv file in the external storage
Min Time The minimum time interval between two touch operations of one same component or
Interval two different components. 0 means do not set the Min time Interval
(Second)
Notificatio Trigger Macro Execute the specified macro when the operation to the component is successful
n Trigger Register Word Write the “Write Value” to the specified register before the
Written Notice
operation is executed successfully
After Written Write the “Write Value” to the specified register after the
Bit Write the on/Off signal to the specified register before the
Written Notice
operation is executed successfully
After Written Write the on/Off signal to the specified register after the
Set the display condition, display size, position in the Display Setting.
Display Setting
137
Kinco DTools Configuration Edit Software
Lock If clicked means the component is locked, the position of component cannot be changed by mouse or
Always Display If clicked means the component is displayed all the time
Never Display If clicked means the component is hidden, the hidden component cannot touch
Conditional Security Level Control: Clicked means the component is displayed only when the current security level
4 5 6 ß
_
7 8 9
0 . ENTER
Appear
☞For details, refer to [Advanced Part 10.3.1 Security Level Protection for Components]
User Permission Control: If clicked means the component is displayed only when the operator has
corresponding permission
138
Advanced Part Better Understanding of Library
Hide Appear
☞For details, refer to [Advanced Part 10.3.2 User Permission Protection for Components]
Register Control: Click means the component is displayed only when the specified bit registers or word
Display condition
ON OFF
When...
.
Appear
In the Sound option, set the sound when the component is touched
Sound
! “The sound function is only suitable for the HMI with audio output port.
Recipe Data The end address = the start address + 20 +sampling page number*(4+ channel number). If the data
Field exceeds the storage limit, the sampling data will cover the previous data
Save as CSV Sample Data saved to recipe data field is saved to the external device, and generated a
csv file. The storage path of the CSV file is: /export/ subdirectory name / filename. The
CSV file name is named after the current time of the export.
Note: The csv file generated from the historical data with the header, but the csv file
generated from the trend curve and XY plot is not header.
Encryption Encrypt the sampling data
140
Advanced Part Better Understanding of Library
SAVE MS Save the sampling time to MS level and record in CSV file
External SD、USB DISK1、USB DISK2、HMI are optional
Device
Note: The maximum file saved to HMI is 80M
Subdirectory Set the subdirectory name of CSV file when it is saved in external device, customer can
Trigger Trigger OFFàON The data will be saved when specified register changes from
ONàOFF The data will be saved when specified register changes from
ON to OFF
OFFßà
The data will be saved when specified register changes
ON
OFFàON The data will be saved when specified register changes from
, Reset
OFF to ON. And the specified register will be reset to OFF
automatically
ONàOFF The data will be saved when specified register changes from
, Reset
ON to OFF. And the specified register will be reset to ON
automatically
Ascending Selected, the saved CSV data are arranged in a time ascending format. Not selected,
Order save to CSV data in a time descending format.
Save to Save the sampling data to the external device
Device Devices
Outage keep in If the HMI is powered off and restart, the information can be regained
Export to csv Save the sampling data to external device in CSV file. This CSV file is saved in
Encryption
☞For details, refer to [Advanced Part 2.15 Data Encryption]
Save MS Save the sampling time to MS level and record in CSV file
Subdirectory Set the subdirectory name of CSV file when it is saved in external device, customer can
The default subdirectory name of History Data is History Data, Trend Curve is History
Storage Type Daily File Save the sampling data by days, and the name of CSV files is in “yyyy
mmdd” form
Single File Save the sampling data by items, and the name of CSV file is the
141
Kinco DTools Configuration Edit Software
Subdirectory
Bulk Storage Provide a buffer storage mode, only when the data is up to the bulk storage setting, and
then write the data to SD card or U disk. The “Default” means don’t use buffer storage
mode, as soon as there is sampling data, write this data to SD card or U disk
Max Storage Set the limit of the storage: if it is by Daily File, the unit is day, if it is by Single File,
the unit is item. If chose the “Daily File”, the file name is as “yyyymmdd”, The Max
Storage means the maximum csv file number under this routine, if csv file exceeds the
max storage number; the previous files will be deleted. If chose the “Single File” in
Storage Type, the CSV file named by the Subdirectory name, The Max Storage means
the maximum items in this csv file, if the items are up to the limit, the data will not be
saved
Variable
The Subdirectory is read from specified registers, the maximum register number is 16
Subdirectory
※ If an HMI has two USB host, the number of U disks depends on the sequence they plug in HMI. That is to say the first
U disk that plug in HMI is USB DISK1, and the second U disk that plug in HMI is USB DISK2. It does no matter with
※ 1. Offline simulation generates disk folder in the DTools software installation root directory. Download to the screen,
database, event, exmem, and so on folders directly generated in the external device root directory, will not generate disk
folders.
2. The external device data saved to HMI can be uploaded through KHManager software, [upload Operate] - [upload
specified data].
!
When the sampling data is saving to external storage device, the special system register should set OFF
before removing the external storage device, or the data will be damaged or lost. They are LB9153(SD
142
Advanced Part Better Understanding of Library
The Bit State Setting defines a touch area. When this area is active, this button can set the HMI bit address
or PLC bit address On or Off. The display status of this component will not be changed by the input value.
ON OFF
Press to set bit address OFF, still OFF if released or pressed again
Press to set specified address ON, still ON if released; Press again to set address OFF,
143
Kinco DTools Configuration Edit Software
Only when this component is hold pressing, the specified address is ON, change to OFF if
released
When the window which contains this component opens, the specified address is set ON
M0
When the window that contains this component opens, the specified address is set OFF
M0
When the window that contains this component closes, the specified address is set ON
M0
When the window that contains this component closes, the specified address is set OFF
M0
When the window that contains this component is maximized, the specified address is
set ON
Maximized M0:ON
M0
Set OFF when Window When the window that contains this component is maximized, the specified address is
144
Advanced Part Better Understanding of Library
M0
When the window that contains this component is minimized, the specified address is
set ON
Minimized M0:ON
M0
When the window that contains this component is minimized, the specified address is
set OFF
M0
When the backlight of the window that contains this component is off, the specified
address is set ON
M0
When the backlight of the window that contains this component is off, the specified
M0
In the window which contains this component, when a Number Input component inputs
145
Kinco DTools Configuration Edit Software
In the window which contains this component, when a Number Input component inputs
120 123
M0
Press button to set 0 while produce a specific width negative pulse. When time is over, it
returns to 1. Users can set pulse width to ensure PLC to receive signal 0. 100ms lest and
Set 0 pulse
users need to set it long enough. Or it is too short for PLC to receive because of
communication time or scan time.
Press button to set 1 while produce a specific width positive pulse. When time is over, it
returns to 0. Users can set pulse width to ensure PLC to receive signal 1. 100ms lest and
Set 1 pulse
users need to set it long enough. Or it is too short for PLC to receive because of
communication time or scan time.
Executed When the Button Is When the switch function is selected, the button is pressed, the element does not react;
Released When the button is released, and the component performs the defined switch function.
Map the component to the F1~F12 of external keyboard or F1~F8 of the HMI which has
Key
keys itself. This function is suitable for the HMI with USB host or HMI with keys itself
The Bit State Switch is a combination of Bit State Lamp and Bit State Setting component, it defines a
touch area, if this area is active, this component can switch HMI or PLC bit address between on and off, at
the same time, the display state of component will change according to the value of read address.
ON OFF
On ON ON
Off Press to set specified address OFF, still OFF if released or pressed again
146
Advanced Part Better Understanding of Library
Press to set specified address ON, still ON if released; Press again to set address OFF, Still
OFF if released
Only when this component is hold pressing, the specified address is ON, change to OFF if released
Reset ON OFF
Press button to set 0 while produce a specific width negative pulse. When time is over, it returns to
Set 0 pulse 1. Users can set pulse width to ensure PLC to receive signal 0. 100ms lest and users need to set it
long enough. Or it is too short for PLC to receive because of communication time or scan time.
Press button to set 1 while produce a specific width positive pulse. When time is over, it returns to
Set 1 pulse 0. Users can set pulse width to ensure PLC to receive signal 1. 100ms lest and users need to set it
long enough. Or it is too short for PLC to receive because of communication time or scan time.
Executed When the When the switch function is selected, the button is pressed, the element does not react; When the
Button Is Released button is released, and the component performs the defined switch function.
Map the component to the F1~F12 of external keyboard or F1~F8 of the HMI which has keys
Key
itself. This function is suitable for the HMI with USB host or HMI with keys itself
The Multiple State Setting component defines a touch area, if this area is active, this component writes a
setting value to an internal specified word register address in HMI or PLC. The display status of
147
Kinco DTools Configuration Edit Software
Setting Mode Set Press component to set the constant setting to a specified register
Constant
Default :125 D100=125
Set when When the window containing this component opens, set the setting constant to a specified
Window
When window opened
D100=125
Opens
D100
Set when When the window containing this component closes, set the setting constant to a
Window
When window closed D100=125
Closes
D100
Set when When the window containing this component maximizes, set the setting constant to a
Maximizes
When window maximized
D100=125
D100
Set when When the window containing this component minimizes, set the setting constant to a
Minimizes
When window minimized
D100=125
D100
Set when When the backlight of the window containing this component turns from open state to
148
Advanced Part Better Understanding of Library
Backlight closed state., set the setting value to a specified register automatically
D100
Set when In the window containing this component input is successfully, set the setting value to a
succeeds
D100=125
123 Input is
####
accepted
120 123
D100
Set when In the window containing this component input is unsuccessfully, set the setting value to
fails
D100=125
123 Input is not
####
accepted
120 120
D100
Add value The value in specified register will be added “Addend” each time pressing this button, the
Beep...Beep...Beep
value
0 addend:1
1
D100: 2
... upper:100
100
Sub value The value in specified register will be subtracted “Subtrahend” each time pressing this
button; the result will not exceed the Lower limit values
Beep...Beep...Beep
value
100 subtrahend:1
99
D100: 98
... lower:0
0
Increase by If holding pressing the button exceeding the “Delay Time”, the value in specified register
degrees will be added “Addend” in a “Increasing Speed” time. The result will not exceed the
Upper limit
149
Kinco DTools Configuration Edit Software
value
Beeeep...
0 After a JOG speed time...
1 After a JOG speed time...
D100: 2
... addend:1
Press continuously for
100 Upper:100
a delay time...
specified register will be added “Addend” immediately at every press. If holding pressing
the button, the value in specified register will be added “Addend” in every “Increasing
Decrease If holding pressing the button exceeding the “Delay Time”, the value in specified register
by degrees will be subtracted “Subtrahend” in a “Decreasing Speed” time. The result will not exceed
Beeeep...
value
100 After a JOG speed time...
99 After a JOG speed time...
D100: 98
... subtrahend:1
Press continuously for
a delay time... 0 lower:0
pressing the button, the value in specified register will be subtracted “Subtrahend” in
every “Decreasing Speed” time until reaches the “Lower” limit values
Increase by If holding pressing the button exceeding the “Delay Time”, the value in specified register
degrees will be added “Addend” in a “Increasing Speed” time until reaches the Upper limit, then
value lower:0
Beeeep...
0 After a JOG speed time...
1 After a JOG speed time...
D100: 2
...
Press continuously for addend:1
100 Upper:100
a delay time...
specified register will be added “Addend” immediately at every press. If holding pressing
the button, the value in specified register will be added “Addend” in every “Increasing
Speed” time until reaches the Upper limit, then adds addend from the Lower limit values
Decrease If holding pressing the button exceeding the “Delay Time”, the value in specified register
by degrees will be subtracted “Subtrahend” in a “Decreasing Speed” time until reaches the Lower
150
Advanced Part Better Understanding of Library
Beeeep...
value Upper:100
100 After a JOG speed time...
99 After a JOG speed time...
D100: 98
... subtrahend:1
Press continuously for
a delay time... 0 lower:0
pressing the button, the value in specified register will be subtracted “Subtrahend” in
every “Decreasing Speed” time until reaches the “Lower” limit, then subtract subtrahend
Variable According to the different settings, the parameters, like Set Value, Addend, Subtrahend, Upper, Lower,
Executed When When setting constant, adding value and subbing value, the button is pressed, the component does not
Then Button Is react; When the button is released, and the component performs the defined switch function.
Released
Key Map the component to the F1~F12 of external keyboard or F1~F8 of the HMI which has keys itself.
This function is suitable for the HMI with USB host or HMI with keys itself
Set Data Type Select the data types of setting values and support data types such as signed decimal number, unsigned
of The Value decimal number, float-point number with single precision and float-point number with double precision
The Multiple State Switch is the combination of Multiple State Display and Multiple State Setting. It
displays the mapping status according to the value of Read Address (the maximum mapping status is
768). At the same time, it defines an area, when this area is touched, this component writes the
mapping value to the Write Address. The Write Address and Read Address can be the same or different.
Mapping(For example)
Value State Display Beep...Beep...
Beep State0 State1 State2
0 0
2 1 ...
4 2
...
...
...
Control Add The State No. adds 1 every time press this button, and the mapping value is written to the Write
Address, at the same time this component displays corresponding graph according to the value
of Read Address.
Unloop unchecked:
151
Kinco DTools Configuration Edit Software
Maximum State:6
Beep...Beep...
state0 state5
state1 state4
state2 state3
Unloop checked:
Maximum State:6
Beep...Beep...
state0 state5
state1 state4
state2 state3
Sub The State No. subtracts 1 every time press this button, and the mapping value is written to the
Write Address, at the same time this component displays corresponding graph according to the
Unloop unchecked:
Maximum State:6
Beep...Beep...
state5 state0
state4 state1
state3 state2
Unloop checked:
Maximum State:6
Beep...Beep...
state5 state0
state4 state1
state3 state2
List Display the state in list, and the current selected state is in Select Color
Option1 Option1
Option2 Option2
Option3 Option3
Dropdown Display the state in dropdown list, but only display the current selected state. Click the
152
Advanced Part Better Understanding of Library
State Num. The maximum state number is 768. (The BIN or BCD encoding supports 768 states at most, and the LSB
corresponding graph and tag. When the component switches to one state, the corresponding Map Value is
Line Spacing If chose the List or Dropdown List as control mode, this option is used to set the line space between each tag.
Option1
Option2 Line
Option3 } space
Using It is only valid for "list" and "drop-down list". When using "multi state graphics" to switch state, the
Multi-state background picture will change with the state. If you don't choose "multi state graphics" and switch state, the
Graphics background image will only show 0 of the pictures.
Select Color Select the color of the selected item
Foreground Only when the control mode selection "drop-down list", and the graphics attribute is not selected, the
color foreground is valid
Background Only when the control mode selection “list” or "drop-down list", and the graphics attribute is not selected,
Color the background is valid
Border Color Only when the control mode selection “list” or "drop-down list", and the graphics attribute is not selected,
the background is valid
Project Default Display the tag. Note: The text here is fixed.
Source Status number Stating line number Set the starting line number of the label
display Settings display
Number of display states Set the actual number of states displayed
Item When HMI works, this component displays the specified register data.
Address Note: The text here is mutable
Words Per Set each item`s words
Item Unicode chosen,data displays in Unicode ;not,data displays in
153
Kinco DTools Configuration Edit Software
ASCII
Byte Conversion Chosen, data in ASCII is byte-conversion
Control Update source of item address
Address Control Address Set 1,,list displays data from address specified by item
address
Control Address +1 Set numbers of read address
Item Address Set the first address of data source
User Display the user’s name set in the [HMI Attribute]- [User Permissions Setting]. If you need to
Name set a username, you can set the user’s name that you need to log in by LW9514.
History Delete History If selected, enable to delete history data file
Date Data file
Control Address When the address is written to 1, the current query data will be deleted and
automatically reset after writing.
Item Address The address used to query historical data
History Date It can display date data from history data, history Event, and operation log.
Note: The three components storage type must set daily file
.
Key Map the component to the F1~F12 of external keyboard or F1~F8 of the HMI which has keys itself. This
function is suitable for the HMI with USB host or HMI with keys itself
The Combination Operations is used to combine multiple bit state setting and multiple state setting as one
component. So, the operator can execute bit state setting and multiple states setting operation by 0nly one
button.
Basic Attributes
154
Advanced Part Better Understanding of Library
Component List Add multiple Bit State Setting and Multiple State Setting components by right click.
Write Address Set the Write Address of the components in the Component List
Setting Mode Bit State Setting supports 1, 0, switching on-off, setting 0 pulse, and 1 pulse type.
☞For details about Bit State Setting, refer to [Advanced Part 4.2.1 Bit State Setting]
Multiple State Setting components support Set Constant, Add and Sub mode only.
☞For details about Multiple State Setting, refer to [Advanced Part 4.2.3 Multiple State Setting]
Exiting when If checked means that the execution will stop if one of the components fails during the sequence
component execution, the next component will not be executed. If unchecked means the Combination
execution Fail Operation executes from top to bottom, if one of the components fails during the sequence
Delayed When checked, the corresponding configuration will be delayed, the delay time range (1~255)
implementation *100ms
1. When add the components, use the “Insert before” and “Insert behind” option to set the order of the
components
2. Use the Move UP and Move Down to change the order in component list
The Function Key provides functions like Switch Window, Keyboard Function, Clear Event, Touch
Calibration, save Screenshot to Extended Memory, Execute Macro, and Print and so on. It also can be
used to design the key board, and Function Key does not have control register, it executes functions by
touch.
Function Key
⚫ Switch Window
Press the function key to close the current window (sub windows in this window included) and
Change Window
switch to the window with specified window No.
155
Kinco DTools Configuration Edit Software
Frame 0 Frame 10
Press the function key to close the current basic window, and come back to the previous window.
For example, switch fram0 to frame 10, press this function key in frame 10 to back to frame 0. This
Go to Prev
Frame 0 Frame 10 Frame 0
If pressed, the Common Window (The default is Frame 1) will be replaced by the specified window
Common Common
Window Window
Frame 0 Frame 1 Frame 0 Frame 10
Change Common + +
Window
Frame 0 Frame 0
If pressed, the Fast Selection Window (The default is Frame 2) will be replaced by the specified
Frame2 Frame10
Change Fast
Fast Selection Frame 0 Fast Selection Frame 0
selection window
If pressed, the specified window will pop up, and displayed above the current window, the current
Pop up window
window will not close
156
Advanced Part Better Understanding of Library
Popup
Frame 0 Window Frame 0
Use this option to close the pop-up window, but cannot close the Direct Window and Indirect
Window, because they are controlled by the bit or word register. The Close Window function can
Popup
Close Window
Window Frame 0 Frame 0
register
Hold pressing this function key to move the pop-up window. This function is suitable for pup up
If pressed, the pop-up window will be minimized in the task bar. Press the window icon on task bar
to reset the window to original position. This function is suitable for pup up window, direct/indirect
window only
⚫ Map Keyboard
Clear Clear the content in the Number Input and Text Input component
Escape Cancel operation, the same function as the ESC on the keyboard
Unicode Set the input characters in the “Number Input” and “Text Input” component. The number (0, 1, 2…) or
157
Kinco DTools Configuration Edit Software
Move the cursor according to the mode, like Move up, move down, move left, Move right, Line head,
Cursor
Line tail, First position, Last position. This function is suitable for the Note Book component only
Select text operation, Start select and Finish select included. This function is suitable for the Note Book
Select Text
component only
Text Operation Set the text operation, includes Copy, Cut, and Paste. This function is suitable for the Note Book only
⚫ Execute Macro
Mapping Key
The operation of mapping key
This function can set function for the F1~F8 of HMI, includes Along, Backwards, ESC, Enter and so on.
⚫ Touch Calibration
Press function key with this option checked to enter the touch calibration screen. Customer can calibrate the touch panel.
⚫ Clear Event
Press function key to clear the event information in the Event Display component.
Press function key to save the screenshot to the extended memory in bmp picture. So, the customer can print or check the
screen of HMI.
☞For details about Save Screenshot to the Extended Memory, refer to [Advanced Part 4.15.5 PLC Control]
⚫ Import/Export
! This function must work with the File List Window and only the HMI with USB host or SD card supports it
158
Advanced Part Better Understanding of Library
Import project to Import the project (pkg\pkgx file) from extended memory to HMI. After that, HMI will restart
Fi l e
n a me :
OK
Fi l e
n a me :
Test . pkg OK
PKG LOAD OK
PKG LOAD OK
159
Kinco DTools Configuration Edit Software
4 5 6
*ß* * * * * * *
Max: AAAAAAAAPr
AAAoj
A ect upl oad
Mi n: AAAAAAAAAAAA
******
1
4 5
2 3 CLR
Pl ease Ent er The Passwor d:
6 ß
******** 7 8 9 _
7 8 9 _
0 .
.
ENTER
0 ENTER
l og\
t r end\
Fi l e
n a me :
Test . pkg OK
scr \ HMI 0:
t r end\
Fi l e
n a me :
Test . pkg OK
l og\ a s d f g h
Caps
scr \ HMI 0:j k l ENT
= t r| end\? z x c vv b n m ; { }
Page Page
+ _ > < CH Up Down
Fi l e
n a me :
pr oj ect OK
After press”OK”
Import Recipe to Import the recipe file (.rcp) in extended memory to HMI. The operation steps are the similar with
Export Recipe from Export the recipe file (.rcp) in HMI to extended memory. The operation steps are the similar with
160
Advanced Part Better Understanding of Library
⚫ Message Board
This function works with the Message Pad; it can be used as an assistant tool of Message Pad.
Tool Pen Press the function key to set the tool as a pen for Message Pad
Erase Press the function key to set the toll as an eraser for Message Pad
Clear Block Press the function key to clear the selected area of the Message Pad
☞For details about print, refer to [Advanced Part 4.15.5 PLC Control]
⚫ Map Keyboard
Map the function key to the F1~F12 of the keyboard. This function is suitable for HMI with USB host only.
The Bit State Lamp is used to indicate the state (0 or 1) of bit register in HMI or PLC. It can display tag
text and graphic.
OFF ON
Function Description
Display the corresponding graphic according to the state. This graphic isn’t blinking
OFF ON
Normal
161
Kinco DTools Configuration Edit Software
Blinking
Value 1 Blinking on state 0, OFF ON
Blinking
Value 1 Blinking on state 1, OFF ON
OFF ON Switch
Value 1 switch Blinking on state
OFF Blinking ON
Value 0 Blinking on state 0,
OFF Blinking ON
Value 0 Blinking on state 1,
OFF Switch ON
Value 0 switch Blinking on state
Blinking
Value 1 Blinking on state 0, OFF ON
162
Advanced Part Better Understanding of Library
Blinking
OFF ON
OFF ON Switch
Value 1 switch Blinking on state
Blinking
Value 0 Blinking on state 0, OFF ON
Blinking
Value 0 Blinking on state 1, OFF ON
OFF Switch ON
Value 0 switch Blinking on state
The Multiple State Display Component displays the mapping state according to the value in the specified
...
Set the state number of Multiple State Display, the upper limit value is 256. (The BIN or BCD
State Number.
encoding supports at most 256 states, and the LSB encoding supports at most 17 states)
163
Kinco DTools Configuration Edit Software
Set Data Type of The Including signed decimal number, unsigned decimal number, float-point number with single
Value precision and float-point number with double precision
There is no corresponding After checking, there is no corresponding picture in the current state, and the last state picture is
picture in the current state displayed. The default is not checked, there is no corresponding picture, it will display blank
and the last picture is
displayed
Set the mapping value of each state. When the value in specified register equals the setting value,
Data Mapping
the component displays corresponding state
Number components include Number Input Component and Number Display Component. They are used
to write data to a specified register or read data from a register and display this value.
Numeric Data
Description of number
Display the data in signed decimal integer (0~9) format.16 bits data range:
signed int
-32768~32767; 32-bit data range: -2147483648~2147483647
Display the data in unsigned decimal integer (0~9) format.16 bits data range:
unsigned int
0~65535; 32-bit data range: 0~4294967295
Display the data in hex (0~F) format. The integer part can be set, no decimal. 6 bits
Hex
data range: 0~65535; 32-bit data range: 0~4294967295
Display the data in binary (0, 1) format. The integer part can be set, no decimal. 6 bits
Data type Bin
data range: 0~65535; 32-bit data range: 0~4294967295
Display data in “*” format. Only the data type and date width can be set, other
Password
options are ignored
Transform the 32 bits IEEE float data to decimal data and display in decimal. The
Float
default data width is DWORD
Transform the 64 bits IEEE float data to decimal data and display in decimal. The
Double
default data width is 4-DWORD
Data Width Set the data width of the register 16 bits or 32 bits (WORD or DWORD)
Integer/Decimal Set the display bit number before and behind decimal dot
Show plus sign When the data type is signed int, click this option to display the “+” symbol before positive number
Max/Min Value Set input/display range for Number Input/Display Component. “Variable Max/Min Value” checked
164
Advanced Part Better Understanding of Library
Setting means that the Max/Min Value is variable, and set read register of this variable. The word length of this
Off normal If the data is exceeding the Max/Min Value range, the component will display the data in the setting
upper/lower color.
If the value in certain register exceeds the upper limit or lower limit, the data in the component will be
Flash
flashing to enhance the alarm effect.
Left\Right Label The label unit can be displayed around the value
The data will be displayed after calculating by proportion, the Min Value and Max Value is must be set
in the function. For example, the original data is A, and the displaying data is B. Then the relationship
between is as followings:
B= Min Value+(A-Min) *Proportion and the Proportion= (Max Value -Min Value)/(Max-Min)
For example, the original data is 20, according to the following setting, the displaying data is
Proportion
Conversion
※ For signed/unsigned int, if the Decimal is set, the original data will be displayed after left shift the Decimal bits, but also
Font
Description of Font
Set the display position of data, it has for methods, they are Left, Right, Leading 0, Center.
Alignment For example, the Integer is 5, Decimal is 0, input value is 123, then the following are the
165
Kinco DTools Configuration Edit Software
Left 123
Right 123
Leading 0 00123
Center 123
Map the component to the F1~F12 of external keyboard or F1~F8 of the HMI which has keys
Key
itself. This function is suitable for the HMI with USB host or HMI with keys itself
Set the Cursor Color when Numeric Data is triggered in the HMI Extended Attributes of HMI
Attributes.
Cursor
Number Input Component write the data in value to the certain HMI or PLC register, at the same time display the written
date on HMI.
D100:123
Max: AAAAAAAAAAAA
D100 Mi n: AAAAAAAAAAAA
123
1 2 3 CLR
120 123 4 5 6 ß 123
7 8 9 _
0 . ENTER
Keyboard Setting
Keyboard It is the default setting, and use the keyboard in Frame3: NUM Keyboard
166
Advanced Part Better Understanding of Library
Use the specified keyboard in designated window. If use the self-made keyboard, the window
Specified Keyboard where the keyboard is should set the Keyboard Page in Window Attribute, so the window number
Keyboard Pop-Up Set the keyboard pop-up position on HMI, it can pop up in a fixed position, and it can also pop up
Do not Use Pup-Up When the Number Input Component is triggered, do not pup up keyboard. The HMI supports
The popped-up keyboard can input data to the components continuously by order. During the
input operating, the keyboard will not disappear when press ENTER, and the input cursor will
flash among the component in circle. The keyboard will be closed by press Close button
0 4 5 6 ß 150 4 5 6 ß 150 4 5 6 ß
Input Order Set the input order number for the component
After Input Is
Completed, No
No more sequent input once it is completed once and the keyboard is shut of
Longer Sequentially
Input
For multiple groups of components that need input the data continuously, the first triggered
Group 1 Group 2
Group
D100 D101 D102 D200 D201 D202
123 150 200 100 50 180
Number Display is used to display the value in specific HMI or PLC register on HMI.
D100
D100:120
120
167
Kinco DTools Configuration Edit Software
The text components contain Text Input, Note Book, Text Display, they are used to decode the data by
ASCII then write it to specific register in character string or read data from specific register then display it
Basic Attribute
Swap the high byte and low byte, then display the high byte on the left and low byte on the
right
D100 4 8 4 D
H M
D101 4 9 2 0
High byte and low byte I Space
tes
by
he
swaps a pt
Sw
D100 4 D 4 8
HMI M H
D101 2 0 4 9
Do n Space I
ot s w
ap
If checked, the text content is decoded by Unicode and displayed. It is usually used to display
Unicode
multiple languages
This mode can display the extended ASCII character between 0X80~0XFF. If checked, the text
Extended ASCII cannot display Chinese character; the Unicode and Extended ASSCII cannot be chosen at the
same time
Word Length The word length is 1~16 optional. Each word contains 2 ASCII characters
Font
Use the Vector Font or Dot Matrix Font to display character string
Font
Note: Generally speaking, if it is not ASCII character, it cannot be displayed by vector font, but the Unicode
Type
character input by Unicode keyboard with sane character tag can be displayed by vector font. For example:
168
Advanced Part Better Understanding of Library
Map the component to the F1~F12 of external keyboard or F1~F8 of the HMI which has keys itself. This function
Key
is suitable for the HMI with USB host or HMI with keys itself
Keyboard Setting
Public Windows
Use the public windows keyboard, the default keyboard is the [Frame3:NUM Keyboard]
Keyboard
Use the keyboard in specified window. The default keyboard is the [Frame 4:ASCII Keyboard] If
Specified Keyboard you use the self-regulating keyboard, you should set the Special Attribute in HMI Attribute to
Keyboard Page, then you can select the Window number in Specified Keyboard list
Keyboard Pop-up
Set the position of the pop-up window in the screen
Position
Not Use pop-p Do not pop-up keyboard when trigger text input or text book component, but use the external USB
Input the component continuously when the keyboard is popped up, the keyboard will not be closed
Use Input Order when press the ENTER key during the inputting, the input cursor will flash in cycle among the
components that set the Input Order, the keyboard will be closed when click the Close button
169
Kinco DTools Configuration Edit Software
D100
HMI HMI
ESC 1 2 3 4 5 6 7 8 9 0 BACK
D102
Clear q w e r t y u i o p
Caps a s d f g h j k l ENT
D104 = | ? z x c vv b n m ; { }
Page Page
+ _ > < CH Up Down
D100
HMI PLC
ESC 1 2 3 4 5 6 7 8 9 0 BACK
D102
Clear q w e r t y u i o p
PLC
Caps a s d f g h j k l ENT
D104
= | ? z x c vv b n m ; { }
Page Page
+ _ > < CH Up Down
D100
HMI OK
ESC 1 2 3 4 5 6 7 8 9 0 BACK
D102
Clear q w e r t y u i o p
PLC
Caps a s d f g h j k l ENT
D104
= | ? z x c vv b n m ; { }
OK Page Page
+ _ > < CH Up Down
Sort the components that need to input continuously in different groups, the first triggered
Group 1 Group 2
Group
D100 D102 D104 D200 D202 D204
HMI PLC OK 100 50 180
Set the cursor color when the Text Input component or Note Book component is triggered in
Text Operation Use the Keyboard Function in the function key to select, copy, cut, and paste the text content.
170
Advanced Part Better Understanding of Library
The Text Input decodes the data according to ASCII, and then writes it to the HMI or PLC register in character string, at the
same time displays the written data in character string on HMI. The written data is saved in the continuous registers that
begin from “Read Address”. When displaying the data, the low byte characters are displayed on the left and the high byte
D100 4 D 4 8
M H
HMI D101 2 0 4 9
D100(Word :2)
Space I
HMI
ESC 1 2 3 4 5 6 7 8 9 0 BACK
Clear q w e r t y u i o p
HMI
Caps a s d f g h j k l ENT
= | ? z x c vv b n m ; { }
Page Page
+ _ > < CH Up Down
The Text Input component cannot display the multiple rows text content
The Text Display component displays the HMI or PLC data in character string on HMI after decoding it according to the
ASCII.
D100 4 D 4 8
M H
D101 2 0 4 9 D100(Word No.:2)
Space I
HMI
The Text Display component cannot display the multiple rows text content
The Note Book is the same as the Text Input; they decode the data according to ASCII, and then write it to
the HMI or PLC register in character string, at the same time displays the written data in character string on
HMI. The written data is saved in the continuous register that begins “Read Address”. When displaying the
171
Kinco DTools Configuration Edit Software
data, the low byte characters are displayed on the left and the high byte characters are displayed on the right.
D100(Word:4)
ABCDHMI
ESC 1 2 3 4 5 6 7 8 9 0 BACK ABCD ABCD
Clear Q W E R T Y U I O P HMI HMI
Caps A S D F G H J K L ENT
= | ? Z X C V B N M : { }
Page Page
+ _ > < CH Up Down
D100 4 2 4 1 D101 4 4 4 3
B A D C
D102 4 D 4 8 D103 4 9
M H I
The Note Book component can display the multiple rows text content
Note Book
Total Lines The total lines of input text Display Line Display area line
The Word Register The most data length per line, the unit is word. A length of a ASSIC character is a byte, and
The Trend Curve, XY plot and Oscillograph are graphs; they are usually used to display data in a single or a series of
continuous registers in graph on HMI. The customer can use them according to their function and actual application.
Basic Attribute
Word Length It depends on the The word length depends on the It depends on the channel number
172
Advanced Part Better Understanding of Library
sampling channel channel number, sampling points, XY and sampling rate. If the channel
number, if the channel plot type and the read register type. The number is m(0<m<17) and
is m, (m<17), the word user cannot change this sampling rate is n(0<n<256), the
Channel
Set the data format of sampling data. It contains 16-bit signed, 16-bit unsigned, 32-bit signed, 32-bit
Data Type
unsigned, float and double
D100: 90
Y max:80
Y max/Y min
Y min:20
D100: 10
The Y max/Y min value is from specified registers. In multiple channel application, user can set specified
registers for Y max/ Y min of each channel. Trend Curve: if the Specified Address is Y min; the Specified
Channel use
Address+1 is the Y max. XY plot: if the Specified Address is Y min, the Specified Address+1 is the Y
variable limit
max, the Specified Address+2 is the X min and the Specified Address+3 is the X max. Oscillograph: if the
Extended Attributes
Channel Chose a channel to edit. The available channels depend on the channel number set in Trend Graphics or XY
Properties Curve Graphics or Scope Chart page. And set the line style and line width
173
Kinco DTools Configuration Edit Software
Connect
Style
Dot Line
X axis Y axis
projection projection
Node Chose the graph of nodes, the following six types are available
Graph ●▲■○△□×
Node Size Set the size of node Node Color Set the color of node
The curve uses the background and grid, users can set the line and row number, as well as the line width,
Use Grid
color and type
When use the Time sampling, the Circle time can The number of sampling points
Variable Number of
be read from specified register. Note: The can be read from specified
Period points
Oscillograph does not support variable period register
!
If the circle period and sampling point number use the variable value, the variable value will be used in
priority. And the default value will be used if the variable value cannot be got because of the
communication problem
!
The Trend Curve and Historical Data Display can be used at the same, but when the trend curve and
historical data display sample the same register and the data is saved in external device, the Subdirectories
should be different, or the only save historical data in just one of the components
The Trend Curve and XY plot run at the backstage, the trend curve and XY plot will not be cut off when changing the frame.
On the other hand, the Oscillograph does not support running at backstage; the data sampling and curve will be cut off
174
Advanced Part Better Understanding of Library
100
100
0
Switch frame
100
0
0
Switch back to
Oscillograph frame
100
100
0
0
The Trend Curve reads a series specified continuous registers (in HMI or PLC) in period and display them
in curve. The new data will be read from specified registers and displayed at the right/left/top/down side
of curve, it is a real-time curve.
60
40
20
0
Current value: Current value: Current value: Current value:
D100= 27.4 D100= 30 D100= 20.4 D100= 25
Trend Curve
Single page Only display the sampling value in current page, there is no extended curve
Type There is extended curve. When the curve goes on, the previous sampling data will not
Multiple pages
disappear. The historical data will be stored in the buffer area
175
Kinco DTools Configuration Edit Software
Y Y
Start from
Start from left
right
O O
X X
Attributes
O Y X
Start from
Start from top
bottom
O
X Y
OFFàON trigger
The sampling will be triggered when specified register changes from OFF to ON
sampling
ONàOFF trigger
The sampling will be triggered when specified register changes from ON to OFF
sampling
Sampling
OFFßàON
Methods The sampling will be triggered when specified register changes
trigger sampling
OFFàON reset The sampling will be triggered when specified register changes from OFF to ON. And
ONàOFF reset The sampling will be triggered when specified register changes from ON to OFF. And
Cycle The time interval between two sampling points. The unit could be 1s or 100ms
Continue The sampling will continue even the all-sampling points are finished
Sam.Type The sampling will stop automatically when all the sampling points are finished, the
Once
sampling executes only once
points
X-axis The distance between two adjacent data points is a fixed distance (at the sampling point), not the distance
determined by the two time points.
PointBased
Between the two adjacent points is the unit of time. Scope refers to the scope of the starting time to the end
Time Based
of the current page
Control This option is valid in the trigger sampling. Take the following picture for example, the LB100(bit register
176
Advanced Part Better Understanding of Library
Register in the HMI) is the trigger register, when the LB100 satisfies the setting condition in the Sampling Method,
Set the Pause and Clear register, the default word length is 2, the set address is used to stop the curve, and
the set address +1 is used to clear the curve. The Pause function just stops the change of curve, but not
stops the sampling. The Clear function will clear the curve on the Trend curve. Take the following picture
for example, the LB0(bit register in HMI) is set to control the Pause-Clear function, when the LB0 is ON,
curve will stop refreshing, when the LB0 is OFF, the curve will continue to display, when the LB1 is ON
Set the register to turn the page of Multiple Page curve, default word length is 3. This option is valid when
the Multiple Page is chosen. Use this function to browse multiple page curves, and this function can be
used with Scroll Bar. ☞For details, refer to [Advanced Part 4.16.3 Scroll Bar]
Take the following picture for example, if the specified register is LW0(word address in HMI), so the LW0
is the current browsing index value of scroll bar, the LW1 is the start browsing index value, and the LW2
Time This option is used to save the start sampling time and end sampling time of current page, this option is
177
Kinco DTools Configuration Edit Software
valid when the Save Time option is chosen. Default word length is 12. Take the following picture for
example, if the specified address is LW70(word register in HMI), the start time of current time (second,
minute, hour, day, month, year) are LW70, LW71, LW72, LW73, LW74, LW75. The end time of current
page (second, minute, hour, day, month, year) are LW76, LW77, LW78, LW79, LW80, LW81
!
If “Use scroll bar” is selected in [Trend Graph Component Attribute]-[Scale], the [Scroll] cannot be selected
Scale
Y Y
O X O X
Display Do not display
178
Advanced Part Better Understanding of Library
50
0
O
Y Y
O X O X
Display Do not display
Time scale interval The time interval between two-time scale point, the unit is sampling
circle, for example, if the Time scale interval is 3, the time interval
between two scale point is three sampling circles’ time. So, the
displayed scale number depends on the sampling points number and
time scale interval.
Length Set the length of time scale, the unit is pixel.
Mark each sampling Mark a scale on each sampling point
point scale
Length Set the length of each sampling points, the unit is pixel.
Use Scale Label
Y
O X
10:00 10:05 10:10
Scale Label
179
Kinco DTools Configuration Edit Software
Select “History Data Query” in [History Data Query] of [Trend Graph Component Attribute], then set Query Address and
Query Trigger Address to make history data query function for trend graph.
Start Date: Specified address, word length is 2, input year and date in this address.
Start Time: Specified address+2, word length is 2, input time (hour, minute and second) in this
address.
End Date: Specified address+4, word length is 2, input year and date in this address.
End Time: Specified address+6, word length is 2, input time (hour, minute and second) in this
address.
Take the following picture for example, the specified address is LW200, and user wants to
query the data between 9:30:40 14th, Aug, 2012 and 14:16:30 15th, Aug, 2012.
Query Address
Query Trigger Address When the specified address status is on, the trend will trig query function.
If the Open printing option is checked, the trend curve can be printed in real-time.
180
Advanced Part Better Understanding of Library
The printing is triggered when all the sampling points on a whole page is
Print per page
finished
Mode The printing is triggered after all the sampling points on all pages are finished in
Print whole
multiple page trend curves
The printing is triggered when the specified register satisfies the setting
Trigger by register
condition
Vertical axis scale Set the standard channel of vertical axis scale. That is to say set the upper limit and lower limit of
Time Mode Set the display time mode of horizontal axis. Two modes are optional: HH:MM、HH:MM: SS
If chose the Trigger by register in the Mode, the printing will be triggered when
OFFàON
specified register changes from OFF to ON
If chose the Trigger by register in the Mode, the printing will be triggered when
ONàOFF
specified register changes from ON to OFF
If chose the Trigger by register in the Mode, the printing will be triggered when
OFFßàON
specified register changes its state
Trigger Style
OFFàON(Reset) If chose the Trigger by register in the Mode, the printing will be triggered when
specified register changes from OFF to ON, then the register will be reset to
OFF automatically
If chose the Trigger by register in the Mode, the printing will be triggered when
ONàOFF(Reset) specified register changes from ON to OFF, then the register will be reset to ON
automatically
Print axis The horizontal axis and vertical axis of printing. The line type, line width and axis color can be set
The display time interval (show time), font size and color can be set. The show time means the
Print horizontal
display interval between the previous printing time and the next printing time, the unit is sampling
axis(time)
points
Print vertical Print vertical axis has two forms: Percentage and Sampling value. The font size and color of vertical
181
Kinco DTools Configuration Edit Software
The baseline is the standard line in horizontal direction. Two baselines can be printed at most. The
Print baseline base line value, baseline type, line width and baseline color can be set. The baseline value is
Trigger Register
Line Type/Width/Color Set the type, width and color of trigger line
Time
100 15:32:45
46
Scale
Print line scale/time
Font Size Set the font size of trigger line time and scale font
Font Color Set the font color of trigger line time and scale font
Trigger Line State Set the state number and corresponding value of trigger state description,
Num 1~256 are optional. For example, set the trigger line state Num to 3, the
182
Advanced Part Better Understanding of Library
Top:
100 15:32:45
46
Temperature
descend
Description
0
Position of
Bottom
description
100 15:32:45
46
Description
0
Temperature
Use the LB9110 to open or close the zoom function. When the LB9110 is ON, the zoom function will be opened.
Zoom out view: In multiple pages trend curve and the page number is more than 1. When LB9110 is ON, double click on the
Zoom in view: When LB9110 is ON, drag the mouse to select a section curve to view the zoomed in curve.
Zoom in
Normal
Double Click
Zoom out ClickàDragàRelease
183
Kinco DTools Configuration Edit Software
⚫ Cursor function
The system special register LB9111 can enable the cursor function. When LB9111 is on, user can touch and trag the cursor to
! The priority of LB9111 is higher than LB9110. If LB9111 is on, the zoom function will be disabling.
When the LB9110 is ON, customer can query the sampling time and sampling coordinates by system registers. Related
Display the viewed sampling These registers are second, minute, hour, day, month, and year.
LW9200~LW9205
point time of trend curve The Code Type is BIN
Display the coordinates of channel is 2, the LW9210 displays the Y coordinate value of
LW9210~LW9210+N
viewed sampling point current viewed sampling point in channel 1, and the LW9211
point in channel 2
a b c d e f
2 0 1 1 年1 1 月 2 日 1 6 : 2 8 : 5 2 2 0 1 1 年1 1 月 2 日 1 6 : 5 9 : 1 1
Take GH070 communicating with SIEMENS S7-200 for example, sample the data in VW0, VW2, VW4 and draw them in a
curve, at the same time the sampling points scale can be viewed.
184
Advanced Part Better Understanding of Library
1 View 3
sampling
points scale
CH1 ####
CH2 #### 4
CH3 ####
2
Basic Attribute
Trend Graphics
PageNum 10
Channel 3
Channel
Extended Attributes
Use Grid Checked, Lines/Columns: 3/3, Background color: ■(blue-gray), Grid color: □(white), Grid
Line Style: - - -
Add a Scroll Bar component to turn page of the historical curve, the setting is as followings:
Basic Attributes
Scroll Bar
185
Kinco DTools Configuration Edit Software
Add a Bit State Switch to zoom the curve, the setting is as follows:
Font Use Font Graph: Times New Roman, Size 12, Center, Blue.
Add three Number Display components to display the value of current sampling points, the setting is as follows:
Cancel
sampling
points scale 1
CH1 300
CH2 239
2
取消
当前采样点坐标
CH3
CH1 300
CH2 239
240
CH3 240
模拟PLC数据采样
4.6.2 XY Plot
XY Plot read a series of continuous registers from specified HMI local registers or PLC/Controller
registers in a period, and plots them in dual axle curve, it can reflect the relationship of two variables.
3rd 15 50 40
4th 20 40 20
5th 25 30 0
0 10 20 30
XY Plot
186
Advanced Part Better Understanding of Library
Single Page Only display the data change information of current page, there is no curve extension.
Type There is XY plot extension, each channel can be saved, when the XY plot extends, the
Multiple Pages
historical sampling data will not be lost, but save in the buffer area.
Y X
Hor
ntal
O O
X Y
Attributes
X
Y
Hor
ntal O
O
Y
X
OFFàON trigger
When specified register changes from OFF to ON, then trigger the sampling.
sampling
ONàOFF trigger
When specified register changes from ON to OFF, then trigger the sampling.
sampling
Sampling
OFFßàON
Method When specified register changes its state, then trigger the sampling.
trigger sampling
OFFàON reset When specified register changes from OFF to ON, then trigger the sampling. The
trigger sampling specified register will be reset automatically after being triggered.
ONàOFF reset When specified register changes from ON to OFF, then trigger the sampling. The
trigger sampling specified register will be reset automatically after being triggered.
Cycle The time interval of the two pages or two sampling points. The unit can be s or 100ms.
Each period of cycle sampling points has X and Y components. The register number is
XY Plot
Standard related to the channel number and sampling number. For example, there is m channels
Type
and n sampling points, that is to say, the register number is m*n*2.
187
Kinco DTools Configuration Edit Software
(X-axis) (Y-axis)
D100 D101
100
1st 5 30
D102 D103 80
2nd 10 40 60
D104 D105
40
3rd 15 50
D106 D107 20
4th 20 40 0
D108 D109 0 10 20 30
5th 25 30
One Cycle
Example, suppose the Read Address is D100, and there is 1 channel, 5 sampling points
in each page; so, this XY plot will take 10 registers. They are D100, D101, …, D109
Sampling one point each time, with X and Y components. The register number is related
to the channel number. For example, the channel number is m, sampling points is n, so
One Cycle
Example, suppose the Read Address is D100, and there is 1 channel, 5 sampling points
in each page; so, this XY plot will take 2 registers. They are D100 and D101 which
188
Advanced Part Better Understanding of Library
Sampling multiple points every time or in each period, with Y components, but no X
components. The register number is related to the channel number and sampling number.
For example, there is m channels and n sampling points, that is to say, the register
number is m*n.
(Y-axis)
D100
1st 30 100
D101 80
2nd 40 60
Trend D102
D102
3rd 50 40 D100 D104
D101 D103
D103 20
4th 40
0
D104
5th 30 One Cycle
Example, suppose the Read Address is D100, and there is 1 channel, 5 sampling points
in each page; so, this XY plot will take 5 registers. They are D100, D101, …, D104
Sampling multiple points every time or in each period, with Y components, but no X
components. The register number is related to the channel number and sampling number.
For example, there is m channels and n sampling points, that is to say, the register
number is m*n.
(Y-axis)
D100
1st 30 100
D101 80
2nd 40 60
Histogram D102
D102 D101 D103
3rd 50 40 D100 D104
D103 20
4th 40
0
D104
5th 30 One Cylcle
Example, suppose the Read Address is D100, and there is 1 channel, 5 sampling points
in each page; so, this XY plot will take 5 registers. They are D100, D101, …, D104
Sampling
The sampling points displayed on each page
Points
PageNum This option is valid only when the Multiple Pages is chosen.
189
Kinco DTools Configuration Edit Software
This option is valid when use the trigger sampling in the Sample Methods. Take the following picture for
example, set the LB100 (HMI local register) as the trigger register, the sampling will be triggered when the
Trigger
Register
Setting
Pause/Cle Set the register that controls the Pause and Clear function, the default word length is 2, the [set register]
ar controls the Pause, and [set register+1] controls the Clear. The Pause function only stops the change of curve,
but not stops the sampling. The Clear function clears the curve displayed on the XY plot. Take the following
picture for example, set LB0 (HMI local register) as the register to control Pause and Clear. When LB0 is ON,
the screen on XY Plot will stop refreshing; when LB0 is OFF, the screen on XY Plot will continue to display
the change of curve. When LB1 is ON, the curve on XY Plot will be cleared.
Set the register to turn page of multiple pages of XY Plot, the default word length is 3. This option is valid
when the Multiple Pages is chosen. Use this function to scroll the multiple pages XY plot, and can be used
with the Scroll Bar. ☞For details, refer to [Advanced Part 4.16.3 Scroll Bar]
Take the following picture for example, the specified register is LW0 (HMI local register), so the LW0 is the
current index value of scroll bar, LW1 is start index value of scroll bar, LW2 is the maximum index value of
scroll bar.
SCR0
190
Advanced Part Better Understanding of Library
Use this function to save the start time and end time of current page. This function is valid when the “Save
Time” is checked. The default word length is 12. Take the following picture for example, the specified
address that is used to save time is LW70(HMI local register), the start time (Second, Minute, Hour, Day,
Month and Year) of current page is LW70, LW71, LW72, LW73, LW74 and LW75. the end time (Second,
Minute, Hour, Day, Month and Year) of current page is LW76, LW77, LW78, LW79, LW80 and LW81.
Time
Scale
Y Y
O X O No display X
Display
50
0
O
191
Kinco DTools Configuration Edit Software
Y Y
O X O X
Display No display
O X
0 10 20
Scale Lable
4.6.3 Oscillograph
The function of Oscillograph component is similar to the Trend Curve. They read continuous registers
form specified HMI local registers or PLC/Controller registers periodically, and plots them in single axis
curve.
(Y-axis) 100
D100
1st 0 80
2nd 40 60
3rd 60 40
4th 40 20
5th 0 0
Oscillograph
Single
Type Only display the data change information of current page, there is no curve extension.
page
192
Advanced Part Better Understanding of Library
Multiple There is XY plot extension, each channel can be saved, when the XY plot extends, the
Pages historical sampling data will not be lost, but save in the buffer area.
Y Y
Left Right
O O
X X
O Y X
Top bottom
O
X Y
Cycle The time interval of every 2 sampling points. The unit can be s or 100ms.
When use the rate sampling, the Oscillograph reads [Sampling Rate number] groups data each time. For
example, the Read Address is LW10 (HMI local register), Sampling Rate is 2, Channel is 3, so the read
Sampling address is LW10~LW15. The address distribution is as follows: three channels’ data of the first group are
Rate saved in LW10, LW11 and LW12; three channels’ data of the second group are saved in LW13, LW14, and
LW15. If the sampling cycle is 1s, the Oscillograph reads these two groups’ data every second. The rate
Sampling
Sampling points number displayed on each page
points
Set the register that controls the Pause and Clear function, the default word length is 2, the [set register]
controls the Pause, and [set register+1] controls the Clear. The Pause function only stops the change of
curve, but not stops the sampling. The Clear function clears the curve displayed on the Oscillograph. Take
Pause/Clear the following picture for example, set LB0 (HMI local register) as the register to control Pause and Clear.
When LB0 is ON, the screen on Oscillograph will stop refreshing; when LB0 is OFF, the screen on
Oscillograph will continue to display the change of curve. When LB1 is ON, the curve on Oscillograph will
be cleared.
193
Kinco DTools Configuration Edit Software
Set the register to turn page of multiple pages of Oscillograph, the default word length is 3. This option is
valid when the Multiple Pages is chosen. Use this function to scroll the multiple pages Oscillograph, and
can be used with the Scroll Bar. ☞For details, refer to [Advanced Part 4.16.3 Scroll Bar]
Take the following picture for example, the specified register is LW0 (HMI local register), so the LW0 is
the current index value of scroll bar, LW1 is start index value of scroll bar, LW2 is the maximum index
Use this function to save the start time and end time of current page. This function is valid when the “Save
Time” is checked. The default word length is 12. Take the following picture for example, the specified
address that is used to save time is LW70(HMI local register), the start time (Second, Minute, Hour, Day,
Month and Year) of current page is LW70, LW71, LW72, LW73, LW74 and LW75. the end time (Second,
Minute, Hour, Day, Month and Year) of current page is LW76, LW77, LW78, LW79, LW80 and LW81.
Time
194
Advanced Part Better Understanding of Library
4.6.4 Meter
Meter component displays the data of internal specified HMI or PLC/Controller which shows in
instrument chart.
D100=15
0
30 10
20
Meter Component
Set Data Type of Select the data types of setting values and support data types such as signed decimal number, unsigned
The Value decimal number, float-point number with single precision and float-point number with double precision
Clockwise, Anti-clockwise
Angle
Dial Style
Length Set the length of the meter hand, the maximum is the radius of the actual circle
0 0
Show Scale
30 10 30 10
Frame
20 20
Do not display
Display frame scale frame
195
Kinco DTools Configuration Edit Software
Main Scale
The Length of
Set the length of main scale, the maximum cannot exceed the radius length of actual circle
Main Scale
The Number of
Set the number of minor scales, 0~10 is optional
Minor Scale
The Length of
Set the length of main scale, the maximum cannot exceed the radius length of actual circle
Minor Scale
Tag Font Click the Tag Font to set the font of tag
Integer The integer number of scale tag (Cannot be set, it will change according to the maximum of meter)
Decimal Set the decimal number of the scale tag, 0~8 is optional
Use Dial Axis Checked to set the axis size and color
Axis Width Set the size of meter axis, the maximum cannot exceed the radius length of actual circle
50 50
Maximum/Minimum 25 75 25 75
Minimum Maximum
0 100 0 100
D100:-25 D100:125
Variable Min/Max Set the registers where variable Minimum and Maximum are stored.
Upper Limit/Lower 50
Lower Limit 25 75 Upper Limit
Limit
0 100
Set the thickness of the circle color block. The maximum cannot exceed the radius of meter
Fan Thickness
circle, and should be equal to or smaller than the Fan External Radius.
Set the radius of circle color block. The maximum cannot exceed the radius of meter circle, and
Fan External Radius
should be equal to or larger than the Fan External Radius.
196
Advanced Part Better Understanding of Library
50
25 75 ①Fan Thickness
②Fan External
0 100 Radius
①
②
Lower Limit/Upper
Set the alarm range of the meter component.
Limit
Variable Lower/Upper
Set the register where the alarm range be stored.
Limit
Bar Picture displays the data in HMI local register or PLC/Controller register in percentage of bar picture,
that is to say the bar picture displays the percentage of actual value compared to the set
maximum/minimum value.
D100= 75 100
50
Bar Picture
100
Standard Standard
Bar Type 50
0
D100=70
Display the offset value of actual value compared to the original data in bar
Offset
picture.
197
Kinco DTools Configuration Edit Software
100 100
Offset Of Original
Data:40
50 50
40 40
0 0
D100=20 D100=70
100 0
100 50 0 0 50 100
Rectangle
50 50
0 100
Circle
If the value in specified register is in the permissible range, the bar picture displays specified color
in filling area.
0 0 0 0
Lower Limit D100=30 D100=40 D100=60 D100=70
Diameter of Fan Set the diameter of fan when the Bar Shape is Circle, the unit is pixel.
Start Angle Set the start angle of fan when the Bar Shape is Circle.
End Angle Set the end angle of fan when the Bar Shape is Circle.
Color Set the color for Normal state, Upper/Lower Limit, Frame and Background.
When the value in specified register exceeds the Alarm Upper, the filling area in bar picture flashes.
0
D100=80
198
Advanced Part Better Understanding of Library
100
Flashing
Alarm Lower 50
20
0
D100=10
Upper Limit
100 100
50 50
Maximum/
0 0
Minimum
Lower Limit
D100= -10 D100=120
The percentage of filling area of Bar Picture can be calculated by the following formula:
register-[Minimum])/([Maximum]-[Minimum]) *100%
Variable Min/Max The Maximum and Minimum are read from specified registers.
Set the alarm range, when the value in specified registered is larger than Alarm Upper or smaller
than Alarm Lower, the filling area of bar picture displays the specified Alarm Color.
Variable Alarm
The Variable Alarm Upper/Lower are read from specified registers.
Upper/Lower
Scale
199
Kinco DTools Configuration Edit Software
The Length of Main Scale Set the length of main scale, unit is pixel.
The Length of Minor Scale Set the length of minor scale, unit is pixel.
Scale Display
Position
100
Scale Tag
50
After the input data is assigned to the specified address, the proportion of each channel is displayed in pie
chart.
Basic Setting
200
Advanced Part Better Understanding of Library
Use FramColor
Basic Setting
o'clock
Set the start angle and end angle of pie chart, from 0 to 360, The 3
direction is 0 degrees, anticlockwise calculation, as shown in
the following figure
Start angle:0 Entangle:90 Start angle:90 end angle:270
StartAngle\EndAngl
e
Sheet No Sheet\data\Percentage
Data Show
Decimal Digits The decimal should be between 0 to 8
Setting
Set the channels clockwise or anticlockwise display
Display Direction
Clockwise Display Anticlockwise Display
201
Kinco DTools Configuration Edit Software
Channel
[Example]
1. The channel number of pie chart are 3, the decimal digits is 2, and anticlockwise display
2. Offline simulation:
202
Advanced Part Better Understanding of Library
display, historical event display, event bar, alarm display and alarm bar for displaying alarm information.
!
1.The event information displaying in components of event display, historical event display, event bar must
2. The alarm information displaying in components of alarm display, alarm bar must be preset in【Alarm
3. Alarm information can’t be saved, and alarm display component can only display the unrecovered alarm
information.
4. Event information can be saved, and event display component can display both unrecovered event
203
Kinco DTools Configuration Edit Software
1.” Save Count” must be greater than 0. If “Save Count” is 0, then system won’t save event to recipe data
field.
2.” Start Addr.” can be user-defined. The length of one event information is 16 words. System will set “End
3. Event information which saves to recipe data field cannot display in historical event display component.
When “Storage Type” is set as “Daily File”, then the event information will save to path “event/Subdirectory
name/yyyymmdd.csv”. When “Storage Type” is set as “Single File”, then the event information will save to path
“event/Subdirectory name/ Subdirectory name.csv”. (Therein,yyyymmdd is event execution date such as 20110101)
1. Only the HMI with USB HOST or SD Card support saving to external device.
2. Only the event information which is saved to external device can query by date or order sequence and
3.Event information can save to recipe data field and external device at the same time.
☞For details about historical event storage, refer to [Advanced Part 6.1.7 Historical Events Storage]
➢ Event information clear
There are four ways to clear event information which displaying in event display component.
This way is used to clear all the event information which are saved in recipe data field.
(2)Tick【Clear History Event Data】in【EVDownload】when downloading project. The event information will be clear
after downloading.
This way is used to clear all the event information which are saved in recipe data field and external device.
This way is used to clear all the event information which are saved in recipe data field.
This way is used to clear all the event information which are saved in recipe data field and external device.
When the information in Event Display component cannot totally display horizontally, then system will provide scroll
bar automatically.
204
Advanced Part Better Understanding of Library
2 2011/06/23 15:22:54 15
2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
1 2011/06/23 14:01:00 14:44:20 14
0 2011/06/23 10:50:01 11:40:10 10 0 2011/06/23 10:50:01 11:40:10 10
The width of system scroll bar can be set in【HMI Attribute】—【HMI Extended Attributes】,the range is 20~120(Pixel).
Event display is used to display event information logon in “Event Information Logon”. The displaying
Logon
No. Type HMI No. Address Info. Address Trigger Condition Content
0 0 1 HMI0:PLC0: D:0 >100 Abnormal Temp.
2 2011/06/23 15:22:54 15
Display 1 2011/06/23 14:01:00 14:44:20 14
0 2011/06/23 10:50:01 11:40:10 10
! 2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
0 2011/06/23 10:50:01 11:40:10 10
! 【Read Address】in Event Display component is used to scroll the event information(Up or down).
Event Information
The number of characters occupied by the Sequence No. (1~5 range can be set), the
default is 3
For example: when the user sets 3, the sequence No. is automatically set to 3 characters.
Sequence No. Length
When the ordinal number is 1-999, the width is 3. When the ordinal number is changed
from 999 to 1000, the sequence number length of the subsequent event is automatically
changed to 4
Character Space The distance between each character of the event content. Unit as pixel point
205
Kinco DTools Configuration Edit Software
Acknowledge Type Set the acknowledge method for triggered event. Click or Double Click.
Acknowledge
The color of event information after affirming.
Color
Back to
Color The color of event information after event back to normal.
Normal Color
Select Area
The color of dotted line for indicating user information.
Color
Select means using one by one to clear the selected event function. At run-time, when
the specified register satisfies the set trigger condition, the selected event will be deleted.
Five trigger types:
When specified register changes from OFF to ON, the selected event
OFFàON
will be deleted
When specified register changes from ON to OFF, the selected event
ONàOFF
Clear Event One by One will be deleted
OFFßàON When specified register changes, the selected event will be deleted
The selected event will be deleted, when specified register changes from
OFFàON,
OFF to ON. And the specified register will be reset to OFF
Reset
automatically
ONàOFF, The selected event will be deleted, when specified register changes from
Reset ON to OFF. And the specified register will be reset to ON automatically
Background
Set the background color of event display component
Color
Border
Set the border width and color of event display component, The border with from 0 to 8
Width/Color
Row/Column
The space between two rows or two Columns.
Space
Title Bar
Set the title bar name, color and font
Setting
The format of event information. All the format information display in front of event information.
206
Advanced Part Better Understanding of Library
Displays the total alarm time that the current alarm has accumulated
during the entire operation.
Cumulative Time
Note: the cumulative time outage keep in, set LB9211 to ON, clear
the cumulative time;
Displays the count of alarms accumulated during the entire operation.
Cumulative Count Note: the cumulative count outage keep in, set LB9212 to ON, clear
the cumulative time;
Displays the number of alarms present during the current operation of
Current Count the current alarm.
Note: Current Count outage is not saved
Events are ranked from small to large by category, and similar events
are sorted by time. If the event is not selected according to the ascending
Category Ascending Sort order of the event, the similar events are displayed in descending order
of time; after the selection, the similar events are displayed in an
ascending order of time.
Events are sorted from large to small, and similar events are sorted by
time. If the event is not selected according to the ascending order of the
Category Descending Sort
event, the similar events are displayed in descending order of time; after
the selection, the similar events are displayed in an ascending order of
207
Kinco DTools Configuration Edit Software
time.
Only when the specified register changes from OFF to ON, all events are
OFFàON
acknowledged.
Only when the specified register changes from ON to OF, all events are
ONàOFF
One Key to acknowledged.
Acknowledge
OFFßàON Only when the specified register changes its status, all events are acknowledged.
Event
OFFàON, Only when the specified register changes from OFF to ON, all events are
Reset acknowledged, and the specified register resets automatically.
Only when the specified register changes from ON to OFF, all events are
ONàOFF, Reset
acknowledged, and the specified register resets automatically.
Clear After the checkout, the cumulative time of the selected event can be cleared by the change of the state
Cumulative of the specified register. Five trigger types are optional: OFFàON、ONàOFF、OFFßàON、
Time OFFàON, reset、ONàOFF, reset
Clear After the checkout, the number of selected events can be cleared by the change of the state of the
Cumulative specified register. Five trigger types are optional: OFFàON、ONàOFF、OFFßàON、OFFàON,
Count reset、ONàOFF, reset
Select Color Set the color that the event is back to normal and acknowledge
Use Vertical After the checkout, the event shows the element with the vertical scroll bar, the scroll bar width can be
Scroll Bar set 20~120, the default 20
Use Event Level
Set the level and category of event alarm image and text label display
Label and Image
Note: using event level label and image or event type label and image, it is necessary to select the
Use Event Type
"display event level" and "display event type" in the event information format.
Label and Image
208
Advanced Part Better Understanding of Library
Start Date: specified address, word length is 2, input year and date in this address.
Start Time: specified address +2, word length is 2, input time (hour, minute and minute)
in this address.
End Date: specified address +4, word length is 2, input year and date in this address.
End Time: specified address +6, word length is 2, input time (hour, minute and second)
in this address.
输
History Data
Query Take the following picture for example, the specified address is LW200, and user wants
Query
Address to query the event between 9:30:40 14th, Aug, 2012 and 14:16:30 15th, Aug, 2012.
Start Date:LW200=20120814
209
Kinco DTools Configuration Edit Software
Start Time:LW202=93040
End Date:LW204=20120815
End Time:LW206=141630
Query Trigger
When the trigger condition is satisfied, it triggers the execution of the query operation
Address
【Example】Take the serial communication between GH070E and SIEMENS S7-200 for example, when the temperature is
higher than 80℃ or the pressure is higher than 120Mpa,then the HMI will display alarm and output buzzer alarm, then it
Event
Display
Temperature/Pressure
VW0 #### VW2 ####
Create new project [Event], and then add two windows Frame10 and Frame11 which are used for temperature alarm and
pressure alarm. Set the attributes as follows:
X/Y 80/80
Width/Height 200/100
Add two texts and function keys in Frame10 and Frame11, and then draw an alarm symbol.
Set attributes of text as follows:
Graphics No use
Set the size of function key to the same as the size of window.
210
Advanced Part Better Understanding of Library
Add event information in【Project Database】—【Event Information Logon】.Set event information as follows:
Temperature Alarm:
Condition >80
Pressure Alarm:
Condition >120
Format Tick Sequence No., Event Trig. Time, Acknowledge Time, Return
Add two “Multiple State Setting” components in Frame0, and set their attributes as follows:
Subtrahend/Addend 1/1
Lower/Upper 0/100
Open【HMI Attribute】—【Historical Events Storage】,tick【Save to Recipe Data Field】, set【Save Count】to 100,set
【Start Addr.】as 0,means events will be saved in the registers start from RW0.
211
Kinco DTools Configuration Edit Software
Trig. Acknowledge
Return to
Normal
Return to
Trig. Acknowledge Normal
NO.2 15:22:54Time 15:25:13 Event
Abno
Time Time
1 14:01:00 14:44:20 14:44:23
NO. Event
Time
Abno
0 10:50:01 11:40:10 10:54:20 Time
2 15:22:54 Time 15:25:13 Abnornal T
Abnormal Temp.!
Abno
Beep... 1 14:01:00 14:44:20 14:44:23 Abnornal
Temperature/Pressure
VW0 VW2
T
0 10:50:01 11:40:10 10:54:20 Abnornal
90 100
T
Abnormal Temp.!
Temperature/Pressure
VW0 90 VW2 100
Status 3:
212
Advanced Part Better Understanding of Library
5. Click “Set Event Level label and image ”and “Set Event Type label and image ”,Select the vector diagram
above and then set the label text.
213
Kinco DTools Configuration Edit Software
After the event is triggered, click the event to After the event is triggered,
confirm the event and output the details to the click the event to confirm
following register: the event, which is set to 1
LW0:Event information login sequence number.
LW1:Event level
LW2:Event type
LW3-LW8:Event trigger time: seconds - minutes -
time -day-month- year
LW9-LW14:Event confirmation time: seconds -
minutes - time -day-month- year
LW15-LW20:Event recovery time: seconds - minutes
- time -day-month- year
LW21-LW23:Event alarm total time:hour -minutes -
seconds
LW24:Cumulative times of triggers
LW26:The current times of triggers
214
Advanced Part Better Understanding of Library
8. Click on one of the alarms (confirm the alarm), and output the alarm to the details:
215
Kinco DTools Configuration Edit Software
Historical event display is used to query the triggered historical event information, which are added in
!
1.【Read Address】in “Historical Event Display” component is used to query historical event. Word length is
2 by default.
2.It must tick the option “Save to External Device” in【HMI Attribute】—【Historical Event Storage】and
It is used to set whether display date for trigger, acknowledge and recovery events
Date
and time format. Therein, YY means year, MM means month, DD means day.
Table Display
Separator Choose the separator for date, there are three format options. Such as 11/06/24.
Sequence No. Set whether display the sequence no. of event information
216
Advanced Part Better Understanding of Library
Set the border width and the color of background, title bar and border of Historical Event Display
Background Setting
component.
If selecting it, then when the value of the specific register is 0, it means to display
the historical event information of today or the latest day. When the value is 1, it
means to display the historical event information of the previous day. And by
Order For example, there are two files in extended memory, 20110621.csv and
20110624.csv.When the value of the specific register is 0, then it will display the
Historical Event
historical event in Jun.24th, 2011.When the value is 1, then it will display the
Query
events in Jun.21st, 2011.
If selecting it, then when input the date in the specific register, it will display the
historical event in this day. The format of inputting date is yyyymmdd (yyyy
For example, when input 20110624 in the specific register, then it will display the
Set the color, line style, line width of separator line, and row space and column space. The unit of
separator line.
Set the status information which is used to display in status column of the table
Trigger
when event is triggered. It is set as 0 by default.
Set the status information which is used to display in status column of the table
Status display Confirm
when event is confirmed. It is set as 1 by default.
Set the status information used to display in status column of the table when event
Resume
is resumed. It is set as 2 by default.
Title Bar Setting Set the name and font attribute of title bar.
Screen Confirm
Not display the event confirm state in this component
State
Select Display Screen Trigger
Not display the event trigger state in this component
State State
Screen Resume
Not display the event resume state in this component
State
Event Bar is used to display and roll the triggered information from right to left which is already set in
217
Kinco DTools Configuration Edit Software
Logon
No. Type HMI No.Address Info... Address Trigger Condition Content
0 0 1 HMI0:PLC0: D:0 >100 Abnormal Temp.
!
Rolling
2011/06/23 10:50:01 Abnormal Te
Event
Information
Set the moving step of event information. The unit is pixel. The bigger the value, the faster the moving
Moving Step
speed.
Set the interval time of moving the event information. The unit is 100ms.The bigger the value, the slower
Moving Rate
the moving speed.
Gap Space Set the space between two events ranging from1-7 pixel.
Moving Style Set moving style:from right to left or from right to left
Set the display format of event information. All the format information will display in front of event
information.
Trig. Time
Trig. Date Event Information
Precise Time Format (H:M:S:MS) Time format is Hour: Minute: Second: Millisecond.
218
Advanced Part Better Understanding of Library
Event 2
Event 1
Alarm Display component is used to display the triggered alarm information which is already set in
“Alarm Information Logon”. The alarm information will not remove until the alarm condition is cleared.
Logon
No. Type HMI No. Address Info... Adress Alarm Content
0 0 1 HMI0:PLC0: M:0 On Abnormal Temp.
Abnormal Temp.!
Display
! Abnormal Temp.!
Alarm
Remove
Recovery
【Read Address】in Alarm Display component is used to roll the alarm information(Upward or downward)
Alarm Display
Column Space Set the interval between two characters or words in the alarm information. The unit is pixel.
Display Type Set the type range of alarm information, only this type range will display in the alarm display. The
219
Kinco DTools Configuration Edit Software
Alarm Bar is used to display and roll the triggered alarm information which is already set in “Alarm
Information Logon”.
Logon
No. Type HMI No. Address Info... Address Alarm Content
0 0 1 HMI0:PLC0: M:0 On Abnormal Temp.
!
Rolling
Abnormal Temp.! Abnormal T
Alarm Bar
Set the moving step of alarm information. The unit is pixel. The bigger the value, the faster the
Moving Step
moving speed.
Set the interval time of moving the alarm information. The unit is 100ms.The bigger the value, the
Moving Rate
slower the moving speed.
Display Type Set type range of alarm information, only this type range will display in the Alarm Bar. The type of
Kinco DTools provides two window components, Direct Window and Indirect Window, which are used for
popup window.
The main differences between the two window components and 【Popup Window】in Function Key are as follows:
Direct Window Bit According to the state of Read Address Specify in the attribute
Indirect Window Word According to the value of Read Address According to the value of Read Address
Direct Window is used to define a display area and display the specific window in this area according to the state of Read
Address.
220
Advanced Part Better Understanding of Library
M0:ON M0:OFF
Direct Window
1. Direct Window’s open or close depends on the state of Read Address, it means that it will popup window
when the state of Read Address is ON, and close window when the state is OFF.
2. Generally the size of Direct Window should be set the same as the size of specific popup window.
Direct Window
Select it to set the coordinates of Direct Window as variable. [Address] is used for X coordinate,
******
X
Variable Display
Coordinates
******
221
Kinco DTools Configuration Edit Software
Checked, the size of the windows component will be automatically adjusted according to the size
of the pop-up window; if the windows component is smaller than the size of the pop-up window,
Auto Resize Window
the system will automatically adjust the size of the windows component to fully display the
window to be popped up
! Direct Window can be closed by the “Close Window” function in Function Key
Indirect Window is used to define a display area and display the window whose number is the same as the value of Read
Address.
D0=10 D0=11
Indirect Window
1. It will close window when the value of the register is 0. And it will popup window 0 when the value is -1.
2. Generally the size of Indirect Window should be set the same as the size of specific popup window.
Indirect Window
******
X
222
Advanced Part Better Understanding of Library
******
Auto Resize Window Checked, the size of the windows component will be automatically adjusted according to the size
of the pop-up window; if the windows component is smaller than the size of the pop-up window,
the system will automatically adjust the size of the windows component to fully display the
window to be popped up
☞For details about how to build and edit Bitmap and Vector Graph, refer to [Advanced Part 5.3 Graphic Library]
4.9.1 Vector Graph
Vector Graph component is used to display vg pictures in system graph library and Project Files Window
graph library.
There is no register control in Vector Graph component, and graph doesn’t support multiple states switching
display. If you want to control vector graph by register, you can choose corresponding vector
graphics-Graphics option of other components, like Bit State Switch, Multiple State Setting etc.
☞For details about vector graphics in graphics option, refer to [Advanced Part 4.1.6 Graphics Setting]
4.9.2 Bitmap
Bitmap component is used to display bg pictures in system graph library and Project Files Window graph
library.
There is no register control in Bitmap component, and graph doesn’t support multiple states switching
display. If you want to control bitmap by register, you can choose corresponding bitmap in Graphics option
of other components, like Bit State Switch, Multiple State Setting etc.
☞For details about bitmap in graphics option, refer to [Advanced Part 4.1.6 Graphics Setting]
223
Kinco DTools Configuration Edit Software
Free Plotting component plots graph according the states of specified bit or word register. This
Dynamic Graph can change the position and size of rectangle, ellipse or line according to value in the
Dynamic Graph
Line Set the frame line color, line width and line type
Filling Set the filling color and picture of rectangle and ellipse
(x,y)
The dynamic graph position (X, Y) read from specified register. X
Checked
position=specified register, Y position = specified register +1.
The Width/Height of Variable Unchecked The dynamic graph width and height are constant.
H The dynamic graph width and height read from specified register.
Checked
Width=specified register, Height= specified register +1.
W
The component takes the upper-left as base point, X direction moving means increasing towards right. Y
direction moving means increasing towards down. The moving unit is pixel
224
Advanced Part Better Understanding of Library
4.9.5 GIF
GIF component is used to display the gif picture, and the switching frequency of gif picture can be
controlled.
GIF Attributes
Use Start Address If checked, when the specified register is ON, GIF displays animation, when register is OFF, GIF
Use GIF Default Freq Use the default frequency of gif picture.
Use defined Freq User set frequency for the gif picture.
Switching Different frequencies mean different switching speed of gif picture; the larger
Use Variable The switching frequency is read from specified register. Unit: 100ms.
Frequency Note: If the specified register is PLC register, but the HMI does not
communication successfully with the PLC all the time, the gif use the default
frequency. If the communication is cut off, the gif uses the latest historical value
Load GIF Load the gif picture from PC, and preview the loaded gif picture in Preview area.
Use Original Size If checked, the component size is the same as the gif original size.
Video component is used to monitor the industrial site picture in real time, supporting the CVBS signal.
225
Kinco DTools Configuration Edit Software
!
1. Only the HMI with BNC connector can support the Video component
2. Supports PAL and NTSC format. And the video mode is optional in HMI Attribute>>HMI Extended
Attributes
3. If the video is displayed in pup up window, the pop-up window should be set Video Page in Window
Basic Attributes
The default Word Length of Read Address is 4, each word corresponds to different function attribute as follows:
Switch channels, if the value is 0, the component displays the video image
Specified Address Switch channel from channel 0; if the value is 1, the component displays the video image
from channel 1;
Channel+
1
Channel-
Brightness+
2
Brightness-
Contrast+
3
Contrast-
Chroma+
4
Chroma-
5
Multiple State Setting component, it is used to switch the channels (There are only 2 CVBS port on MT5620T), its
226
Advanced Part Better Understanding of Library
Multiple State Setting component, it is used to adjust brightness, it attributes are as followings:
Write Address LW 1(HMI local register) LW 1(HMI local register)
Multiple State Setting component, it is used to adjust contrast, it attributes are as followings:
Write Address LW 2(HMI local register) LW 2(HMI local register)
Multiple State Setting component, it is used to adjust chromaticity, it attributes are as followings:
Write Address LW 3(HMI local register) LW 3(HMI local register)
227
Kinco DTools Configuration Edit Software
Camera component is also used to monitor the industrial image as the Video component, and the Camera
Basic Attributes
Camera component uses the Read Address to open, close, switch the camera.
For example, suppose the Read Address is LW0 (HMI local register), when LW0 is 0, the camera is close; when LW0 is 1,
the camera on USB HOST1 is open; when LW0 is 2, the camera on the USB HOST2 is open.
!
1. The Camera component is only suitable for the HMI with USB HOST port.
2. If there are cameras on both USB HOST1 and USB HOST2, the two cameras cannot be open at the
same time. That is to say when one camera is open, the other is closed automatically.
4.10.3 IP Camera
IP Camera is also used to monitor the industrial image as the Camera component, and the IP Camera
228
Advanced Part Better Understanding of Library
229
Kinco DTools Configuration Edit Software
Select the component settings, such as constant user names, based on the information in the IP Camera:
230
Advanced Part Better Understanding of Library
231
Kinco DTools Configuration Edit Software
After placing the components, you can see that all components exist as a combined component. If you need to change the
address of one of the components, you need to cancel the combination before you can change a single component.
232
Advanced Part Better Understanding of Library
Note: The component addresses in the group library are relatively small. It is recommended to use the group library to cancel
the combination and change the component address to the address you want to use.
4.10.4 Media Player
233
Kinco DTools Configuration Edit Software
Media Player
Media Player properties are specified
Background Color Fill Set the background color of the media player component
Play Mode Set play mode: None, single cycle, list loop
Enable to display the
Display the currently playing file name
currently playing file
The address is the same as the file list component, and the files of the media player can be
File Path Address
selected through the file list component
5 words
Command word:1- play / pause, 2- end, 3- previous, 4- next;
Command word +1:Current time,Unit: second
Play Control
Command word +2:Start time,Unit: second
Command word +3:End time,Unit: second
Command word +4:play status,0- stopped, 1- playing, 2- paused
The Multiple States Neon Lamp component displays text content circularly in neon.
Kinco HMIWare provides Bit State Neon Lamp and Multiple State Neon Lamp, their differences are as followings:
The Bit States Neon Lamp component displays tag content circularly in neon, supports tag content in state 0 and state 1.
OFF
Welcome! Wel
ON
Welcome! Wel
Change the states of Read Address to switching display the tag content in corresponding states.
234
Advanced Part Better Understanding of Library
From right to left The text moves from right frame to left frame circularly.
Moving Style
From top to bottom The text moves from top frame to bottom frame circularly.
Form bottom to top The text moves from bottom frame to top frame circularly.
Step Length The distance of each movement, the unit is pixel point.
Speed The time interval between previous moving text and next moving text, the unit is Ms.
The multiple State Neon Lamp component displays tag content circularly in neon, supports 256 states tag content at most.
D100 = 0
Welcome! Wel
D100 = 1
Welcome! Wel
Change the value of Read Address to switching display the tag contents corresponding to the value.
Moving From right to left The text moves from right frame to left frame circularly.
Style From top to bottom The text moves from top frame to bottom frame circularly.
Form bottom to top The text moves from bottom frame to top frame circularly.
Step Length The distance of each movement, the unit is pixel point.
Speed The time interval between previous moving text and next moving text, the unit is Ms.
State Num Set the state number of Multiple State Neon lamp, 256 states at most.
Data Set the mapping value of each state. When the value in Read Address equals to the corresponding value, the
235
Kinco DTools Configuration Edit Software
more vivid.
4.12.1 Animation
Animation component can preset the trace of moving component, and change the component state and
preset trace position according to value of the HMI register or PLC register.
D100 D101
1st 0 0
2nd 0 1
3rd 1 2
4th 0 3
5th 0 4
X
D100: State
O0
D101: Serial Number of Preset 1
Trace 2 3
4
Drag the Animation component to the edit area, there will be a “+” icon, press the left mouse button at appropriate
position, so a moving position is preset. Press the right mouse button to end the presetting after all the all the positions are
set.
1
5
2 4
3
The default word length of Animation component is 2, each word corresponding to the different control function, see the
details follows:
236
Advanced Part Better Understanding of Library
Specified When the value in control address equals to the state number of components, the
Component State
Address Animation Component display corresponding tag or picture.
Specified Number of preset When the value in control address equals to the number, the Animation Component
Animation
coordinates The number 0 means the first moving node, the number 1 means the second moving node.
Shift Up Exchange the position of the selected node and the previous node
Shift Down Exchange the position of the selected node and the next node
The Moving Component can change the display state and position according to the value of HMI register
or PLC register.
(0,0,0) X
D100: State O
D101:X coordinate
(0,48,60)
D102:Y coordinate (0,150,72) (0,240,72)
240PX
(0,300,120)
Y
320PX
237
Kinco DTools Configuration Edit Software
The default word length of Moving Component is 3, each word corresponding to the different control function, see the
details follows:
Moving Component
X axis only
Y axis only
The component moves along the X and Y axis at the same time.
Type X
X & Y axis
The component moves along the X axis horizontally, but the relative moving
X
0 50 1000
(Proportional)Min Proportional Max Maximum
238
Advanced Part Better Understanding of Library
The component moves along the Y axis vertically, but the relative moving
0 (Proportional)
Min
When the
value in
Y Scaling register that Proportional
controls Y 50 Max
movement is
1000
Maximum
1000
Y
X Reverse Scaling
X
1000 50 0
Maximum Proportional Max Proportional Min
Y
1000 Maximum
Y Reverse Scaling
50 Proportional
When the value in Maximum
register that controls
Y movement is 1000
(Proportional)
0 Minimun
The component moves along the X and Y axis at the same time, the relative
moving position can be set by the input value and proportional value.
Proportional Proportional
Maximum
Minimum Maximum
0 50 1000
Proportional 0 X
Minimum
X Scaling, Y Scaling
239
Kinco DTools Configuration Edit Software
Scaling relative moving position can be set by the input value and proportional value,
Y
Maximu 500
m
The component moves along the X and Y axis at the same time, and the
relative moving position can be set by the input value and proportional value,
Y
500
Maximum
X Reverse Scaling, Y
When the value in
Scaling register that controls 50 Proportional
X movement is 1000 , Maximum
controls Y movement
is 500
Proportional
X 0 Minimum
1000 50 0
Proportional Proportional
Maximum Maximum Minimum
The component moves along the X and Y axis with reverse direction, and the
relative moving position can be set by the input value and proportional value
Proportional Proportional
Maximum Maximum Minimum
1000 50 0
Proportiona
X Reverse Scaling, Y X 0
Minimum
When the value in
Reverse Scaling register that controls
X movement is 1000 , Proportional
controls Y movement 50 Maximum
is 500
Maximum
500
Y
Status
Set the status number that can be switching display.
Number
240
Advanced Part Better Understanding of Library
Min/Max Upper/Lower Limit of X and Proportional Upper/Lower Limit of Y are read from specified registers.
B=Current Position + (A-Minimum) *Proportional Value, and Proportional Value= (Proportional Upper Limit –
Suppose the read data is A, and the actual display position is B. You can get the B according to the following formula:
B=Current Position + (Maximum-A) *Proportional Value, and Proportional Value= (Proportional Upper Limit –
4.12.3 Pipeline
Body Color Changeable If checked, the pipeline color can be changed by specified register.
Flicker If checked, use specified register to switch on/off the flicker effect.
Use Flow Effect If checked, use specified register to control the flow effect.
Effect Copy Symbol to All Pipe Copy the current flow symbol to all the pipes
Copy Color to All Pipe Copy the current flow symbol color to all the pipes
Display Length Set the length percentage of flow symbol in the pipe, 1~100 is
optional.
Copy Length to All Pipe Copy the length percentage to all the pipes
User Flow info to All Pipe Copy the flow effect to all pipes.
241
Kinco DTools Configuration Edit Software
Not use Flow info to All Pipe All the pipes do not use flow effect.
Control Address If the bit1 of specified register is ON, Pipeline uses the second color; if the bit2 is ON, Pipeline uses the
third color; Bit3 is on, Pipeline starts to flicker (when the Flicker is checked), that is to say the pipeline
switching displays the first color, second color (bit1 is ON) or third color (bit 2 is ON). If the bit3 is
ON, the pipeline displays the flow effect (the Use Flow Effect is checked).
Note: if the bit1 and bit2 are ON or OFF at the same time, pipeline displays the first color, the flicker is
invalid.
For example, the Control Address is LW0 (HMI local address), word length is 1.
When the LW0 =1 or LW. B0.0 is ON, the Pipeline display the second color; When the LW0 =2 or LW.
B0.1 is ON, the Pipeline display the third color; When the LW0 =5 or LW. B0.0 and LWB0.2 are ON at
the same time, the Pipeline switching display the first color and the second color. When the LW0 =8 or
Pipe Info
Pipe List Number Number 0 is the first pipeline; Number 1 is the second pipeline and so on.
Type Display the current pipe type, there are HLNE (Horizontal), Bend Node (Bend),
VLINE (Vertical).
Pipe Setting Select the corresponding pipe number, and set its parameters.
Follow Effect Select the corresponding pipe number, and set its flow effect.
The Grid can be selected in row, column or cell. User can set the row number, column number, Select
Color, Background Color, Border Color, and the Grid writes the column number and row number to the
242
Advanced Part Better Understanding of Library
D100 2
D101 3
Grid component takes different register number according to the different Type, see the detail as follows:
Grids
Select Color Set the Select Color, Background Color and Border Color.
Background
Choose whether the background color is transparent
Transparent Color
Background Color Set Background Color
Border\Divide line Set border\divide line type \ width and color
Set the spacing type to be equal or custom. If you customize, you can adjust the spacing by pulling
Spacing Type
the dividing line in the configuration editing interface
Historical Data Display component read data from specified HMI or PLC continuous registers
243
Kinco DTools Configuration Edit Software
!
1. The Read Address of Historical Data Display component is register address of the first channel.
2. The Word Length of Historical Data Display depends on the channel number, if the channel number is m
3. When use the Historical Data Display component, one of the Save to Recipe Data Field and Save to
Display Properties
Frame
Column Space
Background Horizontal line System Scroll Bar*
※If the information in Historical Data Display component cannot be displayed entirely, the scroll bar will be built
automatically to make user to view the whole information. And the width of system scroll bar can be set in HMI
Checked means the sampling data information is arranged in ascending order, that is to say the latest
Ascending Order sampling data is displayed at bottom; Unchecked means the sampling data information is arranged
in descending order, that is to say the latest sampling data is displayed at top.
Checked means to display the sampling date, and choose the date format, three
Date formats are optional, in the date format, YY means year, MM means month, DD
means day.
Date/Time Display Date Separator Choose the date separator; three formats are optional, for example 11/06/24.
Checked means to display the sampling time, and choose the time format, three
Time formats are optional, in the date format, HH means hour, MM means minute, SS
Color Setting Set the color for grid background and tile bar.
244
Advanced Part Better Understanding of Library
Border Setting Set the border color and border line width of grid.
Set the separator color, style and width of each row and column in grid, the unit of Row Space and
Separator Setting Column Space is pixel point. And check the Horizontal Line means to display horizontal line, check
The data that is saved to the external device can be queried by specified register in Historical Data
Check the “Query by file order”, when the value in specified register is 0, it
means to query today or the latest day’s historical data, 1 means to query the
previous day’s historical data and so on. For example, there are two csv file in
Query by file
the external device, when the value in specified register is 0, the historical data
order
Historical Data file saved on 24th, June, 2011 is queried and displayed, when the value in
Query specified register is 1, the historical data file saved on 21st, June, 2011 is queried
and displayed.
Check the “Query by date” and input the date to the specified register, then the
Query by date inputting date is yyyymmdd, yyyy means year, mm means month, and dd means
day, for example, input 20110624 in the specified register, the historical data
Variable Cycle The sampling circle is read from specified register in Time Sampling mode.
!
If the Variable Circle is configured, the Variable Circle value will be used preferentially; and the preset
value is called when the Variable Circle value cannot not be read because of losing communication.
Background Attribute
OFFàON Only when the specified register changes from OFF to ON, the sampling is
ONàOFF Only when the specified register changes from ON to OF, the sampling is
Sampling Methods
trigger sampling triggered.
OFFßàON
Only when the specified register changes its status, the sampling is triggered.
trigger sampling
OFFàON reset Only when the specified register changes from OFF to ON, the sampling is
245
Kinco DTools Configuration Edit Software
ONàOFF reset Only when the specified register changes from ON to OFF, the sampling is
Time interval between every two sampling points, the sampling points can be second or hundred
Cycle
milliseconds.
Continuous The sampling will continue after all the sampling points are finished.
Sam. Type The sampling will stop after all the sampling points are finished; the sampling is
Once
executed once.
Sampling Points In the “Once” Sam.Type, the sampling will stop after all the Sampling Points are finished
Trigger Register
It is the specified register in the “Trigger Sampling” Sampling Method.
Setting
The default word length is 2. The pause function is used to stop the sampling, the pause address is
the specified address. The clear function is used to clear the sample data saved in the flash; the clear
Note: If “Historical Data Query” is selected, the display data is from external device, at the time
Channel Properties
Set the data format of sampling data, supporting format is 16-bit signed, 16-bit unsigned, 32-bit
Data Type
signed, 32-bit unsigned, float, double.
Lower/Upper Limit
Set the Lower/Upper Limit color
Color
246
Advanced Part Better Understanding of Library
!
Historical Data Display component and Trend Curve can be used together, but when they sample the same
registers and save the data in external device, the sub routine of saving file must be different, or chose only
one historical data (Historical Data Display component or Trend Curve.) to save.
Background Print
Select [Use Background Data Print] to enable real-time print historical data. If [Net Print] is select, historical data can be
printed in network.
Batch Trigger printing when the sampling point number equals the set value.
Trig Trigger printing when the specified register satisfies the set condition.
Net Print Enable the Net Print, download the program to HMI, and then run the Net Print.exe to
Note: If the Net Print is checked, the local printing is invalid. Even if the local printer is
connected to HMI, the HMI still cannot print via local printer.
Print Content Print Serial Print serial number of each sampling point.
Number
Print Table Header Print the table header of Historical Data Display component.
Print Grid Pint the grid ground of Historical Data Display component.
Print Date Print date of each sampling data, and select the date format and
separator. There are three date format and separator, YY means year,
Print Time Print time of each sampling data, and select the time format and
Grid Set the line type, line width and color of grid background.
User can set the title name a font in this page, see as follows:
247
Kinco DTools Configuration Edit Software
A
Time TIME Set Font
Channel 0 CH 0 Set Font
2 3
When configure the “User Permission Setting” function, use the User Info Display component to
display the user information (system registered or added on line.) in table format.
User1
User2
☞For details, refer to [Advanced Part 10.3.2 User Permission Protection for Components]
1 User 2 11100000000000000000000000000000 1 NO
Row Space 0 User 1 10000000000000000000000000000000 10 YES
Column Space
248
Advanced Part Better Understanding of Library
*1. Users that registered in User Permission Setting of HMI Attribute cannot be deleted on line, so the Editable option in
*2. When the user information cannot be wholly displayed in vertical or horizontal direction, system will provide scroll
bar automatically. The width of system scroll bar can be set in HMI Extend Attributes of HMI Attributes; the width
Table Display
Checked means displaying sequence number before each item.
Attributes
Back Ground Setting Set the background, title bar, frame color and frame width of table.
Set the separator color, line style, width and row space, column space. The unit of row space and
Separator Setting column space are pixel point. Check the “Vertical Line” means displaying the vertical separator
line, and check the “Horizontal Line” means displaying the horizontal separator line.
Set the display name and font attribute of table title bar.
Title Bar Setting
☞For details, refer to [Advanced Part 4.13.2 Historical Data Display]
The Operation Log component recode the all the operations on the HMI and display them in table, these
!
1. The Read Address of Operation Log is the specified register that is used to query the operation log, the
2. The Operation Log can display operation result of Bit State Setting, Number Input, Text Input component
and so on.
3. The Operation Log component is only suitable for HMI with SD card or U disk.
249
Kinco DTools Configuration Edit Software
Frame
Horizontal line
Background System Scroll Bar
* When the operation log cannot be wholly displayed in vertical or horizontal direction, system will provide scroll bar
automatically. The width of system scroll bar can be set in HMI Extend Attributes of HMI Attributes; the width is optional
from 20 to 120(pixel).
Table Display Time Checked means displaying the operation time and chose the time format, three
MS means millisecond.
Date Checked means displaying the operation date and chose the time format, three
Date Separator Choose the date separator, three formats are operation, for example 11/06/24
Sequence No. Checked mean displaying sequence number of each operation log.
Ascending Order Checked means that the operation logs are arrange in ascending time order, that is
to say the latest log is at the bottom; unchecked means that the operation logs
are arrange in descending time order, that is to say the latest log is on the top.
Background Set the background, title bar, frame color and frame width of operation log table.
Setting
Historical Logs Query by File If the “Query by File Order” is checked, 0 in specified register means to call
Query Order today’s log or latest day’s log; 1 means to call the previous day’s log and so on.
For example, there are two operation log csv file in external memory device, they
are 20110621.csv and 20110624.csv, when the value in specified register is 0, the
csv file that is saved on 24th, June, 2011 is called, when the value in specified
register is 1, the csv file that is saved on 21st, June, 2011 is called and displayed.
Query by Date If the “Query by Date” is checked, input date in specified register to call the
means year, mm means month, dd means day. For example, input 20110624 to
specified register, the operation log that is saved on 24 th, June, 2011 is called
and displayed.
250
Advanced Part Better Understanding of Library
Separator Setting Set the separator color, line style, width and row space, column space. The unit of row space and
column space are pixel point. Check the “Vertical Line” means displaying the vertical separator line,
and check the “Horizontal Line” means displaying the horizontal separator line.
Title Bar Setting Set the display name and font attribute of table title bar.
User needs to set the storage path for Operation Log storage file in HMI Attributes>> HMI Extended Attributes>>
stored by Signal File type, the storage path is log/subdirectory/subdirectory.csv. Note: yyyymmdd is the date on which
The components whose operation log needs recoding must check the Recodes Operations in Control Setting of
Data Report is used to display the data that is logged in the Data Logger and stored in external memory
device on the HMI in report. The logged registers can be continuous or discontinuous registers.
Data Report
Attribute Report type Trigger Report In the user defined time interval, trigger the sampling to get the instant
251
Kinco DTools Configuration Edit Software
data.
Free Report Display all the data in the user defined time interval.
Note: In the real-time Report Mode, if the Free Report exceeds the
user defined length, the earliest data will be deleted, then the whole
report moves up
circle. The new data is displayed at the bottom of report. If the report
exceeds the length of row number, the newest data displays at the top
of report, and all the data in previous circle will be deleted, only the
By Order The sampling data is sequenced by time order; the newest data is at the
bottom.
Dis. Order
Reverse The sampling data is sequenced by reverse time order, the newest data
is at the top
Set the displaying lines of report, this parameter is only suitable for the Trigger Report and
Free Report.
Note:
1. The line number of Daily Report is created automatically according to the Timer
Report Line Interval, for example, the time interval is 1 hour, so the line number is 24.
2. The line number of Monthly Report is 31, Quarterly Report is 3, and Annual Report is
12.
3. In the “History” Report mode, the line number of Free Report and Free Report depends
There are five options; they are Instantaneous Value, Min Value, Max Value, Average Value
Empty Data Specified Value When there is no value in sampling register, the report displays specified
252
Advanced Part Better Understanding of Library
Last Valid Value When there is no value in sampling register, the report displays the last
valid value.
The time interval of report, there are two options, they are minute and hour.
Note: This option is only suitable when the Free Report and Daily Report are selected.
Time Interval
Because the time interval of Monthly Port and Quarterly Report are month, and time
Start Date: specified address, word length is 2, input year and date in this address.
Start Time: specified address +2, word length is 2, input time (hour, minute and minute) in
this address.
End Date: specified address +4, word length is 2, input year and date in this address.
End Time: specified address +6, word length is 2, input time (hour, minute and second) in
this address.
Take the following picture for example, the specified address is LW200, and user wants to
query the data between 9:30:40 14th, Aug, 2012 and 14:16:30 15th, Aug, 2012.
Trigger Report
History
Inquire
Address
So, the specified addresses are as follows:
Start Date:LW200=20120814
Start Time:LW202=93040
End Date:LW204=20120815
End Time:LW206=141630
Start Date: specified address, word length is 2, input year and date in this address.
Start Time: specified address +2, word length is 2, input time (hour, minute and minute) in
this address.
End Date: specified address +4, word length is 2, input year and date in this address.
Trigger Report
End Time: specified address +6, word length is 2, input time (hour, minute and second) in
this address.
Take the following picture for example, the specified address is LW200, and user wants to
query the data between 9:30:40 14th, Aug, 2012 and 14:16:30 15th, Aug, 2012.
253
Kinco DTools Configuration Edit Software
Start Date:LW200=20120814
Start Time:LW202=93040
End Date:LW204=20120815
End Time:LW206=141630
The specified address, word length is 2, and input year and date in this address.
Take the following picture for example, the specified address is LW200, and user wants to
Daily Report
LW200=20120814
The specified address, word length is 2, and input year and month in this address.
Take the following picture for example, the specified address is LW200, and user wants to
Monthly
Report
LW200=201208
The specified address, word length is 2, and input year and quarter number in this address.
Quarterly
Take the following picture for example, the specified address is LW200, and user wants to
Report
query the data of the third quarter 2012.
254
Advanced Part Better Understanding of Library
LW200=201203
The specified address, word length is 2, and input year in this address.
Take the following picture for example, the specified address is LW200, and user wants to
Annual Report
LW200=2012
When the specified register satisfies the set condition, output report data.
OFFàON Only when the specified register changes from OFF to ON, HMI outputs report data.
ONàOFF Only when the specified register changes from ON to OFF, HMI outputs report data.
Trig
OFFßàON Only when the specified register changes its status, HMI outputs report data.
history
OFFàON Only when the specified register changes from OFF to ON, HMI outputs report data, and
inquires
(reset) then reset the specified register automatically.
ONàOFF Only when the specified register changes from ON to OFF, HMI outputs report data, and
Data Report Channel List Data Sample List Display all the sampling data in the Data Logger library.
Data Sample Channel Display all channel information of one sampling data.
255
Kinco DTools Configuration Edit Software
The data-report channel list Display the selected channels of current report.
Data report channel. Set the title, integer and decimal of report channel.
If checked, report displays the sampling time, and chooses the time format and separator.
Display time There are three formats optional, HH means hour, MM means minute, SS means second, MS
means millisecond.
Back color Set the background color and title bar color.
Date Format Display sampling date, and choose the date format, there are three formats
Display date optional, YY means year, MM means month and DD man’s day.
Separator Select the date separator, three formats are optional, for example 12/07/19.
Set the color, type and width of separating line, and set the width of each row and column, the
unit is pixel
Separator border settings
If the Horizontal Line is checked, report displays horizontal separator, if the Vertical Line is
Title bar settings Set the display name and font of title bar.
In real-time report mode, use a bit register to clear the sampling data in Data Report Display.
Only when the specified register changes from OFF to ON, HMI clears the
OFFàON
sampling data in Data Report Display.
Only when the specified register changes from ON to OFF, HMI clears the
ONàOFF
Data clear address sampling data in Data Report Display.
Only when the specified register changes its status, HMI clears the sampling data
OFFßàON
in Data Report Display.
OFFàON Only when the specified register changes from OFF to ON, HMI clears the
(Reset) sampling data in Data Report Display, and then reset the specified register
256
Advanced Part Better Understanding of Library
automatically.
Only when the specified register changes from ON to OFF, HMI clears the
ONàOFF
sampling data in Data Report Display., and then reset the specified register
(Reset)
automatically.
Export Dir The subroutine name of the exported sample data file in the external memory
device, the default name is ReportToCSV, user can modify it himself and the detail
the file name is named according to the saving time: year-month-day, hour: minute:
Save Disk Save the exported data to the external memory device: SD card, USB1 or USB2.
Use file If selected, the exported file name will be prefixed to the default file name. If the
Use file If selected, the prefix of the exported file name is a variable. If the variable file
export prefix name is not input, or the variable file name prefix is not received by the
Only when the specified register changes its status, HMI exports
OFFßàON
report data.
Only when the specified register changes from OFF to ON, HMI
OFFàON
exports report data, and then reset the specified register
reset)
automatically.
DataChannel Print
257
Kinco DTools Configuration Edit Software
Total page number is calculated according to inquiry time: total page=number of total
Total Pages Addr
items/Number of items per page
Page Number Addr Users could search by page number, Range:0~ (Total page-1),0 indicates the first page.
258
Advanced Part Better Understanding of Library
!
1. Do not put multiple free reports in a same window, it will affect the communicate speed.
3. If there are multiple free reports or multiple channels report in a same window, please use the minute or
4. If you want to plug off the external memory device when HMI is in operation, we suggest using the safe
mode, but not plug it off directly. Safe Mode: set the LB9153 (SD card), LB9154 (USB1), LB9155
5. When you download the project again, check the Clear data report option in KHDownload, or the
residual information may cause the data error for the new sampling data.
Take the GH070 for example, suppose the sampling address is Dword0, three channels’ data, and the sampling data is stored
Build a new project, and add a Data Logger, the parameters are as follows:
Data Sample HMI HMI0
Sample Point 10
Channel 3
Sample Circle 10
Sample Address D0
Build a Data Report in Frame0 to display data in the Data Logger , the attributes setting is as follows::
Report mode History
The data-report channel list Add channel 0 and chann2 to this list
259
Kinco DTools Configuration Edit Software
Separator/border
setting
Put 3 Timer components in frame0 to simulate the change of D Word registers, the attributes setting are as follows:
Mode Periodical Jog++(circle)
Upper 100/150/200
Address 0/1/3
Value Type Unsigned Int (word length 1)/Signed Int (word length 2)/float (word
length 2)
After a period of time, suppose the HMI system time is 2012/11/09, 16:50:00, we want to query the data between 16:40:30
260
Advanced Part Better Understanding of Library
事件信
息
Data Report Curve component is used to display data that is logged in the Data Logger and stored in
external memory device on the HMI in curves. The logged registers can be continuous or discontinuous
registers. newly added. Via the Data Report Curve component, users could display the sampled data in
trend curves on HMI.
Data Report Report Real time Update data report curve timely according to the settings.
Curve mode History Query historical data report curve according to input time range.
Attribute Report type Trigger Report During defined time interval, trigger sampling to get instant data.
Free Report Display all the sampled data in defined time interval.
Note: In Real Time mode, if Free Report exceeds the defined length,
then the earliest data will be deleted, and the whole report moves up.
Daily Report Display the data of one day.
Note: In real-time Report Mode, the Daily Report is displayed in
circle. The new data is displayed at the bottom of report. If the report
exceeds the length of row number, the newest data displays at the top
of report, and all the data in previous circle will be deleted, only the
newest row data is reserved, and then start a new circle.
Monthly Report Display the data of one month.
Quarterly Report Display the data of three months.
Annual Report Display the data of one year.
Display By Order The sampled data is sequenced by time order; the newest data is at the
Order bottom.
Reverse The sampling data is sequenced by reverse time order, the newest data
is at the top.
Total Points Set number of total points of Data Report Curve. It is only valid for Trigger Report and Free
Report in Real Time Report mode.
261
Kinco DTools Configuration Edit Software
Note: If the number of sampled points exceeds number of total points, the earliest data will
be deleted, and the newest sampled data will be displayed at the end of the curve.
Get Value There are five options: Instantaneous Value, Min Value, Max Value, Average Value and
Type Added Value.
When Min Value, Max Value, Average Value or Added Value is set, it will calculate all the
sampled data during set time interval, and output corresponding Min Value, Max Value,
Average Value, Added Value.
Time There are Begin Time, Mid Time and End Time selectable for time displayed in report.
Record
Empty Data Specified When there is no value in sampled register, the report displays specified value,
Process Value the default specified valued is 0.
Last Valid When there is no value in sampled register, the report displays the last valid
Value value.
Time There are two options for report time interval: minute and hour.
Interval Note: This option is only suitable when Free Report and Daily Report. Because time interval
for Monthly Report, Quarterly Report and Annual Report are fixed as month, three month
and year respectively.
History History Inquire Address, word length is 8.
Inquire Trigger Start Date: specified address, word length is 2, input year and date in this address;
Address Report Start Time: specified address+2, word length is 2, input time (hour, minute and second) in
this address;
End Date: specified address+4, word length is 2, input year and date in this address;
End Time: specified address+6, word length is 2, input time (hour, minute and second) in
this address;
【Example】It is the same with Data Report Display component.
Free Report Start Date: specified address, word length is 2, input year and date in this address;
Start Time: specified address+2, word length is 2, input time (hour, minute and second) in
this address;
End Date: specified address+4, word length is 2, input year and date in this address;
End Time: specified address+6, word length is 2, input time (hour, minute and second) in
this address;【Example】It is the same with Data Report Display component.
Daily The specified address, word length is 2, input year and date in this address.
Report 【Example】It is the same with Data Report Display component.
Monthly The specified address, word length is 2, input year and month in this address.
Report 【Example】It is the same with Data Report Display component.
Quarterly The specified address, word length is 2, input year and quarter number in this address.
Report 【Example】It is the same with Data Report Display component.
Annual The specified address, word length is 2, input year in this address.
Report 【Example】It is the same with Data Report Display component.
Trig history Output data report curve when the specified register satisfies the set condition.
inquires OFF→ON Only when the specified register changes from OFF to ON, HMI outputs data report curve.
ON→OFF Only when the specified register changes from ON to OFF, HMI outputs data report curve.
OFF←→ON Only when the specified register changes its status, HMI outputs data report curve.
OFF→ON Only when the specified register changes from OFF to ON, HMI outputs data report curve,
262
Advanced Part Better Understanding of Library
Data Report
Channel
For example: The specified address is LW20, then LW20 indicates the minimum value and
LW21 indicates the maximum value.
Data report channel Set the title, integer and decimal of report channel.
DataReport Control
Pause address In real-time report mode, use a bit register to pause data sampling, ON means pause, OFF means
outputting data.
Data clear address In real-time report mode, use a bit to clear the sampling data in Data Report Curve.
OFF→ON Only when the specified register changes from OFF to ON, HMI clears data
report curve.
263
Kinco DTools Configuration Edit Software
ON→OFF Only when the specified register changes from ON to OFF, HMI clears data
report curve.
OFF←→ON Only when the specified register changes its status, HMI clears data report curve.
OFF→ON(Auto Only when the specified register changes from OFF to ON, HMI clears data
reset) report curve, and then reset the specified register automatically.
ON→OFF(Auto Only when the specified register changes from ON to OFF, HMI clears data
reset) report curve, and then reset the specified register automatically.
Extended Attributes
Scale
Horizontal Scroll Bar Check this option to use the system scroll bar. Users can set scroll bar width range 20~120
pixels.
Vertical Axis Scale Channel The maximum/minimum value of the vertical axis takes the maximum/minimum
Reference Channel value of the reference channel.
Use Vertical Axis Scale Check this option to display vertical axis scale
Scale color Set vertical axis scale color
Display Scale Frame Display vertical axis scale frame
Major Scale Number Set major scale number
Major Scale Length Set major scale length, unit: pixel.
Minor Scale Number Set minor scale number.
Minor Scale Length Set minor scale length, unit: pixel.
Use Vertical Axis Scale Check this option to display vertical axis scale label.
264
Advanced Part Better Understanding of Library
Curve Display
Scroll Use scrolls to inquire sampled scale and time of the curve.
265
Kinco DTools Configuration Edit Software
Example: Check “Scroll”, set Enable Scroll Address and Scroll Data Address to LB10 and
LW10 respectively.
As following picture: Set Enable Scroll AddressLB0 to ON, then Scroll Data Address LW10,
LW11, LW12, LW13, LW14, LW15 correspond to second, minute, hour, date, month, and year
of the sampled data respectively. LW16 corresponds to data value of channel 0; LW17
corresponds to data value of channel 1, and so on.
Scroll Brush Set color, line style and width of scroll brush.
Set LW. B100.0 to ON, Channel 0 will be hidden; Set LW. B100.1 to ON, channel 1 will be hidden and so on.
Set LB10 to ON to enable scroll function. LW10, LW11, LW12, LW13, LW14, LW15 correspond to second, minute,
hour, date, month, and year of the sampled data respectively. LW16 corresponds to sampled value of channel 0; LW17
corresponds to sampled value of channel 1, and so on.
Offline simulation:
Scroll inquiry:
266
Advanced Part Better Understanding of Library
Hide Channel:
If the Open printing option is checked, the trend curve can be printed in real-time.
The printing is triggered when all the sampling points on a whole page is
Print per page
finished
Mode The printing is triggered after all the sampling points on all pages are finished in
Print whole
multiple page trend curves
The printing is triggered when the specified register satisfies the setting
Trigger by register
condition
Vertical axis scale Set the standard channel of vertical axis scale. That is to say set the upper limit and lower limit of
267
Kinco DTools Configuration Edit Software
Time Mode Set the display time mode of horizontal axis. Two modes are optional: HH:MM、HH:MM: SS
If chose the Trigger by register in the Mode, the printing will be triggered when
OFFàON
specified register changes from OFF to ON
If chose the Trigger by register in the Mode, the printing will be triggered when
ONàOFF
specified register changes from ON to OFF
If chose the Trigger by register in the Mode, the printing will be triggered when
OFFßàON
specified register changes its state
Trigger Style
OFFàON(Reset) If chose the Trigger by register in the Mode, the printing will be triggered when
specified register changes from OFF to ON, then the register will be reset to
OFF automatically
If chose the Trigger by register in the Mode, the printing will be triggered when
ONàOFF(Reset) specified register changes from ON to OFF, then the register will be reset to ON
automatically
Print axis The horizontal axis and vertical axis of printing. The line type, line width and axis color can be set
The display time interval (show time), font size and color can be set. The show time means the
Print horizontal
display interval between the previous printing time and the next printing time, the unit is sampling
axis(time)
points
Print vertical Print vertical axis has two forms: Percentage and Sampling value. The font size and color of vertical
The baseline is the standard line in horizontal direction. Two baselines can be printed at most. The
Print baseline base line value, baseline type, line width and baseline color can be set. The baseline value is
CommState Display component is used to view each port of HMI communication status
This component does not support offline simulation to view HMI communication status
268
Advanced Part Better Understanding of Library
Displays the information in the schedule list, including No., start time, end time, valid date and status.
Table Display
Title Setting
269
Kinco DTools Configuration Edit Software
library.
[Example]Schedule info display component is used to displays the information in the schedule list, including No., start time,
end time, valid date and status.
1. Schedule List setting and the offline simulation
1)No. 0:Application date is Mon, begin time is 8:30, end time is 9:00
2)No. 1:Application dates are from Mon to Sat, begin time is 10:00, no end time.
270
Advanced Part Better Understanding of Library
3)No. 2:Begin date is Sat and time is 11:00, end date is Mon and time is 12:00
Used to view the HMI attribute - HMI license setting the expiration time and jump frame of each
authorization
271
Kinco DTools Configuration Edit Software
【Example】
1.Create a new project,HMI attribute-HMI license setting,set 12 licenses,expiration time and the Expired jump frame
272
Advanced Part Better Understanding of Library
The formula area browsing is mainly used to display the selected formula data. The formula area browsing
element is a column-by-column display formula, and the data items are displayed line by line.
273
Kinco DTools Configuration Edit Software
Recipe Data Item After the selection of the formula name in the window of the currently selected formula area, the
specific information of the formula member is displayed in the formula area name list
Disable After checkup, when running on HMI, the browsing element in the recipe area can only read the
Modification selected recipe data and cannot be modified. The default is no tick. Runtime allows modification of
the recipe data.
Recipe Area
Display Properties
Keyboard Set
274
Advanced Part Better Understanding of Library
When the query register triggers, the specified recipe data item recipe data is not
equal to the specified value, which will be displayed in the recipe area view
components.
[Use Range Value] When the value of the specified recipe data item is outside the
specified range, the query register is triggered and displayed in the recipe area view
component.
<>
[Example] When the lower limit is set to 50 and the upper limit is set to 80, after
triggering the query register, all the recipe data in the recipe data item (3) that
conforms to N < 50 or N>80 will be displayed in the recipe area view components.
When the query register triggers, the specified recipe data item recipe data is less
<= than or equal to the specified value, which will be displayed in the recipe area view
components.
When the query register triggers, the specified recipe data item recipe data is larger
>= than or equal to the specified value, which will be displayed in the recipe area view
components.
Enable Dynamic If selected, query data items can be set dynamically on the screen.
Recipe Data Item
Enable Dynamic If selected, the query conditions can be set dynamically. Specified register values:
Condition 0-less; 1-larger; 2-equal; 3-not equal; 4-less than or equal; 5-larger than or equal to
Enable Dynamic If selected, the value of query data can be set dynamically.
Value
Query trigger Specify register ON to trigger query
register
Enable Query If selected, the specified register displays the query results. The query register does
Result Register not trigger, which displays the total number of recipe rows; after the query register
triggers, -1 indicates that the query is in progress; after the query is completed, the
register displays the qualified recipe data.
275
Kinco DTools Configuration Edit Software
name
Export data Trig Param When the specified register satisfies the condition, the recipe export function is performed.
The database browsing component is mainly used with the [Database Query] function. Select the query
table configured by the database query library, trigger the query command, and the data queried in the
database will be displayed in this component.
Database query
selection
Click the [Database Query] button, and the [Database Query Library] pops up to add, modify,
Database query
and other operation configuration query tables
Click the [Select Database Query] button to pop up the database query library and click to
Select database Inquire
select the desired query table
Table display
attributes
Color when selected Set the selected color of the database browsing component table row
Background color Set the background color and title bar color of the database browsing component table
276
Advanced Part Better Understanding of Library
Dividing line/frame
Set database browsing component border and dividing line attributes
setting
Title bar settings Set the font setting of each field content in the database browsing component table
Data Export
Export directory Set the folder name where the exported file is stored
Storage medium The storage medium can be set to SD card, USB DISK1, HMI
After encryption is set, the exported csv is opened to encrypt garbled data, which needs to be
data encryption
decrypted and viewed through KDManager
Use file name The exported database table csv file plus the specified prefix name
Export data trigger When the specified register meets the conditions, execute the database browsing component
address export function
following components can be used to exchange data: Recipe Data, Data Transmission, Data Transmission function in Timer
4.14.1 Recipe
Recipe Data component can transmit HMI data that can be stored even powered off to specified
PLC/controller registers, or transmit data in PLC/controller data to HMI registers that can be stored even
powered off.
The Write Address of Recipe Data is the start register of transmitting PLC/controller
277
Kinco DTools Configuration Edit Software
Recipe Data
Function Transmit data in external memory device (the default is USB DISK1) to
Download from ERW1 to PLC
specified PLC/controller registers.
Data
The length of transmitting data, unit is word.
Length
Map the function to the external keys (F1~F2) or HMI keys (F1~F8). The HMI with USB host slot or keys
Key
supports this function. The HMI with USB host or keys supports this function.
*1. ERW0, ERW1, ERW2 are special registers for the external memory device, users can distribute them to U disk or SD
Data Transmission component transmits data in specified HMI or PLC/controller registers to the other
HMI or PLC/controller registers. The transmission can be triggered by touching or change of specified
register.
278
Advanced Part Better Understanding of Library
Basic Attributes
Data Type Set the transmitting data type: bit or word Data Length Set the transmitting data length
Map the function to the external keys (F1~F2) or HMI keys (F1~F8). The HMI with USB host slot
Key
or keys supports this function. The HMI with USB host or keys supports this function
The offset of Source Address, Destination Address and Data Length are read from specified
Variable Parameters
registers
Take the following picture for example, the Source Address, Destination Address and Data Length use variable parameters,
set the D register (PLC register) for Source Address, and the LW100 (HMI register) controls the offset of Source Register;
Set LW register (HMI register) for Destination Address, and the LW101 (HMI register) controls the offset of Destination
279
Kinco DTools Configuration Edit Software
When the offset of Source Address is 0, offset of Destination Address is 0 and the Data Length is 1:
D------------------>LW D------------------>LW
Transfer D0 LW0
Transfer D0 LW0
123 0 123 123
Source Source
D1 LW1 D1 LW1
Address 0 Address 0
(LW100): 456 0 (LW100): 456 0
Destination D10 LW10 Destination D10 LW10
Address 0 120 0
Address 0 120 0
(LW101): (LW101):
D11 LW11 D11 LW11
Data Length
(LW102): 1 200 0 Data Length
(LW102): 1 200 0
When the offset of Source Address is 10, offset of Destination Address is 10 and the Data Length is 2:
D------------------>LW D------------------>LW
Transfer D0 LW0
Transfer D0 LW0
123 0 123 0
Source
D1 LW1 Source D1 LW1
Address 10 Address 0
(LW100): 456 0 (LW100): 456 0
Destination D10 LW10 Destination D10 LW10
Address 10 120 0 Address 0 120 120
(LW101): (LW101):
D11 LW11 D11 LW11
Data Length
(LW102): 2 200 0 Data Length 1 200 200
(LW102):
Trigger Address
Check the “Use Trigger Address” in Trigger Address page to trigger the transmission by status of specified register.
If use the trigger address to trigger the transmission but not by touch, user can set the Always Invalid in the
OFFàON When specified register changes from OFF to ON, the transmission is triggered
ONàOFF When specified register changes from ON to OFF, the transmission is triggered
OFFßàON When specified register changes its status, the transmission is triggered
When specified register changes from OFF to ON, the transmission is triggered, at the same time
OFFàON (Reset)
reset the trigger address
When specified register changes from ON to OFF, the transmission is triggered, at the same time
ONàOFF (Reset)
reset the trigger address
280
Advanced Part Better Understanding of Library
control and call this information and function, at the same time it can reduce the data redundancy. The specified area is in the
project Data Base components, they are: Text Library, Address Tag, Alarm Information, Event Information, PLC Control,
Text Library component is used to store the text content in the project, so that it can avoid the input the
same text tag many times. Text Library supports multiple language, it makes the HMI can switch the
*1. Import csv file (text library file) to Text Library of current project
2. Export the Text Library to the CSV file, User can use Microsoft EXCEL to open and edit this CSV file.
Language attributes
Click the Language in the Text Library to open the Language Setting dialog box, in this dialog box, user can set the font
Font Type Choose the data type for current language: Vector Font or Dot Matrix Font.
Font Attribute Set the font attributes of current language: Size, Alignment, Color, Italic/Bold and so on.
It is related to the OS and input method, take Windows XP for example, if user wants to add the
Language
English (America) and Japanese language, click the on the system language bar, then choose
281
Kinco DTools Configuration Edit Software
the “set” to add English (America) and Japanese as the following picture.
4
After add the English (America) and Japanese languages, user can find the English (America) and
Address Tag component can be used to store the address information, and user can add description to
these addresses.
Name HMI No. PLC No.:Station No. Date Type Address Type Address
Motor Run HMI0 PLC0:0 Bit M 0
Rate Set HMI0 PLC0:0 Word D 0
282
Advanced Part Better Understanding of Library
*1. Import the address information (CSV file) to the Address Tag.
2. Export the address information of Address Tag to a CSV file, user can use Microsoft EXECEL to pen an edit this CSV file.
Click the Add in Address Tag to open the Build Address Tag box, see the following table for details:
Address Type Choose the address type of address tag, it can be HMI register or PLC/controller register.
Code Type Display the code type of address tag: BIN or BCD
Event Information is used to configure the event content and trigger conditions; it is used with the Event
Display and Event Bar together. Event Information supports bit register and word register to trigger
event.
☞For details about Event Display and Event Bar, refer to [Advanced Part 4.7 Alarm Component]
⚫ Event Information Interface
No. Type HMI No. Address Info Address Trigger Condition Content
*1. Import the event information (in CSV file) to the Event Information library.
2. Export the event information to a CSV file, user can use Microsoft EXECEL to pen an edit this CSV file.
283
Kinco DTools Configuration Edit Software
Event Attributes
Click the Add in the Event Information to open the Event attributes dialog box, see the following table for details:
Triggered
In multiple HMI program, set the HMI where the Event Display or Event Bar displays this event information.
HMI
Event Display and Event Bar can display the event information conditionally according to the event type.
Address Set the read address of trigger register, choose the bit or word type in Data Type.
Attributes
On When specified bit register’s status changes from OFF to ON, an event log will be generated.
Bit
Off When specified bit register’s status changes from ON to OFF, an event log will be generated.
< When the value in specified register smaller than the specified value, an event log will be generated.
> When the value in specified register larger than a specified value, an event log will be generated.
When the value in specified register equals the specified value, an event log will be generated.
Value Range: When the value in specified register equals is in the specified value range, an event log
will be generated.
Take the following picture for example, check the “Value Range”, set 5 to the Min Value and 10
to Max Value, suppose the data in specified register is N, if 5<=N<=10, an event log will be
== generated.
Word
When the data in specified register is not equal to the set value, an event log will be generated.
For example, check the “Value Range”, set the Min Value to 15, set the Max Value to 30, suppose
the data in specified register is N, if N<15 or N>30, an event log will be generated.
<>
When the data in specified register is less than or equal to the set value, an event log will be
<=
generated.
When the data in specified register is more than or equal to the set value, an event log will be
>=
generated.
284
Advanced Part Better Understanding of Library
Bit
Support four logical operations of AND, OR, XOR, and NOT
operation
Print Configure the Event Printing in the Printing Setting of HMI Attributes.
!
15:10:52 Abnormal Temp.
17:20:22 Abnormal Temp.
17:25:45 Abnormal Temp.
2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
0 2011/06/23 10:50:01 11:40:10 10
Normal
2 2011/06/23 15:22:54 17
1 2011/06/23 14:01:00 14:44:20 17
0 2011/06/23 10:50:01 11:40:10 15
Trigger Function
Execute Macro The specified macro is triggered when the event happens.
Confi When the event is touched in the Event Display component, pop up specified window.
rm 2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
Pop
0 2011/06/23 10:50:01 11:40:10 10
Pop-up Window
! 2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
0 2011/06/23 10:50:01 11:40:10 10
0 2011/06/23 10:50:01 11:40:10 10
Abnormal Temp.!
Note: please use the “Close window” function in Function Key to close the pop-up window.
285
Kinco DTools Configuration Edit Software
Trigg
When the event is triggered, pop up specified window.
er
Abnormal Temp.!
Note: please use the “Close window” function in Function Key to close the pop-up window.
Close
popu
p
When the alarm is resumed, the popup window will be closed automatically
when
resu
ming
Write Data Word length is 3. Write (Trig) address is the specified address; Write (Confirm) address is the specified
When the event happens, trigger the buzzer. Buzzing Time ranges from 1 to 65535, the units are second.
! 2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
0 2011/06/23 10:50:01 11:40:10 10
Text
Input text content that needs to be displayed in Event Display after event happens, click the Font to set the font attributes.
Data in LW register can be displayed in the event information, user can configure it according to the following format:
^xxxx^: Print header, which means print this content when the event is triggered the first time or a different event is triggered.
286
Advanced Part Better Understanding of Library
%nnfmd: Print variable, % means the start sign, nn means register number of LW, ranges from 00 to 99, that is to say, it is from
LW0 to LW99, f means there is decimal in the data, d means the end sign. If there is no decimal in the data, the format can
be %nnd. Take printing the data in LW20 for example; there is a decimal in this data, use the %20f1d in the Text of the Event
Information. Note: If customer wants to print data in PLC register, use the Timer to transmit the data to LW0~LW99.
The Text content reads from the text library, but not writes in the text box.
Use Text
When multiple languages are used in Text Library, user can choose language then set the font attributes of this
Language
language.
Sound
! c~ ~
2 2011/06/23 15:22:54 15
1 2011/06/23 14:01:00 14:44:20 14
0 2011/06/23 10:50:01 11:40:10 10
M us i
Abnormal Temp.!
Select Sound
Note: Only the HMI with audio output port supports this function.
Open Address
Open the Address Tag dialog box.
Tag Library
Alarm Information is used to configure the alarm content and trigger conditions; it is used with the Alarm
Display and Alarm Bar together. Alarm Information only supports bit register to trigger alarm.
287
Kinco DTools Configuration Edit Software
*1. Import the alarm information (in CSV file) to the Alarm Information library.
2. Export the alarm information to a CSV file, user can use Microsoft EXECEL to pen an edit this CSV file.
Alarm Attributes
Click the Add in the Alarm Information to configure the alarm information, see the following table for details:
In multiple HMI program, set the HMI where the Alarm Display or Event Bar displays this alarm
Triggered HMI
information.
Type Alarm Display and Alarm Bar can display the event information conditionally according to the
event type.
PLC Address Set the read address of trigger register, supports bit address only.
Use Address Tag Use the address in the Address Tag library.
Address Tag Library Open the Address Tag library dialog box.
Attributes
On When specified bit register changes from OFF to ON, an alarm log is generated.
Trigger
Off When specified bit register changes from ON to OFF, an alarm log is generated.
When the alarm is triggered, the buzzer will be buzzing. Buzzing Time: 1~65535 are optional, the
User Buzzer
! Abnormal Temp.!
Beep...
Text
Input the displaying constant when the alarm is triggered; click the Font to set the font attributes.
288
Advanced Part Better Understanding of Library
The Text content reads from the text library, but not writes in the text box.
Use Text Library
☞For details, refer to [Advanced Part 4.15.1 Text Library]
Set the graph font for the text content in event display, user can set the font attribute after the “Use
Use Graph Font
Graph Font” is checked.
When multiple languages are used in Text Library, user can choose language then set the font
Language
attributes of this language.
Sound
! c~ ~
Abnormal Temp.!
M us i
Select Sound
Note: Only the HMI with audio output port supports this function.
PLC Control is used to log in the trigger condition of some functions, when specified register satisfies the
Not select [Execute Only When the Specified Window Is Opened], the function is not restricted by
windows, and the function can be performed if the execution condition is satisfied.
Select [Execute Only When the Specified Window Is Opened], the function is restricted by windows, and
the function can be performed only in the specified window, if the execution condition is satisfied.
289
Kinco DTools Configuration Edit Software
*1. Import the control file constant (in CSV file) to the PLC Control library.
2. Export the control file constant to a CSV file, user can use Microsoft EXECEL to pen and edit this CSV file.
Alarm Attributes
Click the Add in the PLC Control to open the dialog box, chose the control function in the Control Type and set the control
The control type that PLC Control supports are as followings: Change Window (Ignore the window 0), Write Data to PLC
(Current Base Window number); Report Printout; Screen Hard Copy; General PLC Control; General PLC Control
(Extended); Backlight Close; Backlight Close (Write Back); Execute Macro Program; Backlight Open; Backlight Open
(Write Back); Sound Ctrl; Save Screen Shoot Data to Extended Memory.
When the value in specified register changes to a valid window number, HMI will switch to the window with this window
number automatically. And write the new window number to the specified register+1 address.
D0:0à10 Frame 0
Frame 10
For example, Suppose the current window number is 0, specified register address is D100, when the D100 is 10, the HMI
switches to the window 10, and return the new window number 10 to D101.
290
Advanced Part Better Understanding of Library
If the “Change Window” in PLC Control and “Change Common Window” in Function Key are used
at the same time, user can set an invalid window number to the control register by “Set at Window
Close” of Multiple State Setting component, in this way to avoid inputting the same window number, but
cannot change the window at the next time.
Change common window function, when the value in specified register is 0, HMI will not change to Window 0. Checked
"Clear after page change", the value of the PLC control register will be automatically assigned to 0 after page change.
D0:0à10à0 Frame 0
Frame 10
When switching common window, write the window number to specified register.
Print the HMI screen according to the value in the specified register. When value in specified register changes and this value
is a valid window number, the constant in this window will be printed out.
Frame 10
D0:0à10
Frame 0
1. HMI will not switch to the printed window when printing out this window in Print Out function.
User can set the printing constant by the following two methods:
Monochrome
Printer Color Only the color printer supports switching printer color.
Color
Magnification Ranges from 0.1 to 5.0(Zoom-out printing may causes distorted, we do not advice zoom-out printing.)
Print Page Current Page Start the printing at the first paper in printer.
291
Kinco DTools Configuration Edit Software
Change page to print Print a blank paper first, and then start the HMI screen printing.
Horizontal print
Vertical print
Print a whole paper automatically when finishing the printing. This option
Automatically Take the
is only suitable for the stylus printer, micro printer does not support, and
Paper
laser printer has this setting itself, user needs not to set on HMI.
Print Text Print the static text and tag text of current window.
Print All the Vector Graph Print all vector graph component in current window.
Method 2: Do not check the Custom Print Options; use the bits of LW9054 and LW9055 to set the print.
LW9054 Setting
Use the Multiple States Setting component to set the value of LW9054, if all the constant needs printing,
put the Multiple State Setting component in the common window (frame 1) and the setting mode is Set at
LW9055 Setting
292
Advanced Part Better Understanding of Library
Each bits means zoom out 0.1 Each bits means zoom in 0.1 times (LW9055
Bit 0~ Bit 7 Magnification
times ranges from 1 to 50, which means 0. 1 to 5 times.)
For example, if the Magnification is 0.3, Monochrome printing and print current page, that is to say, set the LW.B9055.0,
LW.B9055.1, LW.B9055.8 and LW.B9055.9 On. User also can set the above configuration by LW9055 directly, set LW9055
☞For details, refer to [Advanced Part 13.3 Print Function Setting Method]
(5)Screen Hard Copy
Screen Hard Copy is used to print current screen: when the specified bit registers changes from OFF to ON, the current
screen is printed.
M0:OFFàON
The Custom Print Options setting is the same as the Report Printout.
General PLC Control is used to transmit data between PLC/controller registers and HMI local registers.
When the Control Type is General PLC Control, system will distribute 4 registers to control transmit type, transmit data
length, offset of PLC/controller register address and offset of HMI register address. See the following table for details:
Specified address+1 Data length The transmitting data length, units is word.
Specified address+2 offset of PLC/controller register address This offset is for the “specified address +4”.
Specified address+3 Set the start address of HMI recipe register (RW) or
offset of HMI register address
local register (LW).
293
Kinco DTools Configuration Edit Software
For example: Transmit the data in D100~D104 (PLC register) to the RS100 ~RW104 (HMI recipe register).
Set D0 as the specified address in PLC Control, that is to say, D0 controls the Transmit Type, D1 controls the Transmit Data
Length, D2 controls the offset of data source register (PLC) and D3 controls the offset of destination register (HMI).
According to the example, D0=1 means transmit data from PLC to RW; D1=5 means there are 5 words (D100~D104)
needs transmitting; D2=96 which means PLC source address is D100= (96+0) +4, 0 means the start address in General PLC
Control. As the D0 to D3 are used for control register, so the source address is D4, and the offset (96) is also for D4, so the
PLC source register address is D2+ start address in General PLC Control(D0) +4. D3=100 means that the start address of
General PLC Control (Extend) is similar as the General PLC Control, it is also used to transmit data between PLC/controller
register sand HMI registers; the difference is that it distributes 6 registers to transmit type, transmit data length, offset of
PLC/controller register address and offset of HMI register address. See the following table for details
There are 4 transmit type, see details in table 4.15.5_5, when the
Store the transmit type code,
register is written new code, HMI executes corresponding
Specified Address different codes mean different
transmit and the register will be reset to 0 after the transmitting
transmitting direction
finishes
Specified Address+1 Data length The transmitting data length, units is word
Specified Address+4 Set the start address of HMI recipe register (RW) or local
offset of HMI register address
Specified Address+5 register (LW)
(8)Backlight Close
When the specified bit registers changes from OFF to ON, HMI turns off the backlight, and the backlight will be on again if
M0:OFFàON
When the specified bit registers changes from OFF to ON, HMI turns off the backlight, and reset the specified register to
294
Advanced Part Better Understanding of Library
M0:OFFàON M0:ONàOFF
When the specified register satisfies the execute method, the specified macro will be executed.
ONßàOFF When the status of specified register changes, HMI executes specified macro
OFFàON When the status of specified register changes from OFF to ON, HMI executes specified macro
ONàOFF When the status of specified register changes from ON to OFF, HMI executes specified macro
ON When the status of specified register keeps ON, HMI executes specified macro
When the status of specified register changes from OFF to ON, HMI executes specified macro
OFFàON, reset
at the same time reset the specified register to OFF automatically
When the status of specified register changes from ON to OFF, HMI executes specified macro
ONàOFF, reset
at the same time reset the specified register to ON automatically
(11)Backlight Open
When the specified register changes from OFF to ON, HMI will turn on the backlight.
M0:OFFàON
When the specified register changes from OFF to ON, HMI will turn on the backlight. At the same time HMI resets the
register to OFF.
M0:OFFàON M0:ONàOFF
(13)Sound Control
When the specified register satisfies the setting condition, HMI plays specified audio file.
ONßàOFF When the status of specified register changes, HMI plays specified audio file
OFFàON When the status of specified register changes from OFF to ON, HMI plays specified audio file
ONàOFF When the status of specified register changes from ON to OFF, HMI plays specified audio file
295
Kinco DTools Configuration Edit Software
When the status of specified register changes from OFF to ON, HMI plays specified audio file
OFFàON, reset
at the same time reset the specified register to OFF automatically
When the status of specified register changes from ON to OFF, HMI plays specified audio file
ONàOFF, reset
at the same time reset the specified register to ON automatically
! Only the HMI with audio output port supports this Sound Control function
When specified register changes from OFF to ON, save the current screen constant to the extended memory in picture.
b mp
SD
!
1. Only the HMI with USB host and SD card supports this function
2. This function supports offline simulation, indirect online simulation and direct simulation. The
screenshot pictures are saved in the \disk\SD (usb1 or usb2) \scr file folder of Kinco HMIWare installation
route
User needs to set the extended device in the HMI Attributes>> HMI.
The bmp pictures are named as year-month-day, hour: minute: second: millisecond, for example: 2010-09-01, 10:12:50:
203.bmp. User also can define the picture name by system special register. The LW9470~LW9485 define the prefix of file
name, for example the constant in LW9470~LW9485 is “Version Num .20100001-”, then the screenshot picture name is
!
After the save screenshot is executed, please do not plug out the extended memory device in 1 minute, or
296
Advanced Part Better Understanding of Library
Sound Lib is used to save the wav or mp3 audio file. The system will transfer the audio file to snd format
file automatically, and user can call this file, the original audio file (WAV or mp3 file) is saved in the
ID Name Size(Byte)
0 .\sound\sound1.snd 258844
Import Delete
OK
Play Stop
Cancel
Using audio from extended memory
!
1. One imported audio file must be smaller than 256KB, but the audio file from the Using audio from
Data Logger is used to sample data and set sampling method; these data can be displayed on Data Report
component.
●Interface of Data Logger
297
Kinco DTools Configuration Edit Software
1. Import: Import the data sampling information in CSV file format to the Data Logger
2. Export: Export all logged in sampling data to a CSV file; this file is editable by Microsoft EXCEL.
Sample Continue The sampling continues even if all the sampling points are finished.
Get Datatype Sample Once The sampling stops when all the sampling points are finished, that is to say, the
Only when the specified register changes from OFF to ON, HMI triggers the
OFFàON
sampling.
Only when the specified register changes from ON to OFF, HMI triggers the
ONàOFF
sampling.
Trigger Type
OFFßàON Only when the specified register changes its status, HMI triggers the sampling.
Only when the specified register changes from OFF to ON, HMI triggers the
OFFàON (reset)
sampling, and then reset the specified register automatically.
Only when the specified register changes from ON to OFF, HMI triggers the
ONàOFF(Reset)
sampling, and then reset the specified register automatically.
Data Type Set the display data format for the sampling data, there are six formats, they are
Sample 16-bit signed, 16-bit unsigned, 32-bit signed, 32-bit unsigned, float, double and
Channel string.
! If the Variable Circle is checked, the variable value is used preferentially, if the variable value cannot be got
because of communication lost, HMI uses the default value (the Sample Circle).
298
Advanced Part Better Understanding of Library
Sample Address
Save Disk The external memory device of HMI, the SD Card, USB1 and USB2 are
optional.
Save Dir The subdirectory where sampling data is saved in the external memory device.
Sample Data The default name is Sample Datastore, customers can change this name
Save themselves, and the detail route of this file is \external
device\database\subdirectory name\export file name. db.
The file format is .db.
Variable Dir The subdirectory name is read from specified register, the max word length is 16.
Use a bit register to clear the sample data and delete the file in the database.
Only when the specified register changes from OFF to ON, HMI clears the
OFFàON
sample data.
Only when the specified register changes from ON to OFF, HMI clears the
ONàOFF
Sample Data sample data.
Clear OFFßàON Only when the specified register changes its status, HMI clears the sample data.
Only when the specified register changes from OFF to ON, HMI clears the
OFFàON (reset)
sample data. and then reset the specified register automatically.
Only when the specified register changes from ON to OFF, HMI clears the
ONàOFF(Reset)
sample data., and then reset the specified register automatically.
Use a specified bit register to pause the sampling, ON means HMI stops sampling and OFF means
HMI starts sampling.
Pause Sample
Note: In Sample Once mode, this register will be set ON automatically when the sampling is finished,
user can set this register OFF to trigger the sampling again.
Schedule List is used to configure the operation which will be executed in specific time.
⚫ 【Schedule List】Interface
299
Kinco DTools Configuration Edit Software
※1.Import the CSV file which include schedule list format into【Schedule List】in the current project.
2. Export all the schedule information in current project to specific directory and saved as CSV file. This file can be open
by Microsoft EXCEL.
⚫ 【Schedule List】Setting
Click 【Add】 in【Schedule List】to open the setting window of【Schedule List】,its attributes are shown as follows.
Basic Info.
Descriptions
Execute HMI List Select the HMI which will execute the schedule.
If HMI power on after the setting time of schedule, then it will execute the “Begin
If HMI power on after setting time of schedule and select “End item param”, then it
Unselect
won’t execute “Begin item param” automatically, but it will execute the end item
300
Advanced Part Better Understanding of Library
param automatically. If “End item param” is not selected, then no item will be
executed.
If HMI power on before setting time of schedule and not select “End item Param”,
Trig Beep. It is used to set the buzzer when start executing preset operation. The range of buzzer is
1~65535s.
When selecting this option, then the begin date and end date can be different, but
there can only select one begin date and one end date.
For example, begin date is 9:00:00 Sunday, end date is 17:30:00 Tuesday.
Sunday
Tuesday
UseSingleDate
When unselecting this option, then the schedule is executed within one day (means
from the begin date to end date is within 24 hours), but it can set multiple begin
Sunday
Tuesday
Note:If the time of end date is earlier than the time of begin date,then the end item
End Date When selecting [Use end date], the time of end date can be set.
Variable Date It is used to set schedule time and date by local or PLC address.
301
Kinco DTools Configuration Edit Software
Addr. If unselecting [Use end date],it will occupy 4 words, these addresses are only used
The variable date Addr. =Week. Bit0: Sunday (0: Invalid, 1: Valid) ……Bit6:
15 7 6 5 4 3 2 1 0
Minute=LW2, Second=LW3.
If selecting [Use end date], it will occupy 8 words, then these addresses are used for
Example 2: if the variable date Addr. is LW0, then the begin date is: Week=LW0,
Minute=LW6, Second=LW7.
Control Info.
Descriptions
On: it will set the specific bit address as on at the beginning time.
Beginning time
On
Off
Beginning time
On
Off
9:30:00
302
Advanced Part Better Understanding of Library
Toggle: it will switch the status of the specific bit address at beginning time. If the
original status of the bit address is off, then it will switch to on. Or it will switch to
off.
On On
Off Off
9:30:00 9:30:00
Set Constant: it will write a constant to specific register at the beginning time.
For example: beginning time is 9:30:00, constant value is 100 and specific register is
4x1.
4x1 100
9:30:00
Add Value: it will use the original value of specific register to add an added at the
beginning time, and its final value will not exceed the upper limit.
For example: beginning time is 9:30:00, addend is 3, upper limit is 80 and specific
register is 4x1.
Word Set
Original
4x1 value+3
9:30:00
Sub Value: it will use the original value of specific register to subtract a subtrahend at
the beginning time, and its final value will not exceed the lower limit.
For example: beginning time is 9:30:00, subtrahend is 3, lower limit is 9 and specific
register is 4x1.
Original
4x1 value-3
9:30:00
It is used to select the data type of setting value. It supports 16-bit signed\16-bit
Data type
unsigned,32-bit signed\32-bit unsigned, float, double.
Variable Param Use variables to change the set value (for set constant), Addend, upper (for add), subtrahend and lower
303
Kinco DTools Configuration Edit Software
!
1. If the write addresses are the same in schedule list, it is forbidden to set the same time and date to them.
2. Every time in schedule list only executes once. When it reaches execution time, the specific address
On
Off
9:00:00 14:00:00
3. Because it needs to read the data of [Word Set] and [Control Setting], the execution maybe delays
4. When selecting [Variable Date Address], system will read the address cyclically, the cycle time depends
5. When the value of the variable date address exceeds the range of standard time, then the setting
The recipe area list is used to specify the recipe attributes, which can be displayed in the recipe area
browse component.
Displays registered
recipe area information
※1.The existing CSV format data sampling information file is imported into the formula setting of the current project.
304
Advanced Part Better Understanding of Library
2.Export all the registered data sampling information in the current project to the specified location and generate the CSV
format file. This file can be opened and edited with Microsoft EXCEL.
⚫ [Recipe Area List]
In [recipe setting] property page, click [add] can open [data item settings] dialog box, the specific attributes of the table
below:
305
Kinco DTools Configuration Edit Software
executed
Enable Clear Register When the trigger condition is satisfied, the recipe can be cleared
Enable add multi line Check to set the number of rows to be inserted. When the condition of
the inserted register is satisfied, the multi-row insertion operation will be
executed
Enable delete multi line Check to set the number of rows to be deleted. When the condition of
the deleted register is satisfied, the multi-row deletion operation will be
executed
By the connection between the HMI database and the PC database, the HMI data sampling library is
synchronized to the network database for storage and sharing.
⚫ [Database] interface
Add Delete the Delete all Modify the Exit after confirming
database selected database selected databse information is correct
database
306
Advanced Part Better Understanding of Library
⚫ [Database configuration]
Click the [add] button, the database will pop up [database configuration] box. The properties are shown in the following
table:
Detail Description of Database
If selected, user can enter a domain name in [IP/Domain Name], and connect WAN
Use Domain Name
database through the domain name
IP/Domain Name The IP/Domain Name in the database
Port Access to the database account port number, the default is 3306
User Name The name of the account required to access the database
Password The password of the account required to access the database
Database Name Database name for access
【Example】Taking GL070E (IP address: 192.168.205.123) and LAN database as an example, the database data collected by
HMI is required to be synchronized to a MySQL database of PC (IP address: 192.168.205.36) in the LAN.
Add Network Database,database configuration:
Use Domain Name No
IP/Domain Name 192.168.205.36
Port 3306
User Name all
Password 123456
Database Name test
Install MySQL software in PC, and Create a user, for example: user name: root, password: suhong123, then launch
MySQL
307
Kinco DTools Configuration Edit Software
Creating databases and tables in MySQL and it can be created by using statements in the DOS command window or by
visualization tools. Considering the convenience of operation, I use visual tools here to illustrate a lot of visual chemicals,
and this example is used in MySQL-Front.
Log on local system
The new table and its data fields are fixed as SrcDat, and create the fields time, ch0, ch1 of the table .The types are
Timestamp, int, float.
308
Advanced Part Better Understanding of Library
Then,HMI start sample data,refresh MySQL-front,you can see data that HMI sampled
309
Kinco DTools Configuration Edit Software
This component is used with the [network database] component,can set the table field definition for data
exchange with the SQL database server. When the table fields are defined, use the [Database Query]
component to query data.
310
Advanced Part Better Understanding of Library
Basic attributes
[Network database] After newly configuring database connection information, select the
Database
corresponding database information.
The table name defined by the database server is defined in accordance with the SQL naming rules. It
Table name
is recommended to use alphanumeric characters such as underscores
Use the register method to dynamically define the table name. If you need to use text elements to
Dynamic string input characters, please turn on LB9410 to prevent spaces from being inserted at the end of the
characters
Initial The starting address of the field register, the address length will automatically change
address according to the number of fields and data type added
The field names of the tables in the database server are defined in accordance with
Field name the SQL naming rules. It is recommended to use alphanumeric characters such as
underscores
Field register address, no need to manually set, the address will automatically change
Field list Address
according to the starting address definition
The data type of the field. Support data types see
Type of data
HMI and MySQL data type relationship table
311
Kinco DTools Configuration Edit Software
After setting the table name and starting address, click the [Add] button again to add the field. Set the field name and data
type.
Command Setting
[Command Setting] Set the trigger command for communication data exchange with the database, the address such as
line number and status.
Address length 1, when assigning a value to the designated command register, corresponding to the
4 operation commands of the data database
1: INSERT database increase command
2: SELECT database query command
Command address
3: UPDATE database modification command
4: DELETE database delete command
A successful assignment will trigger the SQL command, which will be automatically cleared after
execution. The execution result status can be viewed in the status address
The address length is 1, when you click on the database to browse the table row, the row number of
Line address
the database table will be displayed in real time, counting from 0
Address length 2, the first address indicates the status code: after the trigger command is executed,
State address the status after execution is displayed
0: none
312
Advanced Part Better Understanding of Library
Scale Component is used to set equal scale label for some components, like Bar Picture, Meter and so on.
So, components have scale itself, they also can use the Scale component.
Scale
Style
Line Length Set the scale length of Arc and Circularity style
Start/End Angle Set the start and end angle of Arc style
4.16.2 Timer
When the setting time is up, Timer will execute corresponding functions, like macro, setting parameters,
Timer
All time automatically after the Repeat Count. Then the timer will not be triggered till the next
initialization. If the Repeat Count is 0, that means the function is executed all the time.
Trigger Mode
Timer function will be executed as soon as the frame is initialized, and stopped
Initial frame automatically after the Repeat Count. Then the timer will not be triggered till the next
initialization. It is the almost the same the “All time” Trigger Mode.
313
Kinco DTools Configuration Edit Software
Close frame Timer function will be executed when the frame is close.
The function will be triggered according to the Trigger Address. When the Repeat Count
By is 0, it means that the function will be executed till the trigger condition is canceled.
re-address When the repeat Count is N, it means that the function will be executed N times if
Source Data Source data change or macro variable values change to trigger macro or data
Change transmission
The execution cycle of timer, the unit is hundred milliseconds. The timer executes the Timer Function
Execution Cycle
one time in every execution cycle.
Immediate Timer executes the function immediately when the condition is triggered.
Response Mode Timer executes the function in the next execution cycle when the condition is triggered.
Delay
That is to say, there will be one circle delay.
The execution number of timer function. If the Repeat Count is 0, it means the function will be
Repeat Count
executed all the time.
Trigger Address In the by reg-address mode, set the register address for trigger register.
Variable Period Once users choose variable period, it is determined by the specific register
Timer Function
Execute Macro
Execute the specified macro program. That is to say, when the timing time is up, the macro will be executed
Data Transmission
Transmit the data in batch. When the timing time is up, timer transmits corresponding length data from Source Address to
Destination Address
State Setting
314
Advanced Part Better Understanding of Library
Change the state or value of specified register. When the timing time is up, timer changes the state of corresponding bit
Set Value When the “Execution Cycle” time is up, set the bit register to 0 or 1.
Bit Periodical
When the “Execution Cycle” time is up, toggle the bit register between 0 and 1.
Toggle
Periodical Add an Asc value (K) to the data (V) of specified register automatically in every execution circle.
JOG++(cir When the data reaches to the Upper limit, it will start from 0 again.
cle)
T
0 V+K Upper limit
NO YES
Periodical Subtract a Desc value (K) from the data (V) of specified register automatically in every execution
JOG--(one circle. When the data reaches to the Lower limit, the data will stop at the lower limit.
way)
Upper T
limit
V-K Lower limit
NO
Add an Asc value (K) to the data (V) of specified register automatically in every execution circle.
Periodical When the data reaches to the Upper limit, it will stop at the Upper limit.
Word JOG++ T
0 V+K Upper limit
(one way)
NO
Add a Step value (K) to the data (V) of specified register automatically in every execution circle.
When the data reaches to the Upper limit, subtract a Step value (K) in every execution circle till 0,
Periodical
then start add Step a value (K) to the data again, repeat the above process circularly.
Bounce
(turnover Lower T
limit
V+K Upper limit
upon
NO YES
limit)
YES NO
Add a Step value (K) to the data (V) of specified register automatically in every execution circle,
Step
when the data reaches to the Upper limit, it will be reset to the Lower limit, then start to add step
Up(circle)
value again from the Lower limit.
315
Kinco DTools Configuration Edit Software
Lower T
limit
V+K Upper limit
NO YES
Step Subtract a Desc value (K) from the data (V) of specified register automatically in every execution
Down(circ circle, when the data reaches the Lower limit, it will be reset to the Upper limit, then start to
Upper T
limit
V-K Lower limit
NO YES
Set
When the timing time is up, the preset constant will be written to the specified register.
Constant
Scroll Bar is used to change the value of HMI or PLC register by moving the slider, and the scaling
relation between actual value and Min/Max is displayed by the position of slider.
D0:20à80
Value:20 Value:80
Min:0 Max:100
Scroll Bar
Direction Set the direction of scroll bar, there are four directions; they are From Left to Right,
Background Image Set the background image of scroll bar, there are three options; they are Not Used,
Import Image Import the background image from the system image library.
Button Image Set the button image of scroll bar, there are three options; they are Not Used, Vector
Import Image Import the button image from the system image library.
316
Advanced Part Better Understanding of Library
Max/Min Value Setting Set the start value and max value of scroll bar.
Variable Max/Min Value Set the variable for the Min and Max for the scroll bar, and set the register address, the
Setting specified address is the Min, and the specified address+1 is the Max.
Set Scroll Mode Ranging from 1 to 100, each time user clicks scroll bar, it adds or subs the setting value.
4.16.4 Date/Time
Date/Time component is used to display HMI system date and time in specified format.
RTC
Time
Date format Four formats are optional. DD means day, MM means month, YY means year.
Year 4-digital Checked means Timer displays year in 4 numbers, for example 2011; unchecked
Zero suppress Checked means there is not a 0 before year and month take June for example, when
for Year and Day this option is checked, Timer displays 6, if unchecked, and Timer displays 06.
Display Week Set the component to display week or not, the week is displayed in abbr.
Time Two formats are optional: HH means hour, MM means minutes, SS means second.
12-hour System Checked means Time is displayed in 12-hour system, take the three o'clock in the
(AM/PM) afternoon for example, if this option is checked, it displays 3:00 PM, if unchecked, it
displays 15:00.
317
Kinco DTools Configuration Edit Software
The Date/Time component can read the RTC time in the HMI, but cannot change it. If user need to change
the date or time, they can change it in HMI SETUP screen or via system special registers
(LW10000~LW10006)
Note Pad is the message board function; it is used together with the Message Board function in the
Function Key.
File List is used to display the file information in the external memory device. It is divided into three area:
the left part displays the file folder information of current catalog. Upper right part displays the file
information of current catalog; the Lower right part displays the chosen project file (.pkg \.pkgx file) or
File list component is a special component; it is usually used together with the Import/Export function of Function Key.
System also provides [Frame5: File List Window] as file list when user import/export project file or recipe file in the SETUP
screen. And the File Browser Window can be changed in the HMI Attributes.
Trigger Touch is used to trigger multiple components without touching them, when the specified address
satisfies the setting Trigger Type condition, all the components in the Trigger Touch area will be
triggered.
318
Advanced Part Better Understanding of Library
1. Turn M100 ON
2. Turn M101 ON M100:ON
3. Write data”50”in D100 M101:ON
M0:OFFàON D100:50
M0
3 2
Trigger Touch
component
4
1
When the specified address satisfies the setting Trigger Type condition, the 1, 3 and 4 will be trigged, but 2 will not be
Trigger Touch
When the specified register changes from ON to OF, the components in the Trigger Touch area will be
ONàOFF
triggered.
When the specified register changes its state, the components in the Trigger Touch area will be
OFFßàON
triggered.
When the specified register changes from OFF to ON, the components in the Trigger Touch area will
OFFàON (reset)
be triggered. At the same time, reset the specified register to OFF.
When the specified register changes from ON to OFF, the components in the Trigger Touch area will
ONàOFF (reset)
be triggered. At the same time, reset the specified register to ON.
4.16.8 VNC
VNC client components can be used for remote control of HMI. After the user needs to open the VNC
function in the controlled HMI, the VNC Viewer control end can be carried out at the main control end.
319
Kinco DTools Configuration Edit Software
The features of the VNC client component are as follows:
1. Remote access security, password authentication can be set;
2. Simple setting of project interface;
3. The component automatically generates up and down scroll bar to realize the free display of the
remote screen;
4. Access is fast, as long as your network is good;
5. Multiple VNC clients can access the same VNC server at the same time;
The PDF display component is used to display the PDF documents in the external storage device,
including the documents in the HMI, the U disk, and the SD card. The file must be used in conjunction
with the file list component.
320
Advanced Part Better Understanding of Library
PDF Property
Zoom Control
1.It is convenient for users to use PDF components. It has integrated PDF models group elements in the
project file window group library. During the process of calling, please check whether the address in the
group element is clash with the whole project. If there is any conflict, it is recommended to modify it.
2. there are two ways to call group components:
Mode 1: in the configuration editing screen, click the right mouse to select [group] -- use group, select
group Library in group component library edit box: PDF models, then select the appropriate PDF group
element, click group components.
Mode two: in the configuration editing screen, double-click [engineering file window] -- group library
[PDF models], select the appropriate PDF group components in the pop-up group library edit box, click
group components.
321
Kinco DTools Configuration Edit Software
It can be used to access other screens or computer FTP files, support offline simulation access
FTP client
basic attribute
Descriptions for FTP client basic attribute
Constant Server Name The IP of ftp server
Access fixed FTP server
Constant Password The password of ftp server
based on constant
Constant User Name User name of ftp server
Show Specified
Type File
Show specified type file attribute
322
Advanced Part Better Understanding of Library
File Suffix List Input the suffix name to display, such as: pdf, csv, mp4
Add After entering the suffix name, click add to add it
Delete Select the suffix that has been added, click delete to delete it
FTP Out Path attribute
Enable FTP Out
If selected,The text component will display the ftp file out-path
Path
Show specified type file: if you don't add any suffix, it will display all files, if u add some suffix, it will only show files that
have add suffix file (the function is used for when there are too many files, convenient to
view certain types of files)
Example analysis:
【Example1】Access to the screen that opens the FTP service
The ftp server device setting:
Create a new project, open the HMI attribute, check the FTP function, set the IP address and password, and compile the
download to the server screen
323
Kinco DTools Configuration Edit Software
②Access by variables: that is to set the server side to be viewed through registers, and modify the FTP server to change.
324
Advanced Part Better Understanding of Library
325
Kinco DTools Configuration Edit Software
Setting up the
IP address of
the FTP server
326
Advanced Part Better Understanding of Library
327
Kinco DTools Configuration Edit Software
④ Offline simulation
328
Advanced Part Better Understanding of Library
2. Access PC
Sets user name, password and access directory in Server
329
Kinco DTools Configuration Edit Software
④Offline simulation
330
Advanced Part Better Understanding of Library
QR code display element is displayed in the form of character generation two-dimensional code. Users
can scan the two-dimensional code to scan the corresponding characters by sweeping.
QRCode Display
331
Kinco DTools Configuration Edit Software
BarCode display element is displayed in the form of character generation two-dimensional code. Users
can scan the two-dimensional code to scan the corresponding characters by sweeping.
BarCode Display
332
Advanced Part Better Understanding of Library
low byte of this register can only be displayed normally when scanned on a string
exchange
The value of the register is a character corresponding to a BarCode
Read Address
Error correction levels from L to H, the fault tolerance level is increasing
OFFàON The refresh will be triggered when specified register changes from OFF to ON
ONàOFF The refresh will be triggered when specified register changes from ON to OFF
OFFßàON The refresh will be triggered when specified register state changes
Trig Address OFFàON, The refresh will be triggered when specified register changes from OFF to ON,
Reset and auto reset
ONàOFF, The refresh will be triggered when specified register changes from ON to OFF,
Reset and auto reset
Use Timed Refresh
If selected, time refresh QRCode
QRCode
333
5 Better Understanding of Library
In Kinco DTools, user can load the text, address tag, graphic and sound in the database, when they need to use this
information, they can call it from the database directly, this database is called library in Kinco DTools. This chapter will give
(1) Click on the Option (O) menu>>Text Library (T) or the icon in the tool bar or the Text Library in the Project
Database of Graph element window to open the Text Library dialog box.
(2) Click on the Add to pop up the Add Text dialog box.
For example, build a text item named “Start Motor”, the State Num is 2, each text supports 256 states at most. Click on
the Ok to finish building the text, and click on the Cancel to give up this text.
After setting the Name and State Num, click on the OK to the next step.
(3) The text named “Start Motor” has been added to the Text Library, click on the icon before “Start Motor” to
view the states of this text, there are two states: 0 and 1. Click on the blank area under each language to input text content. In
this example , we input “启动” in the language1 of state 0,and “停止”in the language1 of state 1; Input “Start” in
334
Advanced Part Better Understanding of Library
Besides, user can add/delete/modify the text state by right click option, take the following picture for
(4) Click on the OK to close the Text Library dialog box after editing. Check the “Use TextLib” in Tag option of a
335
Kinco DTools Configuration Edit Software
The built text library can be exported in a csv file, and the csv file also can be import into the Text Library.
! Import/export the whole text library, but cannot import/export a single text item
2
3
Add Delete Delete All Language Import Export OK
336
Advanced Part Better Understanding of Library
3
Add Delete Delete All Language Import Export OK
Click on the Language Setting in the HMI Extended Attributes option of HMI Attributes or the Language in the Text Library
dialog box to open the Language Setting dialog box, and then set the global font attributes of each language.
1. The font attributes in Language Setting is global, and the font attributes in the tag option is only for the
2. If the font attributes in Language Setting change, it will not affect the font attributes of the tag which
has already used the text in text library, if user want this font attributes to be the same as the Language
Setting, they can cancel the “Use TextLib the tag and then recheck it, so the font attributes is refreshed.
When there is a lot of text content in text library, user can export the text library in a csv file, then edit it in the Microsoft
Firstly, build a text library, and then set the state number and text content.
Export the text library to a csv file in your PC, and then open and edit it by Microsoft Excel, you can edit the text name, state
337
Kinco DTools Configuration Edit Software
A B C D E
1 Text Lib V100
2 Name: Start Motor Modify text name
3 Status: 2 Modify text state
4 Language Language1 Language2 Language3 Language4
5 0 启动 RUN 運転
Modify text content
6 1 停止 STOP 停止
7
!
The Name, Status, Language1~32 is fixed formwork, if they are modified, there will be problem when the
1
2
!
When importing the text library file, if there is a text in the project text library has the same name as the text
in the file, there will be a tip to warn that whether you want to cover the same name text or not, the covered
338
Advanced Part Better Understanding of Library
Use the special system register LW9130 to switch the languages in text library
When LW9130=0, HMI displays the text content in Language1; when LW9130=1, HMI displays the text content in
Language2….and so on, When LW9130=31, HMI displays the text content in Language32; if the LW9130>31, HMI
!
The Number of Language in the HMI Extended Attributes of HMI Attributes will limit the language number
in Text Library. The default language number is 8 in Text Library, even if the LW9130>8, HMI only displays
the Language1~Language8. If user wants to use more than 8 languages, he needs to set the Max Lang Num
in Language Setting, and the Number of Language must be smaller than Max Lang Num. The Default
Language means the default language that HMI displays, for example, the language2 is English in Text
Library, if the Default Language is 2, HMI will display the text content in English till LW9130 changes.
(1) Click on the Option (O) menu>>Address Tag (A) or the icon in the tool bar or the Address Tag in the Project
Database of Graph element window to open the Text Library dialog box.
(2) Click on the Add to pop Build Address Tag dialog box
For example, build an address tag named “Start Motor”, the address is M0. Click on the OK to finish building this address
After building the address tag in Address Tag Library, check the Use Address Tag, and chose the corresponding address tag
339
Kinco DTools Configuration Edit Software
Bit component can only use the bit address tag; and the word component can only use the word address tag.
The Address Tag library supports being imported and exported; the import/export operation is the same as
User also can import external pictures to bit map. We will describe how to use the Graphic Library in this section.
There are three methods to open the Import Graphic dialog box
340
Advanced Part Better Understanding of Library
Image Library e
System Image Library Type All graphs(*.vg,*.bg)
User-Defined Library Path ...... f
.. BG VG
a b c d
b. When all graphics are not displayed in above area, click on Refresh to display them all.
c. Choose a wanted graphic in above area, click on the Import to load this graphic (vg or bg) to current project.
System graphic library: The graphic library in software, it is in the vg_bg_lib file folder of Kinco DTools installation file
folder.
There are two parts for graphic display area, the upper half displays all thumbnail in graphic library, the lower half displays
341
Kinco DTools Configuration Edit Software
Import graphic from system graphic library, for example, import the button named “Button1-00.vg” from the System
图库选择
系统图库 类型 所有图形(*.vg,*.bg)
用户自定义图库路径 ......
Alarm Button 搅拌器 Pump
2
.. BG VG Tank Nature Meter Lock
1
图库状态
..
刷新 导入 退出
状态 3
342
Advanced Part Better Understanding of Library
If the imported vector graphic (vg) or bit graphic (bg) has the same name as the graphic in current project
graphic library, there will be a Modify Image Name dialog box to input a new name.
⚫ User-defined Library Path: user can import a vg or bg from a specified route, that is, user can import the graphics from
the vg file folder of other project files. For example, import graphic from D:\Program Files\Kinco\Kinco DTools\
Image Liarary
System Image Library Type All graphs(.vg,.bg)
User-Defined Library Path ......
1 2
State 刷新 导入 退出
Image Library
System Image Library 类型 所有图形(*.vg,*.bg)
......
User-Defined Library Path C:\Program Files\EV5000_V1.6
..
343
Kinco DTools Configuration Edit Software
2. Export Graphic
The imported vg/bg from system library or the new build vg/bg graphics are stored in the vg file folder of project file folder.
There are two methods to save the graphic in current project to system graphic; they are stored in vg_bg_lib>>vg
/BG >>UserselPath file folder of Kinco DTools installation file folder. So, user can use these graphics in the other project.
344
Advanced Part Better Understanding of Library
If the vg/bg in system graph library cannot satisfy user’s application, he can build new vg/bg himself.
For example, draw an indicator light name “Lamp” and has two states: Click on the icon or New Graphics (N) of
State Num Set the state number of new graphs, it is 256 at most
Width/Height Set the width and height of new graph, the unit is pixel
Choose the Vector Graph type, input “Lamp” as its name and set 3 to State Number, use the default width (100) and height
345
Kinco DTools Configuration Edit Software
View Area
Edit Area
Draw the graphics for State0 and State1; see the drawing steps as follows:
1.Choose State0
bar.
state0 1 state1
3. Move the mouse to edit area, and left
4 Draw]
346
Advanced Part Better Understanding of Library
to state1(Ctrl+V)
After drawing the lamp graphics, click on the Save in File menu or icon to save the new graphic, at last click on
User can only use the draw bar to draw pictures on vector, but cannot add some text or external picture to
vector graph.
User also can draw vector graphics in project edit window and then save them as VG map.
For example, draw a vector graph named “button”, and has two states. The drawing steps are as follows:
347
Kinco DTools Configuration Edit Software
follows:
polygon.
vertically.
attributes as follows:
click option
A
dialog box, and then click on OK to save.
2
3
348
Advanced Part Better Understanding of Library
click.
options.
States.
3 4
The New States in Save VG map dialog box means add a new state to the vg, Update Current State means
User can view the saved vg in Vector Graph of Project file window.
349
Kinco DTools Configuration Edit Software
For example, build a new bit graph named “Button”, and it has two states. Click on the New Graphics (N) of Draw (D)
Choose the Bit Map type and input “Button” as its name, set the State Num to 2, and then click on the OK to enter the
state0 1 state1
4
Import BMP or JPG format images
from the specified path
After import pictures to bit map, click on the Save in the File menu or the icon to save bit map, at last click on the
imported original bmp, jpg, gif pictures are saved in the image file folder of project file folder.
350
Advanced Part Better Understanding of Library
!
1. Do not delete any file in the vg file folder, or the vg/bg cannot display normally in the project.
2. User can only load external picture to bit graph, but cannot use draw tool to draw pictures or add text on it.
3. If user load gif format picture to bit graph, the gif cannot be controlled by component state, for example, if
the Bit State Switch uses the gif picture, the component displays the gif animation effect, no matter the
component is ON or OFF.
Kinco DTools supports reading the pictures from extended memory devices to bit map; it can save the HMI memory.
1. Only the HMI with USB host and SD card port support reading picture from extended memory device.
2. Only support *.BMP/JPG/GIF,not support *.PNG type from Extend memory device.
Example: Put a picture (background.bmp) in the U disk or SD card (It is USB1 in this example), the HMI project read this
2. Build a new bitmap: Click on the icon or the New Graphics(N) in the Draw(D) menu to pop up New Graphics dialog
351
Kinco DTools Configuration Edit Software
state0
3
4
1
A 5
1. The File Name must be the same as the picture name in the extended memory.
After above setting, click the icon to save the bitmap, and click on the icon at the upper right to close the graph edit
window.
352
Advanced Part Better Understanding of Library
Click on the Yes to delete the chosen vg/bg, and click on the No to cancel this operation.
Add state
state0 state1
1
state0 state1 2
(2) The icon in the tool bar: choose one state, and then click on the icon to add state.
Delete States
353
Kinco DTools Configuration Edit Software
1
state0 state1 state2
2
state0 state1 state2
state0 state1
(2) The icon in the tool bar: choose one state, and then click on the icon to delete this state.
Delete States
In the graph edit window, it is not easy to edit graph if the edit area is too small, user can use the zoom in function to zoom in
In the graph edit window, click on the icon to zoom in the work space, the maximum is 300%; In the same way, click on
the icon to zoom out the work space, the minimum is 25%. See the 200% effect as follows:
state0 state1
state0 state1
state0 state1
100%
150%
200%
354
Advanced Part Better Understanding of Library
Add a Bit State Switch to the edit window, and use the Bitmap in Graphics option.
Add a Bit State Lamp, and use the Vector Graph in Graphics option.
355
Kinco DTools Configuration Edit Software
1
2
The bitmap which uses the picture from extended memory device does not support the “Use Original
Size” function; user needs to adjust the size according to the original size himself.
356
Advanced Part Better Understanding of Library
The bitmap supports the multiple formats picture, like BMP, JPG, JPE, JPEG, GIF, and PNG. But the color and size of
imported pictures will affect the HMI project size and execution speed. Please note the following issues when you import a
⚫ The resolution of imported picture cannot be higher than HMI’s resolution, for example the HMI’s resolution is
640*480, and the imported picture’s resolution should be lower than 640*480. User can edit the picture to the same
size as component by picture edit tool before importing this picture to the project, for example, a bitmap is used in a
component with the width and height 100*100, and user can edit the picture to resolution 100*100 before importing
this picture to bitmap. If you do not need the high-resolution display, edit the picture as small as possible before
⚫ The pictures saved in HMI are lossless compression in BMP format, if the imported pictures are loss compression in
JPG, the pictures will be larger after compiling, and the resolutions will loss. That is, when using bit map. Please
optimize the picture size, and chose compression format according to the actual application.
⚫ Relatively Speaking, the vector graph takes much smaller size than bit map. That is, do not use too many bit maps in
the program, use vector graphics as possible, it also can make HMI execute faster.
1. The audio output port does not support OPAMP function; user needs to connect a loud speaking to this
port.
2. A signal imported sound file must be smaller than 256K, but if the sound file is saved in extended memory,
4. Only the HMI with audio output port support Sound Lib function.
Click on the icon or Graph element window>>Project Database>>Sound Lib to open the Sound Library box.
ID Name Size(Byte)
0 .\sound\sound1.snd 258844
Import... 2
play 确定
Using audio from
1
停止播放 取消
Delete
3
357
Kinco DTools Configuration Edit Software
The system will convert the imported sound file to snd file automatically; the original sound file is saved in
The sound file also can be read from extended memory, which can save HMI’s memory.
[Example]: Read the sound file named “sound4.mp3” from U disk. First, save the sound4.mp3 file to the root catalog of U
disk.
Root directory
1. The File Name must be the same as the name of sound file in the extended memory.
2. The audio file read from extended memory must be mp4 format, the wav is not supported.
3. The audio file must be saved in the root catalog of extended memory.
4. The size of audio file is not limited; it depends on the memory size of extended memory device.
358
Advanced Part Better Understanding of Library
Only the HMI with audio output port has the Sound option in component attributes. The audio file will be played till the it is
over when the component is touched, and this sound cannot be paused.
1
2
The Alarm/Event Information also can use the sound as the alarm sound.
1 2
User can use the system register LW9464 to adjust the volume, if LW9464=0, it means sound off. The value of LW9464 is
359
6 System Parameters
6.1 HMI Attributes
Double the HMI icon or right click the HMI icon and choose the Attribute to open the HMI Attributes box. User can
6.1.1 HMI
Network Setting IP Set the IP address for the HMI with Ethernet port
Subnet Mask Set the subnet mask for the HMI with Ethernet port
360
Advanced Part System Parameters
Field Bus Setting Configure the field bus protocol and parameters when HMI communicates with
Save Screenshots to The Choose the extended memory device where the screenshots are saved. Only the HMI with
Use operation Checked, VNC operation requires a password; unchecked, you can
password operate the screen without entering a password
Use monitoring Checked, VNC monitoring requires a password; unchecked, you can
VNC
password monitor the screen without entering a password
Checked, support multiple clients to monitor the HMI screen at the same
Open multi-client
time
Input description for HMI, this description will distinguish different HMI when downloading
Description
and simulating
361
Kinco DTools Configuration Edit Software
d
e
f
Menu Task Bar T P A
a b c
a. Fast Selection Window button b. Task Bar button c. Task Bar d. Touch Indicator e. CPU Indicator f. Alarm Indicator g.
Undefined Area Set the indicator color when touching the undefined area.
Color
T
Meun Task bar T P A
Touch Nonclient Set the indicator color when touching the blank area, where there
T
Meun Task bar T P A
Touch Client Color Set the indicator color when touching the workplace area, where
362
Advanced Part System Parameters
T
Meun Task bar T P A
Lamp A
Meun Task bar T P
Fast Selection Window When clicking on the Menu button, pop up the fast selection window or not.
Button
Meun
Button Area Size Set the size of buttons on fast selection window and task bar, the unit is pixel.
Font Size/Color Set the font size and color of text on fast selection window and task bar, the unit is pixel.
Button Position Set the position of buttons on fast selection window and task bar.
Text Align Set the align method of text on fast selection window and task bar.
Hide the buttons of fast Delete the text in the text box to hide the buttons.
363
Kinco DTools Configuration Edit Software
Backlight HMI turns off the backlight if there is no touch within set time, and the backlight will turn on when
the HMI screen is touched again. The unit of set time is minute, and the default time is 10 minutes.
Backlight automatically turns when In the backlight off state, the backlight will turn on
Screen Saver HMI displays the screen saver window if there is no touch within set time, user can set the screen
saver window in the Window of Screen savers. HMI will display the normal screen again if the
screen is touched in screen saver mode. The default screen saver time is 10 minutes.
Return to Original Window when If this option is checked, the HMI returns to original window
Screen saver Ends. when screensaver ends, if it is not checked, HMI goes to the
Allow Upload Allow user uploads the project in HMI to PC, the default password is 888888. Note: The Password
cannot be empty or 0.
364
Advanced Part System Parameters
Video Mode Set the signal format of video input, the PAL and NTSC are optional. Only the HMI with BNC port
supports this function, and uses the Video component in the program.
Number of Set the language number in the Text Library, there are 32 languages at most. This function is used
The default display language of the texts which use text library. This function is used together with
Default Language
Text Library.
Language Setting Open the Language Setting dialog box. This function is used together with Text Library.
Use INIT Macro Trigger the macro when HMI is powered on.
Chinese Font Box Set the height of Chinese character input box, it ranges from 24 to 99, and the unit is pixel. This
Height function is used when input Chinese character to Text Input component.
Minimum Hold When the event triggered state continues to set time, the alarm is displayed on the screen.
Time units:100ms
Invalided Set the color of invalid components, this function is used together with component which is set the
Cursor Color Set the cursor color in the input status of Number/Text Input component.
Font Grayscale
When the component touch is invalid, the font label color is displayed as the setting color
Effect Color
Use External Time Set the time source of the data sample in Datalogger and Data Report.
for Datalogger
☞For details, refer to [Advanced Part 2.7.3 System Time and PLC Time Synchronization]
365
Kinco DTools Configuration Edit Software
Use External Time Set the time source of Event Trig time and Return to Normal Time in the Event Display and Event
☞For details, refer to [Advanced Part 2.7.3 System Time and PLC Time Synchronization]
User defines
datalogger’s Set the description in created *.db file same as the sample channel description.
channel description
Operational Records Storage Devices The SD, USB DISK1*, USB DISK2*, HMI are optional.
Storage Settings Save MS Save the millisecond of operation log and save them in the CSV file.
Subdirectory Set the subdirectory where CSV file is storage, user can modify it.
Storage Type Daily File Save the daily operation log in CSV file, the file name is named
Single File Save the every recodes of operation log in CSV file, the filename
is the Subdirectory.
Bulk Storage Select a cache mode, when the data in buffer memory reaches the set size; write
data to SD card or USB drive. The Default means no buffer memory, data is
The unit of Daily File is Day, and the unit of Single File is item
If the Storage Type is Daily File, the CSV file is named as “yyyymmdd”and the
Max Storage is upper limit of CSV file number in this route. The early file
will be deleted if the file number exceeds the Max Storage; If the Storage
Type is Single File, the file is named as Subdirectory, the Max Storage means
the upper limit of the item number in this file, if item number exceeds the Max
Storage, the data will not be stored anymore. (yyyymmdd means the date
Public Window Attributes Display Public Window above the basic window or below the basic window
Initial Window Set the first window when HMI is powered on. The default is [0: Frame0]
Public Window Set a window as Public Window. The default is [1: Common Window]
Set a window as Fast Selection Window, the default is [2: Fast Selection]. The Fast
Fast Selection Window
Selection is used together with the fast selection button in the task bar.
File Brower Window Set a window as File Brower Window, the default is [5: File List Window]. The File Brower
366
Advanced Part System Parameters
Set a window as Operation Confirmation Window, the default is [7: Confirm Action
Operation Confirmation
Window]. The Operation Confirmation Window is used together with Operator Confirm of
Window
a component.
Set a window as Login Window of User Permission and Security Level, the default is [9:
Login Window Login Window]. The Login Window is used together with the User Permission and Security
Level function.
※Some models have two USB Host ports; the number of USB DISK is according to the sequence when the USB drives are
plugged in HMI, but not the position of the USB slot. The USB drive which is plugged in first is the USD DISK1 and
User can define the display content for the system error information in the User-Defined System Information. When the error
happens, if user defines the display content for system error, HMI will display the user-defined content, or HMI displays the
PLC No Response
PLC no connect
367
Kinco DTools Configuration Edit Software
Select the default system error information in the red frame, then check the Use User-Defined Information and input
In this option, user can set the security levels and their passwords. There are 16 levels at most
In this option, user can configure user name, password, logoff time and permission and so on. There are 32 users at most, and
In this option, user can set the route where the historical events are stored; this function is used together with Event
components.
368
Advanced Part System Parameters
Recipe Save Count Set the item number of historical events, which are saved in recipe memory. If the event
Data Field item is larger than the set Save Count, the early information will be deleted, and save new
information.
Note:If the Save Count is 0, the historical event will not be stored.
Start Addr Set the start address from which the historical events are stored in recipe memory.
End Addr Software will calculate the End Address according to the Save Count and Start Addr.
External Storage Devices The SD card, USB DISK1*, and USB DISK2* are optional.
Device Outage Keepin When HMI is restarted by power outage,HMI can recover 1024 items historical event
which are triggered before power outage, and display them in the Event Display
component.
Export to CSV Save the historical event information in CSV file, and save this CSV file to external
Screen Trigger State No triggered status information in the CSV file saved to the
external device
Screen Resume State No resumed status information in the CSV file saved to the
external device
Screen Confirm State No confirmed status information in the CSV file saved to the
external device
Display Type Range Only save alarm information for set category
Save MS Save the millisecond of operation log and save them in the CSV file.
Subdirectory Set the subdirectory where CSV file is storage, user can modify it.
Storage Type Daily File Save the daily historical event information in CSV file, the file is named by
Single File Save the every recodes of operation log in CSV file, the filename is the
Subdirectory.
Bulk Storage Select a cache mode, when the data in buffer memory reaches the set size; write data to
SD card or USB drive. The Default means no buffer memory, data is written to SD card or
Max Storage Set the upper limit of storage. The unit of Daily File is Day, and the unit of Single File is
item.
If the Storage Type is Daily File, the CSV file is named as “yyyymmdd”and the Max
Storage is upper limit of CSV file number in this route. The early file will be deleted if the
369
Kinco DTools Configuration Edit Software
file number exceeds the Max Storage; If the Storage Type is Single File, the file is named
as Subdirectory, the Max Storage means the upper limit of the item number in this file, if
item number exceeds the Max Storage, the data will not be stored anymore. (yyyymmdd
In the Print Setting option, user can enable print functions and set its parameters.
Baud Rate/Data Bit/Parity If the printing port is serial port, set the corresponding parameters of serial
Net Print IP The IP address of the PC which connects to the network printer in the LAN
Setting Port The port of the PC which connects to the network printer in the LAN
Print Setting Print Date Print the date when the event is triggered and returns to normal. Format:
of Event mm/dd
Display Print Standard Time Print the standard time when the event is triggered and returns to normal, if
(h:mm: s) this option is checked the Print Time will be checked automatically. Format:
h:m: s
Print Extended Print the extended date when the event is triggered and returns to normal, if
Date(d:h:m) this option is checked the Print Date will be checked automatically. Format:
370
Advanced Part System Parameters
yyyyy/mm/dd
Print Precise Time (h:mm: Print the precise time when the event is triggered and the returns to normal,
Print Time Print the time when the event is triggered and the returns to normal. Format:
m: s
Print Extended Print the extended time when the event is triggered and the returns to
Time(d:h:m) normal, if this option is checked the Print Time will be checked
Check Window Error Check if there is error in this window when printing
In the CMO0/1/2 Setting, user can set the HMI communication parameters when HMI communicates with PLC.
Type Select a communication type when HMI communicates with PLC, the RS232 (RS-232C),
Baud Rate/Data Bit/Parity Set the HMI communication parameters when HMI communicates with PLC
Check/Stop Bit
☞For details, refer to [Advanced Part 14 HMI Communication]
Device No. When HMI works as a slave device, set the HMI station number.
Broadcast When HMI works as MODBUS RTU master, HMI only sends command to PLC, but
371
Kinco DTools Configuration Edit Software
PLC Communication Time The time HMI waits response from PLC/controller, unit is millisecond or second. If
Out PLC/controller has no response within this time, it is time out; HMI gives up this request
and try the next request. If there is no response after several requests, HMI display PLC
Protocol Time Out1(ms) Time out of character. The protocol takes this time as time interval to cut frame; In other
words, it is the max time interval between each character. If the communication is not
stable, user can increase this value to improve the communication. It ranges from 1to
500. This parameter is set when you connect a PLC to HMI port in the software. Do not
Protocol Time Out2(ms) The communication speed will be slow, but the communication error and error package
Max Inter of bit/word block These parameters decide that how many registers can be read in a package when the
pack registers are not continual. Do not suggest customers to modify this parameter.
Max word block word/bit These parameters decide the max length of package. That is, how many the registers that
package size can be read as one frame at a time. Do not suggest customers to modify this parameter.
Use Default Setting If users modify the default communication parameters, and HMI and PLC do not
communicate successfully, they can use this button to set the parameters to default value.
In the Extended Memory option, user can define address type ERW0, ERW1, ERW2 in the extended memory devices, USB
drive or SD card.
The ERW data will stored in the extended memory in erp file, its route is /exmem/erw.erp, (x=0, 1, 2)
372
Advanced Part System Parameters
373
Kinco DTools Configuration Edit Software
Number Input
Read/Write Address LW 9048(HMI special system register)
Data type password
Data length DWORD
374
Advanced Part System Parameters
Text
Font
Text Expiration time Please input you authorization key
Function key
Switch window Change window 0:Frame0
5)Simulation
Now, users have to enter the right key to unlock the HMI.
6.1.12 Internet Time Synchronization/summer time
Once enabled, the network can be automatically synchronized with network time as long as the screen is connected to the
network.
375
Kinco DTools Configuration Edit Software
376
Advanced Part System Parameters
Station No. When PLC/controller works as slave device, set the station No. for PLC/controller.
Network Device Setting When HMI communicates with PLC/controller via Ethernet, configure the Ethernet
377
7 Compile/Simulate/Download/Upload
7.1 Compilation
Compilation can be divided into:【Compile】,【Compile All】,【Clear Build Result】.
Click the icons in toolbar,or select 【Compile】/【Compile All】/【Clear Build Result】in the【Tools】
menu.
Name Description
Compile When there are Macro files in the project, click【Compile】will do not compile the Macro files that has
been compiled
Clear Build Result Clear all the compiled files, including .pkg \.pkgx files, Macro files .so/.dll, .HMI files, .logo files
7.2 Simulation
Kinco DTools supports 3 modes of simulation: Offline Simulation, Indirect Online Simulation, Direct Online Simulation
Connections with PLC and HMI are not needed, so the time for each
Indirect Online dynamically. The operating environment of the program is the same as
√ √
Simulation downloaded into HMI, but does not need to download the project to
Only PLC needs to be connected, while HMI doesn’t. PLC data can be
Direct Online
√ — obtained dynamically. This mode can be used to check whether
Simulation
communication is normal without connecting with an HMI
Click the icons in toolbar,or select 【Offline simulation】/【Indirect Online Simulation】/【Direct Online
Simulation】in the【Tools】 menu. Select an HMI to be simulated, and click 【Simulation】to start simulation.
!
1. The maximum test time for the direct online simulation is 15 minutes. After 15 minutes, the system will
prompt “Online Simulation overtime and Program is end, if want, Please Simulate again.”
2. Mostly only the RS232 communication mode can be used for direct online simulation. Some PLCs
378
Advanced Part Compile/Simulate/Download/Upload
communicating through Ethernet port can execute direct online simulation through Ethernet port.
3. Connection of direct online simulation for RS232 communication: program cable of PLC connects with
the serial port of PC directly. Connection of direct online simulation for Ethernet port communication
4. The port used for direct online simulation cannot be used by other programs, otherwise, communication
To exit simulation by the space key of the keyboard, or click the right mouse button in the simulation box blank, select
7.3 Download
Kinco DTools provides 3 ways of download: USB, Serial port, Ethernet port (Download via Ethernet port is only suitable for
The【KHDownload】property box pops up. The default download mode is USB port.
!
1. It has the function of memory. The next time you open it after selecting it once is the last time you select
2. When USB downloading cable is used for the first time, the USB device driver should be installed
manually.
☞For more details about the installation of USB driver, please refer to【Basic Part 2.8 Install USB Driver】
3. For downloading through serial port, users should weld the cable by themselves.
☞For more details about welding downloading cable for serial port, please refer to the manual of
379
Kinco DTools Configuration Edit Software
➢ The IP of PC and HMI should be in the same network segment. That means the former three digits should be the same
and the last digit should be different. If the devices are connected in local area network, and then the IP should not
Click【HMI Attribute】—【HMI】, set the target IP to HMI, compile and download into HMI, then the IP of HMI is in line
➢ Network download automatic scan IP, and can batch download to multiple HMI
380
Advanced Part Compile/Simulate/Download/Upload
☞For more details about setting IP in SETUP interface,please refer to【Hardware Part 3 System Setting Mode】
⚫ Set IP via【Update IP/PORT】in KDManager
☞For more details about setting IP via【Update IP/PORT】in KDManager,please refer to【Advanced Part 8 KDManager】
7.3.2 Download via U disk or SD card
⚫ Download via U disk or SD card in working mode
☞For more details about downloading via U disk or SD card,please refer to【Hardware Part 3 System Setting Mode】
7.3.3 Download Selection
In the property box of 【KHDownload】,select the related options in 【Select Section】 to download the files needed.
Name Description
Clear history event data Clear the record in【Event Display】/【Historical Event Display】parts
Clear history record data Clear the record in【Historical Event Display】/【Trend Curve】/【Trend Curve】parts
Clear ERW data Clear the data saved in external register ERW/ERWI
Clear FRW data Clear the data saved in FLASH register FRB/FRBI/FRW/FRWI
Setting
Timeout Set the timeout time of download, the unit is millisecond, and it ranges from 0 to 65535
382
Advanced Part Compile/Simulate/Download/Upload
Recipe files should be imported before downloading. Single click icon in toolbar or single click 【Options】menu —
【Import Recipe】,then dialog box of 【Open】pops up,select the recipe files to be downloaded and single click【Open】
Compile and then download, select 【Recipe File】as shown in the below figure:
Kinco DTools will record the directories of recipe files, when the selected recipe files are loaded into
Kinco DTools. If the directories of recipe files changed, warning information will appear in the
compilation message window, the recipe files will no longer be selected when download again.
☞For more details about【LOGO file】,please refer to【Advanced Part 2.8 LOGO Screen(LOGO)】
⚫ Clear data when download
【Clear ERW data】,【Clear FRW data】. Select the data to be deleted, then the related data in HMI will be deleted when
downloading.
383
Kinco DTools Configuration Edit Software
When there are too many pictures in project, then the project will be too big to download into HMI. Prompt: When compress
bitmap of large size, users could download the project to external devices.
!
1. The function that project runs directly in the external storage device is only applicable for HMIs
384
Advanced Part Compile/Simulate/Download/Upload
2. The projects copied directly into external storage devices cannot run.
3. The external storage devices cannot be removed during running, otherwise, the project stored in external
If the timeout option is checked, user can set the timeout time of download, the unit is millisecond, and it ranges from 0 to
65535.The function can improve download timeout error of serial port, USB and Ethernet port.
☞For more details about upload, download, compile project, please refer to【Advanced Part 8 KDManager】
385
8 KDManager
8.1 Introduction to KDManager
KDManager consists of six processing modules: 【Download】, 【Upload】, 【System Operation】, 【Get Version】,
【Communication parameter setting】:The current download way selected in KDManager will be displayed. Click 【Set】
Download via serial port Choose the current used serial port NO.
386
Advanced Part KHManager
【Page UP】/【Page Down】:Click 【Page UP/Page Down】to skip among the 6 processing modules.
【Exit】:Exit KDManager.
8.3 Download
Detailed descriptions of【Download】
Section Download LOGO Download Initial Start Window of.bmp\.gif\.jpg\ .logo files to HMI
setting Area Unshown LOGO Start Window when boots up, but keeps white screen until project window
displays.
387
Kinco DTools Configuration Edit Software
To clear the data that is saved in physical storage area of external memory
Clear ERW Data
ERW/ERWI.
To clear the displayed history data that is recorded in【History Data Display】
【Trend
/ 【XY
Curve】/ Curve】parts, at the same time the history data and files
Clear History Data
that are saved in recipe memories and external memories will also be
cleared.
To clear the displayed history events that are recorded in【Event Display】/
Clear History Event 【Historical Event Display】, at the same time the history data and files that
are saved in recipe memories and external memories will also be cleared.
8.4 Upload
Detailed descriptions of【Upload】
Upload User Data Upload project files of .pkg \. pkgx format Recipe Editor Open【Recipe Editor】
Upload Recipe Upload .rcp files in HMI Upload FRW Upload .frw files in HMI
Wi-Fi Set Scan out the currently available WIFI, and set to select the network to be connected
APN Set A parameter that the user must configure when surfing the Internet through the HMI, which
determines the way the user HMI accesses the mobile network
Update IP/PORT Area Update the IP address and port number to the set value
Return to User Application Status HMI jumps to run the configuration program
Jumping Section Area
Return to Set Application Status HMI changes to the embedded SETUP interface
Update Operation Area Update the kernel/ file system ☞For more details please refer to [Hardware Part 5
Synchronization system
Synchronize computer time to HMI
time
firmware version information will be displayed. Otherwise please check whether the current communication
mode is correct or other reasons.
8.7 Decompile Operation
The configuration screen edited by Kinco DTools is saved as .dpj files. Compile to generate pkg \.pkgx files which are
388
Advanced Part KHManager
required for running in HMI and download into HMI. So, the files uploaded from HMI are in pkg \. pkgx format. Before
open the projects uploaded from HMI, users should decompile the pkg \.pkgx files by KDManager to generate a project file
in which .dpj file and other files are included, then users can open .dpj file and edit.
a
b
c
d
Regardless of whether the file allow decompiling or not, upload password dialog box will pop up and request for
decompilation password. If decompilation is prohibited, user cannot move to the next step. While if decompilation is allowed
and no password is set, and then enter the default password 888888 to move to the next step.
!
1. When there are more than one (2 or more) HMIs in a project, users need to add all the pkg \.pkgx files of
2. When there are more than one (2 or more) HMIs in a project, all the pkg \.pkgx files uploaded from the
HMIs must be compiled at the same time, otherwise, the pkg \.pkgx files cannot be decompiled.
☞For more details about [Data Encryption], please refer to [Advanced Part 2.15 Data Encryption]
8.9 Net Pass Through
Using the PLC programming software on the computer, it can be connected to the PLC that communicates with the HMI
through the man-machine interface connected to the computer network.
☞ For more details about [Net Pass Through], please refer to [Advanced Part 16.1 Net Pass Through]
8.10 Virtual COM Through
Use the PLC programming software on the computer, it can be connected to the PLC that communicates with the HMI
389
Kinco DTools Configuration Edit Software
through the man-machine interface connected to the virtual serial port of the computer.
☞ For more details about [Virtual COM Through], please refer to [Advanced Part 16.2 Virtual COM Through]
390
9 Macro
Macro uses C language to release logic and arithmetic calculation. User can use macro and other components together to
release some complex calculation and make HMI strong function. The macro instructions in Kinco DTools are compatible
Macro edit window User writes C language code in this window; the variables are defined in the Parameters list;
Macro variables window The write and read variables in this macro, which are external variable of this macro.
User can rename and delete macro in this list. If there are multiple macros, user also can
Macro file list
switch macro among different macro.
391
Kinco DTools Configuration Edit Software
There is a New Macrocode dialog window when you build the macro:
1. Choose the HMI where the macro is built, for example HMI0.
2. There is a default macro name(macro_0.C) in the File Name, user can rename it.
Right click the macro in the Project files window; choose the delete to delete the macro. As shown in the following picture:
! Note that the delete operation of macro does not support undo operation,
Right click the macro in the Project files window; choose the Rename Macro to rename the macro. As shown in the
following picture:
392
Advanced Part Macro
Macro Variables
In macro, the unit whose value can be changed is called variable, each variable has a name and an initial value, it takes a
Variable name
When user builds a new variable, the default name is Param and user can modify the name. The definition of macro name
must follow the principle of C language, the following are exceptional case:
4. The variable name only supports 26 English letters, number and underline.
5. The number of group data must be from 2 to 1024, but the number of (unsigned) shot group data cannot be 4, the
There are internal variables and external variables in the macro variables
Internal variables: they are the registers in HMI. The internal variables can be defined in the Parameters window; it also can
External variables: they are the registers in the PLC/controller which is connected to HMI. The external variables must be
defined in the parameters window, and then they can used in the macro edit window.
393
Kinco DTools Configuration Edit Software
Read Read the register before the C code is executed, the register will not be read when the C coded is running.
Write Write the register after the C code is executed, the register will not be written when the C
Read/Write Read the register before the C code is executed and write it after the C code is executed.
Usually, we define the registers which only need reading as Read type; the registers which need writing
have read operation too, so we define them as Read/Write. Regarding some special registers, which are
write only, but cannot be read, we can define them as Read. Therefore , in the assignment instruction, the
variables at the left side of“=”icon are usually defined as Read/Write and variables at the right side of
Right click variable list in the macro variable window, user can choose the add/delete/modify/export/import
macro-operations.
Import Variable Import the variable CSV file to the macro variable window.
(1) When defining the variable, make sure that there is no overlap in the address range, for example, the LW1000 is defined
394
Advanced Part Macro
as a float variable A (double words), that is A takes two addresses: LW1000 and LW1001. If user defines another
variable which uses LW1001, there will be error in the macro calculation.
(2) The macro only supports the logic and arithmetic operation, but do not support char type operation.
(3) When the variable uses variable station number, especially when the special registers are used as index, the value in the
index registers must be modified before macro execution, so the modified station number can be effective in the macro.
If the index value is set in the macro, the modified station number can be effective in the next execution of macro.
(4) The Export/Import operation only supports export/import all the variables, but not supports export/import a single
variable.
(5) When user uses Excel to edit exported variable CSV file, note that the ParamName~StationNumID are default
formwork, do not modify them or there will be error when you import the CSV file to the macro variable window.
1 #include "macrotypedef.h"
2 #include "math.h"
3
4 /*
5 Read,Write Local address function:
6 int ReadLocal( const char *type, int addr, int nRegs, void *buf, int flag );
7 int WriteLocal( const char *type, int addr, int nRegs, void *buf , int flag );
8
9 Parameter: type is the string of "LW","LB" etc;
10 address is the Operation address ;
11 nRegs is the length of read or write ;
12 buf is the buffer which store the reading or writing data;
13 flag is 0,then codetype is BIN,is 1 then codetype is BCD;
14 return value : 1 ,Operation success
15 0, Operation fail.
16
17 eg: read the value of local lw200 and write it to the lw202,with the codetype BIN,
18 The code is :
19
20 short buf[2] = {0};
21 ReadLocal("LW", 200, 2, (void*)buf, 0); 24 int MacroEntry()
22 WriteLocal("LW", 202, 2, (void*)buf, 0); 25 {
23 */ 26 if (D100==1)
………………
25 { 28 else
26 29 M0=0;
27 30 return 0;
28 return 0; 31 }
29 }
30 Macro coding here
1. Add the note information in the macro, so you can check and modify the code conveniently in the
future.
2. Use the tab and line break to make the macro a good structure.
3. Do not delete or modify the default code in the macro edit window, press the Enter before “return” to
3. After the macro is build, save and compile the HMI program , then check if there is any error information in the
395
Kinco DTools Configuration Edit Software
Message Window
.
9.2.5 Execute Macro
There are 6 methods to execute the macro in Kinco DTools, user can choose one method according his application.
Set initialization macro in HMI Attributes>>HMI Extended Attributes, this macro will be trigged when the HMI starts, user
can use this macro to set the initialization value of some parameters and transmit some recipe value.
Use the Execute Macro function in the Function Key, when the function is pressed , the macro will be triggered once
3. Triggered by Timer
There are many trigger methods in the Timer, it is very flexible to trigger macro by timer.
When the certain register satisfies the setting condition, the macro will be triggered.
5. Triggered by Event
6. Triggered by Notification
Then define the variable D100 and M0 in the Parameters Window in macro.
396
Advanced Part Macro
24 int MacroEntry()
25 {
26 if (D100==123)
………………
27 M0=1;
…………
28 else
29 M0=0;
30 return 0;
31 }
Save the project, close the macro edit window then switch to the HMI program edit screen, make the program as follows:
2 ####
Bit State Lamp, which is used to display the state of M0. Its attribute are as follows:
Read Address M0(PLC register)
Number Input Component, which is used to input the value of D100, its attributes are as follows:
Read/Write Address D100(PLC Registers)
Graphics State 0
Timer Component,which is used to execute the macro, its attributes are as follows:
397
Kinco DTools Configuration Edit Software
123 0
123
When you use the internal (local)l variable, you do not need to define the variable in the macro parameters window, you can
The advantage of using local variable is that the local variable in the macro can be read/write in real time and the execution
speed is faster, performance is better. At the same time, it also saves the time of defining variables in the macro parameters
window.
In the macro edit window ,there is demo code(example) to read/write the local variable, user can write the macro code to
24 int MacroEntry()
25 {
26 short buf[2]={0};
27 ReadLocal(“LW”,100,2,(void*)buf,0);
28 buf[0]=buf[0]+buf[1];
29 WriteLocal(“LW”,102,1,(void*)buf,0);
30 return 0;
31 }
In this demo code, we transfer the values in LW200 and LW201 to the LW202 and LW203.
We will explain to you how to use the local variable function in the following example.
For example, use the macro to achieve the addition calculation: LW100(HMI local register) adds LW101(HMI local
register) and transfer this result to LW102(HMI local register), the macro code is as follows:
398
Advanced Part Macro
24 int MacroEntry()
25 {
26 short buf[2]={0};
27 ReadLocal(“LW”,100,2,(void*)buf,0);
28 buf[0]=buf[0]+buf[1];
29 WriteLocal(“LW”,102,1,(void*)buf,0);
30 return 0;
31 }
In this example ,
ReadLocal ("LW", 100, 2, (void*)buf, 0) means read the value in LW100 and LW101 and give this value to
WriteLocal ("LW", 102, 1, (void*)buf, 0) means write the calculation result to the LW102.
10 + 20 = 30
10 + 20 = 30
Use the communication function of macro variables, first in the macro code variable window statement variable name, and
then call the function in the code, the variable name is directly used in the function, address, station number can be consistent
with the macro variables window, can also be inconsistent.
The advantages of transfer communication function is in the implementation of the macro code, according to the order of
execution of the macro code, real-time reading and writing, make faster, better execution; as a macro code involving multiple
controller, a communication equipment failure, communication equipment does not affect the normal operation of the macro
code, at the same time also eliminates the need for the definition of variables in the macro variables window [Code] action,
can save a lot of time.
Function:
int ReadData(param, int plcNo, int addr, int nRegs, void *buf);
int WriteData(param, int plcNo, int addr, int nRegs, void *buf);
Parameter description:
【param】The variable name registered in the macro code variable table。
【plcNo】PLC station
【addr】 the Operation address
【nRegs】the length of read or write
【buf】 the buffer which store the reading or writing data
【return value】1 ,Operation success;0, Operation fails.
We will explain to you how to use the local variable function in the following example.
For example, use the macro to achieve the addition calculation: D100(Mitsubishi Fx2n register) adds D101(Mitsubishi Fx2n
399
Kinco DTools Configuration Edit Software
register) and transfer this result to D102(Mitsubishi Fx2n register), the macro code is as follows:
Variables are defined as follows:
In this example,
ReadData(a,1,100,1,(void*)&dat[0]):means the value of the D100 register in the PLC that reads the station number 1, and
puts it on dat[0].
ReadData(b,1,101,1,(void*)&dat[1]):means the value of the D101 register in the PLC that reads the station number 1, and
puts it on dat[1].
dat[2]=dat[0]+dat[1]:means addition calculation
WriteData(c,1,102,1, (void*)&dat[2]):means write the calculation result to the D102.
Save, Compile and Execute:
10 + 20 = 30
10 + 20 = 30
The read and write address in the communication function must be an integer, such as the PLC address with
a decimal point, and it must be converted to a decimal number address. For example, the M2.5 of Kinco
PLC, the address format is DDDD.O, then the address in the ReadData or WriteData function should be 21,
not 2.5, and the way of computing 2*8+5
element has its own serial number in the array, this number is called index. User can distinguish these elements by their
index. The total number of the element of an array is also called the array length.
For example, use macro to assign values to 100 continuous registers which starts from D100(PLC register), if we do not use
array , we need to define 100 registers in macro parameters window and assign value one by one in the macro code. See as
follows:
400
Advanced Part Macro
Macro code:
24 int MacroEntry()
25 {
26 data_0=120;
27 data_1=135;
28 data_2=200;
...
...
...
125 data_99=210;
126 return 0;
127 }
128
In the above macro code, the variable name has no unified rule, at the same time , it also takes too much time on define the
variables. If users use the array, they can define these variables in one array, see as follows:
Macro code:
24 int MacroEntry()
25 {
26 data[0]=120;
27 data[1]=135;
28 data[2]=200;
...
...
...
125 data[99]=210;
126 return 0;
127 }
128
User can use a name and index to representation a variable in the array. For example, data [0] means the first variable in an
array, data[1] means the second variable in an array. The data is the variable name of this array, the number after data is the
For example, the following example is to define an array variable, then use loop statement to assign 10~15 to the array
elements, these data will be displayed on the Number Display Components. The variable is defined as follows:
Macro code:
24 int MacroEntry()
25 {
26 int i;
27 for(i=0;i<6;i++)
28 a[i]=i+10;
29 return 0;
30 }
31
10 11 12
10 11 12
13 14 15
13 14 15
Actually, array is a list of data which has the same data type in the memory. Take the above array for example; a[i] starts
from the number 100 in the memory. The content and value of this array are as follows:
Value 10 11 12 13 14 15
!
1. When users visit or assign array variable, they need to according to the defined data type.
2. The indexes of array are inter, which starts from 0, not 1. The index n means the (n+1) variable
3. The array a[n] has n elements, but there is no a[n] in these elements. If user uses the nonexistent elements
402
Advanced Part Macro
again or in real time in the macro execution process. So, the macro result will not be changed if the registers are changed
from outside during the macro execution process. When we use the macro, we need to make sure that all the input value are
ready before we trigger the macro, or we may cannot get the expect result.
⚫ The macro result is output once when the macro is finished. The external variable value will not be changed during the
macro execution process when we use the macro, we need to make sure that the macro is finished and all the outputs are
⚫ It is meanness to write the Read Only variable and it is meanness to read the Write Only variable. If the variable
needs to be read and write, please define it as R/W. Besides, user must assign value to the variable which has write operation
⚫ User can define the temporary variable in the macro according to the C language, but cannot set the global variable and
static variable. If the global variable is needed, please use the LW, LB register.
⚫ One macro cannot call other macros in Kinco DTools, if user wants to use the Function Call as the C language, they
403
10 Password
Kinco DTools provides powerful password function for users, to ensure the security of user’s intellectual property.
The passwords are used for project protection, window protection, and important component protection.
⚫ Operation window protection: To protect important windows, passwords must be entered when accessing important
windows.
⚫ Component protection: To avoid disoperation, user name and password must be entered to access some important
components.
!
1. When project password, uploading password and decompilation password are used, please keep the
passwords in mind. The manufacture does not provide factory recovery and universal password
service.
2. The system default passwords for decompiling and uploading are 888888.
3. When the password is 0 or Null, system will automatically default to not using password. When
Level Range 16 levels(0~15), level 0 is invalid 32 users, 32 operation permissions, User 0 is valid
Add/Delete levels or
Not support Support
permissions in HMI
Users with low security level password A user can possess multiple operation permissions,
Access Restriction cannot access high security levels; and different users can possess the same operation
404
Advanced Part Recipe/RecipeEditor
Users with high level password can permissions, only user name and correct
access low security level windows or password are needed to execute corresponding
components. operation.
System reserved register The involved system reserved registers are different.
To prevent unauthorized access and protect user’s intellectual property, passwords are required to open project file of .wpj.
Open the software, single click【File】—【Project Password】, then attribute box of 【Project Password Setting】will pop
up,input the password and confirm it. The project password will take effect when open the project next time.
Once project password is set, password entry box will pop up when opening the project again.
Enter correct password to open the project, otherwise, error prompt box will pop up.
If entering password wrong continuously for 3 times, it would pop up a dialog box showing【Invalid Password. Project
Open the encrypted project, single click【File】menu—【Project Password】,the attribute box of 【Setting Project Password】
will pop up. To modify password, users need to enter old password, and at the same time set new password. To cancel the
password, users only need to enter the old password, leave the new password box blank. Single click 【OK】button., then
the modification will take effect when opening the project next time.
Project allows uploading by default, but upload password is required to prevent unauthorized operation. Default password is
“888888”.
405
Kinco DTools Configuration Edit Software
Upload Password setting: Check the option of 【Allow Upload】in 【HMI Attributes】—【HMI Extended Attributes】page.
After upload password is set, dialog box of 【Password input】will pop up when uploading, as shown in following pictures:
2. Data package loss may occur during uploading, then restart the HMI and upload again.
3. Project allows uploading by default, but upload password is required to prevent unauthorized
⚫ Prohibit uploading: prohibit uploading project from HMI. The specific setting is: 【HMI Attribute】—【HMI Extended
When prohibit uploading is set, prompt box will pop up if forcibly upload:
406
Advanced Part Recipe/RecipeEditor
⚫ Decompilation setting
Decompilation is used to convert the pkg \.pkgx files running in HMI to wpj files, which can be opened and edited by
Kinco DTools. For new project, system allows decompilation by default, and the default password is“888888”.
Setting of decompilation: Select“Allow Decompile”in 【HMI Attribute】—【HMI Extended Attributes】, and set password.
For projects that decompilation passwords have been set, when clicking decompilation, password entry box will pop up as
⚫ Prohibit decompilation
Prohibit decompiling: Prohibit decompiling project from HMI. Do not check the option of【Allow Upload】in【HMI
Attribute】—【HMI Extended Attributes】 page, to prohibit user decompiling .pkg \.pkgx file to wpj.
407
Kinco DTools Configuration Edit Software
The pkg \.pkgx files that are set to prohibit decompiling can still be downloaded into HMI.
When prohibiting decompilation is set, prompt box will pop up if forcibly decompile:
Set download password to HMI, to prevent user project saved in HMI being covered by unauthorized operation.
Projects do not use password by default. Settings of no use of password: Do not select the option of【Use Download
Password】in【HMI Attribute】—【HMI Extended Attributes】 page to do not use password. If download password is not set,
the dialog box of download password will not pop up the next time when you download project into HMI. Users can
⚫ Use password
Use password: Select the option of【Use Download Password】in【HMI Attribute】—【HMI Extended Attributes】 page and
When project running in HMI is set to use download password, then【Download Password Dialog】box will pop up next time
408
Advanced Part Recipe/RecipeEditor
Only enter password correctly then project can be downloaded into HMI.
1. When set or modify download password in HMI attributes, users have to download project into
!
HMI for the first time and restart HMI, then download password will take effect.
2. After the password is set, please keep it in mind, otherwise, configuration project download will
fail. Manufacture does not provide factory recovery and universal password service.
function.
Set the number of security levels and corresponding passwords in【HMI Attribute】—【Security Levels Setting】, and system
409
Kinco DTools Configuration Edit Software
!
1. Support at most 16 security levels from 0 to 15. Level 0 indicates that there is no password;
Level 15 is the highest security level. The bigger the number is the higher the level.
2. The password cannot be zero or empty; when passwords begin with 0, 0 is invalid.
4. Security level is valid only for base window and not available for other windows.
5. Users with high security level can access low security level windows; While users with low
410
Advanced Part Recipe/RecipeEditor
!
Software will remember the password input for the first time by default, as long as HMI is powered
continuously, do not need to enter the password again when enter into the window next time.
If the option of 【Switching to the lowest security level when window closed】is checked, then the
password need to be entered again when accessing the window next time.
Address Description
【Frame9:Login Window】is provided by the system for security level password input.
411
Kinco DTools Configuration Edit Software
[Frame9:Login Window] is for inputting passwords of security levels and user permissions. User using security level
2. User could move the window by the control bar on the top of 【Frame9:Login Window】
LW10024~10025 Level 1 password. Double word LW10026~10027 Level 2 password. Double word
LW10118~10119 Level 3 password. Double word LW10120~10121 Level 4 password. Double word
LW10122~10123 Level 5 password. Double word LW10124~10125 Level 6 password. Double word
LW10126~10127 Level 7 password. Double word LW10128~10129 Level 8 password. Double word
LW10130~10131 Level 9 password. Double word LW10132~10133 Level 10 password. Double word
LW10134~10135 Level 11 password. Double word LW10136~10137 Level 12 password. Double word
LW10138~10139 Level 13 password. Double word LW10140~10141 Level 14 password. Double word
412
Advanced Part Recipe/RecipeEditor
The following example describes how to protect the window by the security level function.
【Example】Switch the window from window 0 to window 10 by switch window function of “Function Key” component,
the window will switch only when the password is entered correctly.
In this example, set security level of window 0 to 0, set security level of window 10 to 1 and the password is 123456.
Create a Function Key component in window 0, and the attributes setting is as follows:
Function Switch Window: Chang window【10:Frame10】
Tag Use Tag; State 0: Switching window 10; State 1: Switching window 10.
Set the attributes of window 10 and create a Function Key component to switch to window 0.
Double click at the blank area of window 10 to open the 【Window Attribute】, and set its attributes as follows:
Security Level 1
※ When the option is checked, the current window will be set to the lowest security level when window closed. Password
is required to input again when access high level windows;
When the option is not checked, there is no need to input password when access windows with the same security level.
413
Kinco DTools Configuration Edit Software
Max:AAAAAAA
Max:AAAAAAAAAAAA
Min:AAAAAAAAAAAA
切换窗口10
Min:AAAAAAA
**
**
1
4
2
5
3
6
CLR
ß
Window10
_
7 8 9
0 . ENTER 1 2 3 CLR
1
4 5 6 ß
7 83 9 _
0 . ENTER
There are two ways for component protection: security level protection, user permission protection.
Settings of Security level protection for components are similar with window protection.
☞For more details about components using [Security level protection],please refer to [Advanced Part 10.2.6 Application
of passwords required for switching windows]
When【Permission control】is set to a component,then only users with corresponding permission can operate this component.
Open【HMI Attribute】—【User Permissions Setting】,in the box of 【User Permissions Setting】,select 【Enabled】
414
Advanced Part Recipe/RecipeEditor
Must If selected, set the password must contain numbers; if there is no number set, click
Contain confirmation, the software will have the corresponding prompt box: "password must
Numbers contain numbers".
415
Kinco DTools Configuration Edit Software
Set the minimum number of passwords; if the number of passwords is less than 3, click
the confirmation button, and the software will have a corresponding prompt box.
Minimum
Number
If selected, the password for online modification can't be repeated with the last
password; if repeated, LB9197 automatically sets up ON. If you need a warning box,
customers can do it, and you can refer to the following figure:
Password
cannot be
repeated
with the last
Set the number of days that cannot be modified by the current password of the user,
dynamically modify the shortest valid period register corresponding to LW9515, if the
shortest valid time modification, LB9192 automatically ON. If the shortest validity
period is set to 1, it means that the password cannot be modified within 1 days, such as
changing the password in the first day, LB9192 will automatically set up the ON,
indicating that the time of modifying the password is too short; If you need a warning
The Shorted
box, customers can do it, and you can refer to the following figure:
Period
Password Use
Validity Period
Setting
Setting the number of days to modify the user password is limited, only the prompt is
not necessary to modify, dynamically modify the longest valid period register
corresponding to LW9516, if the longest valid time modification, LB9193 will
The Longest
automatically set the ON. If the longest period of validity is set to 10, indicating that if
Period
more than 10 days have not been modified, when the user is logged in, LB9193 will
automatically set up ON, indicating that the password has not been modified for too
long; If you need a warning box, customers can do it, and you can refer to the following
416
Advanced Part Recipe/RecipeEditor
figure:
The number of input password errors is set, and the account is locked after the number
of settings is set. If the account lock threshold is set to 3, if the password is entered 3
times, the account will be locked.
Account
Lock
Threshold
Lock Setting
Once locked, the login time can only be logged in again. If the lock time is set for 1
Locking time minutes, after the account is locked, it will take 1 minutes to keep landing. In these 1
minutes, the account is always locked and the password is invalid.
Note: lock function, outage is not saved
!
1. When password is set to 0, indicating no password in use.
2. Range of logout time is 0~2147483647 minutes. 0 indicates that do not log off and permission remains in
effect. The logoff time is timed from the last time operation finished after login.
3.Password settings, Password Use Validity Period Setting, lock settings, all users share a global setup;
Besides set user permission in【HMI Attributes】—【User Permissions Setting】,the following system reserved registers can
417
Kinco DTools Configuration Edit Software
LB9165 User login confirmation Set ON to execute login operation, then set OFF automatically
10.3.4 System Reserved Registers Related to Add/Delete Users and User Permissions Online
Besides add/delete users and user permissions in 【HMI Attributes】—【User Permissions Setting】,user also can add/delete
users and user permissions online. See the table below for system reserved registers related to add/delete users and user
permissions online:
permission
adding/deleting user
LB9167 Confirm to add user Set ON to execute adding user, then set OFF automatically
LB9168 Confirm to delete user Set ON to execute deleting user, then set OFF automatically
LB9190 Executive mark of user The bit will be set to ON when execute operations of Add/Delete
management users
LB9191 Operation failure of user The bit will be set to ON when operation of user management fails
management
!
1. Only users and user permissions added online can be deleted online.
2. User permissions do not support modify passwords online, but user could modify password through
418
Advanced Part Recipe/RecipeEditor
If user permission function is use, users only need to input corresponding “USER NAME” and “ACCESS
2. User could move【Frame9:Login Window】by the control bar on the top of the window.
In the example, security level is used to protect component, and set minimum level at least 2 to operate this component.
Create a bit state switch component in window 0, and set its attributes as follows: address LB0. Switch Type: Toggle.
【Control Setting】—【Conditional Enabling】—【Security Level】—【Minimum level: 2】—【Auto show login window】.
419
Kinco DTools Configuration Edit Software
Graphics
State0 State1
then input level 2 password“222222” or level 3 password “333333” in the password level box. After confirm, user
could operate the bit state switch component; If input level 1 password or wrong password, then the operation will fail.
Max:AAAAAAA
Min:AAAAAAA
Max:AAAAAAAAAAAA
Min:AAAAAAAAAAAA
**
**
1 2 3 CLR
4 5 6 ß
_
7 8 9
1 2 3 CLR
0 . ENTER
1
4 5 6 ß
7 83 9 _
0 . ENTER
【Example】Set 3 users: Administrator,Engineer,Operator. The 3 users have different permissions. Operator can
operate number input component; Engineer can operate bit state switch component; Administrator can operate both the
Registered user and corresponding permission in【HMI Attribute】—【User Permission Setting】, the settings are as
follows:
Password 111111
Logoff Time 10
420
Advanced Part Recipe/RecipeEditor
Password 222222
Logoff Time 10
Password 333333
Logoff Time 1
Create a number input component and a bit state switch component, and the attribute setting is as follows:
Graphics State0
“Operator” to the 【USER NAME】box and“111111”to the【ACCESS PASSWORD】box. Then click 【login 】 to login
Operator permission. Now user can operate the number input component. Operations for other components are similar.
Engineer
####
Engineer/Administrator permission
Operator /Administrator
1
Operator /Administrator permission
Operator 2
ESC 1 2 3 4 5 6 7 8 9 0 BACK
Clear q w e r t y u i o p
Caps a s d f g h j k l ENT
= | ? z x c vv b n m ; { }
+ _ > < 3 CH
Page
Up
Page
Down
1. Logoff time: it is the valid time after login,user permission will be lapsed automatically after the time
limit.
(1)Window 0
1 3 2
Function key component is used to pop up window 10, and attribute settings are as follows:
Function Switch window: popup window
Function key component is used to pop up window 11, and attribute settings are as follows:
422
Advanced Part Recipe/RecipeEditor
User info display component is used to display user’s information, and attribute settings are as follows:
Separator Setting Color: Black; Style: ------
Background Setting Background Color: White; Title Bar Background Color: Green; Border Color: Black
Border Width 2
(2)Window 10
2 1
Function key component is used to close keyboard, and attribute settings are as follows:
Function Keyboard Function: Escape
Function key component is used to move keyboard, and attribute settings are as follows:
Function Switch Window: Popup window title bar
423
Kinco DTools Configuration Edit Software
Text input component is used to input user name, and attribute settings are as follows:
Read/Write address LW9486
Word Length 10
Graphics None
Number input component is used to input password, and attribute settings are as follows:
Read/Write address LW9502
Graphics None
Number input component is used to confirm password, and attribute settings are as follows:
Read/Write address LW9510
Graphics None
Number input component is used to set logout time, and attribute settings are as follows:
Read/Write address LW9508
Graphics None
Bit state switch component is used to select user permissions, and attribute settings are as follows:
Write address LW.B9506.0 LW.B9506.1 LW.B9506.2 LW.B9506.3
Tag None
Graphics
State0 State1
Bit state setting component is used to confirm to add users, and attribute settings are as follows:
Write address LB9167
Switch Type On
Graphics
State0 State1
(3)Window 11
424
Advanced Part Recipe/RecipeEditor
2 1
Function key component is used to close keyboard, and attribute settings are as follows:
Function Keyboard Function: Escape
Function key component is used to move keyboard, and attribute settings are as follows:
Function Switch Window:Popup window title bar
Text input component is used to input user name, and attribute settings are as follows:
Read/Write address LW9486
Numeric Data 10
Graphics None
Number input component is used to input password, and attribute settings are as follows:
Read/Write address LW9502
Graphics None
Number input component is used to confirm password, and attribute settings are as follows:
Read/Write address LW9510
Graphics None
Bit state setting component is used to confirm to delete users, and attribute settings are as follows:
Write address LB9168
Switch Type On
425
Kinco DTools Configuration Edit Software
Graphics
State0 State1
Delete user permission is only valid for the users added in HMI. Users set in the configuration project
cannot be deleted
➢ Touch the 【Add User】button, add user dialog box will pop up.
Input the user’s name to be added and the corresponding password, confirm it, then click “Add” to complete the
operation.
➢ Touch the【Delete User】button, delete user dialog box will pop up.
426
Advanced Part Recipe/RecipeEditor
Input the user’s name to be deleted and the corresponding password, confirm it, and then click “Delete” to complete the
operation.
【Example】Delete user by administrator permission. There are two users in the project as follows:
User 1 User 2
User Name A B
Password 111 222
1.Add/delete permission
Permission 1.Add/delete permission
2.Administrator permission
427
Kinco DTools Configuration Edit Software
2) User B(No Administrator Permission)execute delete operation without password, it prompts “Password Error”, and
delete operation is fails.
3)When User A(Check Administrator Permission) execute delete operation without password, it prompts “Operation
Complete”, and delete operation is complete.
428
11 Recipe/ RecipeEditor
Recipe data is saved on the HMI and can be stored inside the area power down. Recipe data can be stored in the RW and
FRW register. For with USB HOST interface or SD card slot on the HMI, the recipe data can also be stored in the ERW
register.
RW RW is specially designed for HMI recipe memory physical storage area that is defined by the address
type. When the HMI is powered down, RW in 4000 series remains . RW in 5000 series depends on
backup battery . If it is data retention after power failure, but back-up battery power is low, or when no
FRW FRW is dedicated to the physical storage area HMI FLASH address type definition. The data stored in
FLASH FRW, not because of HMI powered off or HMI backup battery power and loss of data. But
ERW0 ~ 2 is dedicated to the physical storage area defined in the external memory address type. The
ERW0~2
data stored in the ERW, not because of HMI powered off or HMI backup battery is dead and losing data
RW, FRW, ERW using methods similar, the following content mainly RW, for example, no longer on the FRW and ERW
additionally described.
RB The absolute addresses of the recipe bit addresses saved in the HMI.
RBI The index addresses of the recipe bit addresses saved in the HMI.
FRB The absolute addresses of the recipe bit addresses saved in the flash.
FRBI The index addresses of the recipe bit addresses saved in the flash.
RW The absolute addresses of the recipe word addresses saved in the HMI.
RWI The index addresses of the recipe word addresses saved in the HMI.
FRW The absolute addresses of the recipe word addresses saved in the flash.
FRWI The index addresses of the recipe word addresses saved in the flash.
ERW0~2 The absolute addresses of the recipe word addresses saved in the external memory.
ERWI0~2 The index addresses of the recipe word addresses saved in the external memory.
Data Transmission
Transfer the data in recipe data to the data in PLC or HMI.
Timer
429
Kinco DTools Configuration Edit Software
Recipe Data
Control (Extend)
The capacity (RW size) is different from different types of HMI. Through the following ways user can check the RW size.
Move the mouse to the GH070E icon in HMI in Graph element window, the system will automatically display the relevant
information of this HMI. The [Recipe Size] is the RW size. The recipe size of GH070E is 256k words that are 512 K Bits.
⚫ Check the recipe file attribute after uploading the recipe by KDManager
430
Advanced Part Recipe/RecipeEditor
Click [Upload Recipe] in [KDManager], and input [File Name], then click [Save].
Recipe is uploading until the “Upload Success” dialog box pop up.
Check the size of recipe file uploaded.
11.2.2 Calculation for Recipe Address Range
There are two following ways for calculating HMI recipe address range.
[Example]: Take GH070E for example, the recipe size is 256K words, that 256Kword= 512K Byte, and 1k byte is occupied
by the system. The calculation is (512-1)×1024 Byte=523264 Byte. Because Kinco DTools are addressed in words, so bytes
divided by 2 becomes the word address, and then the last three digits become 0,finally get 261000 words.
[Examples] For example create a new model for the GH070E HMI configuration, in the Configuration Editor to create a new
screen number input component, set the address type is RW, the user can view the GH070E in the [address range], RW
431
Kinco DTools Configuration Edit Software
The recipe memory has an address corresponding recipe absolute addressing (It is assumed that the initial value of
RW0 0
RW1 1
RW2 2
RW3 3
... ...
RWn n
Because absolute address too much, find it very difficult, so the index provides a virtual address of a temporary storage area
RWI0, ..., RWIn and an index register LW9000 (occupies 2 words) by changing t LW9000 to find RW.
Default Value
Absolute Address
( Decimal)
RW0 0 LW9000(Dword)=n,
RWI0 point to RWn
RW1 1
RW2 2
RW3 3
RWn n RWI0 n
432
Advanced Part Recipe/RecipeEditor
[Example] If the value of LW9000 is equal to 105, then the RWI0 will point to the data in address RW105.
Default Value
Absolute Address
(Decimal)
RW100 1111 LW9000(Dword)=105,
RWI0 Point to RW105
RW101 2222
RW102 3333
RW103 4444
For example: We take the address 4x of Modbus RTU protocol for example, save the value of 4X1~4X5 to 0 recipe file and 1
recipe file. The address range of 0 recipe file is RW0~RW4, The address range of 1 recipe file is RW5~RW9.
4X1 0 4X1 5
4X2 1 4X2 6
4X3 2 4X3 7
4X4 3 4X4 8
4X5 4 4X5 9
LW9000(Dword)=0, LW9000(Dword)=5,
RWI0 Point toRW0,point to recipe0 RWI0 Point toRW5,point to recipe1
Recipe0 Recipe1
Recipe Absolute Recipe Absolute
Value(Decimal) Value(Decimal)
Address Address
RW0 0 RW5 5
RW1 1 RW6 6
RW2 2 RW7 7
RW3 3 RW8 8
RW4 4 RW9 9
433
Kinco DTools Configuration Edit Software
2 Recipe0
#### #### ####
#### #### ####
Execute #### #### ####
3 Recipe #### #### ####
4 5 6
Function Control Mode: add, State Num.: 2, State No. 0 map value 0, State No. 1
map value 1
Recipe Data component transferring the value of PLC to RW, its attribute is:
Write Address 4X 1 (PLC register)
Function Recipe Data: Upload from PLC to Recipe, Data Length: 5 words
Number Input component inputting the value of the PLC register, its attribute is:
Read/ Write address 4X 1 4X 2 4X 3 4X 4 4X 5
Number Display component displaying the value of RW0~4, its attribute is:
Read/ Write address RW0 RW1 RW2 RW3 RW4
Number Display component displaying the value of RW5~9, its attribute is:
Read/ Write address RW5 RW6 RW7 RW8 RW9
Run and input 0~4 in the PLC address 4X1~4X5, then press [Execute Recipe] button, the value of RW0~RW4 will display
0~4.
434
Advanced Part Recipe/RecipeEditor
4 4 0
Execute
3 3 0
Recipe
4 4 0
Press [recipe 0] button and switch to [recipe 1], and modify the value of PLC address 4X1~4X5 to 5~9, then press [Execute
11.4 RecipeEditor
RecipeEditor is a tool in Kinco DTools, and it is mainly used for the user to create, check, or edit the recipe file in *.rcp,
The data file in *.rcp, *.erp and *.frp format can save as *.csv file, and can open, check, edit or print by
Excel.
HMI own the recipe memory corresponding recipe file format, using KDManager tool can upload and
rcp download files to the format of the recipe (which, file size depends on the HMI recipe memory size) It is
It usually means the file format is based on the configuration settings and automatically saved to an
external storage device or through the recipe editor to save. This particular binary file format, you can
csv
use Microsoft Excel software to open and can be to edit, save and print, and other related operations, but
cannot be freely modified template format, otherwise the recipe editor and HMI cannot be resolved
erp The file format only supported that the HMI with external memory, can be saved in USB DISK, SD card
The recipe file format corresponding to the FLASH address, HMI will be only generated while used,
supports a maximum address is 2G Bits, 2 × 1024 × 1024 × 1024/16 Words = 134217728 Words,
frp
when configuration, placed a number input element, the address type selection FRW, will see the range is
0-134217727. The number of FLASH recipe address using as the same as the HMI is open, when not in
435
Kinco DTools Configuration Edit Software
use will be released. Usually used to save the more important and not always erase the data, because the
HMI powered off or battery power is not lost, but erasing times is limited. using KDManager tool can
upload and download the recipe file format (upload FRW, download FRW)
⚫ Double-click [RecipeEditor.exe] in the [RecipeEditor] file document in Kinco DTools installation directory.
436
Advanced Part Recipe/RecipeEditor
File Merge File Merge HMI Merge some recipe files to a recipe file
There are [Read Address Setting], [Data format Operation], [The detail of current data format] and [Data format Operation
Name Descriptions
The Start Address The start address of the reads data segment
Dataformat Operation Add Dataformat Click【Add Data format】to add the data format
Delete cur Dataformat Click【Delete cur Data format】to delete the current data format
The detail of current Select an entry, double click, pop [Data Type Editor] dialog;
-
dataformat blank right-click menu, you can add, modify, delete data type
Auto use dataformat After modify the data format, automatically read the current file
Dataformat Operation Usage
Use Dataformat With the same effect [Refresh Data]
Data editing area according to [data configuration area] set the start address, the number of data and data types to display the
corresponding register address, and the user can view and modify data area data corresponding to these addresses.
Move the mouse to the control bar when the mouse is displayed as , pulling the control bar or click the left mouse button,
you can hide [Data Configuration area]. At this moment move the mouse to place the control bar when the mouse is
displayed as , pulling the control bar or click the left mouse button, you can restore the display [Data Configuration area].
➢ 【Data editing area】to view, modify, and bit browser
Directly input data in the data field [Desc1] (eg.RW1-RW9 are input 1-9), select the data bar required to bit browser, the data
bar turns blue, right-click or click on the toolbar, can pop [bit browse] properties box.
437
Kinco DTools Configuration Edit Software
[Examples] For example RW9 value is 9, bit browser form RW9: 03,00 bit address can be seen in red: ON, decimal 9 to
(1)Add a new recipe file: If you use the RecipeEditor in the first time, you can click icon in the toolbar and then can
(2)Add Dataformat: Click [Add Dataformat] and input the new format name: e.g., “Mydata”, then click [OK] button.
2
A
3
438
Advanced Part Recipe/RecipeEditor
In 【The detail of current dataformats】, if each ID entry is a single data, data area address only corresponds to
one column, if each ID entry is array data, and the array length is N, then the address of the data area
corresponding N columns. If the [read address set area] is M, then the address of the data area corresponding
to M lines. The entire data area of the format is M rows × (N0 + ... + Nx) columns, where Nx represents the
x-th ID entry length of the array, if a single data, Nx = 1, if the array data, and the length of the array number
N, the Nx = N
➢ Single data
Value of RW0~RW9
439
Kinco DTools Configuration Edit Software
➢ Array data
Value of RW0,2,4,6,8,10,12,14,16,18
Value of RW1,3,5,7,9,11,13,15,17
440
Advanced Part Recipe/RecipeEditor
(5)Save: Click icon, and save the current data to recipe file.
After the completion of number modify, it would be click [save], otherwise the previous data will be lost
(7)File Merge
HMI can only download a recipe file every time. If you download the second recipe file will overwrite the first file. If you
need to use a different recipe file, you can merge all recipe files to one file, then download the file to HMI.
⚫ 20~29 Create a 2.rcp file, the start address: 20, and input 2~29.
441
Kinco DTools Configuration Edit Software
c
d
e
g
h
a:Select merged file type: The merged file will download to 128k words HMI or 256k words HMI.
The files size of merge depends on the file type after the merger, if it is 4000 series, then the size is 256KB, if it is 5000
series, then the size is 512KB. Note: The recipe size of MT4522T is 512KB, this time the file types after merger to choose
5000 Series.
442
Advanced Part Recipe/RecipeEditor
d:The address of the file begins to read: the starting address of recipe file.
[Example]: The starting address of 1.rcp file is 0, so [The Param of the first file] –[The Address in Merged file] is 0 words.
The starting address of 2.rcp file is 20, so [The Param of the second file] –[The Address in Merged file]: 20 words.
[Example]: the data type of 1.rcp and 2.rcp are single data, so the [The Param of the first file]/ [The Param of the second
f:The Address of the file begins to read: The Address of the file begins to merge.
[Example]: The Starting address of the 1.rcp file is 0, so [The Param of the first file]-[ The Address of the file begins to read]
The Starting address of the 2.rcp file is 20, so [The Param of the second file]-[ The Address of the file begins to read] is 20
So [The Param of the first file]-[ The Address in merged file] is 0 words, [The Param of the second file]-[ The Address
443
Kinco DTools Configuration Edit Software
The Address merged file in the Param of the second file must be greater than the sum of the Address
merged file and the Address of the file begins to read in the Param of the first file.
g:The path for merged file: Set the name and path for the merged recipe file.
Open the 12.rcp merged file in RecipeEditor, and the data will display in [RecipeEditor] as below:
444
Advanced Part Recipe/RecipeEditor
445
12 KHMonitor
12.1 Descriptions of KHMonitor
KHMonitor is used to monitor the data in HMI and PLC registers through HMI.
446
Advanced Part KHManager
⚫ Monitor Window
⚫ Monitor Window is used to display information such as Name, Value, Status, HMI/PLC, Address, Address type,
Double click the monitor item in Monitor Window to change its setting.
2) Enter monitor name: Enter monitor name in the popup window when creating new monitor. Default name is New
3) Set Communication Type: Set the current connection type between HMI and PC.
Serial Select
Selectcurrent
currentPC
PCCOM
COMport.
port.
Descriptions of【PLC】
Drop down menu for PLC Select the corresponding communication protocol between HMI and PLC.
HMI Device Port Select the HMI port which is used to communicate with PLC
Descriptions of【Address】
Batch Count Set the number of addresses which will be copied, its range is 1~1000
Forward Address Auto Change Increment/decrement for the address of the register
Batch
After Address Auto Change Increment/decrement for the address of the register in accordance with
Note: Batch is only valid in the first time to add monitor items.
6) Address Type: to select the data type of the address, including bit, number and string. It will display the data according
7) Run/Stop monitor
【Run】:Select monitor item and click icon in toolbar to run it. Press ctrl/shift icon to select more items. The data will
448
Advanced Part KHManager
【Stop】:Select monitor item and click icon in toolbar to stop it. Press ctrl/shift to select more items.
449
13 Print
Kinco DTools support 2 type of printing method:
⚫ Local print: Printing via serial or USB interface, HMI is connected directly to the printer to print the HMI screen.
USB/Serial cable
⚫ Network print (remote print): Through network printer to print HMI screen.
Network printing needs hardware configuration: HMI with Ethernet port and connect to the LAN, the LAN with a PC,
printer, and the printer is no direct link between the HMI, and HMI does not need any drivers.
Enthernet
Cable
WH-E191RB0- WH-E191RB0-00E11820
Serial Thermal micro-printing 576 pixels / line
00E1182055 55
http://www.
MY-POS80K MY-POS80K Serial Thermal POS 240 pixels / line
mypos.cn
450
Advanced Part Printer
HP LaserJet
HP LaserJet P1108 USB host laser A4
P1108
Event Information Logon Word / Bit Print the contents of trigger event
☞ For more details about the print-related elements settings, please refer to [Advanced Part 4 Compent]
⚫ Report Printout
You control the specified window screen printout by changing the value of the specified word registers. When the value of
the specified register word changed, and is a valid window number, the window number corresponding window contents will
be printed. Printing is completed; the value of the specified register address automatically changes to 0.
Example:Set as shown below, when the value of LW0 is equal to 10, print the contents of the window 10. Printing is
completed,the value of LW0 automatically change to 0. When the value of LW0 is equal to 11, print the contents of the
window 11. [Report] function using output only execute print function does not perform the function of switching window,
will not switch to the print window. Using the [Report Printout] function performs only print function and will not switch to
⚫ Event Print
451
Kinco DTools Configuration Edit Software
In the [Event Information Logon], set the print log events, when the set condition is triggered, it will print out the event
contents.
Example: Set as shown below, selecting [On Trigger] and [Return to Normal]: when LB0 is ON, print "temperature is too
If you need to print the time, check the contents in [HMI Attribute] - [Print Settings] - [Print Settings of Event Display].
☞ For more details about Print Settings of Event Display, please refer to [Advanced part 6.1.8 Print Setting]
452
Advanced Part Printer
!
[Print] - check the [Print Relative Time], if no printer is connected, HMI will be prompted to an error
☞ For more details about [Trend Print], please refer to [Advanced Part 4.6.1 Trend Curve]
13.3 Print Function Setting Method
13.3.1 Local Print: HMI serial is connected directly to the Printer
[Example 1] GH070E connect to WH-A93RG0-00E825 printer, print the current screen by function key. First create a new
project.
Enable Print and select Printer driver: [HMI Attribute]-[Print Setting]-[Enable Print]
[Baud rate / data bits / parity / stop bits] recommend using the default settings, and printer parameters must be consistent.
In this case [baud] / [data bits] / [Parity] / [stop bits] are the default.
You place a function key on screen0, and select [Print] - select All [Print Text]. Compile and download to HMI.
453
Kinco DTools Configuration Edit Software
The COM0 wiring connection instructions about WH-A93RG0-00E825 printer and GH070E, please refer
to [Communication Manual]
Through press the function key to print current screen.
Because micro-printer are monochrome printers, when editing HMI configuration project, recommended
window fill color is white, the text color is black, try not to use the color pictures, so as to avoid the
13.3.2 Network Print (remote print): Through Network Printer to Print HMI Screen.
Print Current
Function Key —
Screen
454
Advanced Part Printer
Preparation before printing: a PC, an HMI with network interface, a printer can be directly connected to the PC
This example uses the HP USB printer which model is HP LaserJet P2014, HMI model is GH070E, and use the [PLC
Installed printer driver on the PC, then in the operating system [Control Panel] - [Printers and Faxes] to find the
appropriate printer, and through the right-click menu to set as the default printer
455
Kinco DTools Configuration Edit Software
Double click to run [NetPrint.exe], if the firewall prompts [you want to keep this process?], Select [Unblock].
When printing, [NetPrint.exe] need to keep running, [NetPrint.exe] during operation will be minimized to
the tray
In the [HMI Attribute] - [Print Settings], set the PC IP address and port which run [NetPrint.exe]:
456
Advanced Part Printer
!
1. The PC which connect to the printer and the PC which run the [NetPrint.exe] program can be the same,
2. The PC which connect the printer, the PC which run the [NetPrint.exe] program and HMI are connected
to the same LAN, IP address must be on the same subnet, IP address must be the same in front of three, the
[custom printing options]] and [network printing and check all the options] [print content.
And then you place a "Numeric Input" component on screen 0. [Read / Write Address] is set LW0. Save and compiled, then
downloaded to HMI.
457
Kinco DTools Configuration Edit Software
1. Use [network printing] function, you need to enable the print function in related components,while
local print only need to enable print function in [HMI attribute]-[Print setting]
2. Select the [Network Printing], printer color cannot be modified, the default is monochrome
Cable
The HMI through cross or direct network cable access network.
Property described as follows:
[alone]:Printers print in real time, immediately upon receiving the print job
Print Method [merge]: After receiving the print job is not printed immediately, but covered
with a total content of paper to print the print job again, this function is mainly
458
Advanced Part Printer
Checked, and choose the path, upon receiving the print job, you can save the
Save to local screen pictures on your PC instead of printing. Picture format. JPG, picture
Printer Setup
HMI IP address。If the HMI with the PC connected to the same LAN, NetPrint will automatically
IP address
detect
Change on the value of LW0, it will print the contents of the corresponding window
13.4 Print Page Application Skills
When the HMI window larger or smaller than the actual width of print paper, you can set the current window to 【Print
Page】, by changing the HMI window width and height to achieve print paper more or less than the actual width of the HMI
1. Select [Print page], the window maximum width and height can be set to 1024 x 1024 pixels / line.
2. Once the height of the window is set to exceed the actual height of the HMI window, if the HMI runs
the window, over the part will not show up. Recommended to use [Report printout], that only need to print
this window, no view on the HMI. If you want to view, you can do a normal screen identical to the user.
[Example] HMI model: GH070E, the width of window is 320 pixels / line.
If GH070E connect to WH-A62R10-41E725, the HMI is wider than the width of the paper, so the window to the right of
[Port]:COM0
[Baud Rate]/ [Data Bit]/ [Parity Check]/ [Stop Bit] are default.
459
Kinco DTools Configuration Edit Software
Double-click screen0,[Window Attribute]-choose [special attribute]-[print page], and set the width is 192, height is 1024.
Set control type: [Report printout]
☞ For more detail about [Report printout], please refer to [Advanced part 4.15.5 PLC Control]
Cable
For more details about the printer connection cable, refer to [communication connection Manual]
When this error occurs, please check the printer power, cable, printer port, etc. are normal.
☞ For more details about shielding print error messages and modify the print error information content, please refer to
[Advanced part 6.1.4 HMI System Information Text]
460
14 HMI Communication
This chapter introduces the HMI supports communication and various communication configurations.
communication, which is characterized by a communication line as simple as a pair of transmission line can be two-way
communication, thereby reducing costs, especially for long-distance communication, the communication distance can be
HMI supports RS-232C, RS-485, and RS-422A three kinds of serial communication connection.
HMI via RS-232C serial cable to connect the PC side serial interface for user projects, recipes and other data upload /
HMI
PC
COM2
COM port
RS-232C Cable
☞For more details about uploading and downloading via the serial port on the HMI, please refer to [Advanced Part 8
KDManager]
Single HMI via the serial port with single PLC communication, but also support multiple serial communication protocol to
use the same or a different serial communication protocols PLC / controller communication.
In the same COM port, can connect multiple serial communication protocol and uses the same multi-point communication
PLC / controller can connect up to 255 devices. The serial communication protocols using different PLC / controller needs
were connected to the HMI different COM port, and can simultaneously and use three different serial communication
protocols PLC / controller communications, depending on the hardware configuration of the actual HMI decision.
!
COM0 and COM1 port supports RS485 interface mode, respectively simultaneously with multiple serial
communication protocol to use the same PLC / controller communication; The RS232 interface COM2
port supports only way, it does not support multiple PLC / controller communication
461
Kinco DTools Configuration Edit Software
Controller
HMI
COM0/COM1/COM2
RS-232C/RS-485/RS-422A
Cable
[Example] Below a GH070E with a SIEMENS S7-200 communication, for example, requires the HMI monitor PLC M0.0
output state. (This example uses the HMI COM0 port to connect PLC communication)
Configure the device in the topology window and set the communication parameters
Configuring HMI COM0 client communications parameters: [HMI Attribute]-[COM0 Setting] set the serial communication
parameters
! HMI serial communication parameters with the actual PLC communication port parameters consistent
Configure the PLC station number: [PLC Attribute] – [station NO.] setting 2
462
Advanced Part HMI Communication
! [PLC Attribute] – [station NO.] consistent with the actual PLC station number
window] - [PLC Parts], select "Bit State Lamp" component added to the Configuration Editor window, and set the
Using RS-485 communication cable for connecting the HMI and the PLC,After successful communication can be
➢ Single HMI with multiple PLC / controller (different communication protocols) communication
Protocol A Protocol B
Controller HMI Controller
RS-232C/RS- RS-232C/RS-
485/RS-422A Cable 485/RS-422A Cable
RS-232C Cable
Protocol C
Controller
463
Kinco DTools Configuration Edit Software
[Example] Below a GH070E with a SIEMENS S7-200 (hereinafter referred to as PLC 0), a MITSUBISHI FX2N
(hereinafter referred to as PLC 1), an OMRON CP1H (hereinafter referred to as PLC 2) communication, for example,
Requirements were monitored on the HMI PLC 0 of VW 100, PLC 1 of D100 data and PLC 2 in Q 0.0 outputs.
(This example uses the HMI COM0 port to connect PLC 0, COM1 connected PLC 1, COM2 communication connection
PLC 2)
Configure the device in the topology window and set the communication parameters
In the [HMI Attribute] - [COM0/COM1/COM2 Setting] According to the serial communications port of the connected PLC
actual parameters were set to HMI serial communication parameters, Parameters are set as follows:
In the PLC 0, PLC 1, and PLC 2 [PLC Attribute], in accordance with the actual [PLC station number] to each station number
setting:
PLC 0 2
PLC 1 0
PLC 2 0
Connected to the serial port on a different HMI PLC / controller can be set to the same or a different
station number, setting the station number to be connected with the actual PLC / controller station number
the same.
464
Advanced Part HMI Communication
Element window] - [PLC Parts] select two "Number Display" and a "Bit State Lamp" component added to the Configuration
PLC Number* 0
State0
Graph
Using vector graphics,
PLC Number* 1
Graph State0
PLC Number * 2
※A multi-machine HMI by changing the components Attribute required of the [PLC number] to distinguish PLC control
object.
Use the appropriate communication cable are connected HMI and PLC 0, PLC 1, PLC 2, after the success of
communication is established on the HMI monitor VW 100, D100 data as well as the state of Q 0.0
➢ Single HMI with multiple PLC / controller (the same communication protocol) communication
465
Kinco DTools Configuration Edit Software
Protocol A Protocol B
HMI
Controller 0 …… Controller n Controller 0 …… Controller n
Protocol C
Controller
[Example] Below a GH070E with three MODBUS device (hereinafter referred to as PLC 0, PLC 1, PLC 2), a MITSUBISHI
FX2N (hereinafter referred to as PLC 3), an OMRON CP1H (hereinafter referred to as PLC 4) communication is cases,
Requirements were monitored on the HMI PLC 0, PLC 1, PLC 2 of 4X 100, PLC 3 of D100 data and PLC 4 of Q 0.0
outputs.
(This example uses the HMI COM0 port to connect PLC 0, PLC 1, PLC 2, COM1 connected PLC 3, COM2
Configure the device in the topology window and set the communication parameters
In the [HMI Attribute] - [Serial 0/1/2 setup] According to the serial communications port of the connected PLC actual
parameters were set to HMI serial communication parameters, the parameters are set as follows:
466
Advanced Part HMI Communication
In the PLC 0, PLC 1, PLC 2 [PLC Attribute] , in accordance with the actual [PLC station number] to each station number
setting :
PLC 0 1
PLC 1 2
PLC 2 3
PLC 3 0
PLC 4 0
Connected to a serial port on the HMI with PLC / controller must be set to a different station number and
station number set to be connected with the actual PLC / controller station number consistent
Element window] - [PLC Parts] selected four "Number Display" and a "bit status indicator" component added to the
PLC Number* 0 1 2
Graph State0
PLC Number* 4
Graph State0
Bit Lamp
PLC Number* 5
※A multi-machine screen by changing the components required Attribute of the [number] to distinguish PLC control object.
467
Kinco DTools Configuration Edit Software
Use the appropriate communication cable are connected HMI and PLC 0, PLC 1, PLC 2, PLC 3, PLC 4, after the
success of communication is established on the HMI monitor VW 100, D100 data and Q 0.0 state.
(1)Kinco DTools allowed through "Exchange serial 0 and serial 1 " option will COM0 and COM1 serial port
communication parameters and settings in these two serial ports to connect devices on the exchange.
☞ For details about serial to exchange, refer to [Advanced Part 2.9 Exchange Serial]
(2)Users in making redundant communication, it can provide a system through Kinco DTools special register to mask the
☞ For details about the Station No. Shield, refer to [Advanced Part 15 Register]
(3)When the HMI and PLC / controller serial communication failure occurs, the system will automatically prompt the
corresponding fault error message. Fault error message contains information about the PLC station number in hexadecimal
data display.
Meanwhile, the user can customize the system to provide fault error message content or special registers through the system
☞ For details about the System Information screen, refer to [Advanced Part 15 Register]
☞ For details about the system customization, refer to [Advanced Part 6.1.4 HMI System Information Text]
14.2 Network Port Communication
Ethernet has a high transmission speed, low power, easy to install and good compatibility and other advantages, it is widely
One is through the ends of the Straight through Cable RJ45 connector or Crossover Cable, via a hub or switch
communications;
Another is through the RJ45 connectors at both ends of the Crossover Cable, not through a hub or switch communications,
HMI via RJ45 connectors at both ends of the Crossover Cable and PC-side network interface connector for user projects,
recipes and other data upload / download and HMI firmware update.
468
Advanced Part HMI Communication
HMI
PC
LAN port
LAN port
Crossover Cable
☞ For more details about HMI via Ethernet port on uploading and downloading, refer to [Advanced part 7 Compile /
Simulate / Download / Upload]
HMI and HMI port communication network are the following two ways:
Single HMI and single HMI via a network port communication, through both ends of the cross UTP RJ45 connector is
HMI 0 HMI 1
Crossover Cable
Multiple HMI via the network port communication, need to communicate through the Hub or Switch connection.
HMI 1
HMI 0
Enthernet Enthernet
Cable Cable
…
Hub/Switch
HMI n
[Example] Below two GH070E communication, for example, requires HMI0 screen control HMI1 of LB100 status output to
ON.
Configure the device in the topology window and set the communication parameters
In the [HMI Attribute] - [HMI] - [Network Configuration Settings], click [Add] Configuring the HMI network port
469
Kinco DTools Configuration Edit Software
communication parameters:
Once configured, the topology diagram and bus configurations are listed below:
- [PLC Parts], select “ Bit State Setting” added to the Configuration Editor window, the component property is set to:
HMI* 1
※In Multi-screen network, elements required by changing the properties of the [number] to distinguish between the touch
screen control object.
Use a crossover cable to connect HMI0 and HMI1, after the communication is established successfully, you can touch
on the HMI0 Bit State Setting Part, Can be HMI1 LB100 state turns ON.
HMI and PLC communications network ports are the following ways:
Single HMI and single PLC communication via Ethernet port,through the ends of the cross UTP RJ45 connector is
470
Advanced Part HMI Communication
HMI Controller
Crossover Cable
Single HMI and multiple PLC communication via Ethernet port, need to communicate through the Hub or Switch
connection.
Controller 0
HMI
Enthernet Enthernet
Cable Cable
…
Hub/Switch
Controller n
⚫ Multiple HMI and multiple PLC communication via Ethernet port need to communicate through the Hub or Switch
connection.
Controller 0
HMI 0
…
Enthernet Enthernet
Cable Cable
…
Hub/Switch
Controller n
HMI n
[Examples] Below two GH070E (hereinafter referred HMI0 and HMI1) and one MODBUS TCP device (hereinafter referred
to PLC0), and one OMRON CJ series PLC (hereinafter referred to PLC1) communications as an example. Require to
monitor the data of PLC0 4x100 in the HMI0, and to monitor the data of PLC1 D100 in HMI1.
Configure the device in the topology window and set the communication parameters
471
Kinco DTools Configuration Edit Software
parameters。
Setting HMI:
Modbus TCP
Modbus TCP
Setting PLC:The IP address set here with the actual IP address of the PLC consistent
After configuration, the topology diagram and field bus setting are listed below:
【PLC Parts】choose “Number Display” element add to Configuration Editor window,Element attribute is set to:
HMI* 1
472
Advanced Part HMI Communication
State0
Graphics
Using vector graphics,
Then opens the Configuration Editor window of HMI1,from【Graph element window】—【PLC Parts】choose “Number
Display” element add to Configuration Editor window, Element attribute is set to:
HMI* 0
Graphics State0
※Multi-screen network elements required by changing the properties of the [number] to distinguish between the touch
screen control object.
Using crossover or straight-through cable through the Hub or Switch are connected HMI0, HMI1, PLC0, PLC1, after
successful communication can be established to monitor the PLC0's 4x100 data in HMI0 and to monitor the PLC1 D100 data
in HMI1
Kinco DTools open the FTP functions,can transport files of external storage device to the PC via the LAN, or transport files
! FTP function is only available with USB HOST or SD card interface and an HMI with Ethernet port.
【Examples】Through the LAN to access GH070E U disk file, HMI's IP address is 192.168.100.241.
473
Kinco DTools Configuration Edit Software
In【HMI Attributes】—【HMI】configure the HMI network parameters. Set the IP address of the current HMI:
address bar, enter the IP address of the HMI: ftp://192.168.100.241, Enter the system will automatically pop-up dialog
[Login identity], Enter the user’s name: root, Password: 123456, you can log into the FTP server.
474
Advanced Part HMI Communication
Open usb1 folder, internal documents can browse. But also, can be copy their files to a PC or copy files from the PC to
the U disk.
475
Kinco DTools Configuration Edit Software
implement two-way, string-shaped, multi-node digital communication technology. Kinco DTools Supports field bus
Kinco DTools provided CANOpen Node Slave HMI communication protocol can be realized as a slave device with
[Examples] Take one GH070E-CAN screen and one CAN communications equipment for example.
In Kinco DTools topology window to configure the device and set the communication parameters
Double-click the HMI icon in the topology window,in【HMI Attribute】—【HMI】—【Field bus setting】,Click【Add】
Setting【Protocol】for"CANOpen Node Slave";The remaining parameter settings and the connected CAN device
After configuration, the topology diagram and bus configurations are listed below:
the project.
476
Advanced Part HMI Communication
For more information on the CAN device configuration, see [Communication connection
Communications configuration and communication cables are set up, after successfully established communication, HMI
can read and write operations on the CAN devices.
14.3.2 DP Communicate
The DP of PROFIBUS-DP is Decentralized Periphery,is a field bus. It has the characteristics of high-speed low-cost,Used
In Kinco DTools ,HMI software provided by the communication protocol Profibus Slave ,HMI as a slave device and
HMI as a slave device,HMI local address LW is mapped to PIW(D)/PQW(D),Written to or read from the PLC.
PIW(D) LW8500~8615
PQW(D) LW8000~8115
!
With PLC / controller communication via Profibus DP HMI must be extended with Fieldbus interfaces and
the DP model
[Examples] Below a GH070E-DP and a SIEMENS S7-300 communication, for example, requires the HMI monitor PLC
PQW256 data.
called GSD file,This file usually contains device-specific parameters: Such as baud rate, the input / output data length, IO
data definition. It is an ASCII text file format,Usually provided by the device manufacturer.
Kinco provided "kinco.gsd" File can find In Kinco DTools installation directory fieldbus folder or
“http://www.kinco.cn/Search.aspx?type=product&par1=1&par2=8&nodeid=45&lang=cn”
477
Kinco DTools Configuration Edit Software
GSD file installed,Right in the HW Config directory PROFIBUS DP / Additional Field Devices / MMI find the appropriate
configuration file:
blocks:
3 4
478
Advanced Part HMI Communication
2
After appears the main rail station system, Configure the master system
Add a slave:
2
3
Set Slave
Address
479
Kinco DTools Configuration Edit Software
!
DP master system and the slave device address number cannot be the same; In addition, slave device
Configuring the slave input and output resources:This example configure 16 Words Input,16 Words Output,PIW address
User_Prm_Data(0)为 1
When LW using double word, only with SIEMENS products through DP communication, only need to
User_Prm_Data (0) is set to 1; If communicate with a master device support other DP protocol,
In Kinco DTools topology window to configure the device and set the communication parameters
480
Advanced Part HMI Communication
Double-click the HMI icon in the topology window,in【HMI Attribute】—【HMI】—【Field bus setting】,Click【Add】
device input and output resources;Slave address should match with HW Config.
Input/ Output Modules should match with Master configuration, The max length are 116 words.
After configuration, the topology diagram and bus configurations are listed below:
—【PLC Parts】Select "Number Display" component added to the Configuration Editor window,Element attribute is set to:
Graphics State0
Using DP communication cables are connected the HMI and PLC,After successful communication established , can monitor
481
Kinco DTools Configuration Edit Software
the controller through the network (such as Ethernet), and other devices can communicate. Today, MODBUS protocol has
become a common industry standard by which different manufacturers of industrial control equipment can be connected into
Modbus is a request / response protocol, and provide services required by the function code.
Modbus protocol including ASCII, RTU, TCP, etc., does not require the physical layer. Protocol defines the controller can
recognize and use the message structure, regardless of what network they are communicating. The Modbus ASCII, RTU
protocol provides news, data structures, commands, and fluent manner , Data communication using Maser / Slave mode ,
Master station data request message, the slave receives the correct data can be sent after a message to the master station in
response to the request ; master can also be directly sent message modify the data from a slave, two-way read and write.
MODBUS stipulates that only master station has the initiative, only a passive response from the slave, including answering
error message.
MT Series HMI Modbus protocol communications to achieve, follow the standard Modbus communication process:
⚫ Address code
Address field of a message frame contains two characters (ASCII) or 8Bit (RTU). Possible from the device address is 0 ...
247 (decimal). Single device address range is 1 ... 247. To contact master device through the slave device address into the
address field of the message to select from the device. When a message is sent from the device to respond, he put his address
in response to the address field in order to know which device is the master device to respond. Address 0 is used as the
⚫ Function code
Modbus Corresponding
Name Function
Function code address type
06 Write Single Register Write integer, character, status word, float(Write a Word) 4x
482
Advanced Part HMI Communication
Write Multiple
16 Write integer, character, status word, float(Write N Words) 4x
Registers
⚫ Data Area
Data area contains the specific function of the terminal data needed to respond to queries or the terminal to collect data.
These data may be numeric, reference address or set values. For example:Function code tells terminal reads a register the
data area from which you need to specify the beginning and read the number of register data, the embedded addresses and
Modbus protocol data needs to checksum, in addition to the serial protocol parity outside, ASCII mode uses the LRC parity,
RTU mode uses a 16-bit CRC checksum, TCP checksum mode without additional requirements.
➢ Parity
Users can configure the controller is an odd or even parity, or no parity. This will determine the character of each parity
If you specify an odd or even parity, "1" digit will count to the number of bits in each character (ASCII Mode 7 data bits,
RTU, 8 data bits). For example RTU character frame contains the following eight data bits:1 1 0 0 0 1 0 1;The whole
"1", the number is four。Such as the use even parity, the parity frame bit will be 0, so that the entire "1" bits remain is
four. If the odd parity, the parity frame bit will be 1, so that the entire "1" bits is 5. If no parity bit, no parity bit is
transmitted, nor checksum testing. Additional padding instead of stop bits to be transmitted character frame.
➢ LRC Detect
Using ASCII mode, messages include methods based LRC error detection domains. LRC field testing except the
beginning of the message field colon and end carriage return line numbers outside content.
LRC field is a binary value that contains an 8-bit byte. LRC value calculated by the transmission device and into the
message frame, the receiving device receiving the message in the process of calculating LRC, and place it in the
message received LRC field value, and if the two values are unequal, there is an error.
LRC is the message of the continuous accumulation of bytes 8Bit, discarding the carry bit.
483
Kinco DTools Configuration Edit Software
➢ CRC Detect
Use RTU mode, the message including the method based on the CRC error detection fields. CRC field test the entire
The CRC field is two bytes that contains a 16-bit binary value. Calculated by the transmission equipment was added to
the message. Receives the message receiving device recalculates the CRC, and with the received CRC value in the
CRC added to messages, the low byte of the first to join, and then the high byte. CRC simple function as follows:
uchCRCLo = auchCRCLo[uIndex] ;
Following through several examples, and use the serial debugging tools to send and receive data frames HMI listen to learn
The following examples are primary device HMI, PLC done from the device, and use the RTU transmission mode is
described:
Function Code 01 reads 0x10, 0x11, 0x12, 0x13, 0x14, 0x15 Bit of these six states.
Placed six "bit state lamp" parts in the HMI configuration, the read address are set to 0x10 ~ 0x15.
484
Advanced Part HMI Communication
Station Function First address First address Read Bit Number Read Bit Number CRC CRC
no. code (High byte) (Low byte) (high byte) (low byte) High byte low byte
01 01 00 09 00 06 6C 0A
Station no. Function code Byte count Single byte of data CRC High byte CRC low byte
01 01 01 3A D1 9B
HMI debugging tools from the serial port to send data packets HMI display
0x15 HMI reads as ON, 0x14 is ON, 0x13 is ON, 0x12 is OFF, 0x11 is ON, 0x10 is OFF. 3A hexadecimal number is covert
In the HMI configuration to place a "bit state lamp" part, the read address is set to 1x999。
Station Function First address First address Read Bit Number Read Bit Number CRC CRC
no. code (High byte) (Low byte) (high byte) (low byte) high byte low byte
01 02 03 E6 00 01 58 79
Station no. Function code Byte count Data (single-byte) CRC high byte CRC low byte
01 02 01 00 A1 88
01 02 01 01 60 48
HMI debugging tools from the serial port to send data packets HMI display
485
Kinco DTools Configuration Edit Software
Placed on the HMI configuration 8 "Number Display" component, the read address is set to 4x 208 ~ 215.
CRC
Station Function First address First address Read Word Read Word Number CRC
high
no. code (High byte) (Low byte) Number (high byte) (low byte) low byte
byte
01 03 00 CF 00 08 74 33
01 03 10 00 01 00 02 00 03 00 04
00 05 00 06 00 07 00 08 72 98
HMI debugging tools from the serial port to send data packets HMI display
01H 03H 10H 00H 01H 00H 02H 00H 03H 00H 04H 00H 05H 1 2 3 4
00H 06H 00H 07H 00H 08H 72H 98H 5 6 7 8
Placed on the HMI configuration 8 "Number Display" component, the read address is set to3x 1023.
CRC
Station Function First address First address Read Word Read Word Number CRC
high
no. code (High byte) (Low byte) Number (high byte) (low byte) low byte
byte
01 04 03 FE 00 01 50 7E
01 04 02 04 D2 3B AD
486
Advanced Part HMI Communication
HMI debugging tools from the serial port to send data packets HMI display
Place a "Bit State Setting” component in HMI, the write address is set to 0x 1, switch type is set to "Toggle."
Runtime on the HMI click "Bit State Setting" component to switch to the ON state, the serial debugging tools for the data
received 01 05 00 00 FF 00 8C 3A; Be switched to the OFF state, the serial debugging tools for the data received 01 05 00
00 00 00 CD CA;(Among them, the hexadecimal value 0XFF00 requests coil to ON. Hexadecimal value 0X0000 request
coil is OFF)Meanwhile, the serial debugging tools to reply to the same data.
CRC
Station Function First address First address Write Bit Number Write Bit Number CRC
high
no. code (High byte) (Low byte) (high byte) (low byte) low byte
byte
01 05 00 00 FF 00 8C CA
01 05 00 00 00 00 CD CA
CRC
Statio Function First address First address Write Bit Number Write Bit Number CRC
high
n no. code (High byte) (Low byte) (high byte) (low byte) low byte
byte
01 05 00 00 FF 00 8C CA
01 05 00 00 00 00 CD CA
HMI debugging tools from the serial port to send data packets HMI display
In the HMI configuration to place a "multiple state setting" component, the write address is set to 4x 1, set the mode to "set
Runtime on the HMI click on the " multiple state setting " component, the serial debugging tools received data to 01 06 00
CRC
Station Function First address First address Write Word Write Word CRC
high
no. code (High byte) (Low byte) Number (high byte) Number (low byte) low byte
byte
01 06 00 00 00 58 88 30
CRC
Statio Function First address First address Write Word Write Word CRC
high
n no. code (High byte) (Low byte) Number (high byte) Number (low byte) low byte
byte
01 06 00 00 00 58 88 30
HMI debugging tools from the serial port to send data packets HMI display
In the HMI configuration to create a macro code: 15 function code. C, variables are defined as follows:
Code is as follows:
24 int MacroEntry()
25 {
26 short i;
27 for(i=0;i<16;i++)
28 data[i]=1;
29 return 0;
30 }
31
And then placed on a configuration screen "function key" component, the function is set to "execute macro code: 15 function
code. C".
Running, click on the function keys on the HMI, the serial data received on debugging tools for the 01H 0FH 00H 09H 00H
10H 02H FFH FFH E3H 09H, while serial debugging tools, the reply data 01H 0FH 00H 09H 00H 10H 84H 05H.
488
Advanced Part HMI Communication
Write
First First Write Bit Write Bit Bit
Bit CRC CRC
Station Function address address Number Bit Data Data
Number High low
no. code (High (Low (high Byte High low
(low Byte Byte
byte) byte) byte) count Byte Byte
byte)
01 0F 00 09 00 10 02 FF FF E3 09
First
CRC
Station Function address First address Write Bit Write Bit CRC
low
no. code (High (Low byte) Number (high byte) Number (low byte) High Byte
Byte
byte)
01 0F 00 09 00 10 84 05
In the HMI configuration to create a macro code: 16 function code. C, variables are defined as follows:
Code is as follows:
24 int MacroEntry()
25 {
26 short i;
27 for(i=0;i<16;i++)
28 data[i]=i+1;
29 return 0;
30 }
31
And then placed on a configuration screen "function key" component, the function is set to "execute macro code: 16 function
code. C".
Running, click on the function keys on the HMI, the serial data received on debugging tools for the 01H 10H 00H 09H 00H
10H 20H 00H 01H 00H 02H 00H 03H 00H 04H 00H 05H 00H 06H 00H 07H 00H 08H 00H 09H 00H 0AH 00H 0BH 00H
0CH 00H 0DH 00H 0EH 00H 0FH 00H 10H 88H 37H.while serial debugging tools, the reply data 01H 10H 00H 09H 00H
489
Kinco DTools Configuration Edit Software
byte) byte)
01 10 00 09 00 10 20 00 01
Data(3) Data(3) Data(4) Data(4) Data(5) Data(5) Data(6) Data(6) Data(7) Data(7)
High low High low High low High low High low
Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte
00 03 00 04 00 05 00 06 00 07
00 08 00 09 00 0A 00 0B 00 0C
Data(13) Data(13) Data(14) Data(14) Data(15) Data(15) Data(16) Data(16) CRC CRC
High low High low High low High low High low
Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte
00 0D 00 0E 00 0F 00 10 88 37
CRC CRC
Station Function First address First address Write Word Write Word
High low
no. code (High byte) (Low byte) Number (high byte) Number (low byte)
Byte Byte
01 10 00 09 00 10 11 C7
In the HMI interface design applications, often encountered need to design their own microcontroller control board
communication situation. In this application environment, the MCU control system designers want a simple, stable and
reliable means of communication with the HMI to exchange data. The MODBUS protocol is achieved between the HMI and
Below microcontroller (hereinafter referred to as MCU) and HMI through MODBUS protocol (RTU transmission mode in
case) communication, for example, explains how to use MODBUS protocol communication between the HMI and the MCU.
Between the HMI and the MCU communication through MODBUS protocol mainly have the following two Master-slave
ways:
HMI as Master device Modbus RTU HMI direct access to the MCU MCU as a slave device must constantly
MCU as Slave device mapped out 0X, 1X, 3X, 4X respond to queries the HMI, CPU
490
Advanced Part HMI Communication
relatively difficult.
HMI as Master device Modbus RTU MCU as the master device can LW on the HMI configuration data is
MCU as Slave device Slave initiate communication; do not take modified, you must regularly check the
up too much CPU time. MCU can be read out to achieve them
mapped to 4X, 0 X register, write or MCU can only access the HMI local
MCU and HMI using standard Modbus RTU protocol for communication, HMI as master, MCU for the slave side, the MCU,
you need to write the interrupt service routine to handle communication requests from HMI. MCU must support the standard
Modbus RTU protocol, while MCU must map out 0X, 1X, 3X, 4X registers (where 0X, 1X is bit register; 3X, 4X for the
word register)
The recommended communication parameter is 19200, data bits, 1 stop bit, no parity. In addition to seven data bits protocol
support all settings other than combinations. Baud rate range from 1200-115200, with the flexibility to choose.
⚫ Communication processes
First, HMI sends a request to the MCU, MCU accepts the request, a response back to the HMI. MCU can access the HMI,
!
1. MODBUS protocol is relatively complex, demanding overtime
2. In the communication process, HMI continuously sends request packets to MCU; MCU accepts the
request, the need to continue to give a response to the HMI. MCU's response is given using interrupt
mode; therefore, MCU's CPU usage is high. Most of the MCU's CPU resources consumed during the
communication response. Therefore, in practical applications need to be taken into account, if the MCU is
used in addition to doing communication functions, there are other response functions, HMI (Master)
MCU (Slave) using Modbus RTU protocol solution is not recommended, it is recommended to use HMI
(1)If the configuration page does not place any project component, the HMI will not send any communication packets
External
(2)If the configuration page placed engineering components and these components address types are local types (LW, RW,
RWI, LB, RB, RBI, LW.B), the HMI will not send any communication packets External
491
Kinco DTools Configuration Edit Software
(3)If the configuration page to place the component works, and these elements are not the local address type for 0X, 1X,
3X, 4X, the HMI constantly scanning configuration page of these registers, and constantly sends communication data
packets
(4)When using the timer device batch write bit components (consecutive addresses transmission number greater than one)
when, HMI will be issued by the packet encapsulation function code: 0x0F
(5)When using the timer components word element bulk write (consecutive address transfer number greater than one)
when, HMI will be issued by the packet encapsulation function code: 0x10
(6)Using recipes components download operation (that is, the local word register in HMI RW data downloaded to the
When the download operation data length is greater than 1, HMI will be issued by the packet encapsulation function code:
0x10
Assuming HMI configuration screen is placed 25 0X register address type, starting address: 20, HMI station number is 1.
01H 01H 00H 13H 00H 25H XXH XXH(Wherein: "XX" indicates LRC / CRC)
01H 01H 05H CDH 6BH B2H 0EH 1BH XXH XXH(Wherein: "XX" indicates LRC / CRC)
According to the actual physical connection mode selection set [Communication type].
Baud rate, data bits, parity, stop bits setting must be connected to the MCU and the corresponding parameters consistent.
Parameter Explanation
PLC Communication HMI wait MCU response, if the MCU to set the time interval in which the response is not given,
timeout the HMI that communication timeout, and then continue to send request packet, continue to wait
492
Advanced Part HMI Communication
Protocol timeout 1 Inter-character timeout. HMI communication with the MCU in the process, if the communication
frame characters and the time interval between characters exceeds the set time interval, the HMI
think this communication process is completed, then, to deal with the communication data frame,
parse packets.
For Modbus protocol, baud rate calculation within the program should be based on an estimate.
As follows:
Protocol timeout 1 = 1.5*1000000*(1 + data bits + parity + stop bits) / baud + set adjust time bps
(baud rate);
int speed_arr[] = { B115200, B57600, B38400, B19200, B9600, B4800, B2400, B1200,
int name_arr[] = {115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200, 300, 150, 134,
110, 75 };
int adjust_time_bps_arr[]={1000,4000,10000,11000,25000,40000,70000,140000,
600000,0,0,0,0};
Parameter: baud_rate
Returns: the current baud rate of the checksum time adjustment value
int adjust_time;
int i;
for(i=0;i<sizeof(speed_arr)/sizeof(int);i++)
if(baud_rate==name_arr[i])
adjust_time=adjust_time_bps_arr[i];
break;
return adjust_time;
Protocol timeout 2 The communication speed will be slow, but the communication error and error package will also
Max interval of word Occurs mainly in the HMI read data phase, in order to improve communication efficiency,
493
Kinco DTools Configuration Edit Software
(bit) block pack relatively tight group of registers connected to pack together to form a bulk read, for example, D1,
D2, D4, group packet interval is set to 10, these three registers will be taken a bulk read (read
from D1 from the bulk 4 registers). Note: The group packet interval must be less than the
Max word (bits) block Protocol supports the largest number of registers to read and write batch. This function is used to
MCU and HMI using standard Modbus RTU protocol for communication, MCU for remote, HMI for the slave side, the
MCU, just write a simple communication read / write program without having to write the interrupt service routine. HMI
local address LW, LB is mapped to 4X, 0X register, write or read by the MCU.
0X(1---9000) LB(0---8999)
4X(1---9000) LW(0---8999)
The recommended communication parameter is 19200, data bits, 1 stop bit, no parity. In addition to seven data bits protocol
support all settings other than combinations. Baud rate range from 1200-115200, with the flexibility to choose from.
⚫ Communication processes
First, MCU sends a request to the HMI, HMI accepts the request, a response back to the MCU.
!
1. MODBUS protocol is relatively complex, demanding overtime
2. In the communication process, MCU as the initiator of communication, initiate communication. When
the HMI device accepts the request, a response back to the MCU. Therefore, MCU without constantly
Therefore, in practice, if the MCU is used in addition to doing communication functions, there are other
3. HMI configuration on LW, LB data is modified, you must regularly check the MCU can be read out and
realize it is not very convenient. Therefore, the actual application, the MCU written communication read /
write process, you should consider requesting the HMI data interval stated in the program to give much
494
Advanced Part HMI Communication
In this scheme, the user edits the configuration project, the component type can only select local word address register LW
and the local register LB. When powered on the HMI, HMI does not take the initiative to send out a packet communication,
HMI is waiting to receive state. After the MCU send request, HMI resuming a response.
Them from the device number for the HMI station number, other communications parameters set according to specific
circumstances.
495
15 VNC
VNC (Virtual Network Computing) is a kind of software for screen sharing and remote operation via RFB protocol. The
VNC software could transfer mouse and keyboard operation and real-time screen.
VNC system is composed of client-side, server-side and protocol. The server side shares screen with client-side, while the
client-side interacts with server side by monitoring and controlling server-side.
VNC is OS independent. Users could use the VNC system to remote control HMI via PC, mobile and so on.
496
Advanced Part HMI Communication
3. You can open multiple VNC Viewer clients to access to multiple HMI at the same time.
15.2 Access via LAN
15.2.1 Remote control HMI by PC via LAN
【Example 1】Remote control MT4414TE by PC. MT4414TE works as server, while PC as client.
1. Only the HMI models with Ethernet port support VNC function for the VNC function is
realized via Ethernet.
Register Function
LB9290 Open VNC function. Set to “1” to open the VNC function.
LB9291 Mask user operation. Set to “1” to mask user operation(check only, cannot operate)
497
Kinco DTools Configuration Edit Software
4) Parameter setting on PC
498
Advanced Part HMI Communication
Monitoring on PC:
Changes on HMI is displayed on PC simultaneously, meanwhile, user could control HMI by operating on PC.
1. If input inquiry password on PC side, then users only could check HMI information, but
cannot operate.
2. If input operation password on PC side, then users could check HMI information and operate
3. If there is no password set on HMI, then no passwords required for monitoring or operating
HMI.
【Example 2】Remote control MT4414TE by an android mobile. MT4414TE works as server, while the android mobile as
client.
499
Kinco DTools Configuration Edit Software
2. The default port is 5900, please do not change it, otherwise, may not get connection.
Monitoring on mobile:
500
Advanced Part HMI Communication
Changes on HMI is displayed on mobile simultaneously, meanwhile, user could control HMI by operating on mobile.
15.2.3 Remote control HMI by browser via LAN
2) Open the browser, input IP and port of the target HMI in the website box: http://192.168.130.8:5800
Monitoring by browser:
501
Kinco DTools Configuration Edit Software
Changes on HMI is displayed by browser simultaneously, meanwhile, users could control HMI by operating on browser.
1. The remote control by browser is realized by a JAVA plugin running on the website. Please
2. Default port for browser access is 5800. Please do not change it, otherwise may not get
connection.
3. Only after updated kernel and Rootfs by v2.2 (build140314) software or above, the HMI can
support the remote control by browser.
For remote access by VNC Viewer on PC via WAN, users need to map IP of target HMI to port number 5900.
【Example 4】The IP of the remote HMI is: 192.168.4.39
1) Port mapping: Choose menu“Forwarding->Virtual Servers”,click the Add New…button
502
Advanced Part HMI Communication
3) Assumed that the WAN IP of the local network where the HMI located is 192.168.100.14, then, users need to input IP
192.168.100.14 into VNC Viewer and mobiles of external network to remote control HMI. Choose
menu ”Network->WAN”
For remote access by browser via WAN, users need to map the HMI IP to port number 5800.
【Example 5】The IP of the remote HMI is: 192.168.4.39
1) Port mapping: Choose menu“Forwarding->Virtual Servers”,click the Add New…button
503
Kinco DTools Configuration Edit Software
1. The Gateway must been set in the same network segment for access via WAN.
2. The firewall and antivirus software are suggested to be closed, for it may affect the VNC
function.
Router mapping method: If the DMZ host is opened on PC, then users could remote control HMI by VNC without port
mapping.
【Example 6】 The IP of the remote HMI is: 192.168.4.39
1) Router mapping:Choose menu ”Forwarding->DMZ”
If users need to access multiple HMIs by VNC via WAN, then the router is required for supporting port self-definition of
external network port. The model TL-WR841N (TP-LINK) supports port self-definition of external network.
【Example 7】IP of remote HMI1 is 192.168.100.35, IP of remote HMI2 is 192.168.100.36.
1) Port setting of router: add two new items in [transfer rule]-[Virtual server]
504
Advanced Part HMI Communication
1. For access by VNC Viewer, the internal port must be set to 5900 by router, and serve port can
be set as casual value. Input IP and internal port for access by VNC Viewer via WAN.
2. For access by browser, the internal port must be set to 5800 by router, and serve port can be
set as casual value. Input IP and internal port for access by browser via WAN.
2) Parameter setting of HMI:
HMI1:
HMI2:
3) Assumed that the WAN IP of the local network where the HMI located is 203.110.174.214, then, users need to input
203.110.174.214:5900 and 203.110.174.214:5901 into PCs and mobiles of external network to remote control HMI.
505
Kinco DTools Configuration Edit Software
1. The firewall and antivirus software are suggested to be closed, for it may affect the VNC
function.
Dynamic IP solution: if the IP provided by the operator is dynamically changing, dynamic DNS, such as peanut shell, can be
bound on the dynamic DNS of the router, and remote access is achieved by entering the domain name.
506
Advanced Part HMI Communication
17 IOT
17.1 OPC UA Server
OPC UA has all the functions of OPC classic and reduces many limitations. Flexibility and scalability are the main
characteristics of OPC UA. Most importantly, OPC remains an open international standard that supports reliable
interoperability and data exchange. The function of OPC server is to exchange data with upper computer, which contains a
large number of communication programs and data, and then provides standard OPC interface for other software. The client
accesses the OPC UA server by identifying the IP of the HMI.
Basic Setting
Specific description of basic setting properties
Check, register is used to identify and display OPC UA online status and error code in the HMI
Control address: OPC UA server online status flag
=0, indicates that the OPC UA server has been stopped;
Enable State Address = 1, indicates that the OPC UA server has been started
Control address + 1: OPC UA server error code
=0, means OPC UA server is working normally;
< 0, indicates OPC UA server error
Check, the online connection between OPC UA server and client is controlled by register;
uncheck, it is automatically online by default
Enable Control Address
=1: OPC UA server starts connection
=2: OPC UA server stops connection
Server Setting
Specific description of server setting properties
Port Set the port number when the current client reads. Default is 4840
NodeID Type NodeID Type:String、Numeric
This is the security policy provided for OPC UA. At present, DTools software does not support
Security Policy
security policies
Anonymous Access Set access authority for the current client when logged in anonymously
Username and This access is the same as [User Permission Setting] in the HMI
Access Mode
Password Access Attribute, After the client logs in, the data access authority is
distinguished according to the permission level
507
Kinco DTools Configuration Edit Software
2)Server settings are divided into basic settings and server settings. When using, you only need to set basic settings, and the
server settings can be kept by default.
3) Server node information is mainly used to add group nodes and data nodes. After adding group nodes, data nodes can be
added.
508
Advanced Part HMI Communication
2) If "enable control address" is checked in HMI configuration, the control word should be set to 1 in the HMI to start
OPC function, and then perform operation 4, 5
509
Kinco DTools Configuration Edit Software
510
Advanced Part HMI Communication
3) After the client is online with the HMI, it can automatically read the data nodes in the HMI, and can operate read or
write the data nodes according to the set read-write attributes
511
Kinco DTools Configuration Edit Software
17.2 MQTT
MQTT is a client server-based message publish / subscribe transmission protocol. MQTT protocol is lightweight, simple,
open and easy to implement, which makes it widely used. The MQTT V3.1 protocol is supported in DTools software
17.2.1 EnableMQTT
Basic Setting
Basic Setting Description
IP Set the IP or domain name of receiving messages server
Port Num Set the port num of receiving message server, default is 1883
Client ID The Device Name of HMI,default is %2
Specify the maximum idle time of the connection. When the client
detects that the connection idle time exceeds the specified value, it
must send the heartbeat message PINGREQ to the Broker, and the
Broker will return the heartbeat response PINGRESP after receiving
Server setting Server heartbeat cycle the heartbeat request. If the Broker does not receive the heartbeat
request for more than 1.5T, it will disconnect and post the will
message to the subscriber; similarly, if the client does not receive
the heartbeat response PINGRESP for a certain period of time, the
connection will be disconnected. Unit: S
The disconnection and reconnection time should refer to the
Automatic online idle
disconnection caused by network fluctuation and will be
time
reconnected after a certain period of time, unit: s
The published format supports the standard json format, with the
values corresponding to "d" and "ts", and the settings are as
follows: {
Default "d":{
Playload Format "ItemValue 1":50,
},"ts":
}
The playload format can be customized, and the published and
Custom
subscribed messages can also be set separately
The unsuccessful information released due to network interruption
The maximum number of
and other reasons will be stored in the buffer first, and the
buffers supported
maximum number is 20,000.
Use Buffer
Save To Buffer data can save to HMI\SD\U DISK
Usage percentage
Show how many buffers are currently used, the unit is%
address
If checked, the user’s name and password are required to log in to the MQTT server
Enable verification Username The user’s name required to connect to the MQTT server
Password The password required to connect to the MQTT server
512
Advanced Part HMI Communication
Control settings
Control setting attribute Description
=0, stop the online MQTT server
Status flag: control
=1, disconnected from the MQTT server
address
Enable state address =2, online with the MQTT server
Error flag: control =0, normal
address+1 <0, error code
=1,Start online MQTT server
control address
=2,Stop the online MQTT server
Enable control Bit0:=on,use dynamic username
control address+1
address Bit1:= on,use dynamic password
control address+2 User name (32 words) required to go online to the MQTT server
control address+34 password (32 words) required to go online to the MQTT server
513
Kinco DTools Configuration Edit Software
}
Data Format(%C)
{
"ID":"%t",
"DeviceID":"%2",
"Data":[%C],
"dt":"%DT%T"
}
Data Format Support Json、Raw Data
Send the value of monitoring address regularly according to the set
Periodic Sending
cycle
The value of the monitoring address is sent when the bit register is
Address trigger sending
triggered
Send Mode Setting
It is sent automatically when the value of register address in
DataChang Sending
parameter list changes
Send data to server when alarm is triggered in event information
Event Triger Sending
login
Parameter List Displays all defined topics addresses
514
Advanced Part HMI Communication
2) Click [IoT] - [MQTT] in the menu bar, check [Enable MQTT] in the pop-up box, and set the IP and
port number of MQTT server. The IP of the server is 39.104.56.173, and the port number is 1883
3) Add the corresponding topic information in the topic publish. Take the periodic sending mode as an
example, add LW0 and LB0 to the parameter list
515
Kinco DTools Configuration Edit Software
4) Add the corresponding topic information in the topic subscribe, Topics: Topics Received, add RW0 to
the parameter list
516
Advanced Part HMI Communication
2)Add a subscription and enter a topic. Note: the topic is consistent with the topic name published in the HMI Software, and
modify% 2 to the device name actually corresponding to the measured GH070E. If the device name of the HMI is
062020192120046, then input: iot_s /use/062020192120046/Topics 1/fmt/json
After adding, MQTTX software will receive data according to the cycle set in HMI; if you select cycle sending in HMI
Software and check "send when data changes", then when HMI data changes, and wait for the set cycle, HMI will send the
changed data.
517
Kinco DTools Configuration Edit Software
3)MQTTX software sends topics. Note that the topic is consistent with the subscription settings in HMI Software. The topic
of topic subscription in DTools software is: topics received, then the publishing topic in MQTTX software must also be set to:
topics received. The sending format supports the standard JSON format, with the values corresponding to "d" and "ts", as
follows:
{
"d":{
"ItemValue 1":50,
},"ts":
}
518
18 Register
The registers supported by HMI include local registers and external PLC or the registers of control devices. Local registers
include Local Word(LW),Local Bit(LB),Recipe Word(RW) and so on. External registers include M,D,S, etc.
DDDDD.H
Bit extended from local word,Bit addresses No. “H” bit of the no.
LW.B 0~10255.F
extended from local words. DDDDD word, range of H:
0~f
Bit extended from local word,Bit addresses ELW.B 0~134217727.F DDDDDDDDD.H
extended from local words.
Recipe bit,Recipe bit address, local registers
of HMI, save data after power off, don’t save RB 0~261000.F DDDDDD.H
limited.
519
Kinco DTools Configuration Edit Software
batteries.
identifying.
/Written infrequently, save data after power off FRW 0~134217727 DDDDDDDDD
Erased /Written infrequently, save data after power FRWI 0~134217727 DDDDDDDDD
520
Hardware Part Name and Specification
!
When local registers are used, users need to pay special attention to making sure that the local registers
cannot conflict with the special registers, otherwise the registers will not be able to be used normally or
Screen saver indication for entering. When the system enters screen saver/backlight and energy
LB9018 saving state, the bit is automatically set to ON; when the system exits screen saver state, it is R
set to OFF.
Screen saver indication for exiting. When the system enters screen saver/backlight and energy
LB9019 saving state, the bit is automatically set to OFF; when the system exits screen saver state, it is R
set to ON.
LB9045 Restart touch screen. Restart HMI when this bit is set to ON. W
Enable/disable touch function when backlight is closed. Set this bit to ON will disable the
LB9051 R/W
touch function when backlight is closed.
Increase LCD contrast. The system will execute the function of increasing LCD contrast by
LB9091 W
setting the bit to ON, upon completion, the bit will be cleared automatically.
Decrease LCD contrast. The system will execute the function of decreasing LCD contrast by
LB9092 W
setting the bit to ON, upon completion, the bit will be cleared automatically.
Increase backlight brightness. The system will execute the function of increasing backlight
LB9093 W
brightness by setting the bit to ON, upon completion, the bit will be cleared automatically.
Decrease backlight brightness. The system will execute the function of decreasing backlight
LB9094 W
brightness by setting the bit to ON, upon completion, the bit will be cleared automatically.
Trigger long sound of buzzer. Set the bit to ON to trigger long sound of buzzer once, upon
LB9120 W
completion, the bit will be cleared automatically.
Trigger short sound of buzzer. Set the bit to ON to trigger short sound of buzzer once, upon
LB9121 W
completion, the bit will be cleared automatically.
Automatically restart after system crash. Set the bit to ON, to make HMI will restart
LB9145 R/W
automatically after it crash for 5 seconds.
LB9160 Switch bit of CPU light. Set the bit to ON to turn off CPU light, and forbid blinking. R/W
LB9163 Screen flip display. Set the bit to ON to flip vertical display the HMI screen. R/W
521
Kinco DTools Configuration Edit Software
Audio volume register. Range: 0~100, 0 indicates mute, from 1 to 100, the volume increases
LW9464 R/W
gradually.
LW9532 Number of the screen saver window. Display and set the number of the screen saver window. R/W
set second for Screen Saver. So far users can set minute in software and set second in LW9131
for it
[example 1] the software set the backlight for 1 minutes, and the special LW set 20, then the
[example 3] the software is set not to open the backlight, the special LW set 0, then the final
Screen saver/backlight and energy saving time setting. 0: Disable screen saver; 1~65535:
LW10011 R/W
Enable screen saver (take effect without restart). Time unit: minute.
Buzzer sound. 0: Disable; 1: Enable (take effect without restart, non-zero value enables the
function)
LW10012 Note: LW10012 is only used for closing buzzer, not for closing the buzzer sound triggered by R/W
alarms and events. For the buzzer sound triggered by alarms and events, the function is
prohibited.
LW10013 Pop-up window attribute. 0: Normal;1: Display above other windows. R/W
LW10014 Common window attribute. 0: Display below base window; 1: Display above base window. R/W
LW10019 Exchange communication ports. Set the bit to ON to exchange com0 and com1 of HMI.
LW10028 Screen saver. 0: off,1-65535: on(no restart is need) ,unit: minute R/W
⚫ Taskbar control
522
Hardware Part Name and Specification
LB9040 Hide/display Fast selection window. Set the bit to ON to hide; Set the bit to OFF to display. R/W
LB9041 Hide/display taskbar. Set the bit to ON to hide; Set the bit to OFF to display. R/W
LB9042 Hide/display task buttons. Set the bit to ON to hide; Set the bit to OFF to display. R/W
Hide/display all (Fast selection window, taskbar, task buttons). Set the bit to ON to hide; Set
LB9043 R/W
the bit to OFF to display.
⚫ Keyboard control
Keypad popup indication. Keypad popup is controlled by the component in the left part of the
LB9060 window. When numeric input or text input function is enabled by users, HMI will set the bit to
R
LB9061 ON automatically, and pop up a direct window including a keypad. After successful entry or
pressing [Esc], this bit will be set to OFF, and the keypad window will be closed automatically.
Keypad popup indication. Keypad popup is controlled by the component in the upper left part
LB9062 R
of the window.
Keypad popup indication. Keypad popup is controlled by the component in the bottom left part
LB9063 R
of the window.
LB9064 Keypad popup indication. Keypad popup is controlled by the component in the right part of the
R
LB9065 window.
Keypad popup indication. Keypad popup is controlled by the component in the upper right part
LB9066 R
of the window.
Keypad popup indication. Keypad popup is controlled by the component in the bottom right
LB9067 R
part of the window.
LB9068 Keypad popup indication. Keypad popup is controlled by the component in optional position of
R
LB9069 the window.
Keypad popup indication. Keypad popup is controlled by the component in the upper half part
LB9080 R
of the window.
Keypad popup indication. Keypad popup is controlled by the component in the bottom half part
LB9081 R
of the window.
This bit is used to switch input method of Chinese and English. When the bit is set to
LB9100 ON, the system switches to Pinyin input method; when it is set to OFF, the system R/W
The value is the serial number of the current window in which Chinese characters are
LW9150 R/W
displayed; the value is used for page turning.
523
Kinco DTools Configuration Edit Software
⚫ Touch
LB9053 Touch status. The bit will be set to ON when press, OFF when lose. R
Touch coordinates. Record the touch coordinate of X position that takes the upper-left corner
LW9030 R/W
of the screen as origin.
Touch coordinates. Record the touch coordinates of Y position that takes the upper-left corner
LW9031 R/W
of the screen as origin.
LW9540 Position of the touch component (component position). The values are the coordinates (x, y, w,
R
~9543 h) of the touch component relative to the window coordinates.
Position of the window which the touch components are in (window position). The values are
LW9544
the coordinates (x, y, w, h) of the window which the touch components are in relative to the R
~9547
screen coordinates.
⚫ Cursor
Cursor lock. When the bit is set to ON, the cursor is locked in the current input component, it
LB9135 R/W
will switch to other input components only after the current input is completed.
Cursor semi-transparent display. When the value is not set to 0,the cursor will display
LW9530 R/W
semi-transparently, the range of the value is 20~100.
⚫ Transparence
LW9611 Specifies the pop-up window number to dynamically change the transparency of the window R/W
LW9612 Set the transparency value of the pop-up window . 0~100, 0 full transparent, 100 opaque R/W
LB9210 Set ON to perform the settings of the pop-up window transparency operation W
Disable the return value function of 【PLC Control】—【Change Base Window】. ON: Disable;
OFF: Enable.
【Example】: To switch from Base Window 10 to Base Window 12 with the 【PLC Control】
LB9052 —【Change Base Window】 function,and the reading address is D12, the switchover will be R/W
implemented when the value of D20 is 12. After the system switches to Base Window 12, PLC
will automatically return the number 12 to the address D21. If the return value function is
524
Hardware Part Name and Specification
The bit will be set when change Base Window. The bit will be set to ON when change Base
LB9139 R
Window display.
The value of LW9100 is the window number; the value of LW9101 is the offset address of
Displaying Base Window Number. Slave machine can maintain the same Base Window with
LW9050 R
master machine according to the word.
⚫ Print control
Printer error indication. The bit is set to ON in case of printer error and to OFF if printer is
LB9016 R
normal.
Printer control. Set it to ON to disable print function; set it to OFF to enable print function.
LB9017 Note: 【HMI Attributes】—【print Setting】—【Enable print】must be selected, otherwise the R/W
Event printing setting. Set the bit to ON to separate event content from other information such
LB9123 R/W
as serial number, time and so on.
LB9132 Printing indication. The bit will be set to ON when printing, OFF when finished. R
LB9143 USB printer connection status. Set the bit to ON for connection, OFF for disconnection. R
LB9202 Print header of History Data. Set the bit to ON to always print header; OFF to print only once. R/W
Enable PictBridge print. Set it to 1 to enable PictBridge print; set it to 0 to disable PictBridge
LW10254 R/W
print.
525
Kinco DTools Configuration Edit Software
⚫ HMI Time
LW9034~9035 Stopwatch, double word, display the time in unit of 0.1 second. R
!
The system time should be downloaded into HMI for debugging, it will call the system time of PC when run
⚫ External time
!
1.When 【HMI Attributes】—【Use The External Clock for Event】 is selected, the events will read the
2. Before this function is used, the values of PLC time registers must be transmitted to LW9010~9017.
⚫ VNC
Address Description Read/Write
526
Hardware Part Name and Specification
LB9293 VNC check password enable, set on, password valid R/W
⚫ VNC Client
Address Description Read/Write
LB9175 Set ON, the VNC client operation interlock function is enabled R/W
=1 Connection error
=3 Running error
=4 Connection OK
!
1.Must use Freeplotting to show two-dimensional code;
3. Here we use indirect addressing because of shortage of LW. We use LW9680 to point to input address. For
example, LW9680=1000,input address LW1000. We use LW9681 to point to output address. For
ON: camera shows a rectangle frame, put the two-dimension code inside. Once
recognized, the buzzer rings out, and LB9420 turns off. OFF: no scan
LW9820 Save the address which keeps the text. For example:LW9820=1000, then the text will be R/W
527
Kinco DTools Configuration Edit Software
!
To scan two-dimension code, users have to open camera. The size of frame is suggested to be 640*480.If it is
too small, the code cannot be included.
Chinese is not supported
For example: Connect MT4414 to Logitech C170 to scan two-dimension code
Steps:
Put camera in frame 0
Control mode
Number display
Text display
Word length 16
Result:
Set 1 to multiple state switch and switch LB9420 ON,
Users can scan code and display it on the screen
528
Hardware Part Name and Specification
LB9182 Set ON,Shielded text element ordinary register address to receive scan code gun data
LB8999 Get valid data. Once scan successfully, it turns on. Users should set off manually next time R/W
LW9531 Select the output code of scanner. 0:adaptive; 1:GBK; 2:UTF8 R/W
LB9105 Set ON, open the USB keyboard switch focus function R/W
LB9106 Set ON, open keyboard switch button and other components. R/W
⚫ Others
LB9109 Set ON, When the flash is full, the CSV file stored by day automatically deletes the data of the
R/W
earliest day
TTF font optimization display. Set the bit to ON to optimize the display effect of the edge of
LB9162 R/W
the TTF font.
LB9164 Video mode selection. ON: NTSC mode; OFF: VPAL mode. R/W
LB9183 Set ON, The USB flash drive and HMI screen have the same pkgx , A download box will pop R/W
up automatically when you insert or remove the USB flash drive
LB9242 The serial touch control device function control bit. Set ON, open the serial touch device
function, and screen the touch function of the screen itself. R/W
Note: this function also needs to cooperate with the serial port TP free port driving protocol.
LB 9246 The operation log user name column shows the user level functions. 1: User name column R
LB9258 After the register is set to on, the communication speed of the switching window is optimized R/W
to shield the detection of zombie communication requests
LB9260 Speed selection switch pages. ON: Switch page displays fast. OFF: Switch page displays slow. R/W
Switch page data display selection. ON: Keep original data. OFF: Page data first brush cut to
LB9261 R/W
zero, and then display valid data.
LB9262 Real time read repeated request not processed. ON, not processed; OFF, processed R/W
LB9263 Turn on multi-station communication optimization. On, turn on multi-station optimization R/W
LB9264 A large number of events can be optimized to cause the slow communication of the foreground
LB9404 Set ON to switch from user interface to system setup interface; Set OFF to user interface. R/W
LB9413 Set the register to on and control the LED of ymk070 to light up; Set it to off to control the R/W
529
Kinco DTools Configuration Edit Software
Open WebServer. Set the bit to ON to open WebServer function; while OFF to close this
LB9910 R/W
function.
Brower display mode. Set the bit to ON to display HMI image with gray mode in browser;
LB9911 R/W
while OFF to display actual HMI image.
LB9917 Turn on “ON”,CZ6 starts to switch different Components according to the location of R/W
coordinate.
LB9918 The register is set to on, and the standard screen is compatible with the customized keyboard R/W
driver
LB9920 Set on, instead invalid float number NAN of former value R/W
LB9930 Turn ON to reduce the real-time reading communication of sampling, data transmission, macro R/W
commands, etc., and improve the writing operation of the current page buttons; turn OFF,
improve the real-time reading communication of sampling, data transmission, macro
commands, etc., and reduce the writing operation of the current page buttons; the default is
LB9931 Set ON, the siemens driver double floating-point number is displayed normally; set off, the R/W
LW9624/ Displays the remaining memory of the external storage device,LW9624=sd card,LW9626=U R/W
disk 1,LW9628=U disk 2,Word length is 2
9626/9628
!
1. The above functions will take effect after restart.
2. The values of the local words above will be saved after power off.
⚫ Input Components
LB9103 on, not empty LW9060 ~ 9075 numerical after input the numerical R/W
Trigger input components in basic window. Set the bit to ON to trigger input components
LB9129 W
in basic window.
530
Hardware Part Name and Specification
Input components trigger automatically. Set the bit to ON to make the input components
LB9131 R/W
triggered automatically after open window.
Caps Lock. Set the bit to ON to make English letters input in capital format; the bit will
LB9140 R/W
be set to OFF automatically after input finished.
Trigger input components in popup window. Set the bit to ON to trigger input
LB9142 W
components in the popup window in top layer.
Components left alignment display. Set the bit to ON to make the display
LB9161 R/W
component(LW9060~9075) on the keyboard displays left alignment when input.
LB9176\LB9177 After the two registers are set to on at the same time, the password format keyboard is R/W
turned on, and the * sign function is not displayed
ON: When number input component which read address same as write address is input
LB9240 R/W
ENT, the new value will display immediately.
The number input element displays the blank before password input. Set ON, the number
LB9241 input element displays blank before password input; Set OFF, the number input element R/W
Display the maximum of numeric input. When numeric input component is activated, it
LW9002~9003 R
will display the maximum of the numeric component. Otherwise, it will be set to 0.
Display the minimum of numeric input. When numeric input component is activated, it
LW9004~9005 R
will display the minimum of the numeric component. Otherwise, it will be set to 0.
Number/Text input procedure display. The words will display the input procedure when
LW9060~9075 Number/Text input components are activated. LW9075 display the latest input data. R
LW9180~9187 Display the maximum of number input, usually by text components. R/W
LW9190~9197 Display the minimum of number input, usually by text components. R/W
LW9380~9395 Display the historical data of number input components, usually by text components. R
⚫ Text components
Display the bytes of text display component in inverted order. Set the bit to ON, then the
LB9137 high bytes and low bytes of text component will exchange to display, the low bytes will R/W
Mask text characters. Set the bit to ON to make text component only display characters in
LB9138 R/W
code 33~127. Other characters will be replaced by space character.
Set ON, the text input element is not allowed to enter after the full input;Set OFF, more than
LB9243 R/W
the number of bits, the highest in order to remove. Default is OFF.
LB9410 Set the bit to ON, the lack bit display 0; otherwise, the lack bit display space. Default: Off R/W
531
Kinco DTools Configuration Edit Software
LB9411 Set the bit to ON, clear content before input. Otherwise, no action. R/W
LW9130 Switch text library contents online. The value indicates the text library index. R/W
Display the page number of note book component. The value indicates the initial row of the
LW9170 R
input area. It is used for page turning of note book component.
⚫ Alarm/Event
LB9124 Times of alarm setting. Set the bit to ON to display alarm times in the front of the massages. R/W
LB9125 Event sequence No. starts at 1. Set ON, sequence No. starts at 1;default is OFF,sequence R/W
No. starts at 0
Turn off the current sound of buzzer alarm. Set the bit to On to turn off the current sound of
LB9141 W
buzzer alarm, upon completion, the bit will be cleared automatically.
Clear event cumulative time. Set on to clear cumulative time, and the bit will be reset
LB9211 R/W
automatically.
Clear event cumulative time. Set on to clear cumulative count, and the bit will be reset
LB9212 R/W
automatically.
LB9215 Must be used with LW9618\9619, set on to clear ,and the bit will be reset automatically. R/W
Open the function of exporting event to .csv file including date. ON: Open. After setting ON,
LB9270 the format of .csv file in external device(USB,SD Card)will change, it can’t be used R/W
together with the function “Save to external device” like USB and SD Card. OFF: Close.
Identifier bit of unconfirmed event. ON: there are events which are unconfirmed; OFF: there
LB9280 R/W
is no event which is unconfirmed.
Mask buzzer for event and alarm. Set this bit to ON to close buzzer; Set this bit to OFF to
LB9401 R
open buzzer.
Event alarm recovery without closing beep. On: event recover, buzz keeps on. off: event
LB9403 R/W
recover, buzz off
Page registers prohibit cross-border display blank. Set ON, when the page registers
LB9916 cross-border, the events will automatically change to the maximum value of the normal R/W
range.
LW9533 Events exported to save as CSV file by the type. LW9533 control the lower type, LW9534
R/W
LW9534 control the higher type.
LB9248 LB9248=1, Enable the category display function,LW9608= You need to set the event
R/W
LW9068 category
LW9616 Record the current number of events triggered. Word length:1 R/W
LW9618 Delete event by type, must be used with LB9215. LW9618 control type lower limit, LW9619 R/W
532
Hardware Part Name and Specification
⚫ Trend Curve
LW9200 Time value of the browsed points of trend curve, second. BIN code. R
LW9201 Time value of the browsed points of trend curve, minute. BIN code. R
LW9202 Time value of the browsed points of trend curve, hour. BIN code. R
LW9203 Time value of the browsed points of trend curve, date. BIN code. R
LW9204 Time value of the browsed points of trend curve, month. BIN code. R
LW9205 Time value of the browsed points of trend curve, year. BIN code. R
Display the value of every channel of every browsing dot in trend curve. According to the
LW9210~ channels of trend curve, the registers will display the current value of each channel. LW9210 R
⚫ Sample Data
Address Descriptions Read/Write
LB9148 update data from sample components like Trend Curve to CSV R/W
LB9271 CSV of History Data Display and Data Report keeps the same fractional part with the R/W
functioning component. Set on to use it. If the decimal number has fractional part , the
LB9273 Set ON, the data report exports a CSV file in comma format R/W
LB9274 Set ON, the real-time report will be displayed in sequence, and the scroll bar will R/W
automatically locate the latest entry
⚫ Register decoding in Modbus Slave driver
Address Descriptions Read/Write
LW9810 Adjust the decoding sequence of 16bits integer
0 1234 High byte and low byte, high word and low Means 1 (0x0000 0001)
R/W
word are Normal
1 2143 High word and low word are normal, but Means 256(0x0000 0100)
533
Kinco DTools Configuration Edit Software
2 3412 High word and low word swap, but Means 65536
3 4321 High word and low word, high byte Means 16777216
0000
0 1234 High byte and low byte, high word and low Means 1.0(0x3F80 0000)
1 2143 High word and low word are normal, but Means -5.78564e-039 R/W
2 3412 High word and low word swap, but Means 2.27795e-041
3 4321 High word and low word, high byte Means 4.60060e-041
⚫ Security Level
Lower security level. The bit will be set to ON when system switches from a lower
LB9046 R
security level to a higher level.
Switch security level by force. Force to switch from higher level (for example, level 2)
LW9043 W
to lower level (for example, level 0).
534
Hardware Part Name and Specification
!
1. The value of the local word above could be saved after power off.
⚫ User Permission
LB9165 User login. Set ON to execute login operation, then set OFF automatically. W
LB9166 User logoff. Set ON to execute logoff operation, then set OFF automatically. W
LB9167 Add user. Set ON to execute adding user operation, then set OFF automatically. W
LB9168 Delete user. Set ON to execute deleting user operation, then set OFF automatically. W
LB9169 Modify password. Set ON to modify password operation, then set OFF automatically. W
LB9170 Set ON, online modify the user authority value R/W
LB9172 Set ON, the function of online modification of user logout time is enabled R/W
Executive mark of user management. The bit will set to ON when execute operations of
LB9190 R
Add/Delete users.
Operation failure of user management. The bit will be set to ON when operation of user
LB9191 R
management fails.
LW9504~9505 Display user permission of the current user. Display the user permission with 32 bits R
535
Kinco DTools Configuration Edit Software
LW9506~9507 Set user permission. Set user permission with 32 bits when adding user information. W
LW9508~9509 Set automatic logoff time. Set automatic logoff time when adding user information. W
Password confirmation. Input password again to confirm the consistency when adding
LW9510~9511 W
user information.
LW9514 Set the user’s name that needs to be logged by matching list or drop-down list. R/W
LW9515 Set the shorted use period of password, and the new password is modified, and the R/W
password cannot be modified within the specified time.
LW9516 Set the longest use of password. After the time has come, the password is not modified. R/W
The system automatically locks the password and is unable to log in. It must be
reactivated with the administrator's authority.
LW9650~9665 Display login user name R
Recipe operation
Recipe downloading indication. The bit will be set to ON in downloading status, and set
LB9010 R
to OFF automatically after download is finished (Download from recipe to PLC).
Recipe uploading indication. The bit will be set to ON in uploading status, and set to
LB9011 R
OFF automatically after uploading is finished (Upload from PLC to recipe).
536
Hardware Part Name and Specification
Index address for recipe data. RWI and RBI access recipe data by this index address.
LW9000~9001 R/W
LW9000 is low word, LW9001 is high word.
LW9536~9537 Set start address when using external device for example U disk to download recipe data R/W
LW9538~9539 Set length when using external device for example U disk to download recipe data. 0: R/W
download all
Safety removing setting of SD card. Set the bit to ON before inserting SD card; Set to
LB9153 R/W
OFF before removing to make sure safety removing.
Safety removing setting of U disk 1. Set the bit to ON before inserting U disk 1; Set to
LB9154 R/W
OFF before removing to make sure safety removing.
Safety removing setting of U disk 2. Set the bit to ON before inserting U disk 2; Set to
LB9155 R/W
OFF before removing to make sure safety removing.
LB9156 Clear files in SD card. Clear all the files that generated in SD card. W
LB9157 Clear files in U disk 1. Clear all the files that generated in U disk 1. W
LB9158 Clear files in U disk 2. Clear all the files that generated in U disk 2. W
LW9133 Set the classification and delete the external files, then set the LB9149 (HMI) \9156 (SD
card) \9157 (U disk 1) to ON, so that we can classify and delete functions. The default
LW9133 is 0, which means no classification, that is to clear all.
LW.B 9133.0=ON,delete event files;
LW.B 9133.1=ON,delete trend files; R/W
LW.B 9133.2=ON,delete database files;
LW.B 9133.3=ON,delete log files;
LW.B 9133.4=ON,delete scr files;
LW.B 9133.5=ON,delete export files;
Prefix title of the copied file. Prefix character strings of the file name which is copied to
LW9470~9485 R/W
SD card or U disk.
537
Kinco DTools Configuration Edit Software
!
The difference between green and blue cases is to solve the problem of U disk power off and power on the
screen constantly jumping out of the prompt box.
Protection bit of export project. Uploading password is input correctly when export
LB9151 R
project, then the bit will be set to OFF, otherwise, it will be set to ON.
Switch folder type between tree type and list type. Set the bit to ON to display folders in
LB9152 R/W
tree type, while set it to OFF to display folders in list type.
Open import/export logo function. ON: Open import/export logo function. OFF: Open
LB9265 R/W
import/export project function.
538
Hardware Part Name and Specification
LB9266 Import and export FRW/RW. ON: FRW import/export. OFF: RW import/export. R/W
Route name of the browsed file. Display the route name which is browsed currently in
LW9300~9331 R
file list component.
Current selected file. Display the file name which is browsing currently in file list
LW9332~9363 R/W
component.
LW9364 recipe import; 4: recipe export. 7: LOGO import; 8: LOGO export. 9: FRW import; 10: R/W
FRW export.
Copy/cut/ paste operation of files. With file browse component to execute: 1: copy; 2:
LW9366 W
cut; 3: paste. 4:Delete
18.2.6 Communication
put modified serial port communication parameters into effect immediately when
LB9057 R/W
LB9507 is on, default value: off
Hide the component which failed in communication. Set the bit to ON to hide the
LB9144 R/W
component which failed in communication.
LB9173 Set ON, the multi-HMI communication interlock function is turned on; it must be used R/W
together with the PLC station number mask code. You can set the PLC station number
mask code register to 65535, first shield the communication, and then turn LB9173 on
to achieve the mask write function. Reading is normal.
Notification bit of PLC access error, when PLC communication error occurs, the bit will
LB9180 R
be set to ON.
LB9245 Control LW9296~9299 only to shield the function of the system prompt box. Set the bit R/W
to ON, LW9296~9299 only shields the system frame, and does not shield
LW9550~9553.
Mask off code of PLC station NO. (COM port 0). Each bit corresponds to one station no.
station.
Mask off code of PLC station NO. (COM port 1). Each bit corresponds to one station no.
station.
539
Kinco DTools Configuration Edit Software
Mask off code of HMI no. Each bit corresponds to one HMI no. in the network (9400.0
LW9400~9415 corresponds to HMI no. 0, … , 9415.F corresponds to HMI no. 255), set the R/W
Register for communication status indication (COM 0). Each bit corresponds to one
station no. (9432.0 corresponds to station no. 0, … , 9447.F corresponds to station no.
LW9432~9447 R/W
255). When PLC communication timeout and no response, the corresponding bit will be
Register for communication status indication (COM 1). Each bit corresponds to one
station no. (9448.0 corresponds to station no. 0, … , 9463.F corresponds to station no.
LW9448~9463 R/W
255). When there is no response and PLC communication timeout, the corresponding bit
LB9500~9531 Register for communication status indication. Each bit corresponds to a port number. R/W
When there is no response and PLC communication timeout, the corresponding bit will
be set to ON, otherwise, the bit will be set to OFF.
Mask off code of error message. Each bit corresponds to one error message. Set the bit
corresponds to 9296.4
Indication code of error message. Each bit corresponds to one error message, when an
corresponds to 9550.4
LW9605~9606 LW9605.0~9605.2 for serial 0- serial2, the others for network communication, as to say
LAN0 Parameter
LW10030~10033 LAN0 IP address. Each section occupies one word, range 0~255. R/W
Download port number. It is download port number rather than communication port R/W
LW10034
number.
LW10110~10113 LAN0 Gateway. Each section occupies one word, range 0~255. R/W
540
Hardware Part Name and Specification
LW10114~10117 LAN0 Subnet mask. Each section occupies one word, range 0~255. R/W
LAN1 Parameter
LW10234~10237 LAN1 IP address. Each section occupies one word, range 0~255. R/W
LW10238~10241 LAN1 Gateway. Each section occupies one word, range 0~255. R/W
LW10242~10245 LAN1 Subnet mask. Each section occupies one word, range 0~255. R/W
DNS1, DNS2 address. Each WORD has a segment, range: 0-255. For example: R/W
LW10231=250, LW10232=249,LW10233=248
10066
541
Kinco DTools Configuration Edit Software
!
1. The above functions will take effect after restart.
2. The value of some local words above will be saved after power off.
⚫ WIFI Parameter
! After entering the wireless login name and password, you must first set LB9301 to ON, then assign
LW10204 to 1, so that we can connect to the wireless network correctly.
⚫ 4G Parameter
Address Description Read/Write
LW.B 9614.E 4G switch R/W
LB9303 SIM card insertion status bit detection R
LW9038 4G signal strength. The valid range is 1 ~ 100, -1 means an error; R
LW9039 4G connection status. 1: connecting; 2: successful connection; R
LW9864 MCC,decimal R
LW9865 MNC,decimal R
LW9866~9867 CELL_ID,HEX, 2 Words R
LW9868 LAC_ID,HEX R
LW9970~9979 Read SIM card IMEI information, 10 Words R
LW9980~9989 Read SIM card ICCID information, 10 Words R
LW9994~9998 Set APN of 4G mobile network, 5 Words R/W
542
Hardware Part Name and Specification
⚫ VPN
Address Description Read/Write
LW9769 Server selection. 0: Chinese server; 1: European server R/W
LW.B9614.F VPN switch R/W
LW 9768 -1: The network is not yet connected; 0: ready to connect; 1: HMI authorization is invalid; R
2: SSL loading fails; 3: certificate download fails; 4: VPN connection succeeds;
LW9029~9026 The virtual IP address, for example, IP shows 10.8.0.2, the value of LW9029 is 10, the R
value of LW9028 is 8, the value of LW9027 is 0, and the value of LW9026 is 2.
LW9416 Variable register of station number. It corresponds to index 0 of variable of station number. R/W
LW9417 Variable register of station number. It corresponds to index 1 of variable of station number. R/W
LW9418 Variable register of station number. It corresponds to index 2 of variable of station number. R/W
LW9419 Variable register of station number. It corresponds to index 3 of variable of station number. R/W
LW9420 Variable register of station number. It corresponds to index 4 of variable of station number. R/W
LW9421 Variable register of station number. It corresponds to index 5 of variable of station number. R/W
LW9422 Variable register of station number. It corresponds to index 6 of variable of station number. R/W
LW9423 Variable register of station number. It corresponds to index 7 of variable of station number. R/W
LW9424 Variable register of station number. It corresponds to index 8 of variable of station number. R/W
LW9425 Variable register of station number. It corresponds to index 9 of variable of station number. R/W
LW9426 Variable register of station number. It corresponds to index 10 of variable of station number. R/W
LW9427 Variable register of station number. It corresponds to index 11 of variable of station number. R/W
LW9428 Variable register of station number. It corresponds to index 12 of variable of station number. R/W
LW9429 Variable register of station number. It corresponds to index 13 of variable of station number. R/W
LW9430 Variable register of station number. It corresponds to index 14 of variable of station number. R/W
LW9431 Variable register of station number. It corresponds to index 15 of variable of station number. R/W
543
Kinco DTools Configuration Edit Software
Steps:1)LW9175=1000
2)LW1003=192,LW1002=168,LW1001=205,LW1000=190;(PLC0 IP)
3)LW1007=192,LW1006=168,LW1005=205,LW1004=191;(PLC1 IP)
4) LB9244=on
LB9244 Set ON to update dynamic IP, perform automatic reset, and cooperate with LW9175. R/W
! 1.
2.
The dynamic IP address power down is not kept
If a dynamic IP is 0, it means that the corresponding network port PLC still uses static IP.
LB9115 Improve macro response performance. Set higher priority to Function Button in triggering a R/W
LB9116 Macro reading input registers indication. The bit will be set to ON when Macro is reading input R
LB9117 Macro writing output register indication. The bit will be set to ON when Macro is writing input R
LB9118 Macro working indication. The bit will be set to ON When Macro is running (read and write R
LW9465 Time magnification of Macro time-out. If it is set to N, then the allowable maximum running R/W
544
Hardware Part
Hardware Part
545
1 Name and Specification
This chapter mainly introduces names and specifications of the universal parts of Green/Future series HMI.
Names and specifications of the special parts of Green/Future series HMI, please refer to related selection
manual.
Front:
a
PWR b
CPU c
COM d
a. Screen display /Touch control area b. PWR indicator c. CPU indicator d. COM indicator
Back:
k
i
h
j
a b c d e
546
Hardware Part Name and Specification
a. Input terminal of power supply DC24V b. 1A Fuse c. LAN interface d. USB HOST(USB type A interface) e. USB
!
Caution
In the case of personal safety may be endangered or significant losses may be leaded, please do not use the
Indicator Description
PWR When the power supply of HMI is ON/OFF, the yellow indicator is ON/OFF.
When HMI communicates with PLC and such controllers normally, the red indicator will frequently
COM
flick or be normally ON.
! COM indicator only indicates the communication states of PLCs connected to COM0 and COM1.
1.2.4 Fuse
Fast fuse with rated current 1A is used.
!
Notice
Fast fuse offers protection when the power supply voltage is too high or power polarity is connected
reversely, but it cannot ensure the internal electronic components shall not be damaged.
547
Kinco DTools Configuration Edit Software
!
Notice
Please do not hot plug communication cable with charged, to avoid the communication interface being
damaged.
COM0 is a 9-pin D-SUB male connector, it supports communication functions of RS-232C/RS-485/RS-422A, and its pin
assignment is as follows:
Function
Pin# Signal
RS-232C RS-485 RS-422A
5 SG Signal Ground
7 NC -- -- --
8 NC -- -- --
COM1 is a 9-pin D-SUB male connector, it supports communication functions of RS-232C/RS-485/RS-422A, and its pin
assignment is as follows:
Function
Pin# Signal
RS-232C RS-485 RS-422A
5 SG Signal Ground
COM2 shares physical interface with COM0, is 9-pin D-SUB male connector, this port only supports communication
548
Hardware Part Name and Specification
Function
Pin# Signal
RS-232C
1 NC --
2 NC --
3 NC --
4 NC --
5 SG Signal Ground
6 NC --
9 NC --
COM2 can connect with controllers supporting RS-232C, also can be used to upload/download program and debug.
COM3 shares physical interface with COM1, is 9-pin D-SUB male connector, this port only supports communication
Function
Pin# Signal
RS-232C
1 NC --
2 NC --
3 NC --
4 NC --
5 SG Signal Ground
6 NC --
7 RX-(B) RS485B
8 RX+(A) RS485A
9 NC --
COM2 can connect with controllers supporting RS-232C, also can be used to upload/download program and debug.
1.2.6 USB interfaces
⚫ USB HOST
USB HOST is a USB A type interface,can connect with peripheral equipment such as USB storage device, keyboard, mouse
2 D- Data-
549
Kinco DTools Configuration Edit Software
3 D+ Data+
⚫ USB SLAVE
USB SLAVE is a USB B type interface,can connect with the USB port of PC, and is used to upload/download program and
4 3 2 D- Data-
3 D+ Data+
and debug; Multiple HMIs equipped with LAN interfaces can be networked at will via this port and communication with
controllers supporting Ethernet communication is also supported by this port. Its pin assignment is as follows:
4 NC --
5 NC --
7 NC --
8 NC --
save data and quick upload/download user projects, recipes and such files. Its pin assignment is as follows:
SD 2 CMD Command
3 VSS1 GND
5 CLK Clock
6 VSS2 GND
7 DAT0 Data 0
8 DAT1 Data 1
550
Hardware Part Name and Specification
9 DAT2 Data 2
follows:
551
2 Connection with Preiferal Equipments
To meet users’ requirements for multifunction screens of intelligence, information, humanity, MT series HMIs have equipped
with kinds of interfaces. The equipment supported by the interfaces are described in turn as follows.
HMI
(1)
Serial cable(RS-232C)
(COM2)
(2)
PC(installed Kinco
(COM0/COM1/ Serial cable(RS-232C) HMIWare )
COM2)
(3) Bar-code
Reader
(4)
Micro Printer
(1) Connect with PLC and other controllers via serial ports to communicate
HMI can connect with the serial ports of PLC and such controllers to communicate via RS-232C/RS-485/RS-422A serial
cable.
The PLC and such controllers communicate with HMI must be of the types supported by Kinco DTools, or support the serial
⚫ Cable production
Users can make the connection cable by themselves according to the types of controllers and communication modes.
HMI can connect with the serial ports of PC to upload/download user projects, recipes and such data via RS-232C serial
cable.
Install and run the HMIWare configuration software of Kinco on PC, select download ways through the 【Tools】menu of the
552
Hardware Part Connection with Preiferal Equipments
software.
☞More details about download please refer to【Advanced Part 7.3 Download】
⚫ Cable production
HMI can connect with scanner via RS-232Cserial cable to receive banner code and such data.
The scanners communicate with HMI must be of the types supported by Kinco DTools, or support the serial communication
⚫ Cable production
Directly use the RS-232C communication cable provided by the scanner manufacturer.
HMI could connect with miniprinters to print screen or data report via RS-232C serial ports.
The miniprinters communicate with HMI must of the types supported by Kinco DTools, or support the serial communication
⚫ Cable production
553
Kinco DTools Configuration Edit Software
HMI
Mouse
USB HOST
type A interface
USB Memory Strage
(1)
Printer
USB Camera
(2)
PC(installed Kinco
DTools )
(1) Connect with USB mouse, USB keyboard and such equipment via USB HOST
HMI connects with USB mouse, then the USB mouse can execute input operation to the HMI screen.
HMI connects with USB keyboard, then the USB keyboard can execute input operation to the HMI screen via the
【Map Key】function of Function Key components. It Supports drive-free cameras.
Connection between HMI and USB mass storage device can be used for:
➢ Quick upload/download user projects, recipes and such files between HMI and USB mass storage devices via
import/export functions;
➢ A physical storage area (ERW) is divided up from the USB mass storage device, users take access to ERW registers to
➢ Historical data of Trend Curve and XY Curve, historical events, operation log and such data can be saved in USB mass
storage devices.
HMI can connect with USB printers via USB cable to print screen and data report.
The USB printers communicate with HMI mush be of the types supported by Kinco DTools, or support the printer
554
Hardware Part Connection with Preiferal Equipments
Details about the supported printers please refer to the manual of 【Communication Connection Guide】.
HMI can connect to camera with drive type USB to display the video pictures input by USB camera via camera component.
HMI can connect with the USB interfaces of PC to upload/download projects, recipes and such data via USB cable.
Install and run the HMIWare configuration software of Kinco on PC, select download ways through the 【Tools】menu of the
software.
⚫ Cable production
Details about cable production please refer to the manual of 【Communication Connection Guide】.
HMI
PC(installed Kinco
HMIWare )
Ethernet Cable Hub/ Switch To an
(3)
Ethernet
Network
HMI
Ethernet Cable LAN port
(4) RJ45 interface
555
Kinco DTools Configuration Edit Software
HMI can connect to PLC and such controllers to communicate via an interconnection cable (RJ45 Crossover Cable).
The PLC and such controllers communicate with HMI mush be of the types supported by Kinco DTools, or support the
⚫ Cable production
Via interconnection cable (RJ45 Crossover Cable), HMI can connect with the LAN interface of PC to upload/download user
projects, recipes and such data; meanwhile users can monitor the data of HMI or PLC and such controllers on PC.
Install and run the HMIWare configuration software of Kinco on PC, select download ways through the 【Tools】menu of the
software.
⚫ Cable production
HMI can be connected to a HUB or SWITCH to access a Local Area Network via a standard Ethernet cable (RJ45
straight-through cable) or interconnection cable (RJ45 cross-over cable). This is mainly used for multiple HMIs links or
HMI can link to another HMI via interconnection cable (RJ45 Crossover Cable).
All HMIs online are with LAN interfaces, and set 【HMI Attributes】—【Networking Device Setting】in the software.
⚫ Cable production
556
3 System Setting Mode
In this mode, users can set such items as system time, Startup Window, IP address.
Press the “RESET button, then HMI restarts and enters the SETUP interface.
⚫ Startup Window No.:Startup window. It is the displayed window when start HMI, the default value is 0.
⚫ Backlight Saver Time:Screen saver time, in minutes. The default value is 10. Screen saver is unavailable when the
value is 0.
⚫ Buzzer Disabled/Enabled:Enable/Disable the buzzer. For MT5000/4000 series HMI, select “Mute” to close the buzzer.
⚫ Network parameter setting: set the network parameters such as IP Address, Port, Subnet Mask, Gateway of a target
⚫ Brightness adjustment: Adjust brightness(Brightness Up/Down)to achieve the best visual effect.
⚫ Calibrate Time: Check whether the year, month, day, hour, minute and second are the current time, otherwise, calibrate
manually.
557
Kinco DTools Configuration Edit Software
⚫ Import/Export: Quick upload/download user project files or recipe files. The function is only supported be HMIs
Upload the user project files (.pkg\.pkgx)saved in HMI to USB or SD Card. Upload
password is required when upload, the default password is 888888 if it has not been set in
Download the user project files (.pkg\.pkgx)saved in USB or SD Card into HMI.
!
The SETUP interface may not be displayed in full size in a single screen, then click “Next” or “à” to enter
the next page and click Back” or “ß” to return the previous page.
558
4 Touch Screen Calibrate Mode
When the screen touch is not accurate after firmware update, users can calibrate HMI screen under this mode.
There are two methods to enter the Touch Screen Calibrate Mode:
Set the DIP switch SW1 and SW2 (on the back of the HMI) to “ON”;
Press the “RESET button, then HMI restarts and enters the Touch Screen Calibrate interface.
Method 2:Enter Touch Screen Calibrate Mode by the “Touch Calibration” function of【Function Key】.
Method 2 is directly completed on the HMI screen; users do not need to manipulate the DIP switches and without bothering
Follow the “+”sign to touch the screen until you hear a click sound and the “+” sign disappears, then “TP Adjust Success!”is
showing, which indicates that Touch Screen Calibrate is succussed. Then, set DIP switch 1 and 2 to “OFF” and press
559
5 Firmware Update Mode
In firmware update mode, users can update the version of the Kernel and Root files system (It is strongly recommended that
Set the DIP switch (on the back of the HMI) SW1 to “ON” and SW2 to “OFF”;
Press the “RESET button, then HMI restarts and enters the Touch Screen Calibrate interface.
Open KDManager, enter【System Operation】to update the Kernel and Root files system.
!
Please backup the configuration projects, recipe data and so on before update Kernel/Root files system, to
560
6 Maintenance and Tending
This chapter mainly introduces the maintenance and inspection methods to prevent errors occur, so as to ensure the normal
!
Caution
Do not disassemble the host or touch any internal component in a powered state, otherwise electric
6.1 Maintenance
To ensure the HMI in an optimal state, please maintain the following items regularly:
Regularly backup engineering data and store it to safe place, to prevent engineering data loss when HMI malfunctions and
⚫ Backlight replacement
When the backlight darkens and is difficult to see clearly, then, the backlight should be replaced. The users cannot replace
When you need to replace the backlight, please contact your local dealer or representative offices.
⚫ Battery replacement
Some HMI models use button type Li-Mn batteries to save recipe data and system time when HMI powers off, when the
voltage of the battery is lower than 2.5V, then the battery should be replaced. Users could buy and replace the batteries
6.2 Tending
⚫ Screen tending
When the screen gathers dust or dirt, please disconnect the power supply for HMI, then, soak a piece of soft cloth in neutral
detergent and wring it to dry, and then wipe the screen gently.
!
Prohibition
1. Do not use paint thinner, organic solvent or strong acid mixture to clean the screen.
2. Do not use hard or sharp objects to operate or wipe the screen, otherwise, screen surface will be
damaged.
⚫ Periodic inspection
To ensure the HM in an optimal state, please inspect the following items regularly:
561
Kinco DTools Configuration Edit Software
➢ Working environment
Whether the temperature or humidity of HMI working environment is in the specified range?
➢ Electrical performance
➢ Others
Has any of the power cable or power cord of the power supply terminals been loosened?
562
Appendix 1 Regular PLC Used for HMI
Ethernet(TCP Slave)
AB CompactLogix/ControlLogix Series
Ethernet(TCP Slave)
Baumuller BM4413-ST0-02200-03
CANOpen
Danfoss FC-300
DVP
563
Kinco DTools Configuration Edit Software
SJ300 Inverter
Modbus RTU
ED Series Servo
CD Series Servo
Kinco EB-MOD2P-01
EB-MOD2P-11
LS GLOFA FEnet
LUST CDE34.008
ServoOne junior
Q Series PLC
Modbus ASCII
564
Appendix 1 Regular PLC Used for HMI
Modbus TCP
Modbus UDP
E5EZ-R3 Controller
OPTO SNAP
SLVD Series
6K4 Series
PROFIBUS DP Master
Twido
Profibus Slave
Profibus Slave
S7-1200
565
Kinco DTools Configuration Edit Software
Thinget Controller
Yaskawa V Inverter
566
Appendix 2 List of Error Information
Compilation failed! No compiled PKG files are Macro code or other reasons result in compilation failing,
1
generated! no compiled PKG files are generated.
Warning: Init. Start Window does not exist, the The initial start picture saved in the original project possibly
2 software will add the default Init. Start Window has been lost, the system will automatically replace it with
Logo's size is too big, please adjust it! Logo's The bitmap imported for Initial Start Window is bigger than
3
size is out of limit: Width*Height > 2097152 the software restriction.
6 Current HMI cannot support this component! The current HMI does not support the component.
8 Unable to write file, export failed! The exported file name is possibly illegal.
The project is existed in your selected content, The new project is of the same name with the already
10
replace the old one? existing project in the path.
The new version project cannot be opened by the Software of low version cannot open the project edited by
12 old version software! Please update your new version software. The software is upward compatible,
Cannot save project. Please check the following The project is set to read only and cannot be modified and
13
files permission! saved again.
Save project error, please resume you project The project saved last time will be backupped automatically
14
from \"temp\" directory in your project directory! in the \"temp\" directory.
The project had been modified, please save and After modifying, the project should be saved and compiled
15
compile first! again.
16 Can not find compiled file, please compile first! PKG file is wrong or lost.
567
Kinco DTools Configuration Edit Software
software .Do you want to backup and update the Prompt for backuping when use high version software to
19
project now?\n\nWarning:the updated project can open the project edited by low version software.
The variable names possibly include “?”, “、”, “/” and such
21 Rename variable error!
illegal characters.
Project error: some HMIs, PLCs or connectors HMIs, PLCs and communication cables do not be
23
are not be connected! connected properly in the Construct Window.
After delete, all related register address for the When delete PLCs, all the registers related with PLC will be
25 plc items will be set default value and can not be changed to HMI default registers, and cannot be recovered,
If remove all, all objects will be deleted and can Prompts of 【Delete all】in the attribute box of BUS, events,
26
not be recovered! Do you want to continue? alarms, text libraries, address labels, PLC control.
After replace, some parts of the HMI will change When replacing HMI models, the different screen sizes will
27 position, size or colour, and can not be lead to some components’ attributes be adjusted
Element or the special function of the element. It the new HMI will be automatically deleted due to different
28
has been deleted! hardware, for example Video, Historical Event Display and
such components.
Project contains some HMIs which are not The discontinued HMI models have been deleted in the
supported by current version software. These configuration software of higher version, the discontinued
29
HMIs had been auto updated to some available HMI model will be replaced automatically when open the
31 Error: address format error The address format does not match with the actual format of
568
Appendix 2 List of Error Information
Error: address input error component, possibly decimal number is written to octonary
33 The files are damaged or deleted, can not play! Audio files faulted.
Load system word library error!/ Vector font files If the font library used in the project does not exist in the
34 used in project does not exist, please close the computer, then song typeface will be taken as default when
The size of File %s is larger than 256K, the file Audio file imported into audio library should be less than
37
can not be added to sound library! 256k.
The fieldbus device is already defined, do you If a fieldbus or network device is already defined in HMI, it
38 want to replace it?/ Network device is already will prompt when you add the same fieldbus or network
Window size settings failed, please adjust parts The width and height values of the modified window should
42
position first, then reset the windows size! be bigger than its coordinate values.
Error: Please select at least one display 【Conditional display】of component is chosen,but no
44
condition! display condition is checked and click【OK】.
Part size error: Width and height of part can not The width and height values should both be bigger than 1
45
less than 1! when modifying component size.
46 Error: The content cannot be empty! When static text is used, it must not be empty.
The input content of static text is too long and exceeds the
47 Error: Text size must less than screen size!
screen size.
569
Kinco DTools Configuration Edit Software
Same item exists in the text library, whether or Prompt when import text library and there is item of the
48
not to replace? same name already existed.
The Fonts are too big that exceed the display area of the
49 Error: Text size must less than screen size!
components and windows.
The HMI does not support the HistoryDataDisp KW5300T/KM5303T/KG5509T/KG5300T do not support
50
components! historical data display.
The station NO. is already defined, please check When adding new PLC, there is the same station no. already
53
it! existing in the same protocol.
The window id is incorrect or the window exists, The number for the new frame is illegal or the number is
54
please input another id! already existed.
Send data error/read data error/Data checkSum is inconsistent with data sent by upper machine, please
60
error/file checksum fail unplug the communication cable between HMI and PLC,
61 Recipe file size error Recipe size is larger than HMI recipe registers.
570
Appendix 2 List of Error Information
Upload password must contain nonzero The password cannot be zero when setting upload password
67
character! in【HMI Attribute】page.
68 Invalid Password, please Input Password again! Upload password entry failure.
69 password checksum fail Prohibiting upload is set in the target HMI program.
71 password error, please reset system and try again Password for decompilation is input wrong repeatedly.
72 Failed to upload file communication cable between HMI and PLC, restart HMI
75 PKG file does not allow decompile! Prohibit decompiling is set in the【HMI Attributes】page.
PKG file edited by configuration software Only the PKG files edited by software version higher than
76
version lower than1.2.3.0 cannot be decompiled! version 1.2.3.0 can be decompiled.
Another decompile process has not ended, please Prompt when starting a new decompilation while there is a
77
closed it first! decompilation in process.
Online Simulation overtime and Program is end, Maximum duration for direct online simulation is 15
79
if want, Please Simulate again minutes, after the time run out users need to simulate again.
571
Kinco DTools Configuration Edit Software
Allow LW.B9296.0 [0]System Error System error (Possibly file system fault)
mask/edit LW.B9296.1 [1]PLC Response Error Communication with PLC error, possibly the
are consistent)
fault)
LW.B9296.6 [6]MacroCode Error:xxxx Macro code xxxx execution error (Check macro
code)
LW.B9296.9 [9]Memory Shortage Run out of memory (Possibly open two many
LW.B9296.A [10]BCD Transform Overflow BCD conversion outflow. Check whether BCD
572
System Parameters
loop)
of HMI)
printing)
LW.B9297.0 [16]Servo Not Ready Server data is not ready (possibly server error), or
LW.B9297.3 [19]Data Input Failed Number input failed, the input value exceeds the
component.
LW.B9297.5 [21]Copying File ... File is in copy (This is a normal prompt during
LW.B9297.6 [22]Copy File Failed File copy failed (Project export or screen shoot
fail)
LW.B9298.0 [32]RTC Device Error RTC clock fault (possibly RTC chip fault)
LW.B9298.2 [34]Invalid UserName Invalid user name (The input user name is invalid
or modifying password)
573
Kinco DTools Configuration Edit Software
LW.B9298.8 [40]HMI will be locked The lock screen function is used in the project, and
the expiration date is coming.
Do not allow No DOWNLOAD/SIM MODE Enter download mode
TP adjust fail, try again! Touch screen calibration fail, calibrate again.
redownload!
Kinco DTools version too low! The software version is too low, please use the
Please compile with new version! newest version, compile and download project
again.
firmware error.
574