LT Series HMI Studio User Manual
LT Series HMI Studio User Manual
Content
1 Introduction ........................................................................................................................... 1
2 Quick start .............................................................................................................................. 1
2.1 Electrical connection of the screen ............................................................................. 1
2.1.1 Connect to the power supply ........................................................................... 1
2.1.2 Connect to the computer ................................................................................. 1
2.1.3 Serial port connection ...................................................................................... 1
2.1.4 USB Host connection ........................................................................................ 2
2.1.5 Network port using........................................................................................... 2
2.2 Software downloading and installing .......................................................................... 2
2.2.1 Software downloading ..................................................................................... 2
2.2.2 Software installing ............................................................................................ 2
2.2.3 Installation is completed. ................................................................................. 3
2.3 First use ....................................................................................................................... 4
2.4 Project download and upload ..................................................................................... 8
2.4.1 Project downloading ........................................................................................ 8
2.4.2 Project downloading from USB disk ............................................................... 10
2.4.3 Project uploading ........................................................................................... 14
2.4.4 Project uploading to USB disk. ....................................................................... 17
2.4.5 Project decompiling........................................................................................ 17
3 Description for communication connection ......................................................................... 19
LEADSHINE .......................................................................................................................................... 19
DELTA................................................................................................................................................... 19
FATEK................................................................................................................................................... 20
Flexem ............................................................................................................................. 21
1 flexem_fl2n_mistubishi_fx2n_compatable.......................................................... 21
2 flexem_fl2n_modbus ........................................................................................... 22
3 Differences between Flexem FL2N(Mistubishi FX2N Compatable) and Flexem
FL2N(Modbus) ................................................................................................................. 22
HCFA ............................................................................................................................................ 23
Hitachi ............................................................................................................................. 25
HollySys ........................................................................................................................... 26
Inovance .......................................................................................................................... 27
Kewei ............................................................................................................................... 28
KEYENCE .......................................................................................................................... 29
Kinco................................................................................................................................ 29
LS ..................................................................................................................................... 30
1 ls_mster_cpu_serial ............................................................................................. 30
2 ls_xgt_cpu_serial .................................................................................................. 31
MEGMEET ....................................................................................................................... 32
MIKOM ..................................................................................................................................33
Mitsubishi ........................................................................................................................ 34
1 Mitsubishi_FX0S_FX0N_FX1S_FX1N_FX2............................................................. 34
2 Mitsubishi FX2N ................................................................................................... 35
LT Studio User Manual
3 Mitsubishi FX3U_FX3G ......................................................................................... 36
4 Mitsubishi Melsec Q ............................................................................................. 37
5 Mitsubishi_FX3U_ENET_L .................................................................................... 38
6 Mitsubishi_melsec_ethernet ............................................................................... 39
Modbus ........................................................................................................................... 40
1 Modbus_RTU........................................................................................................ 41
2 Modbus_ RTU _Extend ......................................................................................... 41
3 Differences between Modbus_RTU and Modbus_RTU_Extend .......................... 42
4 Modbus_ TCP............................................................................................................. 42
5 Modbus_ UDP ...................................................................................................... 43
Modbus RTU Server - Serial port service......................................................................... 44
Modbus TCP Server– Ethernet service ............................................................................ 45
OMRON ........................................................................................................................... 46
Panasonic ........................................................................................................................ 47
Siemens ........................................................................................................................... 49
1 Siemens S7_200 ................................................................................................... 49
2 Siemens S7_200 Network..................................................................................... 50
3 Siemens S7_200 Network Module ....................................................................... 51
4 Siemens S7_300 MPI ............................................................................................ 52
5 Siemens S7_300_network .................................................................................... 53
6 Siemens S7_1200_network .................................................................................. 54
THINGET .......................................................................................................................... 56
TRIO ................................................................................................................................. 56
1 TRIO _modbus ...................................................................................................... 56
2 TRIO _modbus_extend ......................................................................................... 57
3 Differences between TRIO _modbus and TRIO _modbus_extend ....................... 58
Yaskawa ........................................................................................................................................58
1 Yaskawa ............................................................................................................................58
2 Yaskawa network device....................................................................................... 58
Yokogawa .....................................................................................................................................59
4 Detailed manual ................................................................................................................... 61
4.1 File ............................................................................................................................. 61
4.2 View........................................................................................................................... 62
4.3 Edit ............................................................................................................................ 64
4.4 Window ..................................................................................................................... 66
4.5 Drawing ..................................................................................................................... 70
4.5.1 Straight Line ................................................................................................... 70
4.5.2 Fold Line ......................................................................................................... 71
4.5.3 Rectangle ........................................................................................................ 72
4.5.4 Polygon ........................................................................................................... 73
4.5.5 Ellipse ............................................................................................................. 76
4.5.6 Arc .................................................................................................................. 79
4.5.7 Sector ............................................................................................................. 80
4.5.8 Sector Ring ..................................................................................................... 81
LT Studio User Manual
4.5.9 Static Picture .................................................................................................. 82
4.5.10 Static Text..................................................................................................................... 88
4.6 Component ............................................................................................................... 94
4.6.1 Switch ............................................................................................................. 94
4.6.2 Indicator Light .............................................................................................. 114
4.6.3 Numeric Value and Character Display .......................................................... 121
4.6.4 Toggle Switch and menu ............................................................................... 143
4.6.5 Timer and Data Transmission ...........................................................................166
4.6.6 Barand Meter ............................................................................................... 176
4.6.7 Curve Graphs ................................................................................................. 188
4.6.8 Scale ............................................................................................................. 208
4.6.9 Table........................................................................................................................ 215
4.6.10 Slider .......................................................................................................... 221
4.6.11 Moving Component ................................................................................... 224
4.6.12 Window ...................................................................................................... 226
4.6.13 List .............................................................................................................. 234
4.6.14 Tools...................................................................................................................... 257
4.6.15 Pipeline....................................................................................................... 262
4.7Library ...................................................................................................................... 266
4.7.1 GraphicsLibrary ............................................................................................. 266
4.7.2 Text Library .................................................................................................... 271
4.7.3 Address Tag Library ....................................................................................... 275
4.7.4 Audio Library ...................................................................................... 277
4.8Macro ....................................................................................................................... 285
4.8.1 Create Macro ................................................................................................ 285
4.8.2 Edit Macro ..................................................................................................... 286
4.8.3 Enable Password Verification ...........................................................................287
4.8.4 Update Macro Password .............................................................................. 288
4.9 Recipe ...................................................................................................................... 290
4.9.1 General .......................................................................................................... 290
4.9.2 Data Information .......................................................................................... 294
4.10 Setup ..................................................................................................................... 297
4.10.1 HMI settings ............................................................................................... 297
4.10.2 System Settings .......................................................................................... 300
4.10.3 Communication Settings ............................................................................. 346
4.10.4 Options ....................................................................................................... 364
4.11 Tools .................................................................................................................................. 367
4.12 Help ....................................................................................................................... 370
4.13 General functions .................................................................................................. 371
4.13.1 Address editor ............................................................................................ 371
4.13.2 Drawing ...................................................................................................... 380
4.13.3 Font settings................................................................................................ 382
4.13.4 Graphic edit ................................................................................................ 384
4.13.5 Control settings .......................................................................................... 388
LT Studio User Manual
4.13.6 Display ........................................................................................................ 395
4.13.7 Keyboard setting ........................................................................................ 398
4.13.8 Label ........................................................................................................... 401
4.13.9 Marquee ..................................................................................................... 404
4.13.10 Logic Control ............................................................................................ 406
4.13.11 Shadow Effect ...............................................................................................411
4.13.12 Position..................................................................................................... 412
4.13.13 Rotation .........................................................................................................414
4.13.14 Dynamic Graphics..................................................................................... 415
4.13.15 Table Drawing ........................................................................................... 416
4.13.16 Export CSV ................................................................................................ 418
5 Use topic............................................................................................................................. 420
5.1 Find and Replace ..................................................................................................... 420
5.2 Outline..................................................................................................................... 421
5.4 Macro ...................................................................................................................... 424
5.4.1 Macro Editor Introduction ............................................................................ 424
5.4.2 A Macro example ..............................................................................................428
5.5 Online software upgrade ........................................................................................ 435
6 Appendix ............................................................................................................................ 436
6.1 The Use of Register .................................................................................................. 436
6.1.1 Word Register ............................................................................................... 436
6.1.2 Bit Register ................................................................................................... 437
6.2 Built-in Functions .................................................................................................... 438
6.2.1 Read Write Function ..................................................................................... 438
6.2.2 System Functions.......................................................................................... 445
6.2.3 Computation and Conversion Function ........................................................ 450
6.2.4 Operator ............................................................................................................450
6.3 System Register Bits and Words List ........................................................................ 451
LT Studio User Manual
1 Introduction
The software “LT Studio” you are using is a new configuration software product developed
by our R&D team for Leadshine HMI. It was produced with more than ten years of technical
experience and accumulation based on sufficient practices on Human Machine Interface product
development and field actualization. We believe you will feel our specialization and concentration
when you use this software. Thank you!
2 Quick start
Fig. 1
Fig. 2
1 / 488
LT Studio User Manual
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Click here to
finish installation
3 / 488
LT Studio User Manual
Fig.8
(1) Click the menu “File”–“New”, or click the shortcut ”, as shown in Fig. 9.
(a)
(b)
Fig. 9
(2) Enter the project name and select the project saving path. The project name can be
Chinese, as shown in Fig. 10.
Fig. 10
(3) Select the touch screen type, as shown in Fig. 11.
4 / 488
LT Studio User Manual
Fig. 11
(4) Click the button “Next” and set the bus line communication mode for the touch screen,
as shown in Fig. 12.
(b) COM
5 / 488
LT Studio User Manual
Fig. 13
(6) Add an “Input” variable and a “Display” variable into the picture and set the properties,
as shown in Fig. 14.
6 / 488
LT Studio User Manual
(b)
Fig. 14
(7) Click “Offline simulating” button and wait till engineering is completed, as shown in Fig.15.
Fig. 15
(8) Debug with the simulator to view the design effect, as shown in Fig. 16.
(a)
7 / 488
LT Studio User Manual
(b)
(c)
Fig. 16
8 / 488
LT Studio User Manual
Fig. 25
② Select the project downloading mode, USB or network, and click OK to download, as
shown in Fig. 26. If “Communication failure” appears, please check if the downloading line is
correctly connected (USB line or network line). If the downloading operation is failed, please cut
off the power supply to restart the HMI and try again.
Fig. 26
③ Wait till downloading is completed, and then click “OK”, as shown in Fig. 27.
9 / 488
LT Studio User Manual
(a)
(b) Fig.
27
10 / 488
LT Studio User Manual
(a)
(b) Fig.
28
②Insert the USB disk into the touch screen. When the touch screen is activated, press and
hold at any point on the screen with a finger, as shown in Fig. 29.
11 / 488
LT Studio User Manual
Fig. 29
③Press the button “Setup” for uploading, as shown in Fig. 30. Select “Project” and enter the
password, as shown in Fig. 31. The default password for project management is “888888” which
can be modified in the “Global Setting” of the software.
Fig. 30
12 / 488
LT Studio User Manual
①Click here
Fig. 31
④Select the package file in the USB disk on the tab page “Import” (if project uploading to a
USB disk is needed, please select the tab page “Export”. The path for uploading the project file
needs to be given), and wait till data transmission is completed, as shown in Fig. 32.
(a)
13 / 488
LT Studio User Manual
①Click “Project”
②Click “OK”
(b)
(c) Fig.
32
14 / 488
LT Studio User Manual
Fig. 20
②Enter the password for uploading, as shown in Fig. 21. The default password is “888888”
which can be modified in “Global Settings”, as shown in Fig. 22.
Fig. 21
15 / 488
LT Studio User Manual
Fig. 22
③Select the project uploading path and save the file name, and click “Save”.
④If the screen is correctly connected to the computer, the packaging operation will be
started for uploading. Select the “Project” option, and click the “Upload” button, as shown in Fig.
23. When the uploading operation is finished, the “Uploading Success!” dialog box pops up, as
shown in Fig. 24. Then click the “OK” button.
Fig. 23
2.4.4 Project uploading to USB disk.
The uploading to USB disk is similar to the downloading from USB disk. Please see the details
in the Quick start/Project download and upload/Project Downloading from USB disk.
Select “Export the Project” in the 4th step.
①Firstly, click the tool button “Decompile”, select the package fpg file, set the project saving
16 / 488
LT Studio User Manual
path, and click the “Decompile” button, as shown in Fig. 17.
Fig. 17
② Enter the password for decompiling. The default password is “888888” which can be
modified can viewed in the “General Setting” of the software, as shown in Fig. 18.
Fig. 18
③After the “Decompile Success!” dialog box appears, click “OK” to complete the
decompiling, as shown in Fig. 19.
Fig. 19
17 / 488
LT Studio User Manual
3 Description for communication connection
LEADSHINE
1 .Serial communication
RS485 communication:
18 / 488
LT Studio User Manual
RS485 communication:
19 / 488
LT Studio User Manual
2 .Ethernet communication
20 / 488
LT Studio User Manual
DELTA
21 / 488
LT Studio User Manual
FATEK
22 / 488
LT Studio User Manual
Flexem
3 flexem_fl2n_mistubishi_fx2n_compatable
Flexem(MISTUBISHI FX2N COMPATIBLE)
▪ Flexem FL2N series RS232 cable
23 / 488
LT Studio User Manual
4 flexem_fl2n_modbus
FLEXEM FL2N (Modbus compatible protocol)
▪ Flexem FL2N series RS232 cable
Additional description:
24 / 488
LT Studio User Manual
① If modbus applies PLC Addresses (Base 1), please refer to the table below for the address
correspondence
② If modbus applies Protocol Addresses (Base 0), please refer to the table below for the
address correspondence
HCFA
25 / 488
LT Studio User Manual
▪ HC series PLC circular 8-pin RS485-4 cable
26 / 488
LT Studio User Manual
Timer contact T_bit0-511 —— DDD
Counter contact C_bit0-511 —— DDD
Stepping relay S0-4095 —— DDDD
Special internal relay SM8000-9999 —— DDDD
Data register bit D_bit0.0-7999.F —— DDDD.H
Data register —— D_word0-7999 DDDD
Special data register —— SD8000-9999 DDDD
Timer current value —— T_word0-255 DDD
File register R0-32767 DDDDD
Counter current value —— C_word0-199 DDD
Counter current value —— C_dword200-255 DDD
Hitachi
27 / 488
LT Studio User Manual
▪ Registers supported by EHV-CPU_ APPLICATION
HollySys
28 / 488
LT Studio User Manual
Inovance
29 / 488
LT Studio User Manual
Kewei
▪ Kewei cable
30 / 488
LT Studio User Manual
Data register —— D_word0-7999 DDDD
Special data register —— SD8000-9999 DDDD
Timer current value —— T_word0-255 DDD
Counter current value —— C_word0-199 DDD
Counter current value —— C_dword200-255 DDD
KEYENCE
Kinco
31 / 488
LT Studio User Manual
▪ Kinco series RS485-2 cable
LS
1 ls_mster_cpu_serial
▪ LS Master_K CPU Serial S232 cable
32 / 488
LT Studio User Manual
2 ls_xgt_cpu_serial
▪ LS XGT CPU Serial RS232 cable
33 / 488
LT Studio User Manual
MEGMEET
34 / 488
LT Studio User Manual
▪ Registers supported by MEGMEET M280
Device Bit Address Word Address Format Notes
Output relay Y0-571 —— OOO
Input relay X0-571 —— OOO
Internal relay M0-10239 —— DDDDD
Timer contact T_bit0-511 —— DDD
Counter contact C_bit0-511 —— DDD
Stepping relay S0-4096 —— DDDD
Special internal relay SM0-511 —— DDD
Auxiliary register —— R0-32767 DDDDD
Data register —— D_word0-7999 DDDD
Special data register —— SD0-511 DDD
Variable address register —— Z0-15 DD
Timer current value —— T_word0-511 DDD
Counter current value —— C_word0-199 DDD
Counter current value —— C_dword200-255 DDD
MIKOM
35 / 488
LT Studio User Manual
Counter contact C_bit0-511 —— DDD
Stepping relay S0-1535 —— DDDD
Special internal relay SM0-511 —— DDD
Auxiliary register —— Un 0-199 DDD n: 0-7
Data register —— D0-32767 DDDDD
Special data register —— SD0-511 DDD
Variable address register —— Z0-255 DDD
Timer current value —— T_word0-511 DDD
Counter current value —— C_word0-199 DDD
Counter current value —— C_dword200-255 DDD
Mitsubishi
1 Mitsubishi_FX0S_FX0N_FX1S_FX1N_FX2
▪ Mitsubishi FX series CPU port RS232 cable
Mitsubishi serial programming cable is used to communicate with the HMI device.
36 / 488
LT Studio User Manual
Counter contact C_bit0-255 —— DDD
Stepping relay S0-9999 —— DDDD
Special internal relay SM8000-9999 —— DDDD
Data register —— D_word0-7999 DDDD
Special data register —— SD8000-9999 DDDD
Timer current value —— T_word0-255 DDD
Counter current value —— C_word0-255 DDD
2 Mitsubishi FX2N
▪ Mitsubishi FX series CPU port RS232 cable
Mitsubishi serial port programming cable is used to communicate wiht the HMI device.
37 / 488
LT Studio User Manual
Counter current value —— C_word0-199 DDD
Counter current value —— C_dword200-255 DDD
3 Mitsubishi FX3U_FX3G
▪ Mitsubishi FX series CPU port RS232 cable
The Mitsubishi serial port cable is used to communicate between the HMI device and the programming
device.
38 / 488
LT Studio User Manual
4 Mitsubishi Melsec Q
▪ Mitsubishi Melsec Series Q RS232 cable
39 / 488
LT Studio User Manual
Data output relay DDY0-7FF —— HHH
Data input relay DX0-7FF —— HHH
Stepping relay S0-2047 —— DDDD
Special link relay SB0-3FF —— HHH
Counter coil CC0-511 —— DDD
Counter contact CS0-511 —— DDD
Accumulative timer coil SC0-511 —— DDD
Accumulative timer contact SS0-511 —— DDD
Timer coil TC0-511 —— DDD
Link relay B0-7FF —— HHH
Variable address relay V0-1023 —— DDDD
Alarm F0-1023 —— DDDD
Latch relay L0-2047 —— DDDD
Internal relay M0-8191 —— DDDD
Output relay Y0-7FF —— HHH
Input relay X0-7FF —— HHH
Timer contact TS0-511 —— DDD
Data register —— D0-11135 DDDDD
File register —— ZR0-65535 DDDDD
Variable address register —— Z0-9 D
Stepping register —— SW0-3FF HHH
File register —— R0-32767 DDDDD
Counter current value —— CN0-511 DDD
Accumulative timer current —— SN0-511 DDD
value
Timer current value —— TN0-511 DDD
Link register —— W0-7FF HHH
5 Mitsubishi_FX3U_ENET_L
▪ Mitsubishi_FX3U_ENET_L cable
40 / 488
LT Studio User Manual
6 Mitsubishi_melsec_ethernet
Mitsubishi Melsec Ethernet (Ascii/Bin)
▪ Mitsubishi_Melsec_Ethernet (Ascii/Bin) cable
41 / 488
LT Studio User Manual
Modbus
42 / 488
LT Studio User Manual
1 Modbus_RTU
▪ Modbus RTU series RS232 cable
43 / 488
LT Studio User Manual
▪ Modbus RTU Extend series RS485-2 cable
▪ Notice:
4X_DINV and 3X_DINV are the big end format of double word 4X, and it is a word type
address. For example, 4X3 is the hexadecimal 1234, 4X4 is the hexadecimal 5678, and 4X_DINV is
the hexadecimal 12345678.
4 Modbus_ TCP
▪ Modbus TCP cable
44 / 488
LT Studio User Manual
5 Modbus_ UDP
▪ Modbus UDP cable
45 / 488
LT Studio User Manual
46 / 488
LT Studio User Manual
47 / 488
LT Studio User Manual
OMRON
Omron CP1H_CP1L
▪ OMRON CP1H_CP1L series RS232 cable
48 / 488
LT Studio User Manual
Panasonic
49 / 488
LT Studio User Manual
▪ Panasonic FP series RS232 cable
50 / 488
LT Studio User Manual
Siemens
1 Siemens S7_200
51 / 488
LT Studio User Manual
▪ Siemens S7-200 series RS232 cable
Siemens serial port programming cable is used to communicate with HMI device.
52 / 488
LT Studio User Manual
53 / 488
LT Studio User Manual
54 / 488
LT Studio User Manual
5 Siemens S7_300_network
▪ Siemens S7-300 Network cable
55 / 488
LT Studio User Manual
6 Siemens S7_1200_network
▪ Siemens S7-1200 Network cable
56 / 488
LT Studio User Manual
57 / 488
LT Studio User Manual
THINGET
TRIO
1 TRIO _modbus
▪ TRIO_modbus series RS232 cables
58 / 488
LT Studio User Manual
2 TRIO _modbus_extend
▪ TRIO_modbus_extend series RS232 cable
59 / 488
LT Studio User Manual
Device Bit Address Word Address Format Notes
System internal/external output node 0X1-65535 —— DDDDD
System internal/external input node 1X1-65535 —— DDDDD
Analog input data bit 3X_BIT1.0-65535.15 —— DDDDD.DD
Data register bit 4X_BIT1.0-65535.15 —— DDDDD.DD
Analog input data register —— 3X1-65535 DDDDD
Data register —— 4X1-65535 DDDDD
Data register —— 5X1-65535 DDDDD
Data register —— 6X1-65535 DDDDD
Data register —— 3X-DINV1-65535 DDDDD
Data register —— 4X-DINV1-65535 DDDDD
Yaskawa
1 Yaskawa
▪ Yaskawa MP Series SIO (Extension) cable
60 / 488
LT Studio User Manual
Yokogawa
61 / 488
LT Studio User Manual
62 / 488
LT Studio User Manual
4 Detailed manual
4.1 File
1 Save Project
Shortcut key: <Ctrl>+<S>. Save the project being edited.
2 Close Project
Close the current project without exiting the software, usually used for switching among
projects.
3 Save Project As
Use a new path or new name to save the current project (without deleting the previous
project).
5 Open Project
Shortcut key: <Ctrl>+<O>. It is used to open an existing project other than any project
repeatedly.
After the software is opened, any project with the file suffix name “*.fsprj” can be opened by
clicking it on the project name.
Remark: if the software is correctly installed, the user can directly open the project by clicking
the corresponding file with the postfix *.fsprj in the Windows Explorer.
63 / 488
LT Studio User Manual
Please refer to the “First Use” for the following settings.
7 Transform Project
Convert project from software FD2000 into the current software version. But only the picture
name and the text can be converted, and other parameters must be reset.
8 Exit
Shortcut key: <Alt>+<X>. It is used to close the project and exit the software.
4.2 View
1 Outline
Open/close the outline view, and list all available components on the current window. One or
all components can be quickly hidden or locked.
Display
Lock
Unlock
Hide
2 Project
Open/close project view which the tree structure facilitates the operation such as “HMI
setting”, “window”, “communication connection”, “system setting”, “library”, “macro”, and
“prescription”, and so on. Details can be seen in Detailed manual /Setup.
64 / 488
LT Studio User Manual
3 Current language
Select the current displaying language and the checked language is the current displaying
language.
Note: the language refers to the content edited well by the current project other than
translated by the system automatically!
4 Current Status
The checked Status is the current status. It is used to display the components displaying effect
quickly in different status.
7 Window
Open/close the window view and use the tree structure facilitates modifying the Power-on
Screen, Public Window, Basic Window, Keyboard Window and System Window.
○ 1 Power-on Screen
It is the window displayed at startup. Any picture expected to be used by the user, such as
the company Logo, can be displayed. But it will disappear after a while before entering the
configuration screen. The picture formats supported are BMP, JPG, GIF and PNG.
65 / 488
LT Studio User Manual
○ 2 Common window
The common window always exists and all common window attributes are effective no matter
the configuration screen is on a basic window or a pop-up window. The general effective
components such as t macro and timer can be set in this window.
○ 3 Drop-down Window
TheDrop-down Window can be operated to edit the content of the drop down list when the
configuration screen is running. But this function is only effective for a capacitor screen.
○ 4 Basic Window
The attribute of basic window can be viewed or modified here. The window of number
29001~29006 is provided to log on with the user’s authority for the user. It can be directly used in
the software.
○ 6 Keyboard Window
The keyboard window attributes can be viewed or modified after clicking here. And a
customized keyboard can be created which used in the software.
○ 7 System window
The system window can be viewed (it can also be modified under direction) after clicking here,
for example, the system window of “communication information”.
8 Output
Open/close the output view. The compiling information can be output and displayed here.
9 Error
Open/close the error view. All errors collected during compiling are recorded here.
4.3 Edit
1 Cancel
Cancel the operation and go back to the previous one.
2 Recovery
Recover the last action cancelled.
66 / 488
LT Studio User Manual
3 Find/Replace
Set the designated searching range and search the bit address/ word address or replace with
a new bit address/ word address/.
4 Cut
Cut away the selected component and temporarily save it on the clipboard.
5 Copy
Copy the selected component and temporarily save it on the clipboard
6 Multi-Copy
Set the copy range, quantity, interval and direction, and make the addresses change in any
rule to obtain more components (many components can be copies and pasted integrally, and the
addresses will change orderly).
7 Paste
Paste the content of the clipboard onto the project.
8 Delete
Delete the selected components from the project.
9 Inching
Move left/right/up/down for one unit.
10 Alignment
It is effective only when many components are selected. It is used to align these components
on the left, on the vertical middle line, on the right, on the up, on the horizontal middle line, or on
the bottom.
11 Size
It is effective only when many components are selected. It is used to set these components
to the same width, height or same size.
12 Layer
It is effective only when the component is selected. It is used to set the component to the top,
to the bottom, to the previous layer, to the next layer, or set many components in the same
horizontal space or in the same vertical space.
13 Same Color
It is effective only when many components are selected. It is used to set all components in
the same color.
14 Group
Integrate many components.
15 Ungroup
Make the components of group to restore into individuals.
67 / 488
LT Studio User Manual
16 Center horizontally
Center all selected components horizontally in the window.
17 Center vertically
Center all selected components vertically in the window.
18 Lock
Lock the position of the component and stop it from size adjusting or position adjusting.
19 Unlock
Unlock a locked component and restore it to the state that its size or position can be adjusted.
4.4 Window
2 Delete Window
Delete the selected window
○ 1 Basic
68 / 488
LT Studio User Manual
○ 4 Timer
It is used to set an executing cycle. You can execute a macro or directly set a word or a bit
according to the trigger conditions.
69 / 488
LT Studio User Manual
70 / 488
LT Studio User Manual
8 Show Grid
71 / 488
LT Studio User Manual
Display the grid and facilitate the user to view the position of components.
9 Grid alignment
Facilitate components aligning by the grid alignment function.
11 Grid Setting
Pop up the Grid Setting window. The user can customize the grid color and space here.
12 Window Zoom
Resize the window in a proportion including 50%, 75%, 100%, 125%, 150%, 175%, or 200%.
4.5 Drawing
○ 1 General
• Arbitrarily Line
The user can draw a straight line at will.
• Horizontal
Rotate the straight line drawn by the user to the horizontal position around the center point.
72 / 488
LT Studio User Manual
• Vertical
Rotate the straight line drawn by the user to the vertical position around the center point.
• Line
See Detailed manual/General functions/Drawing/Bordersettings.
• Arrow
The user can set the arrow pattern in the combo box, see the figure below.
• Position
See Detailed manual/General functions/Drawing/Position.
• Rotate
See Detailed manual/General functions/Drawing/Rotation.
○ 2 Dynamic Graphics
See Detailed manual/General functions/Drawing/Dynamic Graphics for the details.
○ 3 Indicator Light
See Detailed manual/Component/Indicator Light for the details.
○ 4 Display
See Detailed manual/General functions/Drawing/Display for the details.
73 / 488
LT Studio User Manual
Click the left key to fix the fold line point in drawing. And click the right key to finish drawing.
See details in: Detailed Manual/ Drawing/ Straight Line.
4.5.3 Rectangle
○ 1 General
• Rectangle
A rectangle is set to be drawn by the user.
• Square
Make the rectangle width equal to its length, and thus it is set into a square.
• Border
See Detailed manual/General functions/Drawing/Border settings.
• Chamfer
After it is checked, edges of the rectangle drawn by the user can be chamfered in Line type
(as shown in Fig. a) or in Fillet type (as shown in Fig. b). The maximum chamfering length cannot
be larger than 1/2 of the shortest side length.
a.
74 / 488
LT Studio User Manual
b.
• Position
See Detailed manual/General functions/Drawing/Position.
• Rotate
See Detailed manual/General functions/Drawing/Rotation.
• Fill
See Detailed manual/General functions/Drawing/Filling settings.
• Shadow Effect
See Detailed manual/General functions/Drawing/Shadow Effect.
○ 2 Dynamic Graphics
See Detailed manual/General functions/Drawing/Dynamic Graphics for the details.
○ 3 Indicator Light
See Detailed manual/Component/Indicator Light for the details.
○ 4 Display
See Detailed manual/General functions/Drawing/Display for the details.
4.5.4 Polygon
Draw a polygon by click the polygon tool. You can find the polygon tool in the shortcut tool
bar, the shortcut menu and the pull-down menu.
75 / 488
LT Studio User Manual
A side will be added every time when the left key is clicked. After all sides are obtained, a
polygon can be obtained by clicking the left key and then clicking the right key.
○ 1 General
76 / 488
LT Studio User Manual
(a) Frame line pattern and frame line width (b)Polygon filling color (c)Polygon shadow effect
○ 2 Dynamic Graphics
77 / 488
LT Studio User Manual
○ 3 Indicator Light
(a)
(b)
(c)
(a) Modify the frame color (b) Control the frequency of flickering (c) Modify the filling color
○ 4 Display
See Detailed manual/General functions/Drawing/Display for the details.
4.5.5 Ellipse
Click the ellipse icon on the tool bar by the left key, or select “Ellipse” command from the
menu of Drawing.
78 / 488
LT Studio User Manual
Click and hold the editing area in the window, and drag the mouse to modify the ellipse size
and shape.
○ 1 General
(a)
(b)
(c)
(a) Ellipse border color, width and pattern (b) Ellipse filling color (c) Ellipse shadow effect.
○ 2 Dynamic Graphics
(a)
(b)
(c)
79 / 488
LT Studio User Manual
See Detailed manual/General functions/Drawing/Dynamic Graphics for the details.
○ 3 Indicator Light
(a) Modify the frame color (b) Control flickering frequency (c) Modify the filling color
○ 4 Display
80 / 488
LT Studio User Manual
See Detailed manual/General functions/Drawing/ Display for the details.
4.5.6 Arc
An arc can be drawn in a designated area. The arc component command can be found on the
tool bar or from the menu of Drawing.
Select the arc component, designate any area to draw, and double click to set the arc
properties.
An arc can be got by setting the properties such as line color, width, type, starting angle, end
angle, position and rotation. It can be freely drawn by dragging the yellow and blue areas.
81 / 488
LT Studio User Manual
4.5.7 Sector
A sector can be drawn in a designated area. The sector component command can be found
on the tool bar or from the menu of Drawing.
Select the sector component, designate any area to draw, and double click to set the sector
properties.
82 / 488
LT Studio User Manual
A sector can be got by setting the properties such as line color, width, type, starting angle,
end angle, position, rotation, fill color, fill type and shadow effect. It can be freely drawn by
dragging the yellow and blue areas.
Select the sector ring component, designate any area to draw, and double click to set the
sector ring properties.
83 / 488
LT Studio User Manual
A sector ring can be got by setting the properties such as line color, line width, line type,
starting angle, end angle, position, rotation, fill color, fill type and shadow effect.It can be freely
drawn by dragging the yellow and blue areas.
84 / 488
LT Studio User Manual
After the static picture component is selected, drag by the left key of the mouse, and then
the corresponding properties window will pop up.
Local picture in the computer or in the software picture library can be imported by clicking
the “Import from File” button or the “Import from Lib” button. And the picture will be put into
the window by clicking the “OK” button.
The static picture position can be modified. You can change the position by manually dragging
or by setting the coordinates in the static picture properties window. The static picture size can
be modified, too.
85 / 488
LT Studio User Manual
The static picture size and position can be fixed if the “Locked” is checked. And the static
picture can be rotated around a fixed point. The fixed point and rotation angle can be set. The
picture can be manually rotated (in any angle) after the fixing angle is set.
The static picture size can be set in the properties window by the Scaling function. It can be
set either by checking “Lock Aspect Ratio” (the fixed horizontal/vertical ratio) or by checking “Use
original size” (keeping the original size).
86 / 488
LT Studio User Manual
The picture effect can be beautified by the Shadow Effect function so that it can be
differentiated from the background.
The static picture can be set to display only when the corresponding conditions are satisfied.
The user can choose that the static picture is displayed all the time or displayed in conditions by
setting the Display properties. The conditional display type includes Level User, Privilege User and
Logic Control.
Level User: The static picture will be displayed only in the corresponding user level. It can be
activated by checking it.
87 / 488
LT Studio User Manual
Privilege User: The static picture visibility control needs an authority. The authority system
Logic Control: The static picture visibility can be controlled by the address conditions. The
conditions include bit control (address ON and OFF) and word control (word address value
conditions).
88 / 488
LT Studio User Manual
The static picture can be converted into a dynamic one by logic control. Static pictures can
be quickly switched by picture stacking and the control address.
When the control address is fixed, the position, size and rotation can be controlled. E.g.:
when there are many sector pictures, they can be set to display rotating effect by setting the
Control Rotating.
89 / 488
LT Studio User Manual
When click the Static Text command, the properties dialog will pop up. The content of the
static text to be displayed can be written into the Tag Contents. The font, size, color and alignment
mode can be set here.
90 / 488
LT Studio User Manual
These properties such as the current text font, size, color and the alignment mode can be
copied to make future texts uniform.
The function “Language Independent” can be checked to make sure the text is not influenced
by other languages.
91 / 488
LT Studio User Manual
Sometimes, the project is provided to the users in different countries. You can set the
different contents by switching Languages. Thus different texts can be displayed in different
languages.
Multi languages can be set in System Settings dialog which is opened by clicking the button
92 / 488
LT Studio User Manual
When you check the “Set label position by language state separately” function, different texts
can be aligned in different effects.
The static text can be used which is saved in the text library. The text library dialog can pop
up by clicking the “Text Library” button. You can enter the text in the text library dialog in
advanced and select it to use.
93 / 488
LT Studio User Manual
The static text can be set to a designated position, and the text can be locked to prevent any
displaying defect caused by moving.
When the text includes a lot of words and characters, the revolving displaying function can
be used to save the space. The revolving displaying function can be used by checking the
“Marquee” function. The moving direction and the revolving displaying speed can be set in the
properties dialog of the static text.
94 / 488
LT Studio User Manual
Similar to static picture functions, the static text can be also set to display only if necessary.
The user can choose that the static text is displayed all the time or displayed in conditions by
setting the Display properties. The conditional display type includes Level User, Privilege User and
Logic Control.
Level User: The static text will be displayed only in the corresponding user level. It can be
activated by checking it. The user level system settings dialog can be opened by clicking the button
“ ”.
Privilege User: The static text visibility control needs an authority. The authority system
95 / 488
LT Studio User Manual
Logic Control: The static text visibility can be controlled by the address conditions. The
conditions include bit control (address ON and OFF) and word control (word address value
conditions).
4.6 Component
4.6.1 Switch
The Switch component includes Bit Set, Word Set, Window Operation, Function Key, Data
Transferring and Recipe Transmission.
96 / 488
LT Studio User Manual
4.6.1.1Bit Set
“Bit Set” is a component by which the internal bit address of HMI or the bit address of each
controller connected to HMI is operated. The type of “Execute Setting” includes “On”, “Off”,
“Inverse”, “Reset”, “On Pulse” and “Off Pulse”.
• On
Set the bit address to ON.
• Off
Set the bit address to OFF.
• Inverse
It is set a “Switch” by which the current state can be conversed. If the current bit address is
97 / 488
LT Studio User Manual
ON, after it is operated, the bit address will be conversed to OFF. If the current bit address is OFF,
after it is operated, the bit address will be conversed to ON.
• Reset
When it is operated and kept being held, the bit address is set at the ON state all the time.
When it is released, the state of the bit address will be immediately switched to OFF.
• On Pulse
A rising edge pulse is produced which the bit address keeps the pulse “on” in a designated
time width. The pulse width range is 0.1~1.5 seconds.
• Off Pulse
A falling edge pulse is produced which the bit address keeps the pulse “off” in a designated
time width. The pulse width range is 0.1~1.5 second.
For the “On Pulse”, if the pulse width is set to 1 second and the current bit state is OFF, a 1
second ON pulse signal will be produced and then it goes back to the OFF state. If the current bit
state is ON, a 1 second ON time will be still set because the bit state is already ON, and then the
bit state will turn OFF.
Similar to the “Off Pulse”, if the pulse width is set to 1 second and the current bit state is ON,
a 1 second OFF pulse signal will be produced and then it goes back to the ON state. if the current
state is OFF, a 1 second OFF time will be still set because the bit state is already OFF, and then the
bit state will turn ON.
There is an “Action” attribute for the Bit Set component. It includes two options, “Press” and
“Release”. When the “Bit Set” component is pressed down, the bit set function will be executed
immediately. When the “Release” attribute is selected and the “Bit set” component is pressed,
98 / 488
LT Studio User Manual
the bit set function will not be executed. And when it is released, the “Bit set” function will be
executed immediately. But the action is not valid when the “Execute Setting” is “Reset”.
The “Bit Set” component has other property pages. For example, in the “Indicator Light”
property page, it is recommended to check the “Use Indicator” option and set an address to
monitor the “Bit set” component state if the “Use Graphics” option is checked in the “Graphics”
property page. The details can be seen in the “System Manual/ Component/ Indicator Light”.
The following brief example introduces the process for setting the HMI internal address
LB100 into the “Inverse” attribute.
• In the software menu, click “Component/ Switch/ Bit Set” to open the following dialog.
The default action is “Press”. The default Execute Setting is “On”. The default address is “LB0”.
They are modified into the required as follows.
99 / 488
LT Studio User Manual
In the list, we can clearly see the execution attribute and the bit address to be operated.
Click “OK” in the Switch dialog to put the component into the window edited. In this way, a
simple “Bit Set” component is finished.
“Word Set” is a component by which various attributes of the internal word register of HMI
or the word register of any controller connected to HMI are controlled. The Word Set property
dialog can be opened by clicking the “Component/ Switch/ Word Set” in the menu. The default
settings are shown as follows.
100 / 488
LT Studio User Manual
The type of “Execute Settings” includes “Add”, “Subtract”, “Increase”, “Decrease”, “Set Up
Constants”, “Set Up Character Strings”, “Set Up Figures By Bit” and “Logic Operation”.
• Add
A designated data will be added to the value of the designated word register. The “Add”
attributes contain the following settings.
101 / 488
LT Studio User Manual
➢ Add
At each time of operation, the set data will be added and written into the word register.
➢ Upper Limit
It is the upper limit of the word register operated. When the result reached the upper limit
of operation, no further “Add” operation can be done.
➢ Looping
If “Looping” is checked, an option of “Lower limit” will appear. The operation will be
continued at the upper limit and the adding operation will be done from the lower limit. For
example, if the “Lower limit” is set to “0”, the “Add” is set to “1”, and the upper limit is set to
“100”, the Word Set component will be valid when it is added to “100”. It will turn to 0, 1, 2, 3,and
so on, at the next operations.
If “Reverse on reaching the end” is checked, the operation will be continued at the upper
limit and the result will change to reduce from the upper limit to the lower limit. When the result
reached the lower limit, the operation will change to add.
The “Add”, “Upper limit” and “Lower limit” are all “Constant” in default. They can also be set
into “Variable”. It is noted that the data type of variable register must comply with the “Word Set”
component address type.
• Subtract
A designated data will be subtracted from the value of the designated word register till the
“Lower limit”. The “Subtract” attributes contain the following settings.
102 / 488
LT Studio User Manual
➢ Subtract
At each time of operation, the set data will be subtracted from the word register.
➢ Lower Limit
It is the lower limit of the word register operated. When the result reached the lower limit of
operation, no further “Subtract” operation can be done.
➢ Looping
If “Looping” is checked, an option of “Upper limit” will appear. The operation will be
continued at the lower limit and the subtraction will be done from the upper limit. For example,
if the “Lower limit” is set to “0”, the “Subtract” is set to “1”, and the upper limit is set to “100”,
the Word Set component will be valid when it is subtracted to “0”. It will turn to 100, 99, 98,
97,and so on, at the next operations.
If “Reverse on reaching the end” is checked, the operation will be continued at the lower
limit and the result will change to add from the lower limit to the upper limit. When the result
reached the upper limit, the operation will change to subtract.
• Increase
The result value will keep increasing if the component of “Increase” is pressed down. The
increasing will stop if the component of “Increase” is released or the value reaches the upper limit.
The component of “Increase” has attributes of “Immediately Execute Increase/Decrease Action”,
“Delaying Time” and “Execution Time”.
103 / 488
LT Studio User Manual
“Increase” and “Decrease” all have this attribute. If it is checked, the operation of “Increase”
or “Decrease” will be executed immediately without waiting when the component is pressed
down.
➢ Delaying Time
When the attribute of “Immediately Execute Increase/Decrease Action” is not checked, the
“Delaying time” attribute is valid. The default time is 0.1s and the maximum is 1.5s. If the time is
0.1s, it means the action of “Increase” will be delayed 0.1s to execute after the component is
pressed down.
➢ Execution Time
The “Execution Time” means the time to execute the action “Increase” once. The time range
is 0.1s ~ 1.5s.
• Decrease
The function of “Decrease” is similar to the attribute of “Increase”. The result value will keep
decreasing if the component of is pressed down. The component of “Decrease” also has attributes
of “Immediately Execute Increase/Decrease Action”, “Delaying Time” and “Execution Time”.
104 / 488
LT Studio User Manual
• Set Up Constants
A data is written to the designated register. The data (Setting Value) can be a “Constant” or
a “Variable”.
In the figure above, a constant “0” is written to the register LW0 of HMI.
105 / 488
LT Studio User Manual
“Set Up Character Strings” has two optional attributes “Use UNICODE” and “Swap high and
low bytes”. When “Use UNICODE” is checked, it means the character string written to registers is
coded by UNICODE. The string is normally displayed only in “UNICODE”. If “Swap high and low
bytes” is checked, the high and low bytes in the character string will be exchanged before written
to the word register.
This function has an attribute “Date type”. It can be “16-bit Unsigned” or “32-bit unsigned
number”. In other words, only unsigned single word and unsigned double word can use this
function. If the data type is “16-bit unsigned number”, the value range is 0~65535. So the
parameter of this function “Digit bit” can be 1~5. That means the number length is 1~5. “1” means
units digit, “2” means tens digit, “3” means hundreds digit, “4” means thousands digit, and “5”
means ten thousands digit. For example, if the “Digit bit” is 3 and the “Mode” is “Add”, it means
the hundreds digit is operated for adding. If the hundreds digit of a register is 6 and when this
component is pressed down, the hundreds bit will change into 7, and then into 8 if it is pressed
106 / 488
LT Studio User Manual
down again, and 9 again, 0 again, and 1 again, so the attribute of “Add” is similar to the “Looping”
attribute. But, the “Add” or “Subtract” attribute of the “Set up Figures by Bit” function is only valid
for one digit, and other digits are not changed.
For example, if “Digit bit” is 3, “Mode” is “Add”, and the current register value is 18668, the
value will change into 18768 when the component is pressed down, 18868 when it is pressed
down again, 18968 again, 18068 again, 18168 again. The maximum value of a single word is 65535.
If the “Digit bit” is 5, the ten thousands digit will change in 0~5.
• Logic Operation
This function has four modes, “And”, “Or”, “Exclusive-or” and “Not”. The default mode is
“Add”.
In the figure above, when the component is operated, the value in register LW0 will has a
logic operation“And” with 0×FFFF. The logic result will be written to register LW0. The operations
of otherthree modes are similar to “And” mode but the logic operation.
The attribute “Operation Value” can be “Constant” or “Variables”. The default is “Constant”
and the data format is hexadecimal. It can be a variable, but the data type must comply with the
register data type.
The attribute “Data Type” for logic operation can be “16-bit Unsigned”, “32-bit Unsigned”,
“16-bit BCD” and “32-bit BCD”.
Special notice:
In all these functions for “Word Set”, the “Action” is “Press” in default. That means the
operation will be executed correspondingly when the component is pressed down. The “Action”
can also be “Release” but not for the function “Increase” and “Decrease”. That means the
operation will be executed correspondingly when the component is released.
107 / 488
LT Studio User Manual
When use “Variables” for the “Word Set” function, the data type of “Variables” must comply
with the data type of word register used. If not, the result may be incorrect.
• Action
The attribute “Action” of “Window Operation” can be “Press” or “Release”.
➢ Press
The corresponding keyboard function will be given out when the component is pressed down,
and the macro instructions or system operation instructions will be executed.
➢ Release
The corresponding keyboard function will be given out when the component is released, and
the macro instructions or system operation instructions will be executed.
• Set Up
The attribute “Set Up” of “Window operation” can be “Switch Window”, “Close Pop-up
Window”, “Pop-up”, “Return To Previous Window”, “Window Control Bar” or “Return to the main
window (HOME)”.
➢ Switch Window
Close the current window and switch to a designated window.
➢ Pop-up
108 / 488
LT Studio User Manual
Pop up a designated window.
109 / 488
LT Studio User Manual
The “Function Key” component provides component executing action, keyboard function,
executing macro instructions, and system operation functions.
• Action
The attribute “Action” of “Function Key” can be “Press” or “Release”.
➢ Press
The corresponding keyboard function will be given out when the element is pressed down,
and the macro instructions or system operation instructions will be executed.
➢ Release
The corresponding keyboard function will be given out when the component is released, and
the macro instructions or system operation instructions will be executed.
110 / 488
LT Studio User Manual
• Function Setting
The attribute “Function Setting” of the “Function Key” includes “Keyboard Function”,
“Execute Macro” , “System Operation” and “Print”.
➢ Keyboard Function
“Return”
“Backspace”
“Clear”
Delete the current content which has been inputted for the component “Numeric Value Input”
and “Character Input”.
“Cancel
Cancel the component operation of “Numeric Value Input” and “Character Input”.
“UNICODE”
Set the type of characters which inputted to the component “Character Input”. The
characters can be number keys (0, 1, 2…), letters of an alphabet (a, b, c…), ASCII code or Unicode
characters.
Move the cursor according to the set modes including up, down, left, right, row beginning,
row end, first bit and last bit. This function is effective only for the input component.
111 / 488
LT Studio User Manual
Set the operation for the selected text content, including “Selection Begin” and “Selection
End”. This function is effective only for the input component.
“Text Operation”
Set the operation for the text content, including “Copy”, “Cut” and “Paste”. This function is
effective only for the input component.
“Mapping Keyboard”
When this function is activated, corresponding functions can be mapped to F1~F8 of HMI,
including forward, backward, Esc, Enter, and so on. This function is effective only for some
specified HMI.
➢ Execute Macro
If this function is selected, the selected macro will be executed when the component is
pressed down or released. The “Macro Instruction” dialog will pop up if you click the button
“Macro Code” or “Edit”. You can select or create a macro here, or edit the current macro.
➢ System Operation
By using this function, the user can enter the touch control calibrating window. Screen touch
control calibration for HMI can be realized in this window.
“Import/Export”
112 / 488
LT Studio User Manual
When this function is selected, the project or prescription data can be imported or exported.
This function must be used together with the file view box, and it only supports the HMI with USB
HOST or SD card slot.
When this function is selected, the touch screen picture can be captured and saved into an
external memory device in the bmp format for printing or viewing HMI picture. And this function
only supports the HMI with USB HOST or SD card slot.
“Clear Event”
“Clear RW”
This function can be used to clear all RW data saved in power failure.
This function can be used to clear all history data. It can be used together with other switch
components.
The “Data Transferring” component can be used to transmit the data saved in one or more
continuous addresses to another one or other more continuous addresses.
113 / 488
LT Studio User Manual
➢ Action
The attribute “Action” can be “Press” or “Release”. When “Press” is selected, data
transmission will be started when the component is pressed down. When “Release” is selected,
data transmission will be executed when the component is released.
➢ Data Type
The “Data Type” means the type of data to be transmitted. It can be “Bit” or “Word”.
➢ Transmission words
It means the number of data transmitted at one time. It can be set “Constant” or “Variable”.
If set “Variable”, the register address must be designated. The maximum number of words
transmitted in this software is 8192.
➢ Source Address
The “Source Address” means the first address of the data to be transmitted. The detailed can
be seen in theDetailed manual/General functions/Address editor/Standard Bit Address Input
orDetailed manual/General functions/Address editor/Standard Byte Address Input.
➢ Destination address
The “Destination address” means the first address of data transmission target. The detailed
can be seen in the Detailed manual/General functions/Address editor/Standard Bit Address
Inputor Detailed manual/General functions/Address editor/Standard Byte Address Input.
114 / 488
LT Studio User Manual
The detailed operation of the recipe uploading can refer to the recipe downloading.
Notice:
The “Number of words” is determined by the recipe itself, and it always displays
automatically.
➢ PLC Address
“PLC Address” means the target address for recipe file data transmission. It can be the
address of PLC connected to HMI or an internal address of HMI. The detailed address editing
method can be seen in: Detailed manual/General functions/Address editor/ Standard Byte
Address Input.
115 / 488
LT Studio User Manual
➢ Notice Bit Address
A bit address can be set here to monitor the recipe downloading state. The address editing
method can be seen in: Detailed manual/General functions/Address editor/Standard Bit Address
Input. This bit address will be kept on during the recipe downloading or uploading, and it will be
set to OFF after transmission.
• Display Mode
The “Display Mode” can be “Register Control” or “Automatic looping”. The details are
referred to: Detailed manual/General functions/Drawing/Display Mode.
• Bit Register
The component is a bit indicator when “Bit Register” is selected. The method to input bit
address can be seen in: Detailed manual/General functions/Address editor/Standard Bit Address
Input.
• Status No.
The status of a bit address can be ON or OFF. So it is 2 here in default and can not be modified.
• Condition
➢ Positive Logic
State 0 is OFF and state 1 is ON.
➢ Negative Logic
State 0 is ON and state 1 is OFF.
• Flash Mode
116 / 488
LT Studio User Manual
It includes three modes: “None”, “Blink Text” and “Blink Picture”. You can select each status
in left table and then set the flash mode for the status selected.
➢ None
It means no flashing.
➢ Blink Text
Text can flash in a frequency.
➢ Blink Picture
Picture can flash in a frequency.
• Flash Freq.
Picture or text will flash in a designated frequency. The frequency can be a multiple of 0.1
second.
Detailed attribute information of the current bit indicator light can be seen in the table at the
left bottom.
• Display Mode
The “Display Mode” can be “Register Control” or “Automatic looping”.
• Word Register
The component is a word indicator when “Word Register” is selected. The method to input
bit address can be seen in: Detailed manual/General functions/Address editor/Standard Byte
Address Input.
• Status No.
117 / 488
LT Studio User Manual
The range of the status number is 1~256. Each status corresponds to the value of the word
address.When many statuses satisfy the condition at the same time, only the status with the
minimum value will be effective.
• Condition
➢ Range
The status content (value) will be determined according to the comparison and logic
operation result of the word address value. The comparison operation includes “>”, “<”, “>=”,
“<=”, “==” and “!=”. The logic operation can be “AND”, “OR” or “None”.
➢ Bit
Text or picture can be displayed according to the state of one bit of the word address, e.g.:
bit LW0.1 of address LW0.
• Flash Mode
It includes three modes: “None”, “Blink Text” and “Blink Picture”. You can select each status
in left table and then set the flash mode for the status selected.
➢ None
It means no flashing.
➢ Blink Text
Text can flash in a frequency.
➢ Blink Picture
Picture can flash in a frequency.
• Flash Freq.
118 / 488
LT Studio User Manual
Picture or text will flash in a designated frequency. The frequency can be a multiple of 0.1
second.
Detailed attribute information of the current word indicator light can be seen in the table at
the left bottom.
• Illegal Input
The value of word address doesn't satisfy the condition preset.
• Error Notification
You can select a bit address here. It will be set to ON if the word address value doesn’t satisfy
with the condition. It will be set to OFF when the condition is satisfied.
119 / 488
LT Studio User Manual
• Display Mode
The “Display Mode” can be “Register Control” or “Automatic looping”.
• Combined Bits
The status displayed is determined by a multi bit combination condition.
• Bit No.
The condition can be a combination of 2~32 bits. The “Bit No.” means the number of bits.
• Data Type
➢ Unsigned
If the number of bits is n, the combination value will be 0~2n-1.
➢ Signed
If the number of bit is n, the combination value will be -2n-1~2n-1-1.
• Starting Address
The starting address is closely associated to the number of bits. For example, if the starting
address is LB0 and the number of bits is 2, a combination will be formed. LB1 will be the high bit
and LB0 will be the low bit. The range of 2 bits combination value will be 0~3 if the data type is
unsigned. The range of 2 bits combination value will be -2~1 if the data type is signed.
• Status No.
The range of the status number is 1~256. Each status corresponds to the value of the word
address.When many statuses satisfy the condition at the same time, only the status with the
minimum value will be effective.
• Condition
➢ Range
120 / 488
LT Studio User Manual
The status content (value) will be determined according to the value of the
combined bits. The comparison operation includes “>”, “<”, “>=”, “<=”, “==” and “!=”.
The logic operation can be “AND”, “OR” or “None”.
• Flash Mode
It includes three modes: “None”, “Blink Text” and “Blink Picture”. You can select each status
in left table and then set the flash mode for the status selected.
➢ None
It means no flashing.
➢ Blink Text
Text can flash in a frequency.
➢ Blink Picture
Picture can flash in a frequency.
• Flash Freq.
Picture or text will flash in a designated frequency. The frequency can be a multiple of 0.1
second.
Detailed attribute information of the current component can be seen in the table at the left
bottom.
121 / 488
LT Studio User Manual
• Illegal Input
The multi bit combination value doesn't satisfy the condition preset.
• Error Notification
You can select a bit address here. It will be set to ON if the multi bit combination value doesn’t
satisfy the condition. It will be set to OFF when the condition is satisfied.
You can find the “Display Mode” if you check the “Use Indicator” in the property TAB of
“Indicator Light”. The display modes include “Register Control” and “Automatic looping”.
122 / 488
LT Studio User Manual
1 Register mode
The “Register Control” mode can be Bit Registers, Word Registers or Combined
Bits.
2 Automatic looping
All the status will be cycled to display according to the specified frequency if the
display mode is “Automatic looping”. The unit of frequency is 100 milliseconds. The
setting is shown as below.
4.6.3.1.1 General
• Operation Attribute
The “Operation Attribute” includes four operation types: “Numeric Display”,” Numeric
Input”,” Character Display” and “Character Input”. The operation type of this current component
can be modified here. It is highly efficient for the project modifying and maintaining.
123 / 488
LT Studio User Manual
• Password
When the “Password” is checked, “*” will be displayed in the component (See the figure
below). It is always used for the numeric value input component. The numeric value display
component is not used generally.
• Read Address
124 / 488
LT Studio User Manual
When this function is checked, variables in the address tag library can be directly linked by
the component (See address tag library details in:Detailed manual/Library/Address Tag Library).
The address tag library can be used to improve the project maintaining efficiency. If many
components in the project are linked to a same variable in the address tag library and this address
need to be modified, it is only necessary to modify the variable address linked in the tag library
without modifying each component.
• Address setting
The address setting includes the attributes : “Device”, “Address Type”, “Address”, “Format
(Range)”, “Address Index”, and so on. Please see: Detailed manual/ General functions/ Address
editor/ Standard Byte Address Input.
125 / 488
LT Studio User Manual
• Data Type
The “Data Type” can be “16-bit Signed”, “16-bit Unsigned”, “32-bit Signed”, “32-bit
Unsigned”, “16-bit BCD”, “32-bit BCD”, “16-bit Hexadecimal”, “32-bit Hexadecimal”, “16-bit
Binary”, “32-bit Binary” or “Single precision floating point number”.
• Data setting
The “Data setting” includes “Integer digits”, “Decimal Point”, “Display Positive Sign” and
“Zero Padding Left”.
126 / 488
LT Studio User Manual
The “Integer digits” means the integer digit number of the data. The “Decimal Point” means
the decimal digit number of the data.
Note: when the data type is an integer and the decimal bit is not zero, the value displayed
will reduce to satisfy the decimal digit number. For example, if the data is an integer “55” and two
decimal bits are set, the value displayed will be “0.55”. In fact, only the value and the type of the
data displayed can be modified by this function. The actual value and the actual type are not
modified. It is still the integer “55”.
127 / 488
LT Studio User Manual
You can set the data upper limit in “Minimum” and the data lower limit in “Maximum”. And
you can set the font color of the data beyond the limit. When the “Flicker” is checked, the text will
flash when the data is less than the lower limit or greater than the upper limit.
➢ Proportion convert
When the function of “Proportion Convert” is activated, the value displayed will be the result
after proportional conversion. The proportional conversion formula is displayed when you click
the button “Explain”.
➢ Zoom
128 / 488
LT Studio User Manual
When the function of “Zoom” is selected, the value displayed will be the result after zooming
conversion. The zooming conversion formula is displayed when you click the button “Explain”.
➢ Logic Operation
129 / 488
LT Studio User Manual
The data can be logically operated by the component which the logic operation can be “And”,
“Or” or “Exclusive or”. And the result of logic operation will be displayed.
➢ Shift
The data can be shifted left or right by the component. And the result of shifting operation
will be displayed.
4.6.3.1.3 Font
130 / 488
LT Studio User Manual
The detailed font setting can be seen: Detailed manual/ General functions/ Drawing/
Font Settings.
4.6.3.1.4 Graphics
The detailed graphics setting can be seen: Detailed manual/ General functions/
Drawing/ Graphic edit.
The detailed graphics setting can be seen: Detailed manual/ General functions/
Drawing/ Dynamic Graphics.
4.6.3.1.6 Display
The detailed display setting can be seen: Detailed manual/ General functions/
Drawing/ Display.
131 / 488
LT Studio User Manual
4.6.3.2 Numeric Value Input
The attributes setting of the “Numeric Value Input” component is generally same to the
“Numeric Value Display” component. The differences are detailed as below.
4.6.3.2.1 General
• Password
When the “Password” is checked, “*” will be displayed in the component (See the figure
below). It can be checked if the current component is used to input the password.
132 / 488
LT Studio User Manual
The numeric value input component is integrated with functions of reading data from an
address and writing data to an address. When the “Reading And Writing Address Is Different” is
not checked, the using method is same to the “Numeric Value Display” component. When the
“Reading And Writing Address Is Different” is checked, different address can be set in the “Read
Address” and in the “Write Address”.
See detailed functions in: Detailed manual/ General functions/ Drawing/ Keyboard setting.
4.6.3.3.1 General
• Operating Attribute
133 / 488
LT Studio User Manual
The “Operation Attribute” includes four operation types: “Numeric Display”,” Numeric Input”,
“Character Display” and “Character Input”. If you want the current Character Display component
change to the Character Input component or Numeric component, you can modify it here. It is
highly efficient for the project modifying and maintaining.
• Browse Method
The “Browse Method” includes “Scrollbar” and “Screen”. You can select the “Scrollbar” or
the “Screen” or both ways to browse the content of the current character component. The
scrollbar width can be freely set. The “Screen” browse method is only effective for a capacitive
screen.
• Display Mode
134 / 488
LT Studio User Manual
➢ ASCII
If it is checked, characters will be displayed in ASCII format. In this format, only ASCII
characters will be displayed, including numbers, symbols and English letters. Chinese characters
are not supported to display.
➢ Password
If it is checked, characters will be displayed in “*” mode.
➢ Unicode
If it is checked, characters will be displayed in UNICODE. In the UNICODE mode, each Chinese
character or English letter will occupy one character (two bytes).
• Read Address
135 / 488
LT Studio User Manual
When this function is checked, variables in the address tag library can be directly linked by
the component (See address tag library details in: Detailed manual/Library/Address Tag Library).
The address tag library can be used to improve the project maintaining efficiency. If many
components in the project are linked to a same variable in the address tag library and this address
need to be modified, it is only necessary to modify the variable address linked in the tag library
without modifying each component.
The address setting includes the attributes : “Device”, “Address Type”, “Address”, “Format
(Range)”, “Address Index”, and so on. Please see: Detailed manual/ General functions/ Address
editor/ Standard Byte Address Input.
• Row Settings
136 / 488
LT Studio User Manual
The “Row Settings” includes “Total Row number”, “Show Row number” and “Number of
Characters per line”. The “Total Row number” means the number of the rows which the current
character component contains. The “Show Row number” sets the number of rows displayed in
the current character component. If the number of rows displayed is smaller than the number of
total rows, a scrollbar will appear automatically.
A dialog will pop up when you click the “Row Space Settings” button. You can set the
attributes such as “Horizontal scaling”, “Line space”, “Words space”, “shadow Effects”, and so on.
137 / 488
LT Studio User Manual
4.6.3.3.3 Font
See detailed font setting in: Detailed manual/ General functions/ Drawing/ Font settings.
4.6.3.3.4 Graphics
See detailed Dynamic Graphics setting in: Detailed manual/ General functions/
Drawing/ Dynamic Graphics.
4.6.3.3.6 Display
See detailed display setting in: Detailed manual/ General functions/ Drawing/Display.
138 / 488
LT Studio User Manual
4.6.3.4 Character Input
4.6.3.4.1 General
• Operation Attribute
The “Operation Attribute” includes four operation types: “Numeric Display”,” Numeric
Input”,” Character Display” and “Character Input”. If you want the current Character Input
component change to the Character Display component or Numeric component, you can modify
it here. It is highly efficient for the project modifying and maintaining.
• Browse Method
The “Browse Method” includes “Scrollbar” and “Screen”. You can select the “Scrollbar” or
the “Screen” or both ways to browse the content of the current character component. The
scrollbar width can be freely set. The “Screen” browse method is only effective for a capacitive
screen.
• Display Mode
139 / 488
LT Studio User Manual
➢ ASCII
If it is checked, characters will be displayed in ASCII format. In this format, only ASCII
characters will be displayed, including numbers, symbols and English letters. Chinese characters
are not supported to display.
➢ Password
➢ Unicode
If it is checked, characters will be displayed in UNICODE. In the UNICODE mode, each Chinese
character or English letter will occupy one character (two bytes).
After the “ASCII” is checked, you can select the function “Swap the High byte and the Low
byte”.
• Read Address
140 / 488
LT Studio User Manual
The character input component is integrated with functions of reading data from an address
and writing data to an address. When the “Reading And Writing Address Is Different” is not
checked, the using method is same to the “Character Display” component. When the “Reading
And Writing Address Is Different” is checked, different address can be set in the “Read Address”
and in the “Write Address”.
When this function is checked, variables in the address tag library can be directly linked by
the component (See address tag library details in:Detailed manual/Library/Address Tag Library).
141 / 488
LT Studio User Manual
The address tag library can be used to improve the project maintaining efficiency. If many
components in the project are linked to a same variable in the address tag library and this address
need to be modified, it is only necessary to modify the variable address linked in the tag library
without modifying each component.
The character address setting includes the attributes : “Device”, “Address Type”, “Adress”,
“Format (Range)”, “Address Index”, and so on. Please see: Detailed manual/ General functions/
Address editor/Standard Byte Address Input.
• Row Settings
The “Row Settings” includes “Total Row number”, “Show Row number” and “Number of
Characters per line”. The “Total Row number” means the number of the rows which the current
character component contains. The “Show Row number” sets the number of rows displayed in
the current character component. If the number of rows displayed is smaller than the number of
total rows, a scrollbar will appear automatically.
Note:
If “Unicode” is not checked, each two ASCII characters or each one Chinese character
occupies one word register.
If “Unicode” is checked, each ASCII character or each Chinese Character occupies one word
register.
142 / 488
LT Studio User Manual
A dialog will pop up when you click the “Row Space Settings” button. You can set the
attributes such as “Horizontal scaling”, “Line space”, “Words space”, shadow color and shadow
deviation.
See detailed setting in: Detailed manual/ General functions/ Drawing/ Keyboard setting.
See detailed font setting in: Detailed manual/ General functions/ Drawing/Font settings.
See detailed control setting in: Detailed manual/ General functions/ Drawing/ Control
settings.
4.6.3.4.6 Display
See detailed display setting in: Detailed manual/ General functions/ Drawing/ Display.
143 / 488
LT Studio User Manual
4.6.4.1 Bit Switch
The “Bit Switch” is used to set the action, switch type and text display of the bit switch which
is used to change the bit state.
The “Bit Switch” component can be found on the tool bar or from the menu of Components.
144 / 488
LT Studio User Manual
4.6.4.1.1 General
See details for bit address setting in: Detailed manual/ General functions/ Address editor/
Standard Bit Address Input.
On the page of “Toggle Switch”, you can set “Press” or “Release” for the action. And the
switch type can be “On”, “Off”, “Inverse” or “Reset”.
145 / 488
LT Studio User Manual
Details for “Import Favorite Font Template” can be seen in: Detailed manual/Setup/System
Settings/Favorite Font Template.
Details for “Text Library” can be seen in: Detailed manual/Library/Text Library.
Details for “Marquee” setting can be seen in: Detailed manual/ General functions/ Drawing/
Marquee.
4.6.4.1.3 Graphics
Details for Graphics can be seen in: Detailed manual/ General functions/ Drawing/ Graphic
edit.
146 / 488
LT Studio User Manual
Details for control settings can be seen in: Detailed manual/ General functions/ Drawing
/Control settings.
4.6.4.1.5 Display
Details for display setting can be seen in: Detailed manual/ General functions/ Drawing
/Display.
The word switch is used to set the action and text display for word address states.
The “Word Switch” component can be found on the tool bar or from the menu of
Components.
147 / 488
LT Studio User Manual
4.6.4.2.1 General
148 / 488
LT Studio User Manual
See details for word address setting in: Detailed manual/General functions/Address
editor/Standard Byte Address Input.
On the page of “Toggle Switch”, the action can be set “Press” or “Release”. The switch type
can be set to “Add” or “Subtract”. if“Non-cyclic” is checked and the switch type is “And”, it will
stop adding when the result exceeds the maximum value. If “Non-cyclic” is not checked for the
“Add” switch type, it will start to shift again from the minimum value when the result reaches the
maximum value. The “Status” can be set directly or by the Up or Down arrows.
Details for “Import Favorite Font Template” can be seen in: Detailed manual/Setup/System
Settings/Favorite Font Template.
Details for “Text Library” can be seen in: Detailed manual/Library/Text Library.
149 / 488
LT Studio User Manual
Details for “Marquee” setting can be seen in: Detailed manual/ General functions/ Drawing/
Marquee.
4.6.4.2.3 Graphics
Details for Graphics can be seen in: Detailed manual/General functions/Drawing/Graphic edit.
Details for control settings can be seen in: Detailed manual/ General functions/ Drawing
/Control settings.
4.6.4.2.5 Display
Details for display setting can be seen in: Detailed manual/ General functions/ Drawing
/Display.
The component of “Check list and selection boxes” is used to operate “Word register”. The
preset value is written into the register and the preset text is displayed when the current
component is operated. The preset text corresponding to the status value which is equal to the
word register will display automatically. See the following description for details.
Click the menu command of the “Check list and selection boxes” component and open the
property TAB of this component.
4.6.4.3.1 General
150 / 488
LT Studio User Manual
• Browse Method
The “Browse Method” includes “Scrollbar” and “Screen”. You can select the “Scrollbar” or
the “Screen” or both ways to browse the content of the current component. The scrollbar width
can be freely set and the default width is 20. The “Screen” browse method is only effective for a
capacitive screen.
• Data Source
The default is “Component settings”. That means the data source is the word register.
The default is not checked. That means the read address and the write address are same.
When it is checked, the “Read” register and the “Write” register can be set separately. The value
of the “Read” register will be compared with the preset value to determine the corresponding
text display. The preset value corresponding to the status selected will be written into the “Write”
register when the component is operated.
151 / 488
LT Studio User Manual
On the page of “Selector Setting”, the attributes such as the number of items (“Item Count”),
the preset value of each item and the content to be displayed can be set.
• Item Count
The default is 6. The range is 1~255. That means there are 255 items at most.
• Line Spacing
• Selected Color
You can modify the color of the item selected in operation. The default is blue.
• Background Color
It is the background color of the component excluding the scrollbar. The default is grey.
• Border Color
152 / 488
LT Studio User Manual
It is the frame color of the selecting list components excluding the rolling bar, and the default
is white.
There is a table for the list components. It includes three columns: “Index”, “Correspond”
and “Tag Content”.
For example, the “Item Count” is set 5. The value of the “Index” is 0~5. Index 0~4 are
corresponding to effective items and item 5 is corresponding to the “Error” one.
The default value of the column “correspond” is equal to the value of the “Index” for the
effective items. When the number of items is set to 5, the content of the “correspond” for the
index 5 is “Other”. The “Other” means any value except “0~4”. The “correspond” value can be
modified. For example, the “correspond” value of index 0 is modified 100. That means the text of
index 0 in the “Tag Content” will be displayed if the value of the word register is equal to 100. And
meanwhile, if item 0 is selected, the value 100 will be written into the word register.
The default value of the column “Tag Content” is equal to the value of the “Index” for the
effective items. When any item is selected, the text required can be input to the corresponding
“Tag Content”.
153 / 488
LT Studio User Manual
• Illegal input
The “Illegal input” means that the value of word address doesn't equal to any value of the
“correspond” for the effective items. The default is “Show Error Status”.
When it is checked, a “Bit register” can be set. The “Bit register” will be set to ON if any error
status appears.
If it is checked, a “Word register” can be set. Each bit of the word register is corresponding
to an index. That is, bit 0 is corresponding to index 0, and bit 1 is corresponding to index 1, and so
on. When there are more than 16 items, the next word register will be occupied automatically.
When the corresponded bit of the word register is ON, the item of the corresponding index in the
list will be hidden. For example, when the word register value of the “Enable Control Address” is
set to 5, the bit 0 and bit 2 of this word register are both ON and the items of the index 0 and the
index 2 will be hidden.
154 / 488
LT Studio User Manual
In the figure above, when there is any wrong status, LB0 will be set to ON. When LW1=5,
index 0 and index 2 will be hidden.
Bit0 = 1, bit 2 = 1
The attributes of “The Drop-down list” are almost same to the attributes of “Check list and
selection box”. The main difference is that “The Drop-down list” is withdrawn when it is not
operated or after it is operated. The “Drop-down list” will be unfolded when it is clicked, and then
it can be viewed and operated by the scrollbar or by screen method.
155 / 488
LT Studio User Manual
4.6.4.4.1 General
The property TAB of “The Drop-down list” can be opened by clicking the command
“Component/ Toggle Switch and menu/ The Drop-down List” in the menu, see the figure below.
The figure above shows that the “General” property TAB is same to the “Check list and
selection boxes”, it is not introduced here, and details can be seen in Detailed
manual/Commponent/Toggle Switch and menu/Check list and selection boxes.
Click the “Selector Setting” property TAB, it can be opened, see the figure below.
156 / 488
LT Studio User Manual
For “The Drop-down List” component, the most settings of the “Selector Setting” property
TAB are same to the “Check list and selection boxes”. The difference is that there is an additional
item of “Pop-up style” for the “The Drop-down List”.
The default is “Popup Downwards”. The “Pop-up upwards” is optional. And it can be set
according to the actual requirement. See the figure below.
The figure below shows the situation when “The Drop-down List” and “Check list and
selection boxes” appear on the picture at the same time.
157 / 488
LT Studio User Manual
The figure above shows that when the “The Drop-down List” completes operation or has no
operation, it is “withdrawn”. It will be unfolded only when it is operated, while the “Check list and
selection boxes” is always unfolded no matter it is in operation or not, and it can be directly viewed
and operated.
File Browser Box is used to display the file information of the internal and external
storage devices.
4.6.4.5.1 General
• Font Type
➢ Font Size
158 / 488
LT Studio User Manual
Select the appropriate font size here.
➢ Colors
Select the font color by the tool ”or the color palette. When it is selected on
the touch screen, the background color of the font is in the inverse tone.
• Date Format
There are three optional separators provided among the day, the month and the year.
The suffix is blank by default. It represents to display all. You can set the file type
you want.
As shown as above, if you add the “fpg” suffix by clicking the button “Add Items”,
only files with fpg suffix will be displayed in the browser box for easy filtering and
viewing. If you want to display all, click the button “Delete” and keep the browser box
blank.
159 / 488
LT Studio User Manual
4.6.4.5.2 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.4.6.1 General
• Browse Method
You can view by scroll bar or screen sliding, and screen sliding is only effective for
capacitive screen.
➢ Language
You can switch between Chinese and English here, and then you can edit the text in
the below table in Chinese and in English separately.
160 / 488
LT Studio User Manual
Check this option “Display the Title Bar”, you can set the font of the title bar and the
list, see details in Detailed manual/General functions/Drawing/Font settings.
➢ Use Lable
Check this option, you can edit the “Title Bar Description” in the below
table.Uncheck it, you can edit the “Title Bar Description” by using text library.
161 / 488
LT Studio User Manual
This option will be displayed only when you check the option “Display the Title Bar”.
After checking this option, the font of the list will be consistent with the font of the title
bar. If you do not check it, you can edit the font of the list separately.
You can adjust the arrangement of the displayed items by clicking the button “Move
Up” or “Down”.
➢ Restore to default
162 / 488
LT Studio User Manual
➢ Row Spacing and Column Spacing
Adjust the row spacing by modifying the value of the edit box of “Row Spacing”. And
adjust the column spacing by modifying the value of the edit box of “Column Spacing”.
➢ Detailed Info
After check the option “Detailed Info”, you can select a trigger mode to pop up the
window such as “User privilege” for editing. The trigger mode can be set “Single Click” or
“Double Click”.
4.6.4.6.2 Table
You can set the appearance of the “User Privilege” component in the “Table”
property TAB. The appearance of this component is show as below.
The “Table” property TAB of the “User Privilege” component is shown as below.
163 / 488
LT Studio User Manual
You can change the background color of the “User Privilege” component. And you
can change the title bar background color, too.
• Outline Style, Split Line Style, Line Width and Line Color
You can change the type of the out line and the split line, the line width and the line
color.
164 / 488
LT Studio User Manual
• Display Grid Line
After you check the option “Row Split Line” and the option “Column Split Line”, the
appearance of the “User Privilege” component is shown as below.
If the option “Row Split Line” and the option “Column Split Line” are unchecked, the
appearance is shown below.
4.6.4.6.3 Search
Check the option “Enable search”, and you can query the corresponding user
privilege.
165 / 488
LT Studio User Manual
A bit register needs to be set here. When the value of the bit register is “1”, the
result of filtering by a range is displayed. When the value of the bit register is “0”, the
displayed result is not filtered.
• Search Register
You need to specify a starting address of a set continuous 8 word registers here.
You can input the corresponding user name to these registers to search. And the
inputted user name should be no more than 16 ACSII letters or 8 ACSII characters.
4.6.4.6.4 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.5.1 Timer
166 / 488
LT Studio User Manual
You can use the timer component to accomplish the tasks that need to be
periodically executed or triggered under specific conditions.
The timer must be established on a window. When this window is working, the timer
will work in accordance with the rules set. If you don’t want the timer to be affected by
the window switching, you can establish a timer on the common window.
For adding a timer, there are three ways. The first way is clicking the timer
command from the “Component” menu. The second way is opening the property TAB of
the window, then click the “Timer” property TAB. And the third way is clicking the “Timer”
command from the shortcut tool bar.
167 / 488
LT Studio User Manual
In the“Timer” property TAB, click the button "Add", you can open the detailed
settings of the timer.
➢ Execution Period
Set the execution cycle of the timer, in 0.1 S (seconds). If you want to set the execution
cycle in 10 seconds, you can set to 100×0.1S.
168 / 488
LT Studio User Manual
➢ Delay
In the case of unchecked “Delay” by default, when the trigger condition of the timer is
met, the timer will execute immediately for the first time. After an interval of the setting
execution cycle, the timer will execute for the second time until the end condition is met. If
you want the timer to delay execution for a period of time when the trigger condition is met,
you can check the “Delay” option, then delay time can be set to an integer times, such as
three execution cycles.
• Trigger conditions
Trigger conditions is used to trigger the execution of the timer. There are many ways
to trigger the timer in this software. You can choose according to your actual needs. It is
important to note that the timer trigger mode should be edge trigger. After the trigger
condition is met, the timer will continue working until the end condition is met.
➢ Bit
After select the “Bit” option, you can specify a bit register in the “Trigger Address” to
control the timer trigger. The “Trigger Mode” can be set “OFF→ON”, “ON→OFF”, or
“ON←→OFF”. For example, if you set “OFF→ON”, that means the timer is triggered
when the register value changes from 0 to 1.
The “Auto Reset” refers to that the register value is automatically changed to OFF
after the timer is triggered (for the “OFF→ON” trigger mode). The “ON ←→ OFF” trigger
mode does not have the “Auto Reset” option.
➢ Word
169 / 488
LT Studio User Manual
After selecting the “Word” option, you can specify a word register to control the timer
trigger. When the value of the specified register is changed, the timer execution will be
triggered.
➢ Condition
If you select “Condition” option, you can use a set of conditions to control the timer
trigger. For the logical condition editing, see: Detailed manual/General
functions/Drawing/Logic Control.
When the window in which the timer is located is opened, the timer execution will be
directly triggered. Note that if the timer is located in the Public Window, only trigger once
when the user project is executed after powering on the HMI, and it will not be triggered
when switching to another window.
➢ Trigger when the window is closed
When the window in which the timer is located is closed and the other window is
opened, the timer execution is triggered.
• Condition for stop
170 / 488
LT Studio User Manual
The condition for stop refers to the condition under which the timer stops execution.
It is same to the “Trigger Condition”. The condition for stop is also edge-triggered.
The “Condition for stop” of the timer is “Timer will stop when the window closed” by
default. If you want to end the timer execution in advance, select the other condition for
stop:
You can use the condition for stop to make the timer end automatically after repeating
the specified number of times. Wherein, for the specified number of times, you can directly
enter it by Constant, or you can specify a word register to control the timer execution times
by Variable.
Note: When the trigger condition is "Trigger when the window is closed," the condition
for stop will be directly selected as the “Stop when specified count value reached” and the
number of times is set to 1 and not editable. This kind of timer can only be executed once.
➢ Condition Judgment
171 / 488
LT Studio User Manual
You can control the timer to end by using a set of conditions. When the conditions
are satisfied, the timer execution ends. For the logical condition editing, see: Detailed
manual/General functions/Drawing/Logic Control.
Click the "Timer Function" tab and open the “Timer Function” property TAB.
• Run Macro
You can use the timer to trigger the execution of macro instructions. If the macro
instruction hasn’t been established in the project, you can’t check this box. You need to
172 / 488
LT Studio User Manual
click the "Macro Code" to open the Macro Code Editor Window and add the macro code.
If the macro instruction is already exist, you can select the established macro from the
drop-down list. Click the "Edit" button, you can directly open the Macro Code Editor
Window to edit the currently selected macro instruction.
• Status Setting
The “Status Setting” function is used to set a bit register or set the value of a word
register.
Whether setting the bit register status or setting the word register value, you first
need to set the target address. For the address setting, refer to: Detailed
manual/General functions/Address editor.
173 / 488
LT Studio User Manual
➢ Bit Setting
The mode of the Bit Setting includes “Set ON”, “Set OFF” and “Periodic Inverse”.
The “Set ON” means that the bit is set ON when the timer is triggered and the bit
remains ON in each execution period. The rules of “Set OFF” are same to the “Set ON”.
The “Periodic Inverse” refers that when the timer is triggered, the bit is inverted and
continues to invert in each execution cycle. For example, the timer executed once per
second switches the LB0 bit. LB0 will change the state once per second, 1 second is ON
and 1 second is OFF.
➢ Word Setting
Word setting refers to periodic setting of a word register by timer. The setting modes
include “Add”, “Subtract” and “Constant”.
• Audio Play
For the HMI device with an audio output function, you can use the timer to play sound.
Click the "Audio Library", and select the audio file to be played from the “Audio Library”.
This software supports audio files in MP3 and WAV format. For adding audio files, please
refer to: Detailed manual/Library/Audio Library. Click the triangle play button at the
back of audio file, you can hear the audio file.
Note:
174 / 488
LT Studio User Manual
The “Run Macro”, “Status Setting” and “Audio Play” options can be checked at the
same time. The timer can simultaneously control the execution of the three. However the
execution order is uncertain.
A single or batch data can be transmitted by timing. The action can be triggered or
executes periodically. This component is similar to the timer. You need to add it to a
specified window. If you want a global execution, you can add it to the public window.
The “Trigger and Stop” is used to control the execution modes of components. The
modes of “Trigger and Stop” include “Execution Period”, “Trigger Condition” and
“Condition for stop”. The details can be refers to: Detailed manual/Component/Timer and
Data Transmissionn/Timer.
Data transmission can set the data to be transmitted, including the type and the
length of the data to be transmitted, source address and target, and so on.
4.6.5.2.3 Notification
175 / 488
LT Studio User Manual
Apart from the slight difference of “Direction” as shown in the figure below, the other
functions of the bar graph are the same as the Sector Chart. The detailed description is
referred to: Detailed manual/Component/Bar and Meter/Sector Chart.
4.6.6.2 SectorChart
Add a Sector Chart component by clicking the menu command “Component/Bar and
Meter”. It is shown as below.
You can add the Sector Chart by clicking the corresponding shortcut button. It is
shown as below.
176 / 488
LT Studio User Manual
4.6.6.2.1 General
• Direction
The option “Direction” is used to set the starting point direction which refers to the fill
direction of the sector chart.
As shown below, the left Sector Chart is filled by Clockwise, and the right Sector
Chart is filled by Anti-clockwise.
177 / 488
LT Studio User Manual
Clockwise Anti-clockwise
• Angle
The “Inside and outside ring ratio (%)” is set to a percentage of the inner ring radius
to the outer ring radius. The “Start Angle” of the sector chart can be set at will. The effect
is shown as below.
• Type
The types of the sector chart include “Standard” and “Deviation Type”. The filling origin
position of the standard sector chart is not adjustable. The origin position of the deviation
type is adjustable. Here introduces the usage of bias type pie chart.
As shown as below, after selecting the Deviation Type, the “Origin Pos.” can be freely
set.
178 / 488
LT Studio User Manual
The running effects of the “Deviation Type” and the “Standard” are contrasted as
shown as below (the left is deviation type, the right is standard type).
• Read Address
The detailed information is referred to: Detailed manual/General functions/Address
editor/Standard Byte Address Input.
4.6.6.2.2 Extended
179 / 488
LT Studio User Manual
• Alarm Limit
As shown as below, you can set the upper and lower limit for alarm. Except for the
“Blink” function, other functions are same to the “Meter". The detailed settings are
referred to: Detailed manual/Component/Bar and Meter/Meter.
The running results are as shown in the figure below. In this case, the Target Area
Color is set yellow.
180 / 488
LT Studio User Manual
4.6.6.2.3 Scale and Mark
• Display Scale
The “Display scale” usage of the Sector Chart is same tothe Meter but a slightly
different, as shown as below. The detailed usage is referred to: Detailed
manual/Component/Bar and Meter/Meter.
4.6.6.2.4 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.6.3 Meter
181 / 488
LT Studio User Manual
As shown as below, the Meter component can be added by clicking the menu
command “Component/Bar and Meter”.
You can add a Meter component by clicking the corresponding tool button in the
shortcut tool bar. It is shown as below.
4.6.6.3.1 General
182 / 488
LT Studio User Manual
• Meter Plate
As shown as below, the Meter Plate includes five types: “Round (Hands Up)”,
“Round (Hands down)”, “Upper Semi-Circle”, “Lower Semi-circle” and “Arc (Set
Automatically)”.
The attributes of the “Round (Hands Up)”, “Round (Hands down)”, “Upper Semi-Circle”
and “Lower Semi-circle” are same. For the Arc Meter Plate, you can freely set the starting
angle and ending angle, as shown as below.
183 / 488
LT Studio User Manual
• Read Address
The Maximum Value and the Minimum Value of the Meter can be set by Constant or
by Variable.
If you select by Constant, a fixed constant can be set in the position shown in the
figure below.
184 / 488
LT Studio User Manual
If you select by Variable, you can specify a word register and enter a value to the word
register to change meter during running your project, as shown in the figure below.
185 / 488
LT Studio User Manual
• Display Scale
As shown as the figure below, you can modify the color, the width and type of the
meter scale line after the “Display Scale” is checked.
➢ Line
186 / 488
LT Studio User Manual
➢ Scale
You can set the “Main Scale Division Number”, the “Main Scale Length” and the
“Sub Scale Length” here. The Location of the scale can be set “Inside”, “Outside” and
“Center”, as shown as below. The “Sub Scale Division Number” and the “Axis” are
checked by default. The default sub scale division number is 2. If the “Sub Scale Division
Number” and the “Axis” are unchecked, that means the sub scale and axis are not
displayed.
If the “Mark” is not checked, the meter will not display the scale value. After the “Mark”
is checked, you can set the number of the integer digits and the decimal digits of the scale
value and also can set the font styles of scale value. If you select the "Reverse scale order",
then the maximum value and the minimum value will switch their positions.
187 / 488
LT Studio User Manual
4.6.6.3.3 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.7.1.1 General
188 / 488
LT Studio User Manual
• Display Points of Each HMI
This option means the number of the displayed sampling data points on the screen.
The default is 10.The max number of points can not more than the width of the used HMI
resolution. For example, the 7-inch HMI device with the resolution 800*480 is used. Then
the max number of points is 799.
• Direction
The option “Direction” is used to set the display direction of the trend curve. It is set
"Horizontal" by default. It can be set "Vertical", too.
• Pause
A bit register address can be set here. When the bit register is ON, the trend curve
is not refreshed (but the sampling is not paused). When it is OFF, the trend curve is
refreshed in real time.
You can set the time axis range, there are constants and variables optional,
variables are controlled through the register, maximum time can be set as1440 minutes.
• Browse Method
The methods of "Scrollbar" and "Slide" are all supported to view the trend curve.
You can check anyone or two. But the "Slide" is only valid for the capacitive HMI device.
• Use Cursor
You can check the option “Use Cursor”. This option is used to view the trend data
crossed by the cursor and the data sampling time. The settings are shown as below.
189 / 488
LT Studio User Manual
Here you can set a bit register. If the bit register is ON, the cursor is displayed. If it is
OFF, the cursor is hidden. When the cursor is visible, you can click or slide to move the
cursor.
➢ Cursor Color
The default color of the cursor is red. You can modify it according to the actual
needs.
You need to set a starting address of a continuous word registers area here to save
the information of the cursor data. The first 7 word registers save the sampling time of the
trend data which is crossed by the cursor. They are year, month, day, hour, minute, second
and millisecond. From the eighth register, the sampling data crossed by the cursor is saved.
The data format should be consistent with which defined in "Data Sampling".
For example, the starting address of the cursor data area is set LW100. Then the
registers from LW100 to LW106 save the sampling time information of year, month, day,
hour, minute, second and millisecond. If the "Data Sampling" that you use only defines a
data in "16-bit Unsigned" data type and the channel number is 1, then the LW107 register
saves the sampled data at this time. If the "Data Sampling" that you use has the data
sampled from two channels, the data type of the first channel is "Single precision floating
point number" and the second channel is "16-bit Unsigned", then LW107 (Single precision
floating point number) saves the data of the first channel and LW109 (16-bit Unsigned)
saves the data of the second channel. Other data formats can be done in the same matter.
• Use Zoom
This option is optional. After it is checked, the option "Two-point Touch Zooming (only
for multi-touch hardware)" can be check. This option is only valid for the capacitive HMI
device. After you enable this function, the curve will be zoomed out when two fingers slide
outward in the curve zone and the curve will be zoomed in when two fingers slide inward
in the curve zone.
The option "Register Control Zooming" is used to zoom by using a word register. After
check it, a word register needs to be given here. The value of this word register is the
percentage of zooming. For example, the value of the word register is 50. It means that
only 50% is displayed and the curve is scaled a half. If the value of the word register is
200, it means 200% is displayed and the curve is zoomed to 2 times. The settings are
shown as below.
190 / 488
LT Studio User Manual
4.6.7.1.2 Channel
In the “Channel” property TAB, you need select a sampling data as the “Data Source”.
There will be a red exclamation mark here if the "Data Sampling" is not set. You can open
the "Data Sampling" settings page to set the required sampling data by click the button
191 / 488
LT Studio User Manual
After you selecting a sampling data for the option "Data Source", all channels of this
sampling data defined in the "Data Sampling" will be displayed in the “Channel Setting”
property box.
For the above figure, the sampling data “Temperature Humidity” is selected as the
data source. This sampling data has two channels. The data of channel 1 is from LW0
register and the data type is “Single precision floating point number”. The data of channel
2 is from LW2 register and the data type is "16-bit Unsigned".
In this area, you can see the various attributes of the selected sampling data defined
in the "Data Sampling".
There is an option “Hide Channel Register” here. After it is checked, you need to
specify a word register. When the bit0 of this word register is ON, hide the curve of Channel
1. When the bit1 is ON, hide the curve of Channel 2. Other channels can be done in the
same matter. The setting is shown as below.
192 / 488
LT Studio User Manual
For example, the option “Hide Channel Register” is set LW500. Then the curve of
Channel 1 is hidden when the bit 0 of the LW500 is ON. The curve of Channel 2 is
hidden when the bit1 of the LW500 is ON.
• Channel Setting
All channels of the data source are displayed here. They are all checked in the
“Use” Column by default. It means they are all set to display on the trend curve.
Note:
If one channel is not checked in the "Use" column, that means the data of this channel
will not be displayed on the trend curve. So the corresponding bit of the word register
specified in the option “Hide Channel Register" cannot control the curve of this channel to
display or hide.
Click one channel in the "Channel Setting" area, the relevant attribute settings of this
channel will be displayed below. It is shown as below.
193 / 488
LT Studio User Manual
➢ Dot Mark
This option is not checked by default. After it is checked, you can set the dot color,
the dot size and the dot style for each point of the sampling data.
This option is checked by default. If it is checked, you can set the line color, the line
width and the line type for the connecting line of the sampling data points.
This option is not checked by default. After it is checked, the trend curve from the
first point to the current sampling point will project to the X-axis to form a closed figure.
For example, the option “Dot Mark” and the option “Projection along X-axis
Direction” are all checked, the display effect is shown as below.
194 / 488
LT Studio User Manual
➢ Minimum Value
The minimum value of the trend curve can be set by Constant or by Variable. When
set it by Variable, the data type of the specified word register should be consistent with
the data type of the selected sampling data channel.
➢ Maximum Value
The maximum value of the trend curve can be set by Constant or by Variable. When
set it by Variable, the data type of the specified word register should be consistent with
the data type of the selected sampling data channel.
4.6.7.1.3 Search
The option “Enable Search Function” is not checked by default in the “Search”
property TAB. After it is checked, the settings are shown as below.
195 / 488
LT Studio User Manual
There are three fixed search modes supported: “Search By Date”, “Search By Time
Range” and “Search By Sequence”. The “Register Query Mode” is a dynamic search
mode. The default search mode is “Search By Date”.
➢ Search By Date
The settings of “Search By Date” are shown as below.
The option “Search Trigger Bit” is used to specify a bit register to trigger the search
function. When the trigger bit is ON, the filtered results are displayed. When the trigger
bit is OFF, the result which is not filtered is displayed.
“Search Register”
The “Search Register” is used to specify word registers to save the information of
the search function. The number of the word registers is depending on the search mode.
196 / 488
LT Studio User Manual
You can get the information of the used word registers according to the text displayed
under the specified address.
For example, select the “Search By Date” mode and specify LW300 for the option
“Search Register”. Then LW300 saves the search year, LW301 saves the search month
and LW302 saves the search day. You can use three numeric value input components
connected with the three word registers to give the search conditions in your project.
For the “Search By Time Range” mode, the function and the setting of the "Search
Trigger Bit" are same to the “Search By Date” mode. The difference is the "Search
Register."
When selecting the "Search By Time Range" mode, you should specify a start
address of a continuous 12 word registers area for the option “Search Register”. The first
six word registers save the start date of search, including year, month, day, hour, minute
and second. The last six word registers save the stop date of search. The setting is shown
as below.
➢ Search By Sequence
For the “Search By Sequence” mode, the function and the setting of the "Search
Trigger Bit" are same to the “Search By Date” mode. The difference is the "Search
Register."
For example, select the “Search By Sequence” mode and specify LW300 for the
option “Search Register”. The settings are shown as below. Then when LW300 is 0, the
data of the current day is displayed on the curve. When LW300 is 1, the data of the
yesterday is displayed on the curve. Other values can be done in the same matter.
197 / 488
LT Studio User Manual
4.6.7.1.4 Scale
• X-axis Scale
The source of X-axis value can be set “Use Point Scale Value” or “Use Time Scale
Value”. The default is “Use Point Scale Value”. It is shown as below.
The option “Use Point Scale Value” means that the values of the sampling data
points are used as the X-axis scale. The option "Use Time Scale Value" means that the
time of the data sampling is used as the X-axis scale.
198 / 488
LT Studio User Manual
• X-axis Scale
The source of Y-axis value can be set “Use ... Channel Maximum Minimum Value”
or “Self-setting”. The default is “Use 1 Channel Maximum Minimum Value”. It is shown as
below.
After you select the option “Use ... Channel Maximum Minimum Value”, you can
specify a channel number. And the minimum and the maximum values of this channel will
be used as the minimum and the maximum values of the Y axis.
If the option "Self-setting" is selected, you can set the maximum and minimum values
by yourself as the source of Y-axis. The minimum and maximum values can be set by
Constant or by Variable. The settings are shown as below.
199 / 488
LT Studio User Manual
For more details, please refer to: Detailed manual/Component/Scale.
4.6.7.1.5 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.7.2 XY Chart
The “XY Chart” refers to the curve formed by the corresponding data points which are
comprised by a set of data registers or two different sets of data registers. All settings are
described below.
4.6.7.2.1 General
• Refresh Mode
➢ Cyclic
The default refresh mode is "Cyclic". The default sampling cycle period is 1 second.
That means the curve is refreshed every 1 second. The minimum sampling cycle period
is 0.1 second.
➢ Triggered
After you select "Triggered" refresh mode, you need to specify a bit register and select
the “Trigger Mode”. The Trigger Mode can be set "Bit" or "Word".
200 / 488
LT Studio User Manual
For the “Bit” trigger mode, there are three “Trigger Condition”: "OFF→ ON",
"ON→OFF" and "OFF↔ON". You can choose one of them. The settings are shown as
below.
For example, if the trigger condition is set "OFF→ ON", that means the XY curve will
be refreshed when the specified bit register is changed from OFF to ON.
There is an option “Auto Reset” for the trigger condition "OFF→ ON" and
“ON→OFF”. If you check it, the bit register state will be reset after it is changed.
For the “Word” trigger mode, the details are referred to: Detailed manual/General
functions/Drawing/Logical Control.
• Data Point
The default value is 10. The range is from 2 to 4096. The option “Data Point” can be
set byConstant or by Variable.
• Control Setting
➢ Pause control
If you check this option, a bit register needs to be specified to control the Pause
function. When the bit register is ON, the XY chart is paused and not be refreshed.
201 / 488
LT Studio User Manual
➢ Clear control
If you check this option, a bit register needs to be specified to control the Clear
function. When the bit register is ON, the data of the current XY chart is cleared.
• Use Cursor
After this option is checked, some parameters need to be set. The settings are
shown as below.
Same to the Trend Curve, a bit register needs to be specified to control the cursor
display or hide.
➢ Cursor Color
Similarly, you need to set a starting address of a continuous word registers area here
to save the coordinate data information of which the cursor is crossed with the XY chart.
The data type is depended on the setting in the "Channel" property TAB. For example, the
data type is set "16-bit Unsigned in the "Channel" property TAB and the first starting
register address is set LW100, then the data of the cursor (X, Y) is (LW100, LW101). If the
202 / 488
LT Studio User Manual
data type is "Single-precision Floating-point Number", then the data of the cursor (X, Y) is
(LW100, LW102). Other data types can be done in the same matter.
4.6.7.2.2 Channel
• Channel Number
The default value of the “Channel Number” is 1. The XY chart can display up to 16
channels simultaneously.
• Channel Settings
You can define the channel information in the “Channel Settings” table: the X
address and the Y address are continuous by default. As shown as above, the default
starting X address is LW0 and the default starting Y address is LW1. They are
continuous. If you check the box in front of the Y address, the Y address can be not
continuous with the X address. For example, you can set the starting Y address LW100.
➢ Type
Select the data type for the current channel according to the actual needs.
203 / 488
LT Studio User Manual
➢ Remark
You can note the name of the curve for the current channel in the “Remark” column.
For example, channel 1 is noted as "Disc A track".
Same as the Trend Curve, selecta channel in the “Channel Settings” table, there are
many parameters can be set for the selected channel in the following "Channel Setting".
The most parameters are same to the settings of the Trend Curve. The option “Projection
along Y-axis Direction” is added here. The meaning of this option is same to the "Projection
along X-axis Direction" but the direction is different. The Minimum Value and the Maximum
Value of the Y-axis can be set different with X-axis. They can be set by Constant or by
Variable. The default range of the Minimum Value and the Maximum Values from 0 to 100.
The detailed settings can be referred to the "Channel" property TAB of the Trend Curve.
For the information of the occupied addresses by the current channel, it is depended
on the data type of this channel. You can view the text which is noted below the “Channel
Setting”. It is shown as below.
4.6.7.2.3 Scale
4.6.7.2.4 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
204 / 488
LT Studio User Manual
4.6.7.3 Data Group Chart Display
The “Data Group Chart Display” component is a curve comprising of a set data of
specified continuous registers.
4.6.7.3.1 General
The default value of this option is 10. The minimum value is 2 and the maximum
value is less than the width of the used screen resolution. For example, the used screen
resolution is 800*480, and then the maximum value of samples per screen is 799.
• Direction
The “Direction” option is set "Left To Right" by default. You can set it "Up To Down"
too. They are corresponding to the "Horizontal" and "Vertical" display modes.
The settings of these parameters such as the “Browse Method”, the "Control Setting",
the "Refresh Mode" and the "Use Zoom" are same to the "XY Chart". The details can be
referred to the settings in the “General” property TAB of XY Chart.
• Use Cursor
It is not checked by default. After check it, the parameters are shown as below.
205 / 488
LT Studio User Manual
The settings of these options are same to the Trend Curve or the XY Chart, such as
the “Display/Hide the Cursor” and the “Cursor Color”.
Similarly, you can set a "Word Register" as the starting address of the continuous
registers here. The first two word registers are used to save the point number where the
cursor stays. The registers from the specified register address + 2 are used to save the
data of which the cursor is crossed with the XY chart.
As shown as above, the starting register is set LW0, and then LW0 and LW1 save the
point number where the cursor stays. If there are three channels for the XY chart, the data
type of the Channel 1 is "16-bit Unsigned", the second channel is "Single-precision
Floating-point Number", the third channel is "32-bit Unsigned", then LW2 (16-bit Unsigned
number) save the Channel 1 data, LW3 (Single-precision Floating-point Number) save the
Channel 2 data, LW5 (32-bit Unsigned) save the Channel 3 data. Other channels can be
done in the same matter.
4.6.7.3.2 Channel
206 / 488
LT Studio User Manual
• Channel No.
There is 1 channel by default. A “Data Group Chart Display” component can display
up to 16 channels.
This option is checked by default. If the register of the “Sampling No.” for channel 1
in the “Channel Setting” table is set "LW100" and the “Data Type” is "16-bit Unsigned",
then LW101 is used to save the first sample data, LW102 is used to save the second,
and so on. If the “Data Type” is set "32-bit Unsigned", then LW101 (32-bit Unsigned)
saves the first sample data, LW103 (32-bit Unsigned) saves the second sample data.
Other data types can be done in the same matter.
If you don’t check the option "From the Start Address, the Sampling Address is
Continuous.", it means the “Start Address” of the registers to save the sample data can
be set independently. The settings are shown as below.
207 / 488
LT Studio User Manual
The below parameters setting for the selected channel is same to the Trend Curve or
the XY Chart. Please refer to the settings in the “Channel” property TAB of the Trend
Graph or XY Curve.
4.6.7.3.3 Scale
Refer to the settings in the “Scale” property TAB of the Trend Curve.
4.6.7.3.4 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.8 Scale
The "Scale" includes four types: “Horizontal Scale”, “Vertical Scale”, “Arc Scale” and
“Round Scale”. You can add a Scale component by clicking the menu command or by
using the shortcut tools bar.
208 / 488
LT Studio User Manual
The “Horizontal Scale” is mainly used to display a progress bar. The “Vertical Scale”
can be used to display the current liquid level of a tank or the charge state of a battery.
The “Arc Scale” can display the value of a fuel meter, a speed meter, and other display
devices. The “Round Scale” can display the revolution speed, the angle and other
parameters.
4.6.8.1 General
First, the option “Horizontal” is selected. Then you can do other settings for the
Horizontal Scale component.
209 / 488
LT Studio User Manual
• Line
You can set the line color, the line width and the line type to meet the needs of your
project.
• Scale
The main scale is subdivided singly. The option “Sub Scale Length” can be set to
make difference with the main scale.
210 / 488
LT Studio User Manual
➢ Mark
The option “Mark is used to set the value of the main scale.
The option “Integer” refers to the number of the decimal integer digits. The option
“Decimal” refers to the number of the decimal fraction digits.
You can set the font size, the font color and the font type for the main scale here.
The options “Min Value” and “Max Value” are used to set the range of the main
scale.
The options “Min Value” and “Max Value” can be set by Constant or by Variable. If
you set them by Variable and specify word registers for them, you can change the range
of the main scale by modifying the value of the specified word registers.
211 / 488
LT Studio User Manual
Usually, the scale value is displayed increasing from left to right. Sometimes, it
needs to be displayed increasing from right to left. To do that, you should check the
option “Scale Is Reverse”.
➢ Axis
You can check the option “Axis” to display the axis of the scale. The position of the
axis can be set “Up”, “Down” or “Center”. Of course, you can remove the check to hide
the axis of the scale.
For the “Vertical Scale”, the only difference with the “Horizontal Scale” is the option
“Position” in the “Scale” property box. It is shown as below.
212 / 488
LT Studio User Manual
For the “Arc Scale”, there are three differences with the “Horizontal Scale”. The
options “Starting Angle” and “End Angle” are added in the “Angle” property box. The
option “Main Scale Length” is added in the “Scale” property box. The option “Position” in
the “Scale” property box is different.
The start angle and the end angle can be set for the arc scale in the “Angle”
property box. The settings and the effect are shown as below.
213 / 488
LT Studio User Manual
For the option “Position” in the “Scale” property box, the axis position of the scale
can set “In”, “Out” and “Center”.
For the “Round Scale”, the only difference with the “Arc Scale” is that there is not
“Angle” settings. It is shown as below.
214 / 488
LT Studio User Manual
The settings of the “Position” for the Scale component are referred to: Detailed
manual/General functions/Drawing/Position.
4.6.8.2Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.9 Table
The "Table" component is used largely in the project. There are two types: “Fixed-
width Table” and “Fixed-height Table”. You can add a Table component by clicking the
menu command “Component/Table/Fixed-width Table” or ““Component/ Table/ Fixed-
height Table”. Of course, you can add it by using the shortcut tools bar.
For the fixed-width table, the width of the cells is same and the height of the cells is
equal. It is shown as below.
215 / 488
LT Studio User Manual
For the fixed-height table, the width and the height of the cells can be modified by
mouse-dragging the split line. It is shown as below.
4.6.9.1 General
216 / 488
LT Studio User Manual
The difference with the “Fixed-width Table” is that the options “Equal Height” and
“Equal Width” are not checked. Of course, you can check them and make the Fixed-
height Table switch to the Fixed-width Table.
• Position
The option “Position” in the “General” property TAB is referred to: Detailed
manual/General functions/Drawing/Position.
• Appearance settings
The background color, the outline color, the split line color, the outline type, the split
line type, the outline width and the split line width can be set for the table component
appearance according to your needs and the project configuration.
217 / 488
LT Studio User Manual
The option “Row Count” and the option “Column No.” are used to set the number of
the rows and the columns of the table. The option “Equal Height” and the option “Equal
Width” can be checked. If they are all checked, the table will be a fixed-width table.
The option “Hide Horizontal Split Line” and the option “Hide Vertical Split Line” can be
checked. You can check anyone or two to hide the split line of the table according to your
needs
For example, only check the option “Hide Vertical Split Line”. It is shown as below.
• Select
In the “General” property TAB, if you check the option “Select”, the “Control
Settings” property TAB will display.
218 / 488
LT Studio User Manual
After checking the option “Select”, you can set the color of the row/column/cell which
is selected during running the project. The option “Select Mode” can be set “Select by
Row”, “Select by Column” or “Select by Cell”. It determines that the selected is a row, a
column or a cell.
➢ Grid Position
For the option “Grid Position”, you need to give a word register to record the
selected row number if the select mode is “Select by Row”. The first row number is 0.
You need to give a word register to record the selected column number if the select
mode is “Select by Column”. The first column number is 0.
219 / 488
LT Studio User Manual
When selecting the mode “Select by Cell”, two continuous word registers are
occupied. You need to give the first address of the two word registers here. The first
word register records the selected row number and the second records the selected
column number. The first row number and the first column number are 0.
220 / 488
LT Studio User Manual
The settings of the “Control Settings” property TAB are referred to: Detailed
manual/General functions/Drawing/Control settings.
4.6.9.3 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.10 Slider
The "Slider" component can change the value of the specified word register by
pressing and moving the slider block.
4.6.10.1 General
221 / 488
LT Studio User Manual
• Minimum Value
The option “Minimum Value” refers to the minimum value of the slider. It can be set
by a constant or by a variable. When use a variable to set, the details are referred to:
Detailed manual/General functions/Address editor/Standard Byte Address Input.
• Maximum Value
The option “Maximum Value” refers to the maximum value of the slider. It can be set
by a constant or by a variable. When use a variable to set, the details are referred to:
Detailed manual/General functions/Address editor/Standard Byte Address Input.
222 / 488
LT Studio User Manual
You should specify a word register to change the value for the slider component.
The word register input method is referred to: Detailed manual/General
functions/Address editor/Standard Byte Address Input.
• Direction
The option “Direction” is used to set the display direction of the slider. It can be set
“Display Upward”, “Display Downward”, “Display Leftward” and “Display Rightward”,.
• Min Scale
• Increase
The option “Increase” is used to set the minimum increase or decrease per each
click. It should set multiple of the “Min Scale”.If this option is not checked, it is set the
value of the “Min Scale” by default.
After this option is checked, the word register which is set in the option “Read and
Write Address” will change in real time during sliding the slider component. If it is not
checked, the value of the word register will change after the slider block is released.
4.6.10.2 Scale
The settings of the “Scale” property TAB are referred to: Detailed manual/
Component/ Scale.
The settings of the “Background Graphics” property TAB are referred to: Detailed
manual/General functions/Drawing/Graphic edit.
223 / 488
LT Studio User Manual
The settings of the “Slider Graphics” property TAB are referred to: Detailed
manual/General functions/Drawing/Graphic edit.
The settings of the “Dynamic Graphics” property TAB are referred to: Detailed
manual/General functions/Drawing/Dynamic Graphics.
The settings of the “Control Settings” property TAB are referred to: Detailed
manual/General functions/Drawing/Control settings.
4.6.10.7 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.11.1 General
The option “Move in X-Axis Direction” refers to moving along the horizontal direction.
The option “Move in Y-Axis Direction” refers to moving along the vertical direction. These
two options can be checked together. That means moving in an oblique line direction.
The angle of the oblique line can be computed based on the moving distance along the
x-axis and along the y-axis.
224 / 488
LT Studio User Manual
4.6.11.1.1 Move in X-Axis Direction
• Read Address
For this option, you should set a word register to specify the moving distance of the
moving component along the x-axis. The standard word address input method is referred
to: Detailed manual/General functions/Address editor/Standard Byte Address Input.
After check this option, you should set the upper limit and lower limit of the moving
range on the screen.
The option “Axis Lower Limit” refers to the minimum value of x-axis for the moving
range. It can be a constant or a variable. When it is a variable, the details are referred to:
Detailed manual/General functions/Address editor/Standard Byte Address Input.
The option “Axis Upper Limit” refers to the maximum value of x-axis for the moving
range. It can be a constant or a variable. When it is a variable, the details are referred to:
Detailed manual/General functions/Address editor/Standard Byte Address Input.
• Move Proportionally
After check this option, the moving component will move according to the proportion
that the “Input Lower Limit” is corresponding to the “Axis Lower Limit” and the “Input Upper
Limit” is corresponding to the “Axis Upper Limit”.
For example, the “Axis Lower Limit” is 0, the “Axis Upper Limit” is 799, the “Input
Lower Limit” is 0, and the “Input Upper Limit” is 7990. When the value of the specified
word register is 0, the position is corresponding to the x coordinate: 0.When the value of
the specified word register is 7990, it is corresponding to the x coordinate: 799.
• Inversely Proportional
This option can be checked when the option “Move Proportionally” is checked. After
it is checked, the “Input Lower Limit” is corresponding to the “Axis Upper Limit” and the
“Input Upper Limit” is corresponding to the “Axis Lower Limit”. The moving component
will move in a inverse proportion.
225 / 488
LT Studio User Manual
The settings of the “Move in Y-Axis Direction” are same to the “Move in X-Axis
Direction”. But the moving component is along the vertical direction.
The settings of the “Indicator Light” property TAB are referred to: Detailed
manual/Component/Indicator Light.
4.6.11.3 Label
The settings of the “Label” property TAB are referred to: Detailed manual/General
functions/Drawing/Label.
4.6.11.4 Graphics
The settings of the “Graphics” property TAB are referred to: Detailed
manual/General functions/Drawing/Graphic edit.
4.6.11.5 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.12 Window
You can click the menu command “Component/Window/Bit Control Window” to add
a bit control window component in your project.
226 / 488
LT Studio User Manual
4.6.12.1.1 General
The “Bit Control Window” component is similar to the “Word Control Window”
component. The differences with the “Word Control Window” component are pointed out
as below. The other details are referred to: Detailed manual/Component/Window/Word
Control Window.
For example, a button named “Popup the window” is connected with LB0 and the
trigger bit of the popup window component is set LB0. The simulation running result is
shown as below. When press the button “Popup the window”, the specified window will
pop up.
227 / 488
LT Studio User Manual
For the above example, the word register is specified LW0 and a numeric value input
component is connected with LW0. The simulation running result is shown as below. Enter
the corresponding window ID number in the numeric value input component and then click
the button “Popup the window”, the designated window will pop up.
228 / 488
LT Studio User Manual
4.6.12.1.2 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.12.2.1 General
229 / 488
LT Studio User Manual
For example, add a word control window component and a numeric value input
component in your project. The word register controlling the pop-up window is set LW0
and it is also connected with the numeric value input component. It is shown as below.
230 / 488
LT Studio User Manual
The simulation running result is shown as below. When input a positive integer value
to the numeric value input component, the window which the ID number of it is equal to
the inputted value will pop up.
231 / 488
LT Studio User Manual
After set the window control bar, the simulation running result is shown as below.
For the above example, check the option "Variable pop-up window position" and the
first word register address of the window position control is set LW2.Then add two
numeric value input components in your project for inputting the X and Y coordinates of
the pop-up window. They are connected with LW2 and LW3 separately.
The simulation running result is shown as below. When change the values of the
numeric value input components, the position of the popup window will change.
232 / 488
LT Studio User Manual
For the above example, check the option "Variable window size" and the first word
register address of the window size control is set LW4.Then add two numeric value input
components in your project for inputting the width and height of the pop-up window. They
are connected with LW4 and LW5 separately.
The simulation running result is shown as below. When change the values of the
numeric value input components, the size of the popup window will change.
233 / 488
LT Studio User Manual
4.6.12.2.2 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.13 List
The “Current Alarm and Event” function is to display the current triggered alarms
and events in a tabular form. Only the trigger state is displayed.
• General
The general properties of the “Current Alarm and Event” are basically the same to
the "Alarming and Event History". Please refer to: Detailed
manual/Component/List/Alarm and Event History.
234 / 488
LT Studio User Manual
Note:
The differences with the "Alarming and Event History" are shown as below.
➢ The "Current Alarm and Event" includes “Count of Alarming Events”. But
the "Alarming and Event History" does not include it.
➢ The "Current Alarm and Event" only displays the trigger status. It does not
confirm and restore the status. So the gray color options in the table can not be
checked.
• Table
The settings of “Table” property TAB is referred to: Detailed manual/General
functions/Drawing/Table drawing.
• Display
The settings of “Display” property TAB is referred to: Detailed manual/General
functions/Drawing/Display.
235 / 488
LT Studio User Manual
4.6.13.1.2 Alarming and Event History
The “Alarming and Event History” function is to display all alarms entries in tabular
form, including the current and historical alarms and events.
• General
➢ Show Group
You can select some groups of alarms and events to display in the alarm list.
Note:
The alarms and events can be grouped when they are created. The range of groups
is from 1 to 32. The alarm and event content can be set by clicking the button “Alarm and
Events Login” or by double-clicking the “System Settings/Alarm and Event” in the project
tree. The details are referred to: Detailed manual/Setup/System Settings/Alarm and
Event.
➢ Browse Method
There are three browse methods: “Scroll Bar”, “Slide” and “Browser”.
236 / 488
LT Studio User Manual
The scroll bar will display in the alarm list if you check the option “Scroll Bar”. You
can view the alarms by using the scroll bar. The “Scrollbar Width” needs to be set. The
unit of it is pixel.
You can check the option “Slide” in order to view the alarms by sliding the screen.
This function is supported by the capacitive screen devices.
The option “Browser” can be checked when you need to view multiple pages. A word
register needs to be specified to define the current page. The default is that 0 represents
the records on the current day, 1 represents the records on yesterday, 2 represents the
records on the day before yesterday, and so on. The word register input is referred to:
Detailed manual/General functions/Address editor/Standard Byer Address Input.
➢ Show List
“Display Language”
The “Display Language” is selected to switch the current display language for editing
the Title Description. The details are referred to: Detailed manual/Setup/System
Settings/Language Settings.
“Show Title”
The option “Show Title” is checked by default. If you do not want to display the title
bar, you can cancel the check.
It is used to set the font of the title bar. The details are referred to: Detailed
manual/General functions/Drawing/Font settings.
“Sorting Mode”
237 / 488
LT Studio User Manual
The “Sorting Mode” set the arrangement order of the alarms and events.
If you set “By Date” and select the option “Descending”, the latest event will be
displayed on the top.
If you set “By Level” and select the option “Descending”, the higher level events are
displayed on the top.
“Select Color”
The selected alarm entry will display in the color which is set by the option “Select
Color”.
“Confirm Mode”
When the alarm is triggered, it is in the trigger status. If you want to confirm this
alarm, you need to select the “Confirm Mode”. It can be “Single Click”, “Double Click” or
“Press And Hold”.
“List settings”
The title bar contents of the alarm list are set in the below table. The contents of the
title bar can be set to display by checking it. But the gray Display Items can not be
checked.
For the order of the contents arrangement, you can use the button "Move Up" or
"Move Down" to modify it. The content on the top row will display on the left of the alarm
list. You can restore the default arrangement by clicking the button "Restore Default ".
There are two modes, “Scroll” and “Interrupt”, to display the title contents when they
are more than the alarm list width. You can select one mode to display.
238 / 488
LT Studio User Manual
The content will be displayed by scrolling if you select the “Scroll” mode. You need
to set the step size (Step: 1 to 255 pixels), and the scrolling speed (Speed: 1 to
255*0.1s).
The excess contents will be truncated directly if you select the “Interrupt” mode.
You can set the text color of the alarms and events in the different status here.
The “Date Format” is used to set the sort order of year (YY), month (MM) and day
(DD). The “Date Separator” is used to set the separator among year, month and day.
The “Time Format” is used to set the time display format.
The “Line Spacing” and the “Column Spacing” are to set the ranks spacing of the
alarm list. The unit is pixel and the range is 0-255.
• Table
The settings of the “Table” property page TAB are referred to: Detailed manual/
General functions/ Drawing/ Table Drawing.
239 / 488
LT Studio User Manual
“Search mode”
There are seven search modes: “Search By Date”, ”Search By Time Range”,
“Search By Sequence”, “By Serial No.”, “By Level”, “Search by Group” and “Register
Query Mode”.
The “Register Query Mode” is a dynamic search mode. You can specify a word
register to dynamically adjust the search mode. If the word register is 0, the “Search By
Date” mode is used. If it is 1, the “Search By Time Range” mode is used. If it is 2, the
“Search By Sequence” mode is used. If it is 3, the “By Serial No.” mode is used. If it is 4,
the “By Level.” mode is used. If it is 5, the “Search by Group.” mode is used. The word
register address input method is referred to: Detailed manual/General functions/Address
editor/Standard ByteAddress Input.
The option “Search Trigger Bit” is used to specify a bit register to trigger the search
function. Note that the search function is not edge-triggered mode. When setting the
trigger bit 1, the alarm list displays the filtered results. After set the trigger bit 0, the list
240 / 488
LT Studio User Manual
will display the results which are not filtered. The bit address input method is referred to:
Detailed manual/General functions/Address editor/Standard Bit Address Input.
“Search Register”
The “Search Register” is used to specify the first word register address for the
search function. The number of the word registers is depending on the search mode.
The function of the word registers used to search is different for the different search
mode. You can get the information of the used word registers according to the text
displayed under the first word register address. The word address input method is
referred to: Detailed manual/General functions/Address editor/Standard ByteAddress
Input.
➢ Export CSV
The option “Export CSV” is referred to: Detailed manual/ General functions/ Drawing/
Export CSV.
• Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
The “Alarm Bar” function is to display the alarms and events in a single line and in a
marquee form. The scrolling direction, step and speed need to be set. A title can be
chosen to display.
241 / 488
LT Studio User Manual
• General
➢ Show Group
The specified groups of the alarms and events will display in the Alarm Bar.
The alarms and events can be grouped when they are created. The range of groups
is from 1 to 32. The alarm and event content can be set by clicking the button “Alarm and
Events Login” or by double-clicking the “System Settings/Alarm and Event” in the project
tree. The details are referred to: Detailed manual/Setup/System Settings/Alarm and
Event.
➢ Show List
“Display Language”
242 / 488
LT Studio User Manual
The “Display Language” is selected to switch the current display language for editing
the Title Description. The details are referred to: Detailed manual/Setup/System
Settings/Language Settings.
“Show Title”
The option “Show Title” is checked by default. If you do not want to display the title
bar, you can remove the check.
The button “List Font Setting” is used to set the font of the title bar. The details are
referred to: Detailed manual/ General functions/ Drawing/ Font settings.
“Sorting Mode”
The “Sorting Mode” sets the arrangement order of the alarms and events.
If you set “By Date” and select the option “Descending”, the latest event will be
displayed on the top.
If you set “By Level” and select the option “Descending”, the higher level events are
displayed on the top.
“Use Labels”
If you check the option “Use Labels”, the contents of the “Title Description” can use
the default or you can edit them.
If you don’t check the option “Use Labels”, the contents of the “Title Description” can
be set by using the text in the text library. It is shown as below. You can click the button
“ ” to open the text library and select the required text. The details of the Text Library
are referred to: Detailed manual/Library/Text Library.
243 / 488
LT Studio User Manual
“List settings”
The title bar contents of the alarm bar are set in the below table. The contents of the
title bar can be set to display by checking it. But the gray Display Items cannot be
checked.
You can use the button "Move Up" or "Move Down" to modify the order of the
display items arrangement. The content on the top row will display on the left of the
alarm bar. You can restore the default arrangement by clicking the button "Restore
Default ".
You can set the scrolling direction of the alarm contents, the step size (Step: 1 to
255 pixels), and the scrolling speed (Speed: 1 to 255*0.1s).
The alarm bar only displays the triggered alarms and events. So only the Trigger
Color can be changed.
244 / 488
LT Studio User Manual
“Date Format”
The “Date Format” is used to set the sort order of year (YY), month (MM) and day
(DD). The “Date Separator” is used to set the separator among year, month and day.
The “Time Format” is used to set the time display format.
The “Line Spacing” and the “Column Spacing” are to set the ranks spacing of the
alarm bar. The unit is pixel and the range is 0-255.
• Table
The settings of the “Table” property TAB are referred to: Detailed manual/General
functions/Drawing/Table Drawing.
• Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
The function of the “Historical Data Display” is to display the sampling data in tabular
form. The display is continuously refreshed according to the specified sampling
frequency.
245 / 488
LT Studio User Manual
4.6.13.2.1 General
• Data Source
Select a data sampling from the pull-down list. If there is no data sampling, you can
quickly build one by clicking the button “ ”. The details are referred to: Detailed
manual/Setup/System Settings/Data Sampling.
• Pause
A bit register address can be set to pause or start the display of the historical data
sampling.
For example: set a bit address LB0 for the option “Pause”. Then when LB0 is OFF,
the latest data sampling is refreshed. When LB0 is ON, the refreshing is paused.
Note:
The refreshing is paused, but sampling is not stopped. All sampling data will be
refreshed.
• Browse Method
The “Browse Method” includes “Scroll Bar”, “Slide”, “Browser” and “Hide Column
Register”.
246 / 488
LT Studio User Manual
➢ Scroll Bar
When checking the option “Scroll Bar”, the list will appear scroll bar for viewing. The
scrollbar width can be customized. The unit is pixel.
➢ Slide
You can check the option “Slide” in order to view by sliding the screen. This function
is supported by the capacitive screen devices.
➢ Browser
The option “Browser” can be checked when you need to view multiple pages. A
word register needs to be specified to define the current page. The default is that 0
represents the records on the current day, 1 represents the records on yesterday, 2
represents the records on the day before yesterday, and so on. The word register input
is referred to: Detailed manual/General functions/Address editor/Standard Byte Address
Input.
If you check the option “Hide Column Register”, a word register can be set. The
value of the word register is used to control the display or hiding of each column.
• Show List
247 / 488
LT Studio User Manual
➢ Language
The “Display Language” is selected to switch the current display language for editing
the Title Description. The details are referred to: Detailed manual/ Setup/ System
Settings/ Language Settings.
➢ Use Label
By default, the option “Use Label” is checked. The contents of the “Title Description”
can use the default or you can edit them. It is shown as below.
If you don’t check the option “Use Label”, the contents of the “Title Description” can
be set by using the text in the text library. It is shown as below. You can click the button
“ ” to open the text library and select the required text. It is shown as below.
248 / 488
LT Studio User Manual
The details of the Text Library are referred to: Detailed manual/Library/Text Library.
➢ Sorting Mode
There are two Sorting Modes: Ascending and Descending. When the option
“Ascending” is selected, the oldest record is displayed in the first row. When the option
“Descending” is selected, the newest record will display on the first row.
➢ List Settings
You can select the required contents to display in the title bar by checking in the
“Use” column. For the order of the contents arrangement, you can use the button "Move
Up" or "Move Down" to modify it. The content on the top row will display on the left of the
Historical Data Display List. You can restore the default arrangement by clicking the
button "Restore Default ".
249 / 488
LT Studio User Manual
The “Date Format” is used to set the sort order of year (YY), month (MM) and day
(DD). The “Date Separator” is used to set the separator among year, month and day.
The “Time Format” is used to set the time display format.
4.6.13.2.2 Table
The settings of the “Table” property TAB are referred to: Detailed manual/ General
functions/ Drawing/ Table Drawing.
4.6.13.2.3 Search
➢ Search mode
There are four search modes supported: “Search By Date”, “Search By Time
Range”, “Search By Sequence” and “Register Query Mode”.
250 / 488
LT Studio User Manual
The “Register Query Mode” is a dynamic search mode. You can specify a word
register to dynamically adjust the search mode. If the word register is 0, the “Search By
Date” mode is used. If it is 1, the “Search By Time Range” mode is used. If it is 2, the
“Search By Sequence” mode is used. The word register address input method is referred
to: Detailed manual/General functions/Address editor/Standard Byte Address Input.
The “Search Register” is used to specify the first word register address for the search
function. The number of the word registers is depending on the search mode. The function
of the word registers used to search is different for the different search mode. You can get
the information of the used word registers according to the text displayed under the first
word register address. The word address input method is referred to: Detailed
manual/General functions/Address editor/Standard ByteAddress Input.
• Export CSV
The option “Export CSV” is referred to: Detailed manual/ General functions/
Drawing/ Export CSV.
4.6.13.2.4 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
The function of the “Operation Log” is to record the required detailed operation of the
HMI device, such as a button is triggered at a certain time, a value is modified at another
certain time, and so on. The “Operation Log component displays the detailed operating
records in the list form. You can search the records or export them.
251 / 488
LT Studio User Manual
Note 1:
For the created components, the operations are not recorded by default. To record
the operation of a component, check the "Records Operation" option in the "Control
Settings" property TAB and click the button “Set” to set the operation information. The
details are referred to: Detailed manual/General functions/Drawing/Control settings and
Detailed manual/General functions/Drawing/Label.
Note 2:
Only when the user privilege is enabled and a user logs in, the operator user name
will be recorded and displayed. When the user privilege is not enabled or there is no user
to log in, the user name is displayed a blank in the operation records.
4.6.13.3.1 General
The general attributes of the “Operator Log” are set in the “General” property TAB.
252 / 488
LT Studio User Manual
• Browse Method
The scroll bar will display in the alarm list if you check the option “Scrollbar”. You
can view the alarms by using the scroll bar. The “Scrollbar Width” needs to be set. The
unit of it is pixel.
You can check the option “Screen” in order to view the records by sliding the screen.
This function is supported by the capacitive screen devices.
The option “Browser” can be checked when you need to view multiple pages. A
word register needs to be specified to define the current page. The default is that 0
represents the records on the current day, 1 represents the records on yesterday, 2
represents the records on the day before yesterday, and so on. The word register input
is referred to: Detailed manual/General functions/Address editor/Standard Byte Address
Input.
253 / 488
LT Studio User Manual
➢ Language
The “Language” is selected to switch the current display language for editing the
Title Description. The details are referred to: Detailed manual/ Setup/ System Settings/
Language Settings.
➢ Use label
By default, the option “Use Label” is checked. The contents of the “Title Bar
Description” can use the default or you can edit them. It is shown as below.
If you don’t check the option “Use Label”, the contents of the “Title Bar Description”
can be set by using the text in the text library. It is shown as below. You can click the
button ” to open the text library and select the required text. It is shown as below.
254 / 488
LT Studio User Manual
The details of the Text Library are referred to: Detailed manual/Library/Text Library.
➢ Sorting Mode
There are two Sorting Modes: Ascending and Descending. When the option
“Ascending” is selected, the oldest record is displayed in the first row. When the option
“Descending” is selected, the newest record will display on the first row.
➢ List Settings
You can select the required contents to display in the title bar by checking in the
“Use” column. For the order of the contents arrangement, you can use the button "Up" or
"Down" to modify it. The content on the top row will display on the left of the Operator
Log List. You can restore the default arrangement by clicking the button "Restore to
default sorting".
255 / 488
LT Studio User Manual
➢ Date and Time Format
The “Date Format” is used to set the sort order of year (YY), month (MM) and day
(DD). The “Date Time Split” is used to set the separator among year, month and day.
The “Time Format” is used to set the time display format.
4.6.13.3.2 Table
The settings of the “Table” property TAB are referred to: Detailed manual/ General
functions/ Drawing/ Table Drawing.
4.6.13.3.3 Checking
➢ Search mode
There are four fixed search modes supported: “Check By Date”, “Check By Time
Range”, “Check By Sequence” and “Check By User Name”.
The “Use register to control the search method” is a dynamic search mode. You can
specify a word register to dynamically adjust the search mode. If the word register is 0,
the “Check By Date” mode is used. If it is 1, the “Check By Time Range” mode is used. If
it is 2, the “Check By Sequence” mode is used. If it is 3, the “Check By User Name”
256 / 488
LT Studio User Manual
mode is used. The word register address input method is referred to: Detailed
manual/General functions/Address editor/Standard Byte Address Input.
• Export CSV
The option “Export CSV” is referred to: Detailed manual/ General functions/
Drawing/ Export CSV.
4.6.13.3.4 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
4.6.14 Tools
The “Tools” component includes “Touch Trigger”, “Canvas”, “Calendar Clock” and
“QR-Code”.
257 / 488
LT Studio User Manual
The “Touch Trigger” component can be used in the occasions that a component or
more components can be triggered not by touching. That is, all components which occupy
the active area of the touch trigger component can be triggered when the register specified
by the touch trigger component meets the conditions.
As shown as above, when the trigger condition of the touch trigger component is met,
the components 1,2 and 3 will be triggered, while component 4 will not be triggered.
The property page of the “Touch Trigger” component is shown as below.
258 / 488
LT Studio User Manual
The “Trigger Simulation Type” refers to the trigger type of the “Touch Trigger”
component. It includes “Simulation Click”, “Simulation Sliding” and “Simulation Zoom”.
They are corresponding to the trigger actions when the trigger conditions of the touch
trigger component are met.
• Simulation Click
When the trigger conditions of the touch trigger component are met, the components
which occupy the active area of the touch trigger component will execute the click action,
such as clicking a switch button.
• Simulation Sliding
259 / 488
LT Studio User Manual
When the trigger conditions of the touch trigger component are met, the components
which occupy the active area of the touch trigger component will execute the sliding
action within this area. The sliding action is controlled by two word registers. The first
word register controls the sliding angle, 0 for sliding to right, 90 for sliding up, 180 for
sliding to left, 270 for sliding down. The second word register controls the sliding velocity.
The sliding velocity unit is pixel per second. The address input of the word register is
referred to: Detailed manual/General functions/Address editor/Standard ByteAddress
Input.
• Simulation Zoom
When the trigger conditions of the touch trigger component are met, the components
which occupy the active area of the touch trigger component will execute the zooming
action within this area, such as viewing the trend curve by zooming.
The zoom ratio is controlled by a word register. The range of zoom ratio is 0-200, in
percent. The value 1-200 is legal. It represents the zoom percentage which less than 100
is corresponding to reducing and more than 100 is corresponding to amplification. The
address input of the word register is referred to: Detailed manual/ General functions/
Address editor/ Standard ByteAddress Input.
The “Trigger Condition” supports “Bit Status Changing”, “Word Value Changing” and
“Condition Judgment”. The settings are referred to: Detailed manual/Component/Timer
and Data Transmission/Timer.
4.6.14.2 Canvas
The property page of the “Canvas” can be opened by clicking the menu command
"Component/Tools/Canvas".
260 / 488
LT Studio User Manual
4.6.14.2.1 Monochrome Brush
You can control the graphics canvas by bit registers. You can modify the canvas color
and the pen color, as shown as below.
In the above settings, you can see that the Canvas Width is 128 and the Canvas
Height is 128 in the “Display” property page. The size of the canvas is 128*128.So the
occupied LB addresses number is 16384. It is displayed in the “General” property page.
If any of the address LB0 ~ 160000 is 1, the corresponding pixel on the canvas is white.
If it is 0, the corresponding pixel on the canvas is black. You can also check the "Bit-
index within a Byte Register" to set the canvas. It is easy to program a complex graphic.
You can set LW0=65535 (0xFFFF) directly if you want all LW0.0~ LW0.15 to be 1.
261 / 488
LT Studio User Manual
4.6.14.2.2 Multicolor Brush
The settings of the “Multicolor Brush” are similar to the monochrome brush. The
default canvas color is white. Each pixel of the canvas is controlled by using word
register addresses. The color of pen brush is based on the value of the corresponding
word address according to the RGB565 form.
The RGB565 mode is a color mode which a pixel occupies two bytes. The first 5 bits
in the low byte are used to indicate B (BLUE). The last 3 bits in the low byte + the first 3
bits in the high byte are used to indicate G (Green). The last 5 bits in the high byte are
used to indicate R (RED).
4.6.15 Pipeline
The “Pipeline” component includes three types: Horizontal, Vertical and Elbow.
262 / 488
LT Studio User Manual
4.6.15.1 Horizontal
4.6.15.1.1 Pipeline
The Pipe Diameter and Pipe wall thickness should be given when you use a
horizontal component. It is shown as below.
263 / 488
LT Studio User Manual
4.6.15.1.2 Flow Block
The “Flow Block” property page is mainly used to set the width and length of the pipe
and the flow block. The flow direction and flow velocity parameters are also set here. It is
shown as below.
Note:
For example, the system will use LW0, LW1 and LW2 to control the flow block of the
pipe when the Flow Speed is set LW0.
The graphic of the flow block is set here. You can edit the graphic and the display
color in different status. It is shown as below.
264 / 488
LT Studio User Manual
The overall height and width of the pipeline component are set here. The settings
are shown as below. Note that the “Width” of the component should be greater than the
length of the flow block and the “Height” of the component should be greater than the
diameter of the pipeline.
4.6.15.2 Vertical
The settings of a vertical pipeline are similar to a horizontal pipeline. The attribute of
vertical or horizontal can be switched directly in the “Pipeline” property page. It is shown
as below.
265 / 488
LT Studio User Manual
4.6.15.3 Elbow
It is mainly used to connect the horizontal pipeline and the vertical pipeline. There
are many kinds of elbows in the graphics library. You can use it by clicking the button
“Import” to select one to use. They are shown as below.
4.7 Library
4.7.1 GraphicsLibrary
The commands of Graphics Library include “Add Graphics” and “Browse Graphics
Library”. You can use any of these commands by clicking the menu command "Library/Add
266 / 488
LT Studio User Manual
Graphics" or "Library/Browse Graphics Library". You can also double-click the "Library/
Add Graphics" or "Library/ Browse Graphics Library" in the project tree.
You need to give a name for the new added graphic. A graphic may have many
statuses. You should set the number of the statuses for the option “Status Count”. And
you should also set the Width and the Height for your graphic.
267 / 488
LT Studio User Manual
4.7.1.1.2 Modify on current graphics library
Please check the option "Modify on current graphics library" if you want to modify
the selected graphic from the graphics library. Then you can click the button “Select
Graphics” to select a graphic from the library.
4.7.1.1.3 Edit
Click the button “OK” to confirm. Then the graphic editor window is displayed. The
content of the editor window is corresponding to the selected status. It is shown as
below.
The menu command “Browse Graphics Library” is used to open the “View Graphics
Library”. It is shown as below.
268 / 488
LT Studio User Manual
You can add a new graphic to the library by clicking the button “Add New Graphics”.
After select a graphic in the library, you can modify it by clicking the button “Edit
Graphics” and rename it by clicking the button “Rename Graphics”.
269 / 488
LT Studio User Manual
4.7.2 Text Library
The text can be saved in the form of multi-languages and multi-statuses by using the
function of the Text Library. It can facilitate the users to use the text and modify it
together in the project.
The Text Library can be opened by clicking the menu command “Library/ Text
Library” or double-click the “Library/ Text Library” in the project tree.
270 / 488
LT Studio User Manual
The “Text Library” window will pop up. It is shown as below.
4.7.2.1 Search
After enter the name required to find and click the button “Search”, all items which
match the content will be found out.
Note that only the name is supported to find. The content in different language is not
supported to search.
After click the button “Language Display”, the “Language Display” window will pop
up. It is shown as below.
After clicking the button “Language Settings”, the “Language Settings” property
page will be opened. You can add or delete language and set the display color, size and
other information here. The details of the “Language Settings” are referred to: Detailed
manual/ Setup/ System Settings/Language Settings.
271 / 488
LT Studio User Manual
The checked languages will be displayed in the “Text Library” window. And you can
check all the languages by clicking the button “Select All”. Meanwhile, you can modify
the order of the languages by clicking the button “Up” or “Down” after select a language.
Note:
The settings are valid for the language display effect in the “Text Library” window. It
does not change the order of languages.
After clicking the button “Sort by Name”, all items in the text library will be sorted in
the increasing order by the first letter of the item name.
After checking the button “Display All Language”, all the languages will display in the
table including which is not checked in the “language display” window.
The same content to the selected text in the table displays simultaneously in the
preview box. If you modify the content in the preview box, the selected text in the table
will be modified to the same content.
Note:
272 / 488
LT Studio User Manual
Note:
4.7.2.7 New
A new item will be created after you click the button “New”.
4.7.2.8 Delete
The selected item will be deleted after you click the button “Delete”.
The “Address Tag Library” saves the addresses in the tag form. This makes it easy
to use and modify the address for the user.
The Address Tag Library can be opened by clicking the menu command “Library/
Address Label Library” or double-click the “Library/ Address Tag Library” in the project
tree.
273 / 488
LT Studio User Manual
4.7.3.1 Table preview
The table in the “Address Tag Library” displays the information of all the address
tags.
After click the button “New Bit”, the “Create Bit Address” dialog will pop up. You can
create a new bit address here. The details to input the bit address are referred to: Detailed
manual/General functions/Address editor/Standard Bit Address Input.
After click the button “New Word”, the “Create Byte Address” dialog will pop up. You
can create a new word address here. The details to input the bit address are referred to:
Detailed manual/General functions/Address editor/Standard ByteAddress Input.
4.7.3.4 Delete
274 / 488
LT Studio User Manual
4.7.3.5 Delete All
4.7.3.6 Edit
The Audio Library can be opened by clicking the menu command “Library/ Audio
Library” or double-click the “Library/ Audio Library” in the project tree.
275 / 488
LT Studio User Manual
After click the button “Import Audio” or “Import from System Catalogue”, the audio
file in the current computer can be imported to the Audio Library.
You can click the button “Export Audio” to export the selected audio. So the other
projects can use it.
276 / 488
LT Studio User Manual
4.7.4.3 Play Audio
After you import the audio to the Audio Library and select it, you can click the button
“Play Audio” to listen.
You can delete the selected audio by clicking the button “Delete Audio”. And you
can delete all the audios of the Audio Library by clicking the button “Clear”.
4.7.4.5 Name
You can change the name of the imported audio in the edit box “Audio Name” for
your project.
277 / 488
LT Studio User Manual
‘’Insert Watch Address’’ button will be used in the alarm content display of the
‘’Alarm and Event Detail Setting’’. You can set the ‘’Watch Address Table’’ in the
following ways.
You can click the button as shown in the figure to enter the ‘’Watch Address Table’’
( path : Alarm and Event Display/Alarm and Events Login/Create/Insert Watch Address),
you can also enter it through the tool bar(path: Library /Watch Address Table) .
278 / 488
LT Studio User Manual
Add: You can add new watch address entry. Click ‘’Add’’, set the watch address
name, such as "Fire Alarm", and set the address of the watch entry, such as "local
register LW0",set the data format, there are various data types to choose; click
‘’Confirm’’ after setting finished, you can see the figure as below.
Select and Quit : When you enter the ‘’Watch Address Table’’ from the ‘’Alarm and
Event Detailed Setting’’ page, select the watch address entry you are using, click the
‘’Select and Quit’’ button to complete setting.
279 / 488
LT Studio User Manual
The “Device Tag Library” saves the device addresses in the tag form. This makes it
easy for the users to use and modify the addresses .
You need add the contents of the tag first when using the devices of tag type. The
added tag should be the tags on the tag type devices.
Add Equipment: Click the ‘’Add Equipment’’ button, select the ‘’Serial Port Type’’,
and select the ‘’Manufacturer’’ and ‘’Device Type’’. Then click ‘’OK’’ to finish adding after
selecting device, the added device should be the tag type device here, such as the figure
shown as below.
280 / 488
LT Studio User Manual
Add Tags
Add: You can add tags manually, enter the tag name, select the data type and station
number, click ‘’Save’’ after finishing adding.
Import: You can import the tags directly in the form of file, this will facilitate users to
quickly establish a tag library. the tag file format can be imported is CSV file. The CSV
format files can be exported by the tag type PLC software, you can also make it with Excel,
About the table format, you can refer to ‘’Export the CSV File’’.
Export: You can export the added contents of the tag library as CSV format files,
which you can quickly import to other devices to use.
Data type: You can classify and group the data type of the device tags, this will
facilitate users to quickly select the data type they need. Click the ‘’Data Type’’ button,
click the ‘’Add Category’’, then you can define the category name, click the ‘’Add Data
Group’’, you can add the elements of the group - data type. Click ‘’Close’’ after the
definition.
281 / 488
LT Studio User Manual
After defining the data type, you can see the data type just defined in the ‘’Data Type’’
page, as shown below: you can select the data type for the ‘’LT / abc.REAL’’, the nature
of this type is ‘’REAL’’.
4.8 Macro
Click the menu command "Macro/ Create Macro" or double-click the "Macro/ Create
Macro" in the project tree, you can open the “Create Macro” window. It is shown as
below.
282 / 488
LT Studio User Manual
(1) Name
You need to designate a name for the new macro. It will be displayed in the "Macro"
directory of the project tree. When you call and execute a macro, the name is used. It
can be in Chinese or English.
(2) Description
The “Description” is used to introduce the macro, which is similar to the
"Comments". It can be in Chinese or English.
Click the button "OK" to confirm and the new macro will be displayed in the macro
editor as below. You can also click the button "Cancel" to cancel the new macro.
You can edit the macro code in the code editor window. The details are referred to:
Use topic/Macro.
283 / 488
LT Studio User Manual
Click the menu command "Macro/ Edit Macro", you can open the “Macro Instruction”
window. It is shown as below.
The existing macros are listed on the left side of the “Macro Instruction” window.
After clicking any one of the existing macros, you can delete, modify, import and
export it. But the deleted macro will not be recovered.
After double-click any one of the macro, the macro can be opened and display in the
code editor window area.
You can use the password verification function to protect the macro codes.
Click the menu command "Macro/Enable Password Verification", you can open the
"Set Macro Password" window.
284 / 488
LT Studio User Manual
Note the “Confirm Password” needs to be same to the “Password”. Otherwise the
“OK” button will be unavailable.
After you enable password verification, the “Verify Password” window will pop up
when you click the menu command “Create Macro” or “Edit Macro”. These two menu
commands can be use only after you entering the correct password. The “Verify
Password” window is shown as below.
If you want to cancel the password verification function, you can click the menu
command "Macro/Enable Password verification" again and enter the correct password to
cancel the password verification function.
If you want to modify the macro password, the details are referred to: Detailed
manual/Macro/Update MacroPassword.
Note: The macro password is a global password. All macros need to password
verification once you enable the password verification function. You can’t set a password
for a single macro.
285 / 488
LT Studio User Manual
If you use the “Enable Password Verification” function, the menu command “Update
Macro Password” is available. Otherwise this command is not available.
After click the "Update Password Verification", the “Update macro password”
window will pop up.
Enter the correct old password and valid new password, then clicking the button
“OK” to confirm the password modification.
After click the button “OK”, a “Warning” window will pop up to message that the old
password is error if the old password is not correct.
286 / 488
LT Studio User Manual
4.9 Recipe
Recipe refers to a group of data saved in a continuous registers of the HMI device.
The data in this area is resistant after powering off. It can be quickly downloaded to the
controller.
Click the menu command "Recipe/ Create Recipe" or double-click the "Recipe/
Create Recipe" in the project tree, you can open the “Recipe” settings page. It is shown
as below.
4.9.1 General
4.9.1.1 Name
287 / 488
LT Studio User Manual
You need to specify a name for the new recipe for the "Name" option. The name can
be English, numbers, letters, and so on. The prefix name "RP_" is fixed and not editable.
It represents a "recipe register". For example, if you give a name "coffee" for a recipe,
then the whole name of the recipe is "RP_ coffee". The recipe word register name is
“RPW_coffee”.
The default “Recipe Length” is 1. You can modify it by clicking the button "Data
Entry" or clicking the title of the settings page "Data Information". The Recipe Length
refers to the number of words occupied by each group of this recipe.
The default value of the “Array Formula” is 1000. It ranges from 1 to 65535.
The whole length of the word register addresses occupied by the recipe can be
calculated after you set the “Recipe Length” and the “Array Formula”. For example, if the
“Recipe Length” is 10 and the “Array Formula” is 1000, then the whole length of the word
register addresses occupied by the recipe is 10*1000=10000.
You can view the details of the addresses occupied by the recipe in the “Address of
Recipe Storage” area. It is shown as below.
288 / 488
LT Studio User Manual
For example, the “Recipe Length” is 10 and the “Array Formula” is 1000, so the whole
length of the word register addresses occupied by the recipe is 10*1000=10000. The
Recipe name is “RP_Coffee”. So the address range of the word registers is "RPW_ Coffee:
0 ~ 9999".
In the above example, the “Recipe Length” is 10 for each group of the recipe. So the
Word address index range is "RPWI_ coffee: 0-9."
The bit address range is determined by the word address range. So the bit address
in the above example is "RPB_ coffee: 0.0 to 9999.15."
Similarly, the bit address index range is determined by the “Recipe Length”. So the
“Bit address index range” is "RPBI_ coffee: 0.0 to 9.15."
The “Current recipe ID register” is used to specify the group number of the recipe. For
the above example, the “Current recipe ID register” is “RPI_coffee: 0”.It is a unique register
for each recipe.
It is not checked by default. If it is checked, you can specify a bit address. If it is set
ON, the current data of the recipe group which specified by the recipe ID register will be
cleared. After the data is cleared, this bit address will be reset OFF. It is shown as below.
289 / 488
LT Studio User Manual
For example, if the value of the "RPI_ coffee: 0" register is 3, the data of the No. 3
group of the recipe “RP_coffee” will be cleared when the “Clear current recipe bit
address” LB0 is set ON. After finish clearing,LB0 will be reset OFF.
It is not checked by default. If it is checked, you can specify a bit address. If it is set
ON, the data of all the recipe groups will be cleared. After the data is cleared, this bit
address will be reset OFF. It is shown as below.
290 / 488
LT Studio User Manual
For the above example, all the data of the recipe “RP_coffee” will be cleared if the
bit register LB1 is ON. After the data is cleared, LB1 will be reset OFF.
291 / 488
LT Studio User Manual
The default recipe length is 1. A 16-bit unsigned data is preset.
4.9.2.1 Modify
After double-click the selected entry, the “Data Setting” dialog will pop up. You can
modify the settings for this entry. It is shown as below.
4.9.2.1.1 Name
It refers to the address offset of this entry in the recipe. The address offset of the
first entry starts from 0. It is determined according to the data type and the entry order by
system and not be edited.
It is not checked by default. You can check it when you need to define a group of
the same data type data for this entry.
292 / 488
LT Studio User Manual
The “Length” option needs to set for the data group when you check the option"
Data Group".
Click the button “OK” to finish the settings for the selected entry.
4.9.2.2 Insert
After select an entry in the list and then click the button "Insert", a new entry will be
added before the selected entry.
4.9.2.3 Add
After click the button "Add", a new data entry will be added after the last data entry.
4.9.2.4 Move Up
For many data entry, the selected data entry will be moved up a row after click the
button "Move Up".
For many data entry, the selected data entry will be moved down a row after click
the button "Move Down".
4.9.2.6 Delete
The selected data entry will be deleted from the list after click the button "Delete".
For example, the recipe "RP_coffee" has only one entry and the data type of the
entry is "16-bit Unsigned ". The Recipe Length is 10. The data setting of the entry is
shown as below.
After click the button “OK” to confirm the entry setting, the “Data Information” setting
page of this recipe is shown as below.
293 / 488
LT Studio User Manual
Thus, a named "RP_coffee" recipe is created. It will be displayed in the project tree.
It is shown as below.
4.10 Setup
294 / 488
LT Studio User Manual
4.10.1.1 Model
The “Model” displays the type of the current selected HMI device.
4.10.1.2 Description
The detailed information of the current HMI device is displayed in the “Description”
area.
You can set the Ethernet connection properties for the current HMI device. The
setting mode of IP address can be “Auto IP Address (DHCP)” or “Static Address”.
If you select a “Static Address” mode, the IP address can be assigned here. Or you
can use the SRW registers to set the IP address.
295 / 488
LT Studio User Manual
When SRB10000=0, the setting mode is DHCP. When SRB10000=1, the “Static
Address” mode is used to assign the IP address. You can switch the IP address setting
mode by the SRB10000 register.
There are 4 rotation display effect. They are “Normal (Horizontal Display)”, Vertical
(Rotate 90 degrees Clockwise), “Vertical (counterclockwise)” and “Upside down (Rotate
180 degrees)”. You can preview the display effect of the character “A” on the right area.
The rotation display mode should be selected according to the installation direction
of the HMI device.
You can select “16 Bit Color (65535 Color)” or “24 Bit Color (16777216 Color)”
based on your project. This setting will take effect after restarting.
If you want to change the HMI device type for your project, you can click the button
“Exchange HMI”.
296 / 488
LT Studio User Manual
The “Change HMI Model” dialog will pop up after you click the button “Exchange
HMI”.
After you select the “Target HMI Model” for your project and click the button
“Exchange” to confirm the setting, the project will be converted to adapt the new HMI
device.
The resolution and color need to be adjusted by manual after the exchanging
operation. Because the resolution and color change may result in the change of the
window size and the loss of color.
297 / 488
LT Studio User Manual
You can set the project properties, backlight and screensaver, initialization, the main
window, touch audio and other related attributes in the “Global Settings” property TAB.
Click the menu command "Setup/ System Settings/Global Settings" to open the
“Global Settings” property TAB. It is shown as below.
• Upload
If you check “Upload” and set the “Password”, the project can be allowed to upload
when the other user enter the password after it is downloaded to the HMI device. The
298 / 488
LT Studio User Manual
uploaded project file can be downloaded to the other HMI device by using the LT
Studio software Tools.
Note:
The uploaded project file is a special archive. The project can be opened after
decompilation by the LT Studio software.
• Decompilation
If you check “Decompilation” and set the “Password”, the project can be allowed to
decompile by the LTStudio Tools after the password is entered.
Note:
➢ If only the “Decompilation” is checked, the Fpg file of this project can be
decompiled after entering the correct password. But this project can’t be
uploaded.
➢ If only the “Upload” is checked, this project can be uploaded after enter the
correct password. But the Fpg file of this project can’t be decompiled.
➢ If the “Upload” and the “Decompilation” are not checked, the size of the file after
compiling is the least. But it cannot be uploaded or decompiled. On the other
hand, it is safest way to protect your project.
• Download Password
The HMI projects can be downloaded if the option is not checked. After checking the
option, then you need to enter the password every time you want to download projects
from the HMI, to avoid the original projects to be replaced.
You can check the option “Dim the brightness” to adjust the backlight lightness after
the specified time. The lightness can be set “Lowest”, “10%”, “20%”, “30%”, “50%” or
“80%”. The specified time needs to input in integer.
299 / 488
LT Studio User Manual
You can set a specified time to turn off the backlight after the lightness is adjusted.
The default value is 10. That means it will keep 10 minutes after the backlight lightness is
adjusted. Then the backlight will be turned off.
Note:
The configuration screen will be visible after the backlight is turned off.
If you check the option “Turn on backlight upon Alarm/Events”, the backlight will be
turned on automatically when the alarms or events occur and the backlight is off during
the running.
• Screensaver
If you check the option “Screensaver”, the Screen saver Window will be switched to
display when the time is up. The Screen saver Window must be specified. It is used to
display the company LOGO.
If you check the option “Require Password to exit Screensaver”, a system message
window will pop up to prompt you to enter the corresponding level password when you
want to exit the screen saver window.
300 / 488
LT Studio User Manual
Note:
You need to use the character input component to enter the password to SRW100 ~
103.
• Return to original screen when Screensavers is over
If you check the option “Return to original screen when Screensavers is over”, it will
return to the original screen when you click the HMI screen. Of course, if you set a
password, the system message window will pop up to prompt you to enter the password
before return to the original screen.
Note:
If you don’t check the option “Return to original screen when Screensavers is over”,
it will still stay in the screensaver window when the screensaver is over.
The “Local Register Endian Order” refers to the order of the high byte and the low
byte. For example, a 32-bit register LW0=0x12345678. If you select the “4321” mode,
then the word register LW0=0x1234 and the word register LW1=0x5678. If you select the
“2143” mode, then the word register LW0=0x5678 and the word register LW1=0x1234.
4.10.2.1.4 Scrollbar
For some components without setting the scrollbar width, you can set it in the
“Scrollbar Width” option. For example, you set the scrollbar width for the pop up window
component here.
4.10.2.1.5 Initialization
• Initial Window
The “Initial Window” refers to the first displayed configuration window after the
project is downloaded to the HMI or the HMI is powered on.
• Initial Macro
After check the “Initial Macro”, you can specify a Macro to run before the
configuration window is displayed. This function can realize the initial work of your
project.
301 / 488
LT Studio User Manual
The main window can be set here. So you can return to the main window in any
configuration window by setting “Return to the main window (HOME)” for the “Window
Operation” function of the Bit Set component.
If this function is checked, you can specify a window as a pull-down window, where
you can put the alarm events and other related components to display. This function is
valid only for the capacitive HMI device.
Note:
When you slide the HMI window to more than half the width of the window from the
upper edge down during running the project, the Drop-down window will display
gradually. Similarly, when you slide to more than half the width of the window from the
lower edge up, the Drop-down window will be withdrawn.
4.10.2.1.8 Clock
The “Source” of Clock can be set “HMI Internal Clock” or “External Device”.
If you select the “HMI Internal Clock” as the HMI clock, SRW0~7 will be used to
save the time source of events, historical data, etc.
If you select the “External Device”, the registers address can be changed.
302 / 488
LT Studio User Manual
• Buzzer is enabled
If only the option “Buzzer Is Enabled” is checked, the buzzer will beep for a specified
time when you touch the effective components, such as buttons.
If the option “Enable Control” is also checked, you need to select a bit register.
When the bit register is ON, the function of “Buzzer Is Enabled” is allowed to use. For
example, the LB0 is set for the “Enable Control”. If LB0 is ON, the buzzer will beep when
you touch the effective components. When it is OFF, the buzzer will not beep. The option
“Buzzer Time” can set 50ms, 75ms,100ms,150ms,200ms,300ms,500ms,800ms, and1s.
If the option “Touch Audio Enabled” is checked, all audio play is available. It is
selected by default.
303 / 488
LT Studio User Manual
If the option “Enable Control” is also checked, you need to select a bit register.
When the bit register is ON, the function of “Touch Audio Enabled” is allowed to use. For
example, the LB1 is set for the “Enable Control”. If LB1 is ON, the audio play is available.
if it is OFF, the audio will not be available.
Note:
If the option “Touch Audio Enabled” is not checked in the global settings, the audio
will not be available even if the audio is active in the proper TAB of the effective
component.
The attribute of “Public Window Position” can be set “Below Basic Window” or
“Above Basic Window”. The option “Below Basic Window” is selected by default.
304 / 488
LT Studio User Manual
4.10.2.2.2 Performance
If you check the option “Disable Vector Font Bordline Blurring Processing”, the
display effect of the fonts will have some burr. It does not look smooth and good, but the
display speed is faster. You can use this option to get higher display speed when less
display quality is demanded.
Note: the speed difference is not obvious for the hardware which the version is
above A8. So you need not check this option generally.
If you don’t check the option “Disable Vector Font Bordline Blurring Processing”, the
display effect is shown as below.
If you check the option “Disable Vector Font Bordline Blurring Processing”, the
display effect is shown as below.
305 / 488
LT Studio User Manual
There are three options for the “Window Default Settings”. They are “Slow In”, “Slow Out”
and “Switch Window by Horizontal Sliding”. The three options are valid only for the capacitive
screen.
After the “Slow In” or “Slow Out” is checked, the new window will have a fade effect.
You can find the “Fade in” option is checked by default in the “Basic” property TAB of the
new window. Another window effect is “Fade out”. The fade effect is only valid for the
capacitive HMI device.
Note:
306 / 488
LT Studio User Manual
The fade effect will produce an effect on the speed of switching windows obviously.
The economic HMI models are not suggested to be used.
After the “Switch Window by Horizontal Sliding” option is checked, the windows can
be switched by horizontal sliding action. This function is only supported by the capacitive
HMI devices.
You can set the operation for this function in the “Action and Function” property TAB
of the basic window.
If you click the ‘’Use Swiping Around’’ option, then the function of horizontal sliding
will take effect, the function is only valid for the capacitive HMI.
If you click the ‘’Disable Ipomoea return to the main window’’ option, then the
function of ‘’Ipomoea return to the main window’’ is disabled, the function is
enabled by default, you can check the option if you do not need it. It can be controlled by
the special register ‘’SRB10012=1’’, too.
307 / 488
LT Studio User Manual
This settings is the global settings, the operating steps can be recorded without
setting the operate log control, the default is ‘’unsave’’, you can choose to save to the
local HMI, SD card, USB1. The address of storing operate log is retained after power
down, you can define the subdirectory name by yourself. The files saved is Db files.
Save CSV File meanwhile: The operate log will be saved as Db file and CSV file at
the same time. The CSV file can be opened directly and viewed with Excel.
Maximum Saving Limit: there is no limit when it is 0, you can click the option
‘’Delete Old Records’’ when the cache is full, the new operate log will continue recording,
‘’Discard New Records’’, it will not record the operate log any more if the cache is full.
You can set the ‘’Notify Register’’ when the cache is full, as shown below, LB0 is set
to 1 when the free space is less than 512KB.
You can set a flag bit to clear the historic records of the operate log.
308 / 488
LT Studio User Manual
4.10.2.3 Language Settings
4.10.2.3.1 Language
• Language Count
You can select the number of the languages in the list of the “Language Count”
option. Then you set the languages in the table. The languages should be different in the
table. You can modify the languages by the lists in the table.
309 / 488
LT Studio User Manual
• Default Language
You can select a language from the list as the “Default Language”. After
downloading the project, the specified default language will be as the display language.
You can switch the display language by changing the value of SRW10050. The No.1
language will be displayed when SRW10050 is 0. The No.2 language will be displayed
when SRW10050 is 1. The No.3 language will be displayed when SRW10050 is 2. And
so on. The display language will be changed to the specified “Default Language” when
the project is downloaded again.
The function is used to save the common font styles as a template. You can use this
template when you set the font style.
You can open the “Favorite Font Templates” settings page in the project tree or by
clicking the menu command “Setup/System Settings/Favorite Font Templates”.
310 / 488
LT Studio User Manual
First, click the button "Add(A)". Then give a name for the current font template in the
“Description”. The font style need to be set, referred to: Detailed manual/General
functions/Drawing/Font settings. At last, click the button “OK” to confirm and save the
settings
311 / 488
LT Studio User Manual
For example, a font template is used in the property settings of a Static Text
component.
First, click the button "Import from Favorite Font Templates" in the property window
of a Static Text component to open the “Import from Favorite Font Templates” dialog.
Then select the required font template and click the OK button. The result is shown as
below.
312 / 488
LT Studio User Manual
You can set the levels and the level passwords for the users in the “User Level”
settings page. The settings of the “User Level” are valid in the whole HMI system. The
higher the level is, the greater the range which can be operated is. The higher user level
can access the screen windows which the lower user level can access. But it is not
prohibited that the lower user level accesses the higher user level.
4.10.2.5.1 Open
The “User Level” settings page can be opened by double-clicking the “User Level”
option in the System Settings of the project tree or click the menu command “Setup/
System Settings /User Level”.
4.10.2.5.2 Edit
313 / 488
LT Studio User Manual
The “User Level” settings page is shown as below.
You can set the number of the user level in the “User Level Count” by using the list.
And you can edit the information of every user level in the table, such as the Predefined
Password and the Grade Description.
4.10.2.5.3 Use
For example, set the user level function for the "Bit Switch" component.
Open the property window of the "Bit Switch" component and select the option
“Conditional” in the property TAB of “Control Settings”. Check the option “Level User”
and select the level from the list. It is shown as below.
314 / 488
LT Studio User Manual
Run the project. A “User level login” window will pop up when you click the
component. It is shown as below. You can operate the component only by entering the
correct password in the “User level login” window.
The “User Privilege” is used to provide security for the user operations. The different
privilege is given when the user enter the different user name and the corresponding
password.
4.10.2.6.1 Add
The “User Privilege” settings page can be opened by double-clicking the “User
Privilege” option in the System Settings of the project tree or click the menu command
“Setup/ System Settings /User Privilege”.
315 / 488
LT Studio User Manual
After clicking the button "Add", the “User Privilege Settings” dialog will pop up.
4.10.2.6.2 Set
You can set different User names, Initial Password and Logout Time for different
privileges in the “User Privilege Settings” dialog. The login state of the current user will
exit if the login time is more than the Logoff Time.
4.10.2.6.3 Use
You can use the “User Privilege” in many situations, such as the control settings, the
window switch, the value input, and so on.
316 / 488
LT Studio User Manual
4.10.2.6.4 Call
You can find some windows which the system provides in the project tree, such as
the User privilege window, the User login window, and so on. These windows make it
easy to use for the users.
The “Task Schedule” is used to execute some operations when time is up.
You can open the “Task Schedule” property TAB by clicking the menu command
"Setup/ System Settings/Task Schedule". It is shown as below.
317 / 488
LT Studio User Manual
After click the button "New(N)", the “Task Schedule Details” window pop up. It is
shown as below.
4.10.2.7.1 Description
You can give a name for the task schedule in the “Description” edit box. This
description can facilitate the identification in programming.
318 / 488
LT Studio User Manual
4.10.2.7.2 Enable Control
After you check the option “Enable Control”, you can select a bit register. When the
bit is ON, this Task Scheduler is not allowed to use.
4.10.2.7.3 Mode
• Week Day
The start time and the end time are within a week.
The start time and the end time can execute in the adjacent two weeks. The Week
Day of the start time is only selected one. You must set the end time.
• HMI Address
319 / 488
LT Studio User Manual
Only an “Execution upon Start” setting page is displayed by default. The “Execute
upon End” setting page is visible if you check the option “Set End Time”. They are shown
as below.
The operations need to be executed are listed in the “Execution upon Start” setting
page and the “Execute upon End” setting page.
If you check the option “Execute upon power up”, the operations checked in the
“Execution upon Start” setting page will be executed in the time range (start time - end
time).It will stop outside the time range.
If you check the option “Execute Ending Operation upon Power Off”, the operations
checked in the “Execute upon End” setting page will be executed in the time range (start
time - end time).It will stop outside the time range.
• Bit Setting
• Word Setting
• Trigger Macro
• Popup Window
320 / 488
LT Studio User Manual
• Use Buzzer
• Play Audio
The "Data Sampling" is the data source of these components such as the "Trend
Curve", the "Historical Data Display", and so on. You must create the "Data Sampling"
before using these components. You can open the “Data Sampling” property TAB by
clicking the menu command "Setup/ System Settings/Data sampling". It is shown as
below.
After clicking the button "New" in the “Data Sampling” property TAB, the "Data
Sampling Property" dialog will pop up. It is shown as below.
321 / 488
LT Studio User Manual
• Description
The “Description” is used as the name of the “Data Sampling”. It is a required the
attribute. If it is null, there will be a red exclamation mark to indicate that a name is
needed here. The “Description” can be a text which is easy to understand, such as
“Level of Tank 1”, “Temperature of Main Motor”, and so on.
A word register is needed to specify as the start address of the data sampling here.
It is can be an internal address of the HMI and the register address of the controller
which is connected to the HMI.
• Control Setting
Three attributes of the Control Setting are optional. They are not be checked by
default. You can check or not check them according to the actual needs.
➢ Pause Control
If the “Pause Control” is checked, you can set a bit address to control the data
sampling. When this bit address is ON, the data sampling is paused. When it is OFF, the
data sampling will continue.
➢ Clear Control
If the “Clear Control” is checked, you can set a bit address to clear the sampling
data. When this bit address is ON, all the sampling data in the memory is cleared.
322 / 488
LT Studio User Manual
After checking this attribute, you can specify a window when the window is set to
open, the above "Pause control" and "clear control" to be effective.
• Sampling Mode
➢ Cyclic
The unit of the Sampling Cycle can be "s" or "0.1 s". The default is 1 s.
➢ Triggered
If you select the “Triggered” option, the data sampling will be done according to the
“Trigger Condition”. The Trigger Mode includes "Bit" and "Word". The “Address” is
needed to specify according to the Trigger Mode. The “Trigger Condition” of Bit Trigger
Mode can be "OFF→ ON", "ON→OFF" or "OFF↔ON". For Word Trigger Condition, you
can refer to:Detailed manual/General functions/Drawing/Logic Control.
• Data Record
You can save the sampling data to the HMI or other peripherals. The default is
“Unsave”. That is, the sampling data is not saved.
➢ Unsave
323 / 488
LT Studio User Manual
When you select “Unsave”, there will be a "Max Items" setting for the memory
occupation. The default is 1000. The maximum is 99,999. The "Auto Stop" is not
checked by fault. If the "Auto Stop" is checked, the new items will not be added when the
maximum number of items reached. Or delete the oldest items and add the new items. It
is shown as below.
Note:
All the sampled data will be lost if you select “Unsave”. After powering on, you need
to sample the data again.
➢ HMI
When you select “HMI” for the Data Record, the “Subdirectory Name” is required.
The “Maximum Saving Limit” option is set "0" Day by default. That means that there
is no limit to save. However, there is a limit because of the limited capacity of the HMI
Flash. It is suggested that the “Maximum Saving Limit” option is set several days when
you select HMI to save data, such as 15 days, 30 days, and so on.
The default action is “Delete Old Records” when the Flash memory of the HMI is full.
This is a cycle record mode. You can also select "Discard New Records" option. It is a
fixed-saving mode which the new records are no longer saved when the Flash memory
is full.
324 / 488
LT Studio User Manual
If you check the option “When frees pace is less than”, the action of “Notify Register”
will be done when the free space is less than the specified capacity. The capacity range
is 16KB ~ 2MB. You can set a bit register to notify. The bit register will be ON when the
free Flash capacity is less than the specified.
If you check the option “Clear Record Register”, you can specify a "bit register".
When the "bit Register" is ON, all the saved history records will be cleared.
For example, you want to save the data record to the “SAMPLE” folder in the HMI.
The bit register LB0 will be ON to indicate insufficient space when the free space is less
than 128KB. All saved history records will be deleted when the bit register LB1is set ON.
The settings are shown as below.
You can choose to save the data records to SD card or USB disk. The settings are
referred to the “HMI”.
325 / 488
LT Studio User Manual
The "Channel Settings" property TAB is shown as below.
• Add channel
After clicking the button “Add”, an item will be added. It is shown as below.
The “Address” refers to the start address of the data record. The “Type” of data
record can be “16-bit Unsigned”, “16-bit Signed”, “32-bit Unsigned”, “32-bit Signed”, “16-
bit BCD”, “32-bit BCD”, “Single-precision Floating-point Number” or “Character String”.
The maximum memory occupied is 64 word registers for the type of “Character String”.
326 / 488
LT Studio User Manual
You can create many channels by clicking the button "Add". The addresses of the
data record are continuous and specified automatically. It is shown as below.
The default value of “Samples Each Time” is 1. That means that one data is sampled
each time. When this parameter is set a value larger than 1, the addresses which each
channel occupies will multiply. For example, the option “Samples Each Time” is set 3.
Then the number of address occupied by each channel is shown as below.
327 / 488
LT Studio User Manual
In this example, LW0 ~ LW2 is occupied by the first channel, LW3 ~ LW8 is
occupied by the second channel, and LW9 ~ LW14 is occupied by the third channel. The
number of addresses is three times as the number which the “Samples Each Time” is set
1.
• Delete channel
You can delete the selected channel by clicking the button "Delete ".
• Notes
In the “Notes” column of each channel, you can give a description. The “Notes”
makes it easy to read and it will display in the "Historical Data" table. For example, the
first channel is "Liquid level", the second channel is "Pressure", and the third channel is
"Flow". It is shown as below.
You can set the non-serial address sampling channel if the option is not checked.
328 / 488
LT Studio User Manual
Click the "Non-Serial Address Channel" button, then the "Non-Serial Address
Channel" page will display.
Click the "Add Word Channel" button, there will be a entry of data sampling, then
you can click the address button to edit the address, then you can choose device and
address type. The length of the sampling points can be set by the option of ‘’Samples
Each Time’’. You can click the ‘’Add Word Channel’’ again, continue to add a channel,
the new channel address can be defined by yourself, and it does not need to continue
with the last channel address. As shown in the following figure:
329 / 488
LT Studio User Manual
It can be seen that the sampling addresses of multiple channels could be non-continuous
addresses.
The "PLC Control" attribute is used to execute an action according to the change of
the address of the local HMI or the controller connected to the local HMI. This is a global
Attribute. That is, the action of the “PLC Control” will be executed regardless of which
one the current screen window is, as long as the conditions are met.
After clicking the menu command "Setup / System Settings / PLC Control", the "PLC
Control" settings page will be opened. It is shown as below.
330 / 488
LT Studio User Manual
Click the button "Add" in the “PLC Control” settings page, the “PLC Control Details”
settings dialog will pop up. It is shown as below.
The “Control Type” refers to the action of the “PLC Control”. It includes “Switch
Basic Window”, “Report Current Window No.”, “Back Light Control”, “Execute Macro
Instruction”, “Audio Control”, “Sheet Print”, and “Force Buzzer off”.
331 / 488
LT Studio User Manual
You can switch the basic window of the HMI by changing the value of a register.
The “Valid on Window Opened” is a public attribute of the “PLC Control”. By default,
it is not checked. After checking this attribute, you can select a base window. The action
defined in the "PLC control" will be executed when the specified base window is
switched to open.
• Trigger Address
You can select a word register to trigger the “Switch Basic Window” action. For
example, if the “Trigger Address” is set LW100, the HMI will display the Basic Window(1)
when the value of LW100 is 1, and the HMI will automatically switch to the Basic
Window(20) when the value of LW100 is 20. And so on.
• Property
332 / 488
LT Studio User Manual
There are two optional attributes in the “Property” box. They are not checked by
default.
If you check the option “Turn on Back Light”, the back light will be turned on
automatically when the action of “Switch Basic Window” is executed and the back light is
closed.
If you check the option “Clear Address on Switched Window”, the value of the word
register will be cleared to zero automatically after the action of “Switch Basic Window” is
finished.
After click the "OK" button, the “PLC Control” action will be added in the “ PLC
Control” settings page.
Note:
The “Switch Basic Window” action will be triggered only when the value of the
trigger address changes. You can also use a Bit Set component to switch the base
window in the LT Studio software. But the switch basic window action may not be
executed if you use the two switch window methods. For example, after you input a
value to the trigger address to switch the basic window, you switch another basic window
by using the Bit Set component. Then you input the same value to the trigger address to
333 / 488
LT Studio User Manual
switch the first basic window. But it does not act because the value of the trigger address
does not change. To avoid this situation, you should check the option "Clear Address on
Switched Window".
• Trigger Address
You can select a word register to trigger the “Report Current Window No.” action.
For example, if the “Trigger Address” is set LW200, the number of the current basic
window will be moved to LW200 when the HMI displays a window. If the HMI device
displays the Basic Window (18), then the value of LW200 is equal to 18.
You can define a trigger condition to control the state of the back light if you select
the “Back Light Control” as the control type.
334 / 488
LT Studio User Manual
• Back Light on
The option “Back Light on” is selected by fault. If this option is selected and the
trigger condition is satisfied, the back light will be turned on when the back light is closed
or in the lowest lightness.
If the option “Back Light off” is selected and the trigger condition is satisfied, the
back light will be turned off.
If the option “Adjust to Lowest Brightness” is selected and the trigger condition is
met, the back light of the HMI will be adjusted to the lowest lightness.
• Trigger Address
The “Trigger Address” can be a word or bit register. It depends on the setting of the
"Trigger Condition".
• Trigger Condition
You can select “Bit”, “Word” or “Condition” for the “Trigger Condition”. If you select
“Bit” or “Word”, the condition is determined by the register which is given in the “Trigger
Address”. If you select “Condition”, the condition needs to be given by the logic control
editor box.
The detailed of “Condition” setting is referred to: Detailed manual/ General functions/
Drawing/ Logical Control.
335 / 488
LT Studio User Manual
4.10.2.9.4 Execute Macro Instruction
• Execute Macro
You can select a Macro from the list. The selected Macro will be executed when the
Trigger Condition is achieved. If you have not created a Macro, there will be a red
exclamation mark to prompt that any one macro has not been established. Click the
button "Macro Code", you can open the Edit Macro window.
• Trigger Address
The “Trigger Address” can be a word or bit register. It depends on the setting of the
"Trigger Condition".
• Trigger Condition
You can select “Bit”, “Word” or “Condition” for the “Trigger Condition”. If you select
“Bit” or “Word”, the condition is determined by the register which is given in the “Trigger
Address”. If you select “Condition”, the condition needs to be given by the logic control
editor box.
The detailed of “Condition” setting is referred to: Detailed manual/ General functions/
Drawing/ Logical Control.
You can control the internal buzzer of the HMI or the audio from the “Audio Library”
by using the control type of “Audio Control”. This function is invalid if the audio output is
not supported by the HMI device.
336 / 488
LT Studio User Manual
• Buzzer
The option "Buzzer" is selected by default. If it is selected, the internal buzzer of the
HMI will ring when the trigger condition is satisfied. The “Buzzer Time” is used to set the
time of buzzer ringing. It is 1 second by default. The max value of the “Buzzer Time” is
100 seconds. When the “Buzzer Time” is set “0”, the buzzer will continue ringing until the
trigger condition is not satisfied.
• Use Audio
If the option “Use Audio” is selected, you can select an audio from the "Audio
Library". When the "Trigger condition" is satisfied, the audio will be played.
• Trigger Address
The “Trigger Address” can be a word or bit register. It depends on the setting of the
"Trigger Condition".
• Trigger Condition
You can select “Bit”, “Word” or “Condition” for the “Trigger Condition”. If you select
“Bit” or “Word”, the condition is determined by the register which is given in the “Trigger
Address”. If you select “Condition”, the condition needs to be given by the logic control
editor box.
The detailed of “Condition” setting is referred to: Detailed manual/ General functions/
Drawing/ Logical Control.
337 / 488
LT Studio User Manual
You can specify a bit register to force the buzzer off by using the control type of
“Force Buzzer off”. When the state of the buzzer is ON, it will be forced to OFF if the
specified bit register is ON.
You can preset the attributes of the alarms or events such as the conditions and
contents in the “Alarm And Event” settings page. The “Alarm And Event” settings page
can be opened by clicking the menu command “Setup/System Settings/Alarm And
Event”.
4.10.2.10.1 Group
338 / 488
LT Studio User Manual
The alarms and events can be viewed by groups. The users can customize the
groups. Here, the option “Group” can be set any one of “All, 1, 2, 3 …32”.
4.10.2.10.2 Language
The alarm content can be displayed in different languages. So you need select a
language for the option “Language” to view the alarm content.
After selecting a Group, then click the button “Create”, the “Alarm and Event
Detailed Setting” window will pop up. It is shown as below.
339 / 488
LT Studio User Manual
• Group ID
If you select “All” for the “Group” in the settings page, the “Group ID” can set any
one of 1~32 here. If you select any one of 1~32 for the “Group” in the settings page, the
“Group ID” is same to the “Group”. It refers to the group of the alarm or event waiting for
be set here.
• Urgency Level
The “Urgency Level” can be set “High”, “Medium” or “Low”. You can set it
according to the priority level of the alarm or event.
• Trigger Condition
The trigger condition of the alarm or event can be set here by using the button
“Add”, “Modify” or “Delete”. The details can be referred to: Detailed manual/General
functions/Address editor/Standard Bit Address Input and Detailed manual/General
functions/Address editor/Standard Byte Address Input.
You can input the description for the current alarm or event in the edit box here. Or
you can check the “Text Lib” and use a text of the Text Lib as the description. The “Text
Lib” is referred to: Detailed manual/Libray/Text Library.
➢ Language
340 / 488
LT Studio User Manual
You can select a language for the current display language here. If you check the
“Text Lib” and use a text in the Text Lib as the description, the content in the edit box will
only be viewed and not be edited. It can be viewed in different language by switching the
Language.
The display content of the alarm is the contents of the register address, the data
type of the address support the ‘’string’’ type.
341 / 488
LT Studio User Manual
• Audio
If the option “Trigger Buzzer” is checked, the internal buzzer of HMI will beep when
an alarm occurs. If the option “Buzzer Timeout” is checked, you can set the beeping time
of the buzzer. If the option “Audio” is checked, you can select an audio from the Audio
Library as the sound of the alarm or event.
• Action
There are three kinds of actions according to the status of the alarm or event. They
are “Triggering”, “Confirming” and “Recovery Action”. You can set the actions in different
status for the alarm or event by clicking the title of the setting page “Triggering”,
“Confirming” or “Recovery Action”.
342 / 488
LT Studio User Manual
The actions of “Triggering” refers to the actions that they will be executed when the
alarm or event occurs. The actions of “Confirming” refers to the actions that they will be
executed when the alarm or event is acknowledged by manual. The actions of “Recovery
Action” refers to the actions that they will be executed when the alarm or event exists.
➢ Macro
Select a Macro to execute as an action. You can also open the Macro Editor by
clicking the button “Macro Code” or edit the Macro by clicking the button “Edit”.
➢ Bit Address
➢ Word Address
➢ Popup Window
343 / 488
LT Studio User Manual
Select the corresponding COM port (COM1, COM2, COM3, or COM4) property TAB
to set the communication parameters.
4.10.3.1.1 Unused
The option “Unused” is the default. It means the selected COM port is not used to
communicate.
The option “Connect Device (Master)” needs to be selected when the touch screen
is as master device. Then you need to set communication parameters for the
corresponding PLC.
• Manufacturer
The option “Manufacturer” is used to set the manufacturer of the connected PLC.
344 / 488
LT Studio User Manual
• Device Type
The Device Type refers to the corresponding type of the connected PLC.
345 / 488
LT Studio User Manual
The option “Pre-set Station No.” is used to set the PLC station number. You can set
it by Constant or Variable.
You can input a fixed station number of the connected PLC by Constant way. It is
the default station number for the new address. The station number which is already set
will not change if you modify the preset station number. You can use the button
“Synchronize Station No.” to unify the station number.
You can set the “Pre-set Station No.” by variable. It means the preset station
number will depend on the value of a variable which you can input by a numeric value
input component. The method to input the variable address is referred to: Detailed
manual/General functions/Address editor/Standard ByteAddress Input.
After clicking the button “Synchronize Station No.”, the station number will be
modified and saved for all addresses of this PLC used in the current project.
• Communication Setting
➢ Baud Rate:
110,300,600,1200,2400,4800,9600,14400,19200,38400,56000,57600,115200
and 187500 are optional.
➢ Reset: the default settings will be restored if you click the button “Reset”.
346 / 488
LT Studio User Manual
347 / 488
LT Studio User Manual
• Device Type
The Device Type includes Barcode, LT SLAVE and Modbus RTU Server. It is
shown as below.
• Device Alias
You can set the “Server Station No.” by Constant or Variable. It is the station
number of the touch screen as a slave device.
➢ Constant
➢ Variable
You can set the “Server Station No.” by variable. It means the server station
number will depend on the value of a variable which you can input by a numeric
value input component. The method to input the variable address is referred to:
Detailed manual/General functions/Address editor/Standard ByteAddress Input.
• Communication Setting
➢ Baud Rate:
110,300,600,1200,2400,4800,9600,14400,19200,38400,56000,57600,115200
and 187500 are optional.
348 / 488
LT Studio User Manual
➢ Data Bit: the number 7 and 8 are optional.
➢ Reset: the default settings will be restored if you click the button “Reset”.
The Remote connection contains three connection modes: "Remote HMI", "Remote
PLC" and "Ethernet PLC".
After click the menu "Setup / Communication Settings / Remote Connection", the
"Remote HMI" settings page is opened as the default. It is shown as below.
349 / 488
LT Studio User Manual
For one of the HMI device, anyone of other HMI devices in the same Ethernet
network of the LAN is the Remote HMI. For example, there are two HMI: one named
HMI1, another one named HMI2. These two HMI devices are connected in an Ethernet
network. For HMI1 device, HMI2 is the "remote HMI" of HMI. For HMI2 device, HMI is
the "remote HMI" of HMI2.
After clicking the button "Add" in the “Remote HMI” settings page, the “Remote HMI”
settings dialog will pop up. It is shown as below.
• Use IP
350 / 488
LT Studio User Manual
You can set the IP address of the remote HMI by Fixed or Variable. The default
setting mode is “Fixed”. And the default fixed IP address is “192.168.0.1”. For example,
the IP address of HMI1 is “192.168.0.10” and the IP address of HMI2 is “192.168.0.20”.
For the project of HMI1, you need set the IP address of the remote HMI “192.168.0.20”.
When you set the IP address of the remote HMI by Variable, a word register
address needs to be given as the start address. There are 4 word registers which is from
the start word register. They are used to save the 4 segments of the IP address. It is
shown as below.
You can input the IP address of the Remote HMI to the4 word registers by the
numeric value input component. Then you can access the desired HMI device.
• Port No.
You can set the “Port No.” of the remote HMI by Constant or Variable. The default
setting mode is “Constant” and the default port number is 3000. You need to set the
“Port No.” by Variable if you want to change the port number of the remote HMI by a
word register. The default port number is suggested usually. It is noted that all the port
numbers of the connected HMI devices must be the same. Otherwise, the connection
may fail.
• Device Type
The Device Type refers to the type of the remote HMI device which the HMI needs
to access.
• Device Alias
The default of the Device Alias is "Device1". It cannot be null. You can set a device
alias which is easy to understand, such as "HMI for Machine 3".
351 / 488
LT Studio User Manual
Click the button "OK" to confirm the settings. And the "Remote HMI" settings page is
shown as below.
Click the button "OK" in the “Remote HMI” settings page to save, and then you can
find the remote HMI device in the Device list of the register address. For example, it is
shown as below.
After finishing setting the "Remote HMI", the local HMI can access all the registers
of the "Remote HMI", including the LW, RW, SRW, LB, SRB and other registers.
352 / 488
LT Studio User Manual
If you need to add other remote HMIs, you can add them by referring to the above.
The Remote PLC refers to the device which is connected with the remote HMI,
including the PLC, the inverter, the servo, the instrument, and so on.
After clicking the menu "Setup / Communication Settings / Remote Connection", the
"Remote HMI" settings page is opened as the default. Click the "Remote PLC" tab to
open the "remote PLC" settings page. It is shown as below.
After clicking the button "Add" in the “Remote PLC” settings page, the “Remote
PLC” settings dialog will pop up. It is shown as below.
353 / 488
LT Studio User Manual
➢ Use IP
You can set the IP address of the remote HMI by Fixed or Variable. The default
setting mode is “Fixed”. And the default fixed IP address is “192.168.0.1”.
➢ Port No.
You can set the “Port No.” of the remote HMI by Constant or Variable. The default
setting mode is “Constant” and the default port number is 3000.
The detailed settings of “Use IP” and “Port No.” can be referred to the settings in the
"Remote HMI" settings page.
• COM
➢ At COM port
The “At COM port” refers to the number of COM port which the “Remote PLC”
device is connected to. The default is COM1. For example, the “At COM port” is set
COM2 if the accessed controller is connected to the COM2 port.
➢ Manufacturer
➢ Device Type
354 / 488
LT Studio User Manual
The Device Type refers to the type of the remote PLC device which is connected to
the remote HMI.
➢ Device Alias
The default of the Device Alias is "Device1". It cannot be null. You can set a device
alias which is easy to understand, such as "HMI for Machine 3".
The "Default Station No." refers to the station number of the Remote PLC device. It
must be consistent with the actual station number of the Remote PLC device.
➢ Advance
For example, the “Remote PLC” device is connected to the “Remote HMI” which the
IP address is “192.168.0.20”. The type of the remote PLC is Siemens S7-200 and the
COM1 of the remote HMI is used to connect with the PLC. The station number of the
PLC is 2. The settings are shown as below.
Click the button "OK" to confirm the settings and the "Remote PLC" device is added
to the “Remote PLC” settings page.
355 / 488
LT Studio User Manual
You can find the remote PLC device in the "Device Type" of the component. For
example, it is shown as below.
After finishing setting the "Remote PLC", the local HMI can access all the registers
of the "Remote PLC" which is connected to the “Remote HMI”.
If you need to add other remote PLCs, you can add them by referring to the above.
356 / 488
LT Studio User Manual
The “Ethernet PLC” refers to the PLC which is connected with the HMI by the
Ethernet communication mode. The network communication protocols which the HMI
and the PLC support are used to complete the communication.
After clicking the menu "Setup / Communication Settings / Remote Connection", the
"Remote HMI" settings page is opened as the default. Click the "Ethernet PLC" tab to
open the "Ethernet PLC" settings page. It is shown as below.
After click the button "Add" in the “Ethernet PLC” settings page, the “Ethernet PLC”
settings dialog will pop up. It is shown as below.
The IP address of Ethernet PLC refers to the IP address of the PLC which is
connected with the HMI through the Ethernet network.
• Port No.
357 / 488
LT Studio User Manual
The “Port No.” is the number of the communication port between the Ethernet PLC
and the HMI. The “Port No.” is different for the different network. There is a default “Port
No.” for your selected network. Generally, it is ok to use the default port number. For
example, the default port number is 502 for the "Modbus TCP".
The "Manufacturer", "Device Type", "Device Alias," "Default Station No." are same
as the settings in the "Remote PLC".
• Broadcast Station
After checking the “Broadcast Station”, you can set a number for the broadcast
station. The default is that the “Broadcast Station” is not checked. You can determine to
use this function or not according to the actual situation.
Click the button "OK" to confirm the settings and the "Ethernet PLC" device is added
to the “Ethernet PLC” settings page. For example, the “Modbus TCP” is selected as the
device type. The result of settings is shown as below.
If you need to add other Ethernet PLCs, you can add them by referring to the above.
You can realize the connections by using the “Ethernet PLC” mode, such as multi
HMIs, multi HMIs and one PLC, multi HMIs and multi PLCs, and other connections.
4.10.3.3 Service
Service refers to that the HMI device provides the data requested by other devices.
The HMI is a slave device. The port is static. All communication operations should be
initiated by other master devices.
358 / 488
LT Studio User Manual
The type of Service includes Serial Port Service and Network Service.
The Device Type can be Barcode, LTSLAVE and Modbus RTU Server. The Barcode
refers to the bar code gun. It can scan information and display it by using a continuous
100 characters saved in the area which LW8900 is the start address.
LB8999,which is as a flag bit, is set ON after scanning is finished (it will not be reset
automatically). The LT SLAVE device is supported and the HMI can work as a slave or a
master device. The Modbus RTU Server is referred to: Detailed
359 / 488
LT Studio User Manual
manual/Setup/Communication Settings/Local Connection/Provide Service (Slave).
The Service Protocol Type supports Modbus TCP Server. It is referred to: Ethernet
Service
4.10.4 Options
The command “Options” in the “Setup” menu opens the Options dialog. You can
view and modify some settings such as the LT Studio software interface display.
There are two catalogs: General and HMI.
4.10.4.1 General
The General has only one option: Auto Update. If the “Check for Updates” is
checked in the Auto Update sub catalog, the LT Studio software will be checked for
updates automatically when it is opened. A message will be popped up to remind you to
update if the software detects update packages.
360 / 488
LT Studio User Manual
Auto Update: Click this option then the software will update automatically every time
you open it, if there is a installation package, it will hint you to install it.
UI Language: You can set the UI language of FStudio, and it will take effect after
completing setting and restarting
4.10.3.2 Hmi
4.10.3.3.1 General
361 / 488
LT Studio User Manual
If you check the “Automatically load the previously closed project” option, the last
closed project will be opened automatically when the LT Studio software is opened.
You can set the “Recover Time Interval” here. For example, the “Recover Time
Interval” is set as 2 minutes means that the project will be saved automatically every two
minutes. This setting can reduce the project information losing when the software
accidentally shutdown or the power failure is occurred.
You can open the file folder “Backup Projects” by clicking the button “View backup
project”.
362 / 488
LT Studio User Manual
4.10.3.3.3 Window
The sub catalog “Window” includes two options: General and the Designer. The
option of “General” is blank.
If you check the “Use pipeline animation effect” in the “Designer” option, you can
see the dynamic liquid flow effect in the pipeline component during the project editing
process.
4.11 Tools
In the LT Studio software, the Tools menu includes many tools in the shortcut tool
bar. It includes” Compile, Compile All, Clear Compile Result, Download, Pack to Disk,
Upload, Decompile, and Offline Simulation”.
363 / 488
LT Studio User Manual
1 Compile
The project will be saved automatically and the system will generate a bin directory
and other files if no errors.
2Compile All
The project will be saved automatically and all the files are forced to compile.
3Download
The system will compile the project automatically and generate a directory of upload
and some relevant files for decompiling. Then the relevant files are packaged and the
download tool dialog is popped up. Before clicking the button “Download”, you need to
select the communication mode (USB or Ethernet) and the data source (Project or Fpg
File). You can check the delete options and check the download options (Batch Mode or
Force Mode) according to demands.
4 Pack to Disk
The tool of “Pack to Disk” can realize compiling the project and packaging it to the
disk. The package file is named Fpg File. Then you can download it by the USB disk or
the LT Studio software.
364 / 488
LT Studio User Manual
5 Upload
If you check “Upload” to enable upload in the Global Settings of the System
Settings, the configuration information downloaded in the HMI device can be uploaded
by the USB or Ethernet communication mode. The configuration information can be
Project, RW Data, Recipe or Logs.
6 Decompile
365 / 488
LT Studio User Manual
The Fpg File can be decompiled to project if you check “Decompilation” to enable
decompile function in the Global Settings of the System Settings
7 Offline Simulation
The tool of the “Offline Simulation” is used to simulate the project running in offline.
4.12 Help
In the LT Studio software, the Help menu includes: Online Help, Help, Check for
Updates, and About(software version).
366 / 488
LT Studio User Manual
1 Online Help
You can find the online help when you click the command “Online Help”.
3 About
The current LT Studio software version information and copyright declaration will
be displayed when you click the menu command “About”.
In the software LT Studio, the "Standard Bit Address Input" function will be used
367 / 488
LT Studio User Manual
frequently. By this function, you can input the bit address which is connected with a
device, and the value of the bit address will be displayed. The function can easily realize
the connection with each PLC. The “Standard Bit Address Input” window is as shown as
below.
In the LT Studio software, the corresponding bit address symbols are given
according to the various connected devices. For the LT FL2N series PLC, X represents
the input address, Y represents the output address, M represents the middle register
address, SM represents the system special bit address, and S represents the state
address. As shown as below.
If the address is not connected with the device after you input a specific address
number, you should check whether the parameters (such as Device, Station No. and
Address) are set correctly. For example, these parameters are set as follows.
368 / 488
LT Studio User Manual
If you find the data refresh rate is a little slow, you can change the communication
rate as follows.
Certainly, you can use the address tag library. You need to prepare the data
addresses in the address tag library before using them. Check the “Use Address Tag” in
the “Standard Bit Address Tag” window and click the button ” to open the “Address
Tag Library” window. Select the bit address you need in the address tag library, as
shown as follows.
369 / 488
LT Studio User Manual
The “Bit-index within a Byte Register” function can be used. You need to check the
“Bit-index within a Byte Register”, as shown as below.
You can use the Address Index function. This function can change the bit address
which is connected with the current component according to the value of a word address.
For example, the bit address LB0 is connected with the current component. If you check
the Address Index and set the address as LW0, as shown as below, the bit address which
is connected with the current component will be LB (0 + LW0).
370 / 488
LT Studio User Manual
In addition, you can use the System Register in the Standard Bit Address Input
window. When you click the System Register button, the System Special Function
Register window will pop up. There are many system special function register addresses
in this window, as shown as follows. You can quickly select one to use.
Certainly, the screen is connected with multiple slaves at sometime. The station
number is varied. At this moment, you need to use the Index function. This function uses
a word address to provide a variable station number. The setting process is shown as
follows.
371 / 488
LT Studio User Manual
In the software LT Studio, the "Standard Byte Address Input" function will be used
frequently. By this function, you can input the byte or word address which is connected
with a device and the value of this address will be displayed. The function can easily
realize the connection with each PLC. The “Standard Byte Address Input” window is as
shown as below.
In the LT Studio software, the corresponding byte or word address symbols are
given according to the various connected devices. For the Leadshine M2_Serial PLC,D
represents the data register, SD represents the special address, represents the timer,
C_word represents the 16-bits counter which saves the current value, and C_dword
represents the 32-bits counter which saves the current value. As shown as below.
372 / 488
LT Studio User Manual
If the address is not connected with the device after you inputting a specific address
number, you should check whether the parameters (such as Device, Station No. and
Address) are set correctly. For example, these parameters are set as follows.
If you find the data refresh rate is a little slow, you can change the communication
rate as follows.
373 / 488
LT Studio User Manual
Certainly, you can use the address tag library. You need to prepare the data
addresses in the address tag library before using them. Check the “Use Address Tag” in
the “Standard Byte Address Tag” window and click the button ” to open the “Address
Tag Library” window. Select the byte or word address you need in the address tag
library, as shown as follows.
You can use the Address Index function. This function can change the byte or word
address which is connected with the current component according to the value of a word
address. For example, the word address D0 is connected with the current component. If
you check the Address Index and set the address as LW0, as shown as below, the word
address which is connected with the current component will be D (0 + LW0).
374 / 488
LT Studio User Manual
In addition, there are many system special function register addresses. You can
quickly select one by clicking the button “System Register”, as shown as follows.
Certainly, the screen is connected with multiple slaves at sometime. The station
number is varied. At this moment, you need to use the Index function. This function uses
a byte or word address to provide a variable station number. The setting process is
shown as follows.
375 / 488
LT Studio User Manual
4.13.2 Drawing
After double-click the figure you have drawn, you can view and select border color
and style.
You can select the line width and the line type from the lists.
You can change the border color by using the list or the button ”.
376 / 488
LT Studio User Manual
After double-click the figure you have drawn, you can view and select the fill type
and the fill color.
There are three fill types: Solid Color, Pattern and Gradient.
1 Solid Color
In this fill type, you can select a kind of color for the background of the figure from
2 Pattern
377 / 488
LT Studio User Manual
In this fill type, you can select a kind of color for the background and another kind of
color for the foreground. You can set the pattern filling effect, too.
3 Gradient
In the gradient fill type, you can select the background color, the foreground color,
gradual approach and gradient filling effect.
4.13.3Font settings
1 Vector Font
378 / 488
LT Studio User Manual
According to the font attributes setting, change the characters of the text into a
TrueType font file (ttf format) for HMI.
▪ Disadvantages
▪ Only support the TrueType font type (ttf format) which the current
operating system has installed.
▪ The below is the font effect comparison between the tows that
the "Disable Vector Font Bordline Blurring Processing" is not checked and
the "Disable Vector Font Bordline Blurring Processing" is checked.
Note: the "Disable Vector Font Bordline Blurring Processing" can be set in the path:
Project/Local HMI/System Settings/Extended Settings.
▪ Advantages
▪ Occupy Less memory. The same character in the same font type
uses one font data regardless of size, color, bold, or italic.
379 / 488
LT Studio User Manual
▪ Full size and can be set freely without distortion.
▪ Supports multi-line text alignment.
▪ Text Library supports the use of vector fonts.
2 Graphical Font
Regard the string as a whole and save it as a bitmap to the project.
▪ Disadvantages
▪ Occupy more memory because of the bitmap storage format.
▪ Advantages
▪ Supports all the fonts installed in the current operating system.
▪ Display effect is good.
3 Equivalent width
Each single font displays in the max width size. The max width of the font is
greater if the font size is greater.
▪ For example, the max width of a single digit is 17 and the max width of a
single character is 22 if the font size is 16,
4 Font
You can set the font type from the list. It supports all font types installed in
the current operating system, such as Microsoft Sans Serif.
5 Size
You can set the current font size. The range is from 8 to 144.
The font supports bold and italic, and you can modify the font color from the
8 Position
You can set the font position of the current components.
380 / 488
LT Studio User Manual
381 / 488
LT Studio User Manual
4 Favorites
After clicking the button “Favorites”, you can add the current selected graphic to
a specified Favorites Category. The Favorites Category can be selected, added and
renamed (see Figure a).Click the button “OK” to confirm the addition to the Favorites
Category. You can view the graphics collected in the Favorites Category by the path:
Project/ Library/Graphics Library/Browse Graphics Library (see Figure b).
b
5 Graphics Edit
After clicking the button “Edit Graphics” and closing all the pop-up windows, you
can see that an editable window with the same name of the graphic is already
opened (see Figure a).The graphic can be edited in this window. Refer to:
Project/Library/ Graphics Library/Add graphics.
6 Shadow Effect
Double click the graphic you have drawn in the Graphics Edit window to modify
the properties of it. After checking the Shadow Effect (see Figure a), you can add the
shadow effect for the selected graphic (see Figure b).
382 / 488
LT Studio User Manual
a.
b.
7 Border
You can change the outer border color of the current selected graphic. Note:
Only when the elected graphic is vector graphic and this attribute can be modified,
this option is valid to change the outer border color (see Figure a)!
8 Fill
You can change the filling effect of the current selected graphic (see Figure a).
Note: Only when the elected graphic is vector graphic and this attribute can be
modified, this option is valid (see Figure b)!
383 / 488
LT Studio User Manual
①Activation Settings
• Always
The current component can always be operated if you use the option “Always”.
• Conditional
➢ Indicating Invalid Mark
384 / 488
LT Studio User Manual
After checking the option “Indicating Invalid Mark”, the prohibited mark will display
on the component if the operating conditions are not met. The prohibited mark is shown
as below.
When you check the option “Hide when conditions are not met”, the component will hide if
the operating conditions are not met.
➢ Automatic pop-up password window
385 / 488
LT Studio User Manual
If you check the option “Automatic pop-up password window”, the user login window will
pop up when you click the component. It is shown as below.
• Level User
386 / 488
LT Studio User Manual
After checking this function, you need to enter the appropriate user level password
to operate the device. It is shown as below.
• Privilege User
After checking this function, you need to login by using the corresponding user
privilege to operate the component. It is shown as below.
387 / 488
LT Studio User Manual
• Logic control
After check this function, the component can be operated when the specified
conditions are satisfied. The conditions can be multiple logical operations.
②Security Settings
• Minimum Press Time
388 / 488
LT Studio User Manual
You need to hold the button component for a specified time to perform actions. The
function is used to avoid the action due to touching the screen by mistake.
If this function is checked, a confirmation dialog box will pop up auto matically. It will
keep the display status for the “Waiting Time” if you don’t confirm or cancel it. It is shown
as below.
389 / 488
LT Studio User Manual
• Records Operation
If you check this function, you can record the operations of the component and
display the records in the operator Log. It is shown as below.
390 / 488
LT Studio User Manual
4.13.6 Display
① Position
You can set X and Y coordinate values of the component to change the display
position of it. You can modify the width and the height of the component to change the
size of it.
• Locked
391 / 488
LT Studio User Manual
The position and size of the component cannot be changed if you check the “Locked”
function. And there is a small lock icon on the component in the editing window. It is
shown as below.
②Always Display
If you select the “Always Display” function, the component will always be visible
when the project is running. It is the default setting.
③Conditional Display
• Level User
392 / 488
LT Studio User Manual
If you check this function, the component will be visible after you entering the
appropriate user level password.
• Privilege User
If you check this function, the component will be visible after you login by using the
corresponding user privilege.
• Logic Control
393 / 488
LT Studio User Manual
If you check this function, the component can be controlled to display according to
the logic condition. The condition can be multiple logical operations.
①Mode
• Touch Control
The keyboard will be popped up if you click the HMI input component.
• Bit control
394 / 488
LT Studio User Manual
②Keyboard Settings
• Use pop-up keyboard
You can select the Keyboard Type from the system-provided keyboard types.
➢ Pop-up position
395 / 488
LT Studio User Manual
➢ Specified Position
If you need to use an external keyboard or a keypad which is designed by using the
FS software, you should select the option “Don’t use pop-up keyboard
396 / 488
LT Studio User Manual
The function of “Use input order function” will be canceled after you finish the input
of multiple input components.
• Input Order
You can set the input order for the current input component here. The
multiple components in one group can be input according to the order number,
from small to large.
• Group
You can divide the input components into several groups and finish the
input according to the input order in the current group.
4.13.8 Label
Adding a label for a component can be increased readability. You can setthe
properties of the label such as the language, the content, the font type and other settings.
The display text will change when the status is switched if you set different text for different
status.
397 / 488
LT Studio User Manual
1 Language
Select a language for label edit. The settings will only take effect in the selected language.
2 Language Independent
When you change the language, the label content is not affected.
3 Use Text Library
After the “Use Text Library” is checked, the label content will be filled by the selected text
entry in the text library. Some common text can be ready in the text library.
4 Use Label
You need to check this option when you want to set a label for the component.
5 Tag Content
You can edit a label for the current status here. So you edit the label in the tag content edit
box, you should select the status first on the lower right corner. Then, click the next status to edit
the next status label.
The text in the Tag Content edit box can be copied to all languages, all status or all languages
and all status.
398 / 488
LT Studio User Manual
6 Label attributes
You can set the attributes for each Tag Content such as the font type, the size, the color, the
alignment type, the Advanced Settings (Scaling, Space, and Shadow Effects) and other attributes.
The function of “Copy text to” can avoid duplication of work. And you can also import from
favorite font template to simplify label attributes editing. It is efficient and convenient.
7 Vector Font and Graphic Font
• Vector Font
According to the font attributes setting, change the characters of the text into a TrueType
font file (ttf format) for HMI.
➢ Disadvantages
▪ Only support the TrueType font type (ttf format) which the current
operating system has installed.
▪ The below is the font effect comparison between the tows that
the "Disable Vector Font Bordline Blurring Processing" is not checked and
the "Disable Vector Font Bordline Blurring Processing" is checked.
Note: the "Disable Vector Font Bordline Blurring Processing" can be set in the path:
399 / 488
LT Studio User Manual
Project/Local HMI/System Settings/Extended Settings.
➢ Advantages
▪ Occupy Less memory. The same character in the same font type uses
one font data regardless of size, color, bold, or italic.
▪ Full size and can be set freely without distortion.
▪ Supports multi-line text alignment.
▪ Text Library supports the use of vector fonts.
• Graphical Font
4.13.9 Marquee
The function of “Marquee” is to display text by scrolling the fonts. The components
such as "Label" and "Static Text" have the “Marquee” function.
400 / 488
LT Studio User Manual
When you check the "Marquee" option for the label or the static text ,the fonts will
display by scrolling. You can set the attributes such as the Moving Direction, Step Length
and Pix Speed. The setting is shown as below.
1 Moving Direction
There are four moving direction: Left To Right, Right To Left, Top To Bottom and
Bottom To Top. Select one to be the moving direction of fonts scrolling.
2 Step Length
The fonts scroll step by step. The distance of two steps is Step Length. The unit of
Step Length is pixel. For example, setting Step Length 10 means that the fonts move 10
pixels per second.
401 / 488
LT Studio User Manual
3 Pix Speed
The option “Pix Speed” is used to set the moving speed of fonts scrolling. The unit of
Pix Speed is 0.1 seconds. The range of Pix Speed is from 1 to 255. For example, setting
PixSpeed10 means that the moving speed of fonts scrolling is 1 second. The process will
be circulated after all fonts move out in the component size range.
402 / 488
LT Studio User Manual
There is a red exclamation mark due to no logic condition. Now click the button
"Add", you can pop up the Condition Setting dialog.
There are two address types: Bit Register and Word Register. The default selection
is Bit Register. The logic condition judgment for Bit Register is "ON" or "OFF". The
default selection is “ON”. Click the tool button " "or double-click the "Address" blank
box, you can edit and select a "bit register". For example, set the address of “Bit
Register" LB0, and set the Condition "ON". It is shown as below.
403 / 488
LT Studio User Manual
The red exclamation mark will disappear after you select an address for the condition.
Click the button “OK” and the condition will be added to the Logic Control list. It is shown
as below. It means the current component will be valid when the bit register LB0 is ON.
If the condition is not enough, you can continue to add. For example, the condition
“LW0 > 1” need to be added. You can click the button “Add” to go on the operation. The
Word Register is selected and the address is set LW0. The condition is set “LW0 > 1”. The
setting is shown as below.
There are two pop-down lists in the Condition setting area. The first list is used to
select the compare relationship. The compare relationship symbols include "<", ">", "<="
"> =", "==" and "! =". The second list is used to add the next condition of the word
register LW0. The default of the second list is “None”. It means that there is not the next
condition any more. You can select "AND" or "OR" in the second list. It means the
relationship between the current condition and the next condition.
404 / 488
LT Studio User Manual
The setting is shown as below if you select “AND” in the second list.
If the conditions you need is "LW0> 100" and "LW0 <LW1", then the condition of the
second is not "constant" but "variable" and the address is LW1. The setting is shown as
below.
After click the button "OK", you can add this condition to the Logic Control list. It is
shown as below.
405 / 488
LT Studio User Manual
There is a relationship option in front of the second condition in the Logic Control
list. The option can be set “AND” or “OR”. It means the logic relationship between the
previous condition and the following condition. The component can be operated or
display only if the result of all the conditions logic operation is true.
There are the button “Modify” and the button “Delete” besides the button “Add” in the
Logic Control list. After selecting a condition in the Logic Control list, you can click the
button "Modify" to edit it again or click the button “Delete” to remove it from the Logic
Control list. You can also double-click a condition in the Logic Control list to modify it.
Note: the conditions are executed sequentially from the top to the bottom in the
Logic Control list when the conditions are more.
406 / 488
LT Studio User Manual
After checking the "Shadow Effect", the setting options such as Color and Shadow
Excursion will be displayed. Otherwise the options are not visible.
1 Color
You can use the color palette to set the shadow color.
You can also use the tool “ ” to set the shadow color.
2 Shadow Excursion
The Shadow Excursion includes the X-axis (horizontal) direction offset and the Y
axis (vertical) direction offset. The unit is pixel.
Note:
• The range of Shadow Excursion is: -16 to 16.The positive number for X-axis
represents the shadow direction is to the right. The positive number for Y-axis
represents the shadow direction is downward. The negative number represents
the contrary direction.
4.13.12 Position
Every component has the property of “Position”. You can find it in the “General”
407 / 488
LT Studio User Manual
property TAB or the “Display” property TAB of the component.
The “X” and “Y” in the Position property are used to set the x coordinate and the y
coordinate of the start point of the current component in the window. The title of the “X”
and “Y” is “Fixed Point” or “Position”. The title of "Fixed Point” decides a fixed point as
the start point of the component. The detail is referred to: Detailed manual/ General
functions/ Drawing/ Rotation.The title of "Position" decides the point in the upper left
corner of the component as the start point.
Note:
In this software, the coordinate system is shown as below. The origin point is in the
upper left corner. The X-axis is horizontal direction. The positive direction of the X-axis is
to the right. The Y-axis is vertical direction. The positive direction of the Y axis is
downward.
408 / 488
LT Studio User Manual
The properties of “Width” and “Height” are used to set the width and the height of
the component. If the option is grey and not editable, it represents the attribute is not
available. It is shown as below.
If you check the option “Locked”, the position of the component will be locked. Its
position and size cannot be edited. A lock mark will display in the upper left corner of the
component when you select it in the configuration window.
4.13.13 Rotation
The function of “Rotation” can adjust the display angle of the components such as
static graphics, vector graphics and other components. This function is a static function.
That is, the display angel is not adjusted in the HMI if you set the display angle in the
“Rotation” property. If you want to dynamically adjust the display angle of the graphics,
please refer to: Detailed manual/General functions/Dynamic Graphics.
1 Fix Point
Each figure has nine fixed points. The middle fixed point is selected as the default by
the system. You can change the fixed point. The result is different after the figure rotates
409 / 488
LT Studio User Manual
around the different fixed point. For example, a rectangle rotates the center fixed point and
another rectangle rotates the upper left fixed point. It is shown as below.
2 Rotation Angle
The Rotation Angle is used to set the clockwise rotation angle of the component.
This angle range is 0-360 degrees.
3 Non Rotation
You can quickly set the display angle to zero by clicking the button “Non Rotation”.
You can use the function of “Dynamic Graphics” if you want to adjust the position,
the size and the rotation angle of the figure dynamically during running the HMI.
The function of dynamic graphics is realized by using the registers to control the
position, the size, and the rotation angle of the figure dynamically.
②Control Address
410 / 488
LT Studio User Manual
The start address of the control registers is selected here. The start control register
address editing is referred to: Detailed manual/General function/Address editor/Standard
ByteAddress Input.
③Control Position
The option of "Control Position" needs to be checked if you want to adjust the
position of the component dynamically. Two registers are used. The addresses will be
set and displayed automatically after the “Control Address” is given. These two registers
will control the absolute coordinates of the fixed point of the component on the screen
window. The touch screen coordinate system is referred to: Detailed manual/General
function/Drawing/Position.
④Control Size
The option of "Control Size" needs to be checked if you want to adjust the size of
the component dynamically. Two registers are used. The addresses will be set and
displayed automatically after the “Control Address” is given. These two registers will
control the width and the height of the component. The register to control the width is
valid for the components which the width and the height are equal, such as the square
and the circle.
⑤Control Rotating
The option of "Control Rotating" needs to be checked if you want to adjust the
rotation angle of the component dynamically. One registers is used. The address will be
set and displayed automatically after the “Control Address” is given. The register will
control the clockwise rotation angle of the component. This angle range is 0-360degrees.
Note:
The position, size, and rotating control are based on the "fixed point" of the
component. The fixed point is referred to: Detailed manual/General
function/Drawing/Rotation.
411 / 488
LT Studio User Manual
You can change the background color and the title bar background color.
You can change the outline style, the split line style, the line width and the line color.
You can display the grid line after check the “Row Split Line” and the “Column Split
Line”. It is shown as below.
412 / 488
LT Studio User Manual
You can hide the grid line if you don’t check the “Row Split Line” and the “Column
Split Line”. It is shown as below.
413 / 488
LT Studio User Manual
①Trigger Registrator
A bit register is used to trigger the action of exporting data to a CSV file. Exporting is
triggered when the bit register changed from OFF to ON. You can use a bit toggle switch
to control the bit register. The method to input the trigger register address is referred to:
Detailed manual/General function/Address editor/Standard Bit Address Input.
③Subdirectory name
You can give a sub directory name for the exporting location.
The contents saved in the designated registers will provide the sub directory name if
you check the option “Sub directory name” and give the start register address.
Note:
Please use the character component to input the sub directory name if you use
registers to provide it. The method to input the register is referred to: Detailed
manual/General function/Address editor/Standard ByteAddress Input.
The exporting progress uses the percentage of completion (0-100) to represent. You
can use a numeric value display component or a bar graph component to display.
If you select “Single File”, you can use the function of “User-defined File Name”. The
system will name the exported file according to the default name rules when the option
“User-defined File Name” is not checked. A register address needs to be specified to
save the file name which is input when it is needed.
Please use the character input component to input the user-defined file name. The
file name length is limited to 32 ASCII characters or 16 Chinese characters.
Note:
This operation will export all entries in the current condition. If you use the function
of “Enable Search Function”, the current result of searching will be exported.
5 Use topic
415 / 488
LT Studio User Manual
5.2 Outline
It will display all components of the current work window in the “Outline” window.
The tool button “ ” on the top right corner which is used to control the display mode of
the outline window. The tool button “ ” is used to make the outline window show or auto hide.
416 / 488
LT Studio User Manual
Note:
You can check “Outline” from the “View” menu and make the outline window display again
after the Outline window is closed.
You can find the component by inputting the component name in the blank text box on the
top of the outline window and click the “Enter” key. All the components display can be restored
by clear the text box and click the “Enter” key.
When you click the little eye tool “ ” except the top one, it will change to “ ” and hide
the corresponding component in the window. When you click it again, it will change to “ ” and
make the corresponding component show in the window. The top little eye tool ” will control
all components hide or shown by clicking it.
417 / 488
LT Studio User Manual
When you click the right tool “ ”, it will change to “ ” and lock the corresponding
component in the window. When you click it again, it will change to “ ” and unlock the
corresponding component. The top tool “ ” will control all components locked or unlocked by
clicking it. The component will not move if it is locked.
You can right-click to pop up the shortcut menu and cut, copy, paste or delete the selected
components. You can look at the components properties by this way.
418 / 488
LT Studio User Manual
5.4 Macro
Shortcut Tools Bar contains Create Macro, Save, Save All, Cut, Copy, Paste, Undo,
Redo, Add New Address, Compiling and Help buttons.
Undo, Redo: Undo /Redo the edit of the selected macro codes.
Add New Address: Add a new address alias for the current macro.
419 / 488
LT Studio User Manual
5.4.1.2 Address Statement
Address Statement is used to create and manage the address aliases in the current
macro. The address statement window shows on the left of the macro editor. You can
hide or display it by using ”. You can switch to the macro code window by clicking
the bottom tab “Macro Code”.
420 / 488
LT Studio User Manual
Macro Code window is used to create or manage the macros in the current project.
All macros in this project will be listed here. These macros can be edited, deleted, imported
and exported. You can simply double-click a macro's name to edit the codes of the macro.
Code Editor Window is a code editor which is compatible with C syntax. The
detailed macro codes are edited here. Code Editor Window is a multi-tab window. You
can open multiple macros and display one macro by clicking the corresponding tab. If a
macro code has been edited but not yet saved, it will display “*” in this macro tab. For
example, it will display “macro_1.c*” if the codes of this macro are edited and not saved.
Input assistant Window on the right of the macro editor lists the built-in functions. It
will display a detailed description of the function in the Input assistant Window at the
lower middle position of the macro editor when you select a built-in function on the right
window.
421 / 488
LT Studio User Manual
The Input assistant Window at the lower middle position of the macro editor gives
the use direction. And you can set the parameters of this function here, too. The function
with the parameters you have set will display in the Code Preview edit box. It will be
inserted into the current cursor position when you click the “Insert” button.
Find and Replace function can provide a more convenient method of editing the
macro codes. It can perform jump between lines and you can view the macro reference
here.
Information List window displays prompts and error messages when the macro
compile. You can double-click the error message entry in the list if compiling errors
occur. It will quickly navigate to the position where this error occurs.
422 / 488
LT Studio User Manual
5.4.2 A Macro example
In this example, we use a macro to execute a simple calculation function. The output value
(saved in LW1) will be 3 times as much as the input value (saved in LW0) if the output value is less
than or equal to 300, or it will be 2 times as much as the input value.
Add a numeric value input component in the window and set the address as LW0.
423 / 488
LT Studio User Manual
Refer to: Detailed manual/Component/Numeric Value and Character
Display/Numeric Value Display.
Add a numeric value display component in the window, and set the address as LW1.
Add text description for the two numeric value components, as shown as below.
424 / 488
LT Studio User Manual
Create a new macro, named "Computing".
②Add an address statement.
In the macro code editor window, edit the macro codes according to the logic
previously defined. The syntax rules follow the C language specification. The final macro
codes are as follows.
425 / 488
LT Studio User Manual
Click the Compile button ” on the shortcut toolbar to compile after finish
editing the macro codes. A message box will pop up to display “Compile Successfully” if
no syntax errors; otherwise the message box will display “Compile Failure”.
426 / 488
LT Studio User Manual
If compiling fails, you should modify the macro codes according to the error
messages of the information list until compiling is successful.
Click the Save button " on the shortcut toolbar to save the macro codes. Then
close the macro window.
There are many ways to execute the macro. You can set macros for the buttons, the
notification settings in the component control settings and timer function.
427 / 488
LT Studio User Manual
In this example, execute the “Computing” macro when the input value changes by
using the timer function. See settings as shown as below. The detailed using method of
the timer component, please refer to: Detailed manual/Component/Timer and Data
Transmission/Timer.
Offline simulation can be executed to verify the correction of the function after the
above steps are finished.
428 / 488
LT Studio User Manual
A “Clear Records” message box will pop up. After clicking the button “OK”, the
project will compile.
The project compiling needs a little time. There is a progress bar to indicate the
compiling progress. The simulator window (Emulator)will open automatically after the
compiling is finished.
429 / 488
LT Studio User Manual
Input the value 100 to LW0.The output value of LW1 will be 300 according to the
rules that the output value will be 3 times as much as the input value if the input value is
less than or equal to 300.
Input the value 400 to LW0.The output value of LW1 will be 800 according to the
rules that the output value will be 2 times as much as the input value if the input value is
not less than or equal to 300.
If the user can not receive the automatic update reminders, the following solutions
are given.
(1) Execute “cmd” in the administrator mode. Please input the following commands.
rmdir /s /q “%userprofile%\wc”
430 / 488
LT Studio User Manual
(2) Reopen the LT Studio software.
6 Appendix
The Type of HMI register includes "Word" register and "bit register".
RW: An internal "Word Register" in HMI. The data can be saved if power is off.
The register address range is 0 - 524288.
SRW: A special internal "Word Register" in HMI. The register address range is 0 -
11023. You can click the "System Register" button and open the "System Special
Function Register" to get the specific function of each SRW register when you use the
component such as “Numeric Display”. For example, SRW0 ~ 7 saves the system time.
The “Description” introduces the function of the selected register.
431 / 488
LT Studio User Manual
SRB: A special internal "Bit Register" in HMI. The register address range is 0 -
11023. You can click the "System register" button and open the "System Special
Function Register" to get the specific function of each SRB register when you use the
component such as “Bit Set”. The “Description” introduces the function of the selected
register. For example, SRB16 is ON when the touch screen is pressed.
432 / 488
LT Studio User Manual
Note: "Word Register" and "Bit register" in HMI are two different areas, so the
address does not overlap. For example, LW0 and LB0 are two registers that they are not
related. SRW0 and SRB0 are also two different special system registers. But each word
register can be divided into 16bit registers. For example, LW0 can be divided into 16bit
registers: LW0.0 ~ 0.15.
You can find the built-in functions when you create or edit Micros. They can be used
by calling directly.
433 / 488
LT Studio User Manual
Read one bit from designated register address.
Return Value: BOOL, the value of the bit which was read
Error Information:
int error=GetError();
Example:
In this example, power on is the alias of LB0, so the function GetBit will read the bit value
from LB2 and return to a BOOL variable power.
Return Value:Unsigned Short Type, the value of the word which was read
int error=GetError();
Example:
434 / 488
LT Studio User Manual
The Alias @Speed@ represents the register LW0 in this example, so the target word register
is LW3 (LW0+3), the value of LW3 is returned to an Unsigned Short variable named "speed".
short speed = (short) GetWord(@Speed@,3): //If use signed number, you can use force
conversion.
Return Value:unsignedint type, the value of the double word which was read. If the address
is word type, the function will return two consecutive words.
int error=GetError();
Example:
The Alias @Speed@ represents the register LW0 in this example, so the target word register
is LW3 and LW4, the value of LW3 and LW4 are returned to a Unsigned int variable named "speed".
int speed = (int) GetDWord(@Speed@,3): //If use signed number, you can use force
conversion.
435 / 488
LT Studio User Manual
Address Offset: An unsigned integer, Read Address=The address specified by @Address
Alias@+Address Offset
Return Value:float type, the value of the float number stored in the Word register or two
consecutive word registers which are read.
int error=GetError();
Example:
float speed=GetFloat(@Speed@,3):
The Alias @Speed@ represents the register LW0 in this example, so the target word register
is LW3 and LW4, the double word stored in LW3 and LW4 are returned to a float variable named
"speed".
@Address Alias@: select a register as the beginning address, could be a bit type or word type
register.
Address Offset: an unsigned int number. The read beginning address=The address specified
by @Address Alias@ + Address Offset.
Number of Bytes: an unsigned int number, specifying how many bytes should be read. Please
note: Number of Bytes = sizeof (Type of the Array) * (number of elements in the array). The upper
limit of Number of Bytes is 20480.
Example:
436 / 488
LT Studio User Manual
In this example, @Array Data@ = LW0, so the function will return 10 words from the address
starting from LW2.
char data[5];
@Array Data@ = LW0, so the function will read 3 words (each word contains 2 variables of
char type, the higher half of the last word is invalid) and copy to the array named "data"
Set Value: BOOL, the value to be written into the designated bit register, 0 or 1.
Example:
int error=SetBit(@power@,2,1)
In this example, power is the alias of LB0, so the function SetBit will write “1” into the bit
LB2.
Set Value: short type, the value to be written into the designated register.
437 / 488
LT Studio User Manual
Example:
short speed;
int error=SetWord(@Speed@,3,speed);
In this example, the alias @Speed@ refers to LW0, so the function will write the value of
speed into the word register LW3 .
Write one 32-bit number into a designated word register, the register could be a Dword
register or two consecutive word registers.
Set Value: int type, the value to be written into the designated register.
Example:
unsignedint speed;
int error=SetDWord(@Speed@,3,speed):
In this example, the alias @Speed@ refers to LW0, so the function will write the value of
speed into the word registers LW3 and LW4.
Write one single precision float number into a designated word register.
Set Value: float type, the float value to be written into the designated register.
438 / 488
LT Studio User Manual
Return Value: int type, 0-Failure, 1-Success.
Example:
float speed=3.14;
int error=SetFloat(@Speed@,3,speed):
In this example, the alias @Speed@ refers to LW0, so the function will write the value of
speed into the dword registers consist of LW3 and LW4.
@Address Alias@: A register as the beginning address. It can be a bit type or word type
register.
Address Offset: an unsigned int number. The read beginning address=The address specified
by @Address Alias@ + Address Offset.
Number of Bytes: an unsigned int number, specifying how many bytes should be read.
Please note: Number of Bytes = sizeof (Type of the Array) * (number of elements in the array).
The upper limit of Number of Bytes is 20480.
Example:
In this example, @Array Data@ = LW0, so the function will copy 10 words to the 10 word
register address starting from LW2.
char data[5];
439 / 488
LT Studio User Manual
@Array Data@ = LW0, so the function will copy the value from the array named "data" to 3
words starting from LW2(each word contains 2 variables of char type, the higher half of the last
word is invalid)
Macro Name: The content within the double quotes is the name of the macro being called,
don't use any file name suffix.
Return Value: int type, the return value of the main function of the macro will be returned.
Example:
intGetError( ):
No input parameters.
0-Not executed
1-Success
2-Timeout
3-Error
5- Communication failure
Example:
440 / 488
LT Studio User Manual
int error =GetError();
Delay(ms):
Delay Function, the input parameter is the number of mili-seconds, unsigned int type.
Example:
Delay(1000)://Delay 1000ms.
Port Number: the ID of com port, unsigned int type. 0-COM1, 1-COM2, 2-COM3...
Baud Rate: the speed of communication, int type. e.g. 9600, 115200
Date bit: the number of bits used as data, int type, 7,8
Check bit: specify the way of checking, int type, 'n' or 110-no check, 'o' or 111-odd check, 'e'
or 101-even check
Communication mode: set the mode of communication, int type, 0-232, 1-485-4w, 2-485-
2w.
Example:
Please call the SetComParam function to initialize the serial port before call this function.
Port ID:the ID of com port, unsigned int type. 0-COM1, 1-COM2, 2-COM3...
441 / 488
LT Studio User Manual
Buffer Pointer: the pointer to the buffer array.
Example:
int error=Outport(1,send_buff,12);
Please call the SetComParam function to initialize the serial port before call this function.
Port ID:the ID of com port, unsigned int type. 0-COM1, 1-COM2, 2-COM3...
Buffer Size: The length of buffer being read, the size will be returned when read complete,
maximum buffer size is 4096.
Timeout Limit: unit mS, if no data is received within nmS, or buffer is full, the receive
function will return.
Return Value: the number of data actually be read, return value of -1 indicates error.
Example:
intdata_count=Inport(1,recv_buff,16,10);
Database file ID: int type, 0 represents the database for historical and alarm events;
1,2,3...represent the database file corresponding to the data sampling IDs.
SQL command string pointer: char type, pointer to the SQL command strings.
442 / 488
LT Studio User Manual
Return Value: int type, 1-Success, 0-Failed.
intSqlSelect(Database file ID, SQL command string pointer, Buffer of inquiry results,
Number of Rows Returned, Number of Columns Returned);
Database file ID: int type, 0 represents the database for historical and alarm events;
1,2,3...represent the database file corresponding to the data sampling IDs.
SQL command string pointer: char type, pointer to the SQL command strings.
Number of Rows Returned: int type, the number of rows of the returned results.
Number of Columns Returned: int type, the number of columns of the returned results.
Example:
char **pResult;
intRow,Col;
int err=SqlSelect(2,"xxx",pResult,Row,Col);
SqlFree(pResult);
Example:
char **pResult;
intRow,Col;
int err=SqlSelect(2,"xxx",pResult,Row,Col);
SqlFree(pResult);
443 / 488
LT Studio User Manual
6.2.2.10 Debug Function: Debug
Please call the SetComParam function to initialize the serial port before call this function.
But serial port initialization is not needed if only debug in the simulation window.
Port ID: the ID of com port, unsigned int type. 0-COM1, 1-COM2, 2-COM3...
Format String: the format of output string, usage is same as printf in C language.
Variables: the name of variables corresponding to the output strings, same usage as printf
function in C programming language.
%[Designated Parameter][Identifier][Width][.Precision]Designator
If you want to output '%', please use '%%'. 1- Define the direction of processing. Negative
sign means the direction is from backend to the beginning.2- The word element for space filling.
0 means fill 0s to the spaces.3- The width of the character.4- Precision, the number of decimal
places.
Character Conversion:
Example:
intitest=12;
floatftest=65.4321;
444 / 488
LT Studio User Manual
Debug(0,"itest=%d\n ftest=%2.3f\n",itest,ftest);
Output Result:
itest=12
ftest=65.432
Example:
6.2.4 Operator
Example:
inti;
i=100;
445 / 488
LT Studio User Manual
6.3 System Register Bits and Words List
446 / 488
LT Studio User Manual
SRB13=0: alphabetic keyboard displays letters, SRB13=1
SRB13
alphabetic keyboard displays numbers and symbols
and SRW451.
ejected.
SRB19 Use SRB7 to check if the USB stick has been ejected.
447 / 488
LT Studio User Manual
position is not set, the change will only take effect after a
restart.
not set, the change will only take effect after a restart.
restart.
448 / 488
LT Studio User Manual
Changing the value of register SRB52 will change the output
SRB52
state of the box Y0 point
449 / 488
LT Studio User Manual
SRB112=1, power on detects that the current flink and the
SRB112
bound flink serial number do not match
read only.
fshmi.bin)
450 / 488
LT Studio User Manual
currently running project allows upload flag, read-only,
SRB140
SRB140=1: upload allowed; SRB140=0: upload not allowed
allowed.
action.
SRB147 to 0.
error prompt.
451 / 488
LT Studio User Manual
SRB150=0, SRW400 starts with 16 words for username and
address
452 / 488
LT Studio User Manual
SRB10020=0: disable VNC, SRB10020=1: enable VNC;
down save
action
453 / 488
LT Studio User Manual
SRW4 System time: minutes
HMI current color depth, 16-16 bit color, 24-24 bit color,
SRW27
read only
454 / 488
LT Studio User Manual
SRW62 Port number where the communication message is located
1: Input overrun.
2: processing in progress.
3: operation successful.
5: Out of memory.
9: operation failure.
455 / 488
LT Studio User Manual
14: U-drive 1 not detected.
456 / 488
LT Studio User Manual
139: operation failed.
HMI.
version.
457 / 488
LT Studio User Manual
SRW80~81: Double-word type, displaying the amount of
SRW80
RAM memory currently occupied by the system
occupies 1 word
458 / 488
LT Studio User Manual
SRW140~155;COM2 connected device communication status
459 / 488
LT Studio User Manual
SRW240~255, 16 characters in total, generally used as a
460 / 488
LT Studio User Manual
SRW350~389, 40 characters, general character element,
SRW350 displays or enters the file name of the file browser element,
0-cancel or no operation.
the HMI.
461 / 488
LT Studio User Manual
139: Operation failed 0x8b
project 0X91
numeric characters
462 / 488
LT Studio User Manual
Password for user rights setting, occupies 4 characters,
SRW416 support 8 numbers. Note that for example, 0123 and 00123
are different passwords. Use ASCII input, please use the text
Double word to set the new user rights, each bit corresponds
right 2...
Set the automatic logout time for new users (in minutes), 2
SRW424
words
Set the new password for the new user or the new password
463 / 488
LT Studio User Manual
Delay time for issuing a super read after numeric entry or
SRW449 clicking a switch, time value = set value * 100 ms. Default
SRW458 time value = set value * 200 ms. SRW458 default value 0,
upgrade in progress.
464 / 488
LT Studio User Manual
Communication prompt masking bits (SRW496.1 is ON to
SRW630 unused.
communicating abnormally.
465 / 488
LT Studio User Manual
Display the length of the scan gun input characters (in
SRW699 bytes), the user needs to clear this length value after reading
466 / 488
LT Studio User Manual
Example: Bit 3 of SRW820 is 1, which means that the station
467 / 488
LT Studio User Manual
Example: Bit 3 of SRW860 is 1, which means that the station
468 / 488
LT Studio User Manual
SRW1000~1001, double word (unit hundred milliseconds). 1
a*1000+b*100+c.
from 0 to 15.
15.
range 0 to 16777215.
SRW1090 product model. in ASCII string form. See SRW20 for numeric
form.
469 / 488
LT Studio User Manual
EEPROM or eMMC memory, occupying 1 word. Numeric
read-only in dynamic.
read-only at dynamic.
470 / 488
LT Studio User Manual
LAN IP address setting for local ETH, power-down hold,
modification
down to save
SRW10041 the product automatically turns off the backlight, power off
is saved
save
at power down.
and so on
471 / 488
LT Studio User Manual
0: normal
1: 90 degrees vertical
3: Inverted
defined.
472 / 488
LT Studio User Manual
Set the maximum execution time of macro instruction, unit
SRW10084 Keyboard arrow keys to move the mouse in steps, unit: pixels
473 / 488
LT Studio User Manual
SRW10118~121, 4 words in total, please use ASCII
474 / 488
LT Studio User Manual
SRW10134~137, 4 characters in total, please use ASCII
475 / 488
LT Studio User Manual
SRW10150~153, 4 words in total, please use ASCII
476 / 488
LT Studio User Manual
SRW10166~169, 4 characters in total, please use ASCII
empty
SRW10199 the delay time between HMI start and start of external
477 / 488
LT Studio User Manual
SRW10204;COM1 communication parity bit, occupies one
effective.
SRW10210
to the station number 19 of the device shield, no longer
auto-masking.
478 / 488
LT Studio User Manual
The station number to be automatically blocked is viewed via
via SRW10231.
automatic masking.
479 / 488
LT Studio User Manual
odd parity, 2 - even parity, power down save, restart
effective.
SRW10260
connected to the station number 19 of the device shield, no
SRW10280
auto-mask.
via SRW10281.
480 / 488
LT Studio User Manual
COM2 auto-mask retry cycle: SRW10281; Sets the cycle time,
masking.
effective.
481 / 488
LT Studio User Manual
SRW10305;COM3 communication mode, occupies a word
SRW10310
connected to the station number 19 of the device shield, no
SRW10330
mask.
via SRW10331.
482 / 488
LT Studio User Manual
to indicate that the default value is 0 for 10 seconds and
masking.
effective.
483 / 488
LT Studio User Manual
SRW10360~375;COM4 connected devices by station number
SRW10360
to the station number 19 of the device shield, no longer
SRW10380
auto-masking.
484 / 488
LT Studio User Manual
This register is valid when SRW10380 is set to allow auto-
masking.
this mask bit is for IP, if more than one PLC is connected to
PLCs is blocked.
SRW10500
For example: SRW10500.0 set to 1 to block communication
SRW10518
mask.
485 / 488
LT Studio User Manual
default value is 0 for 10 seconds, taking a maximum value of
65535 seconds.
automatic masking.
SRW10590
For example: SRW10590.1 is set to 1 to block the first remote
486 / 488
LT Studio User Manual
SRW10610~10641, user login failure count, 32 words in total,
one account.
SRW10610
For example, SRW10610 means the number of failed login
to the 4G network.
487 / 488
LT Studio User Manual
DNS2 setting for Ethernet 2, Power Down Hold, Alternate
488 / 488