Rievtech Studio Felhasznaloi Kezikonyv
Rievtech Studio Felhasznaloi Kezikonyv
Rievtech Studio Felhasznaloi Kezikonyv
Catalog
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........................................................................................2
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..............................................................................................3
2.2.3 Installation is completed....................................................................................4
2.3 First use......................................................................................................................... 5
2.4 Project download and upload.....................................................................................12
2.4.1 Project downloading........................................................................................ 12
2.4.2 Project downloading from USB disk................................................................ 14
2.4.3 Project uploading............................................................................................. 19
2.4.4 Project uploading to USB disk..........................................................................22
2.4.5 Project decompiling......................................................................................... 22
3 Description for communication connection.......................................................................... 23
RIEVTECH........................................................................................................................... 23
DELTA N.................................................................................................................... 32
FATEK................................................................................................................................. 33
Flexem............................................................................................................................... 34
1 Flexem_fl2n_mistubishi_fx2n_compatable...........................................................34
2 Flexem_fl2n_modbus.............................................................................................35
3 Differences between Flexem FL2N(Mistubishi FX2N Compatable) and Flexem
FL2N(Modbus)...................................................................................................................36
HC...................................................................................................................................... 37
Hitachi................................................................................................................................38
HollySys............................................................................................................................. 40
Inovance............................................................................................................................ 41
Kewei................................................................................................................................. 42
KEYENCE............................................................................................................................ 43
Kinco.................................................................................................................................. 43
LS....................................................................................................................................... 44
1 ls_mster_cpu_serial............................................................................................... 44
2 ls_xgt_cpu_serial....................................................................................................45
MEGMEET..........................................................................................................................46
MIKOM.............................................................................................................................. 47
Mitsubishi..........................................................................................................................48
1 Mitsubishi_FX0S_FX0N_FX1S_FX1N_FX2.............................................................. 48
RIEVTECH STUDIO SOFTWARE MANUAL
2 Mitsubishi FX2N..................................................................................................... 49
3 Mitsubishi FX3U_FX3G...........................................................................................50
4 Mitsubishi Melsec Q...............................................................................................51
5 Mitsubishi_FX3U_ENET_L...................................................................................... 52
6 Mitsubishi_melsec_ethernet................................................................................. 53
Modbus............................................................................................................................. 54
1 Modbus_RTU..........................................................................................................55
2 Modbus_ RTU _Extend...........................................................................................55
3 Differences between Modbus_RTU and Modbus_RTU_Extend........................... 56
4 Modbus_ TCP......................................................................................................... 56
5 Modbus_ UDP........................................................................................................ 57
Modbus RTU Server - Serial port service..........................................................................58
Modbus TCP Server– Ethernet service............................................................................. 59
OMRON............................................................................................................................. 60
Panasonic...........................................................................................................................61
Siemens............................................................................................................................. 63
1 Siemens S7_200..................................................................................................... 63
2 Siemens S7_200 Network...................................................................................... 64
3 Siemens S7_200 Network Module.........................................................................65
4 Siemens S7_300 MPI..............................................................................................66
5 Siemens S7_300_network......................................................................................67
6 Siemens S7_1200_network....................................................................................68
THINGET............................................................................................................................ 70
TRIO................................................................................................................................... 70
1 TRIO _modbus........................................................................................................70
2 TRIO _modbus_extend...........................................................................................71
3 Differences between TRIO _modbus and TRIO _modbus_extend........................72
Yaskawa............................................................................................................................. 72
1 Yaskawa.................................................................................................................. 72
2 Yaskawa network device........................................................................................ 72
Yokogawa...........................................................................................................................73
4 Detailed manual..................................................................................................................... 75
4.1 File............................................................................................................................... 75
4.2 View.............................................................................................................................76
4.3 Edit...............................................................................................................................79
4.4 Window....................................................................................................................... 81
4.5 Drawing....................................................................................................................... 86
4.5.1 Straight Line..................................................................................................... 86
4.5.2 Fold Line........................................................................................................... 87
4.5.3 Rectangle..........................................................................................................88
4.5.4 Polygon.............................................................................................................90
4.5.5 Ellipse............................................................................................................... 94
4.5.6 Arc.................................................................................................................... 98
4.5.7 Sector............................................................................................................. 100
RIEVTECH STUDIO SOFTWARE MANUAL
4.5.8 Sector Ring..................................................................................................... 101
4.5.9 Static Picture.................................................................................................. 102
4.5.10 Static Text..................................................................................................... 110
4.6 Component................................................................................................................121
4.6.1 Switch............................................................................................................. 121
4.6.2 Indicator Light................................................................................................ 151
4.6.3 Numeric Value and Character Display........................................................... 159
4.6.4 Toggle Switch and menu................................................................................ 182
4.6.5 Timer and Data Transmission.........................................................................205
4.6.6 Barand Meter................................................................................................. 217
4.6.7Curve Graphs...................................................................................................230
4.6.8 Scale............................................................................................................... 257
4.6.9 Table............................................................................................................... 265
4.6.10 Slider............................................................................................................ 273
4.6.11 Moving Component..................................................................................... 276
4.6.12 Window........................................................................................................ 279
4.6.13 List................................................................................................................ 291
4.6.14 Tools............................................................................................................. 319
4.6.15 Pipeline.........................................................................................................327
4.7Library.........................................................................................................................334
4.7.1GraphicsLibrary............................................................................................... 334
4.7.2Text Library......................................................................................................342
4.7.3Address Tag Library......................................................................................... 346
4.7.4 Audio Library.................................................................................................348
4.8Macro......................................................................................................................... 360
4.8.1Create Macro.................................................................................................. 360
4.8.2Edit Macro....................................................................................................... 362
4.8.3 EnablePassword Verification..........................................................................363
4.8.4 Update MacroPassword................................................................................ 365
4.9 Recipe........................................................................................................................ 366
4.9.1General............................................................................................................367
4.9.2 Data Information............................................................................................372
4.10 Setup....................................................................................................................... 377
4.10.1 HMI settings................................................................................................. 377
4.10.2 System Settings............................................................................................ 380
4.10.3Communication Settings...............................................................................443
4.10.4 Options.........................................................................................................467
4.11 Tools.........................................................................................................................472
4.12 Help......................................................................................................................... 476
4.13 General functions....................................................................................................477
4.13.1 Address editor..............................................................................................477
4.13.2 Drawing........................................................................................................ 487
4.13.3Font settings..................................................................................................489
4.13.4 Graphic edit..................................................................................................492
RIEVTECH STUDIO SOFTWARE MANUAL
4.13.5 Control settings............................................................................................ 498
4.13.6 Display.......................................................................................................... 508
4.13.7 Keyboard setting.......................................................................................... 514
4.13.8 Label............................................................................................................. 519
4.13.9 Marquee.......................................................................................................523
4.13.10 Logic Control.............................................................................................. 525
4.13.11 Shadow Effect.............................................................................................533
4.13.12 Position...................................................................................................... 534
4.13.13 Rotation......................................................................................................537
4.13.14 Dynamic Graphics...................................................................................... 538
4.13.15 Table Drawing.............................................................................................539
4.13.16 Export CSV..................................................................................................541
5 Use topic...............................................................................................................................544
5.1 Find and Replace....................................................................................................... 544
5.2 Reference.................................................................................................................. 545
5.3 Outline.......................................................................................................................551
5.4 Macro........................................................................................................................ 554
5.4.1 Macro Editor Introduction............................................................................. 555
5.4.2 A Macro example........................................................................................... 561
5.5 Online software upgrade.......................................................................................... 574
6 Appendix...............................................................................................................................574
6.1The Use of Register.................................................................................................... 574
6.1.1 Word Register.................................................................................................574
6.1.2 Bit Register..................................................................................................... 576
6.2 Built-in Functions...................................................................................................... 578
6.2.1 Read Write Function...................................................................................... 579
6.2.2 System Functions........................................................................................... 585
6.2.3 Computation and Conversion Function.........................................................590
6.2.4 Operator......................................................................................................... 591
6.3 System Prompts List.................................................................................................. 591
RIEVTECH STUDIO SOFTWARE MANUAL
1 Introduction
The software “Rievtech Studio” you are using is a new configuration software product
developed by our R&D team for three years. It was produced with more than ten years of
technical experience and accumulation based on sufficient practices on man-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
RIEVTECH STUDIO SOFTWARE MANUAL
2.1.3 Serial port connection
The serial port of the screen is a standard DB 9-pin port supporting communication modes
RS232/485/422, as shown in Fig. 3.Different screen types are integrated with different quantities
of serial ports, and please refer to the Description for Communication Connection for the
detailed connecting method.
Fig. 3
Fig. 4
Fig. 5
2
RIEVTECH STUDIO SOFTWARE MANUAL
2.2.2 Software installing
Double click the “SETUP.exe” to install the software “Rievtech Studio”, as shown in Fig. 7.
Click the left button to start installation.
Fig. 7
3
RIEVTECH STUDIO SOFTWARE MANUAL
4
RIEVTECH STUDIO SOFTWARE MANUAL
Click here to
finish installation
Fig.8
(1) Click the menu “File”–“New”, or click the shortcut “ ”, as shown in Fig. 9.
5
RIEVTECH STUDIO SOFTWARE MANUAL
Step 1
Step 2
(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.
6
RIEVTECH STUDIO SOFTWARE MANUAL
Fig. 10
(3) Select the touch screen type, as shown in Fig. 11.
Select type
Fig. 11
7
RIEVTECH STUDIO SOFTWARE MANUAL
(4) Click the button “Next” and set the bus line communication mode for the touch screen,
as shown in Fig. 12.
(b) COM
8
RIEVTECH STUDIO SOFTWARE MANUAL
Fig. 13
(6) Add an “Input” variable and a “Display” variable into the picture and set the properties,
as shown in Fig. 14.
9
RIEVTECH STUDIO SOFTWARE MANUAL
(a)
(b)
Fig. 14
(7) Click “Offline simulating” button and wait till engineering is completed, as shown in Fig.
15.
10
RIEVTECH STUDIO SOFTWARE MANUAL
Fig. 15
(8) Debug with the simulator to view the design effect, as shown in Fig. 16.
Input a data
(a)
(b)
11
RIEVTECH STUDIO SOFTWARE MANUAL
(c)
Fig. 16
12
RIEVTECH STUDIO SOFTWARE 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.
13
RIEVTECH STUDIO SOFTWARE MANUAL
Click here
Fig. 26
③ Wait till downloading is completed, and then click “OK”,
① Click here to
②Package file name
③Saving path
(a)
14
RIEVTECH STUDIO SOFTWARE MANUAL
(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.
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.
15
RIEVTECH STUDIO SOFTWARE MANUAL
Fig. 30
16
RIEVTECH STUDIO SOFTWARE 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.
17
RIEVTECH STUDIO SOFTWARE MANUAL
(a)
①Click “Project”
②Click “OK”
(b)
18
RIEVTECH STUDIO SOFTWARE MANUAL
(c)
Fig. 32
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.
19
RIEVTECH STUDIO SOFTWARE MANUAL
Fig. 21
Fig. 22
③Select the project uploading path and save the file name, and click “Save”.
20
RIEVTECH STUDIO SOFTWARE MANUAL
④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
21
RIEVTECH STUDIO SOFTWARE MANUAL
Fig. 24
①Firstly, click the tool button “Decompile”, select the package fpg file, set the project
saving path, and click the “Decompile” button, as shown in Fig. 17.
22
RIEVTECH STUDIO SOFTWARE MANUAL
Fig. 18
③After the “Decompile Success!” dialog box appears, click “OK” to complete the
decompiling, as shown in Fig. 19.
Fig. 19
RIEVTECH
RS232 CABLE
RS485 Connection
Ethernet Connection
23
RIEVTECH STUDIO SOFTWARE MANUAL
There are 2 available options for Rievtech PLCs, one is FBD mode(programming mode is
Function block diagram), another is LAD mode(programming mode is Ladder)
And if you want to read AF1 value, you need select register type “AF”, address is 3072.
24
RIEVTECH STUDIO SOFTWARE MANUAL
PR-6(CPU)(I1--I4): 0~3
25
RIEVTECH STUDIO SOFTWARE MANUAL
PR-24(CPU)(I1--IE): 0~13
PR-E-16(EXT1)(I11--I18): 16~23
PR-E-16(EXT2)(I21--I28): 24~31
PR-E-16(EXT3)(I31--I38): 32~39
PR-E-16(EXT4)(I41--I48): 40~47
PR-E-16(EXT5)(I51--I58): 48~55
. .
. .
PR-E-16(EXT16)(I161--I168): 136~143
Address formula
:I(EXT)1 =(Ext-1)*8+12
For example: I51=(5-1)*8+16
=48
Fashion:
Classic:
MODBUS
Function code:02
Digital input EXM-12/ELC-12(CPU)(Q1--Q4): 0~7 BIT R/W
EXM-E-8(EXT1)(Q11--Q18): 8~15
EXM-E-8(EXT2)(Q21--Q28): 16~23
Fashion:
EXM-E-8(EXT3)(Q31--Q38): 24~31
EXM-E-8(EXT4)(Q41--Q48): 32~39
Classic: EXM-E-8(EXT5)(Q51--Q58): 40~47
EXM-E-8(EXT6)(Q61--Q68): 48~55
EXM-E-8(EXT7)(Q71--Q78): 56~63
EXM-E-8(EXT8)(Q81--Q88): 64~71
MODBUS PR-6(CPU)(Q1--Q2): 0~1
Function
PR-12(CPU)(Q1--Q4): 0~3
code:01(read)
26
RIEVTECH STUDIO SOFTWARE MANUAL
05(single write) PR-14/PR-18(CPU)(Q1--Q6): 0~5
15(Multiple Write) PR-E-16(EXT1)(Q11--Q18): 8~15
PR-E-16(EXT2)(Q21--Q28): 16~23
PR-E-16(EXT3)(Q31--Q38): 24~31
PR-E-16(EXT4)(Q41--Q48): 32~39
PR-E-16(EXT5)(Q51--Q58): 40~47
.
.
PR-E-16(EXT16)(Q161--Q168) 128~135
Address formula:Q(EXT)1 =(Ext-1)
*8+8
For example: Q51=(5-1)*8+8
=40
PR-24(CPU)(Q1--QA): 0~9
PR-E-16(EXT1)(Q11--Q18): 10~17
PR-E-16(EXT2)(Q21--Q28): 18~25
PR-E-16(EXT3)(Q31--Q38): 26~33
PR-E-16(EXT4)(Q41--Q48): 34~41
PR-E-16(EXT5)(Q51--Q58): 42~49
. .
. .
PR-E-16(EXT16)(Q161--Q168) 130~137
Address formula:Q(EXT)1 =(Ext-1)
*8+10
For example: Q51=(5-1)*8+10
=42
M(0x) PR-6& PR-12-E(M1--M64): 256~319 BIT R
EXM-12/ELC-12(M1--M512): 256~767
PR-12/PR-14(M1--M512): 256~767
MODBUS function
code01(read)
PR-18/PR-24(M1--M1024): 256~1279
Fashion:
27
RIEVTECH STUDIO SOFTWARE MANUAL
EXM-12/ELC-12-N(F1--F128): 1536~1663
Classic:
MODBUS function
code:01(read) PR-12/PR-14/PR-24(F1--F256): 1536~1791
05(single Write)
15(Multiple Write)
EXM-12/ELC-12-N/PR-12/ 0~511
PR-14(REG0--REG512):
MODBUS function
code: PR-18/PR-24(REG0--REG1023) 0~1023
03(read)
16(Multiple Write)
REG/DW For All CPUs: DWORD R/W
(Updated REG0: 25476
version) REG1: 25478
REG2: 25480
REG3: 25482
. .
. .
REG10 25496
MODBUS function Address formula:
code (read) REGX =25476 +2X
16(Multiple Write) For example,
REG20 =25476+2X20
=25476+40
=25516
Fashion:
28
RIEVTECH STUDIO SOFTWARE MANUAL
PR-14/PR-18/PR-24(AI1--AI6): 1024~1029
PR-E-16(EXT1)(AI11-AI14): 1032~1039
Classic: PR-E-16(EXT2)(AI21-AI24): 1040~1047
PR-E-16(EXT3)(AI31-AI34): 1048~1055
. .
MODBUS Function . .
code: PR-E-16(EXT16)(AI161-AI164): 1152~1159
03(read) Address formula:AI(EXT)1 =(Ext-1)
*8+1032
For example:
AI51=(5-1)*8+1032
=1072
EXM-12/ELC-12-N(AI1--AI4): 1024~1027
EXM-E(EXT1)(AI11-AI14): 1032~1039
EXM-E(EXT2)(AI21-AI24): 1040~1047
EXM-E(EXT3)(AI31-AI34): 1048~1055
EXM-E(EXT4)(AI41-AI44): 1056~1063
EXM-E(EXT5)(AI51-AI54): 1064~1071
EXM-E(EXT6)(AI61-AI64): 1072~1079
EXM-E(EXT7)(AI71-AI74): 1080~1087
EXM-E(EXT8)(AI81-AI84): 1088~1095
Fashion:
Classic:
PR-14/PR-18/PR-24(AQ1-AQ2): 1280~1281
PR-E-AQ(EXT1)(AQ11-AQ12): 1282~1283
PR-E-AQ(EXT2)(AQ21-AQ22): 1284~1285
MODBUS
. .
function:03(read)
. .
06(Single Write)
PR-E-AQ(EXT16)(AQ161-AQ162) 1312~1313
16(Multiple Write)
:
Address formula:AQ(EXT)1 =(Ext)
*2+1280
For example: AQ161=16*2+1280
=1312
29
RIEVTECH STUDIO SOFTWARE MANUAL
EXM-12/ELC-12-N(AQ1--AQ2): 1280~1281
EXM-E(EXT1)(AQ11-AQ12): 1282~1283
EXM-E(EXT2)(AQ21-AQ22): 1284~1285
EXM-E(EXT3)(AQ31-AQ32): 1286~1287
EXM-E(EXT4)(AQ41-AI42): 1288~1289
EXM-E(EXT5)(AQ51-AI52): 1290~1291
EXM-E(EXT6)(AQ61-AQ62): 1292~1293
EXM-E(EXT7)(AQ71-AQ72): 1294~1295
EXM-E(EXT8)(AQ81-AQ82): 1296~1297
Analog AM PR-6/PR-12-E(AM1--AM64): 1536~1599 Signe R
d short
EXM-12/ELC-12/PR-12/PR-14
(AM1--AM512): 1536~2047
Fashion:
Classic:
MODBUS
Function:
03(read)
06(Single
Write)
16(Multiple
Write)
PR-12/PR-18/PR-24/EXM/ELC-12-
N(AF1--AF256): 3072~3327
30
RIEVTECH STUDIO SOFTWARE MANUAL
PR-6/PR-12-E(HEG0--HEG63): 2560--2623
PR-18/PR-24(HEG0-HEG511): 2560--3071
MODBUS
(HEG512--HEG1023): 19456--19967
function
code:03(read)
16(Multiple
Write)
RTC All series CPU Year:3328 Signed R/
Month:3329 short W
MODBUS Day:3330
function Hour:3331
code:03(read) Minute:3332
16(Multiple Second:3333
Write) Week:3334
If your PLC program is Ladder, you need select as the device in the TPConfig. And
the register address configuration is the number of the corresponding register. For example:
If you want to read I0.0 status, you just only need select I0.0, and if you want to read VW0 value,
you only need select VW0, you donot need use the Modbus address for VW0 anymore.
Below table shows the all the kinds of the register in ladder program. The modbus address is only
for you if you selected the Modbus RTU as the communication driver in TPConfig.
Bit
31
RIEVTECH STUDIO SOFTWARE MANUAL
Word
Modbus Adr. Modbus code R/W
VW VW0--VW8190 0--8190 03/06 (16) R/W
MW MW0--MW30 8200--8230 03/06 (16) R/W
SMW SMW0--SMW550 8300--8850 03/06 (16) R/W
SW SW0--SW30 9000--9030 03/06(16) R/W
T T0-T255 9100--9355 03/06 (16) R/W
C C0-T255 9500--9755 03/06 (16) R/W
AIW AIW0--AIW178 0--178 04 R
AQW AQW0--AQW178 200--378 04 R
IW IW0--IW30 400--430 04 R
QW QW0--QW30 500--530 04 R
DELTA N
32
RIEVTECH STUDIO SOFTWARE MANUAL
FATEK
33
RIEVTECH STUDIO SOFTWARE MANUAL
Flexem
1 Flexem_fl2n_mistubishi_fx2n_compatable
Flexem(MISTUBISHI FX2N COMPATIBLE)
Flexem FL2N series RS232 cable
34
RIEVTECH STUDIO SOFTWARE MANUAL
2 Flexem_fl2n_modbus
Flexem FL2N (Modbus compatible protocol)
Flexem FL2N series RS232 cable
35
RIEVTECH STUDIO SOFTWARE MANUAL
Special auxiliary node SM0-511 —— DDD
Timer node T_bit0-255 —— DDD
Counter node C_bit0-255 —— DDD
Analog output register —— AQ0-255 DDD
Analog input register —— AI0-255 DDD
Timer buffer —— T_word0-255 DDD
Counter buffer —— C_word0-255 DDD
Counter buffer (32 bit) —— C_dword200-255 DDD
Data register —— D0-4095 DDDD
Special data register —— SD0-511 DDDD
Additional description:
① 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
36
RIEVTECH STUDIO SOFTWARE MANUAL
Device Type Address Protocol address Function code
Y Bit Y0-377 0000-0255 1,5,15
X Bit x0-377 1200-1455 1,5,15
2
M Bit M0-M2047 2000-4047 1,5,15
SM Bit SM0-SM511 4400-4911 1,5,15
S Bit S0-S999 6000-6999 1,5,15
T Bit T0-T255 8000-8255 1,5,15
C Bit C0-C255 9200-9455 1,5,15
D Word D0-D4095 0000-4095 3,6,16
SD Word SD0-SD511 8000-8511 3,6,16
T Word T0-T255 9000-9255 3,6,16
C Word C0-C199 9500-9699 3,6,16
C Double word C200-C255 9700-9755 3,16
HC
37
RIEVTECH STUDIO SOFTWARE MANUAL
Registers supported by HCFA HCA4
Hitachi
38
RIEVTECH STUDIO SOFTWARE MANUAL
39
RIEVTECH STUDIO SOFTWARE MANUAL
HollySys
40
RIEVTECH STUDIO SOFTWARE MANUAL
Inovance
41
RIEVTECH STUDIO SOFTWARE MANUAL
Kewei
Kewei cable
42
RIEVTECH STUDIO SOFTWARE 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
43
RIEVTECH STUDIO SOFTWARE MANUAL
Kinco series RS485-2 cable
LS
1 ls_mster_cpu_serial
LS Master_K CPU Serial S232 cable
44
RIEVTECH STUDIO SOFTWARE MANUAL
2 ls_xgt_cpu_serial
LS XGT CPU Serial RS232 cable
45
RIEVTECH STUDIO SOFTWARE MANUAL
MEGMEET
46
RIEVTECH STUDIO SOFTWARE 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
47
RIEVTECH STUDIO SOFTWARE 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.
48
RIEVTECH STUDIO SOFTWARE 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.
49
RIEVTECH STUDIO SOFTWARE 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.
50
RIEVTECH STUDIO SOFTWARE MANUAL
4 Mitsubishi Melsec Q
Mitsubishi Melsec Series Q RS232 cable
51
RIEVTECH STUDIO SOFTWARE MANUAL
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
52
RIEVTECH STUDIO SOFTWARE MANUAL
6 Mitsubishi_melsec_ethernet
Mitsubishi Melsec Ethernet (Ascii/Bin)
Mitsubishi_Melsec_Ethernet (Ascii/Bin) cable
53
RIEVTECH STUDIO SOFTWARE MANUAL
Modbus
54
RIEVTECH STUDIO SOFTWARE MANUAL
1 Modbus_RTU
Modbus RTU series RS232 cable
55
RIEVTECH STUDIO SOFTWARE 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
56
RIEVTECH STUDIO SOFTWARE MANUAL
5 Modbus_ UDP
Modbus UDP cable
57
RIEVTECH STUDIO SOFTWARE MANUAL
58
RIEVTECH STUDIO SOFTWARE MANUAL
59
RIEVTECH STUDIO SOFTWARE MANUAL
OMRON
Omron CP1H_CP1L
OMRON CP1H_CP1L series RS232 cable
60
RIEVTECH STUDIO SOFTWARE MANUAL
Panasonic
61
RIEVTECH STUDIO SOFTWARE MANUAL
Panasonic FP series RS232 cable
62
RIEVTECH STUDIO SOFTWARE MANUAL
Siemens
1 Siemens S7_200
63
RIEVTECH STUDIO SOFTWARE MANUAL
Siemens S7-200 series RS232 cable
Siemens serial port programming cable is used to communicate with HMI device.
64
RIEVTECH STUDIO SOFTWARE MANUAL
65
RIEVTECH STUDIO SOFTWARE MANUAL
66
RIEVTECH STUDIO SOFTWARE MANUAL
5 Siemens S7_300_network
Siemens S7-300 Network cable
67
RIEVTECH STUDIO SOFTWARE MANUAL
6 Siemens S7_1200_network
Siemens S7-1200 Network cable
68
RIEVTECH STUDIO SOFTWARE MANUAL
69
RIEVTECH STUDIO SOFTWARE MANUAL
THINGET
TRIO
1 TRIO _modbus
TRIO_modbus series RS232 cables
70
RIEVTECH STUDIO SOFTWARE MANUAL
2 TRIO _modbus_extend
TRIO_modbus_extend series RS232 cable
71
RIEVTECH STUDIO SOFTWARE 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
72
RIEVTECH STUDIO SOFTWARE MANUAL
Yokogawa
73
RIEVTECH STUDIO SOFTWARE MANUAL
74
RIEVTECH STUDIO SOFTWARE 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.
75
RIEVTECH STUDIO SOFTWARE MANUAL
Project name
Project path
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
76
RIEVTECH STUDIO SOFTWARE MANUAL
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.
3 Reference
Open/close the Reference view. The reference information is collected and displayed here.
The information used by the current project such as address, macro and prescription can be
viewed quickly.
4 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!
5 Current Status
The checked Status is the current status. It is used to display the components displaying
effect quickly in different status.
77
RIEVTECH STUDIO SOFTWARE MANUAL
8 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.
○
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.
78
RIEVTECH STUDIO SOFTWARE MANUAL
○
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.
○
5 Create Basic Window
A new basic window can be created by clicking “Create Basic Window” in the software
picture. The window name, size and other attributes need to be set. The new basic window can
also be created in the default attributes.
○
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”.
9 Output
Open/close the output view. The compiling information can be output and displayed here.
10 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.
3 Find/Replace
Set the designated searching range and search the bit address/ word address/ text or
replace with a new bit address/ word address/ text.
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
79
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
80
RIEVTECH STUDIO SOFTWARE MANUAL
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
○
2 Background and Border
81
RIEVTECH STUDIO SOFTWARE MANUAL
○
3 Action and Function
The action to open or close a window can be used to activate a bit, a word, a macro
command or switch among windows.
○
4 Timer
82
RIEVTECH STUDIO SOFTWARE MANUAL
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.
○
5 Timer Data Transmission
It is used to transmit words or bits in batches. And an action can be set before or after
write-in.
83
RIEVTECH STUDIO SOFTWARE MANUAL
84
RIEVTECH STUDIO SOFTWARE MANUAL
8 Show Grid
Display the grid and facilitate the user to view the position of components.
9 Grid alignment
Facilitate components aligning by the grid alignment function.
85
RIEVTECH STUDIO SOFTWARE MANUAL
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
86
RIEVTECH STUDIO SOFTWARE MANUAL
○
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.
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
○
3 Indicator Light
○
4 Display
87
RIEVTECH STUDIO SOFTWARE 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
88
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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
89
RIEVTECH STUDIO SOFTWARE MANUAL
See Detailed manual/General functions/Drawing/Dynamic Graphics for the details.
○
3 Indicator Light
○
4 Display
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.
90
RIEVTECH STUDIO SOFTWARE 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
91
RIEVTECH STUDIO SOFTWARE MANUAL
(a)
(b)
(c)
(a)Frame line pattern and frame line width (b)Polygon filling color (c)Polygon shadow effect
○
2 Dynamic Graphics
92
RIEVTECH STUDIO SOFTWARE MANUAL
(a)
(b)
(c)
○
3 Indicator Light
93
RIEVTECH STUDIO SOFTWARE MANUAL
(a)
(b)
(c)
(a) Modify the frame color (b) Control the frequency of flickering (c) Modify the filling color
○
4 Display
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.
94
RIEVTECH STUDIO SOFTWARE MANUAL
Click and hold the editing area in the window, and drag the mouse to modify the ellipse size
and shape.
○
1 General
95
RIEVTECH STUDIO SOFTWARE MANUAL
(a)
(b)
(c)
(a) Ellipse border color, width and pattern (b) Ellipse filling color (c) Ellipse shadow effect.
○
2 Dynamic Graphics
96
RIEVTECH STUDIO SOFTWARE MANUAL
(a)
(b)
(c)
○
3 Indicator Light
97
RIEVTECH STUDIO SOFTWARE MANUAL
(a)
(b)
(c)
(a) Modify the frame color (b) Control flickering frequency (c) Modify the filling color
○
4 Display
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.
98
RIEVTECH STUDIO SOFTWARE MANUAL
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.
99
RIEVTECH STUDIO SOFTWARE 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.
100
RIEVTECH STUDIO SOFTWARE 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.
101
RIEVTECH STUDIO SOFTWARE 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.
102
RIEVTECH STUDIO SOFTWARE 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.
103
RIEVTECH STUDIO SOFTWARE MANUAL
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.
104
RIEVTECH STUDIO SOFTWARE 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).
105
RIEVTECH STUDIO SOFTWARE MANUAL
The picture effect can be beautified by the Shadow Effect function so that it can be
differentiated from the background.
106
RIEVTECH STUDIO SOFTWARE MANUAL
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.
107
RIEVTECH STUDIO SOFTWARE MANUAL
Privilege User: The static picture visibility control needs an authority. The authority system
108
RIEVTECH STUDIO SOFTWARE MANUAL
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).
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.
109
RIEVTECH STUDIO SOFTWARE MANUAL
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.
110
RIEVTECH STUDIO SOFTWARE 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.
These properties such as the current text font, size, color and the alignment mode can be
copied to make future texts uniform.
111
RIEVTECH STUDIO SOFTWARE MANUAL
112
RIEVTECH STUDIO SOFTWARE MANUAL
The function “Language Independent” can be checked to make sure the text is not
influenced by other languages.
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.
113
RIEVTECH STUDIO SOFTWARE MANUAL
Multi languages can be set in System Settings dialog which is opened by clicking the button
114
RIEVTECH STUDIO SOFTWARE MANUAL
When you check the “Set label position by language state separately” function, different
texts can be aligned in different effects.
115
RIEVTECH STUDIO SOFTWARE MANUAL
The static textcan 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.
116
RIEVTECH STUDIO SOFTWARE 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.
117
RIEVTECH STUDIO SOFTWARE MANUAL
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.
118
RIEVTECH STUDIO SOFTWARE 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 “ ”.
119
RIEVTECH STUDIO SOFTWARE MANUAL
Privilege User: The static text visibility control needs an authority. The authority system
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).
120
RIEVTECH STUDIO SOFTWARE MANUAL
4.6 Component
4.6.1 Switch
The Switch component includes Bit Set, Word Set, Window Operation, Function Key, Data
Transferring and Recipe Transmission.
121
RIEVTECH STUDIO SOFTWARE 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”.
122
RIEVTECH STUDIO SOFTWARE MANUAL
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 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.
123
RIEVTECH STUDIO SOFTWARE MANUAL
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, 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
124
RIEVTECH STUDIO SOFTWARE MANUAL
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.
125
RIEVTECH STUDIO SOFTWARE MANUAL
The default action is “Press”. The default Execute Setting is “On”. The default address is
“LB0”. They are modified into the required as follows.
126
RIEVTECH STUDIO SOFTWARE 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.
4.6.1.2Word Set
“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.
127
RIEVTECH STUDIO SOFTWARE 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”.
128
RIEVTECH STUDIO SOFTWARE MANUAL
Add
A designated data will be added to the value of the designated word register. The “Add”
attributes contain the following settings.
129
RIEVTECH STUDIO SOFTWARE 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.
130
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
131
RIEVTECH STUDIO SOFTWARE MANUAL
Reverse on reaching the end
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”.
“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
132
RIEVTECH STUDIO SOFTWARE MANUAL
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”.
Set Up Constants
A data is written to the designated register. The data (Setting Value) can be a “Constant” or
a “Variable”.
133
RIEVTECH STUDIO SOFTWARE MANUAL
In the figure above, a constant “0” is written to the register LW0 of HMI.
134
RIEVTECH STUDIO SOFTWARE 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.
135
RIEVTECH STUDIO SOFTWARE MANUAL
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 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”.
136
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
4.6.1.3Window Operation
Action
137
RIEVTECH STUDIO SOFTWARE MANUAL
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
138
RIEVTECH STUDIO SOFTWARE MANUAL
Pop up a designated window.
139
RIEVTECH STUDIO SOFTWARE MANUAL
140
RIEVTECH STUDIO SOFTWARE 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”.
141
RIEVTECH STUDIO SOFTWARE MANUAL
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.
Function Setting
The attribute “Function Setting” of the “Function Key” includes “Keyboard Function”,
“Execute Macro” and “System Operation”.
Keyboard Function
142
RIEVTECH STUDIO SOFTWARE MANUAL
“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.
143
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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
144
RIEVTECH STUDIO SOFTWARE MANUAL
“Touch Panel Calibration”
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”
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.
145
RIEVTECH STUDIO SOFTWARE MANUAL
“Clear Event”
146
RIEVTECH STUDIO SOFTWARE MANUAL
“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.
4.6.1.5Data Transferring
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.
147
RIEVTECH STUDIO SOFTWARE 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.
148
RIEVTECH STUDIO SOFTWARE MANUAL
4.6.1.6 Recipe Transmission
149
RIEVTECH STUDIO SOFTWARE MANUAL
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.
150
RIEVTECH STUDIO SOFTWARE MANUAL
The detailed operation of the recipe uploading can refer to the recipe downloading.
Display Mode
The “Display Mode” can be “Register Control” or “Automatic looping”. The details are
referred to: Detailed manual/General functions/Drawing/Display Mode.
151
RIEVTECH STUDIO SOFTWARE MANUAL
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
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.
152
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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”.
153
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
154
RIEVTECH STUDIO SOFTWARE MANUAL
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.
155
RIEVTECH STUDIO SOFTWARE 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.
156
RIEVTECH STUDIO SOFTWARE MANUAL
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
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.
157
RIEVTECH STUDIO SOFTWARE 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”.
1 Register mode
The “Register Control” mode can be Bit Registers, Word Registers or Combined Bits.
158
RIEVTECH STUDIO SOFTWARE MANUAL
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.1General
Operation Attribute
159
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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
160
RIEVTECH STUDIO SOFTWARE MANUAL
Use Address Tag
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
161
RIEVTECH STUDIO SOFTWARE MANUAL
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.
4.6.3.1.2Number Format
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”.
162
RIEVTECH STUDIO SOFTWARE MANUAL
Data setting
The “Data setting” includes “Integer digits”, “Decimal Point”, “Display Positive Sign” and
“Zero Padding Left”.
163
RIEVTECH STUDIO SOFTWARE 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”.
164
RIEVTECH STUDIO SOFTWARE 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
165
RIEVTECH STUDIO SOFTWARE MANUAL
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
166
RIEVTECH STUDIO SOFTWARE 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
167
RIEVTECH STUDIO SOFTWARE 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
168
RIEVTECH STUDIO SOFTWARE MANUAL
The data can be shifted left or right by the component. And the result of shifting operation
will be displayed.
4.6.3.1.3Font
The detailed font setting can be seen: Detailed manual/ General functions/ Drawing/
Font Settings.
4.6.3.1.4Graphics
The detailed graphics setting can be seen: Detailed manual/ General functions/
Drawing/ Graphic edit.
4.6.3.1.5Dynamic Graphics
The detailed graphics setting can be seen: Detailed manual/ General functions/
Drawing/ Dynamic Graphics.
4.6.3.1.6Display
The detailed display setting can be seen: Detailed manual/ General functions/
Drawing/ Display.
169
RIEVTECH STUDIO SOFTWARE MANUAL
4.6.3.2Numeric 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.1General
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.
170
RIEVTECH STUDIO SOFTWARE 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”.
4.6.3.2.2Keyboard Setting
See detailed functions in: Detailed manual/ General functions/ Drawing/ Keyboard setting.
4.6.3.3Character Display
4.6.3.3.1General
Operating Attribute
171
RIEVTECH STUDIO SOFTWARE 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
172
RIEVTECH STUDIO SOFTWARE 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
173
RIEVTECH STUDIO SOFTWARE 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.
4.6.3.3.2Characters setting
Row Settings
174
RIEVTECH STUDIO SOFTWARE 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.
175
RIEVTECH STUDIO SOFTWARE 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 Effects”, and so
on.
4.6.3.3.3Font
See detailed font setting in: Detailed manual/ General functions/ Drawing/ Font
settings.
4.6.3.3.4Graphics
4.6.3.3.5Dynamic Graphics
See detailed Dynamic Graphics setting in: Detailed manual/ General functions/
Drawing/ Dynamic Graphics.
4.6.3.3.6Display
See detailed display setting in: Detailed manual/ General functions/ Drawing/Display.
4.6.3.4Character Input
4.6.3.4.1General
Operation Attribute
176
RIEVTECH STUDIO SOFTWARE MANUAL
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
177
RIEVTECH STUDIO SOFTWARE 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
After the “ASCII” is checked, you can select the function “Swap the High byte and the Low
byte”.
Read Address
178
RIEVTECH STUDIO SOFTWARE 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”.
179
RIEVTECH STUDIO SOFTWARE 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 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.
4.6.3.4.2Characters Setting
Row Settings
180
RIEVTECH STUDIO SOFTWARE 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.
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.
181
RIEVTECH STUDIO SOFTWARE 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.
4.6.3.4.3Keyboard Setting
See detailed setting in: Detailed manual/ General functions/ Drawing/ Keyboard setting.
4.6.3.4.4Data font
See detailed font setting in: Detailed manual/ General functions/ Drawing/Font settings.
4.6.3.4.5Control Settings
See detailed control setting in: Detailed manual/ General functions/ Drawing/ Control
settings.
4.6.3.4.6Display
See detailed display setting in: Detailed manual/ General functions/ Drawing/ Display.
182
RIEVTECH STUDIO SOFTWARE MANUAL
4.6.4.1Bit 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.
183
RIEVTECH STUDIO SOFTWARE 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”.
184
RIEVTECH STUDIO SOFTWARE 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.
185
RIEVTECH STUDIO SOFTWARE 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.
4.6.4.2Word Switch
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.
186
RIEVTECH STUDIO SOFTWARE MANUAL
4.6.4.2.1 General
187
RIEVTECH STUDIO SOFTWARE 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.
188
RIEVTECH STUDIO SOFTWARE MANUAL
Details for “Marquee” setting can be seen in: Detailed manual/ General functions/ Drawing/
Marquee.
4.6.4.2.3 Graphics
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
189
RIEVTECH STUDIO SOFTWARE 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.
190
RIEVTECH STUDIO SOFTWARE 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
191
RIEVTECH STUDIO SOFTWARE 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”.
192
RIEVTECH STUDIO SOFTWARE 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.
193
RIEVTECH STUDIO SOFTWARE 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.
194
RIEVTECH STUDIO SOFTWARE 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.
195
RIEVTECH STUDIO SOFTWARE 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.
196
RIEVTECH STUDIO SOFTWARE 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.
4.6.4.5File BrowserBox
File BrowserBox is used to display the file information of the internal and external
storage devices.
197
RIEVTECH STUDIO SOFTWARE MANUAL
4.6.4.5.1 General
Font Type
Font Size
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 amongthe day, the month and the year.
198
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.6User Privilege
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.
199
RIEVTECH STUDIO SOFTWARE MANUAL
Display The Table
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.
Check this option “Display the Title Bar”, you can set the font of the title bar and the
list, see details inDetailed manual/General functions/Drawing/Font settings.
Use Lable
200
RIEVTECH STUDIO SOFTWARE MANUAL
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.
This option will be displayed only when you check the option “Display the Title Bar”.
After checking this option, thefont 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 itemsby clicking the button “Move
Up” or “Down”.
Restore to default
201
RIEVTECH STUDIO SOFTWARE MANUAL
RowSpacing 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.
202
RIEVTECH STUDIO SOFTWARE 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.
203
RIEVTECH STUDIO SOFTWARE 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.
204
RIEVTECH STUDIO SOFTWARE 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.1Timer
205
RIEVTECH STUDIO SOFTWARE 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.
206
RIEVTECH STUDIO SOFTWARE MANUAL
In the“Timer” property TAB, click the button "Add", you can open the detailed settings
of the timer.
207
RIEVTECH STUDIO SOFTWARE MANUAL
208
RIEVTECH STUDIO SOFTWARE MANUAL
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.
Delay
In the case of unchecked “Delay” by default, when the trigger condition of the timeris
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 “AutoReset” option.
Word
209
RIEVTECH STUDIO SOFTWARE 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
210
RIEVTECH STUDIO SOFTWARE MANUAL
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
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 stopto 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 timercan only be
executed once.
211
RIEVTECH STUDIO SOFTWARE MANUAL
Condition Judgment
You can control the timer to end by using a set of conditions. When the
conditionsaresatisfied, 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” propertyTAB.
212
RIEVTECH STUDIO SOFTWARE MANUAL
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
click the "Macro Code" to open the Macro Code Editor Window and add the macro code. If
the macro instructionis 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 “StatusSetting” 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.
213
RIEVTECH STUDIO SOFTWARE MANUAL
Bit Setting
214
RIEVTECH STUDIO SOFTWARE MANUAL
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. Foraddingaudio files,
please refer to:Detailed manual/Library/Audio Library. Click the triangle play button
The “Run Macro”, “StatusSetting” and “Audio Play” optionscan be checked at the
same time. The timer can simultaneously control the execution of the three.However the
execution order is uncertain.
215
RIEVTECH STUDIO SOFTWARE MANUAL
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
216
RIEVTECH STUDIO SOFTWARE MANUAL
notification.For the detailed settings, refer to: Detailed manual/General
functions/Drawing/Control settings.
4.6.6.1Bar Chart
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.2SectorChart
Add a Sector Chart component by clicking the menu command “Component/Bar and
Meter”. It is shown as below.
217
RIEVTECH STUDIO SOFTWARE MANUAL
You can add the Sector Chart by clicking the correspondingshortcut button. It is
shown as below.
4.6.6.2.1 General
218
RIEVTECH STUDIO SOFTWARE MANUAL
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.
Clockwise Anti-clockwise
Angle
219
RIEVTECH STUDIO SOFTWARE MANUAL
The “Inside and outside ring ratio (%)” is set to a percentage of the inner ring radius to
the outer ring raduis. 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 “DeviationType”. 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 biastype pie chart.
As shown as below, after selecting the Deviation Type, the “OriginPos.” can be freely
set.
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).
220
RIEVTECH STUDIO SOFTWARE MANUAL
Read Address
The detailed information is referred to: Detailed manual/General functions/Address
editor/Standard Byte Address Input.
4.6.6.2.2 Extended
Alarm Limit
As shown as below, you can set the upper and lower limit for alarm. Except forthe
“Blink” function, other functions are same to the “Meter".The detailed settings are referred
to:Detailed manual/Component/Bar and Meter/Meter.
221
RIEVTECH STUDIO SOFTWARE MANUAL
The running results are as shown in the figure below. In thiscase, the Target Area
Color is set yellow.
222
RIEVTECH STUDIO SOFTWARE MANUAL
The function is used to display the total percentage of filling part to the entiresector
chart. As shown as below, the display font size, font style and font color can be set freely.
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.3Meter
223
RIEVTECH STUDIO SOFTWARE 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
224
RIEVTECH STUDIO SOFTWARE 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.
225
RIEVTECH STUDIO SOFTWARE 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.
226
RIEVTECH STUDIO SOFTWARE 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.
227
RIEVTECH STUDIO SOFTWARE MANUAL
Display Scale
228
RIEVTECH STUDIO SOFTWARE MANUAL
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
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.
229
RIEVTECH STUDIO SOFTWARE 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.7Curve Graphs
4.6.7.1Trend Curve
230
RIEVTECH STUDIO SOFTWARE MANUAL
The “Trend Graph” component is a curve formed by the sampling data.
4.6.7.1.1 General
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 setthe display direction of the trend curve. It is set
"Horizontal" by default. It can be set "Vertical", too.
Pause
231
RIEVTECH STUDIO SOFTWARE MANUAL
A bit register address can be set here.When the bit register is ON, the trend curve is
not refreshed (butthe sampling is not paused). Whenit is OFF, the trend curve is refreshed
in real time.
You can set the time axis range, there are constants and variablesoptional,variables
are controlled through the register, maximum time can be set as1440 minutes.
BrowseMethod
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.
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 registersarea 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,
232
RIEVTECH STUDIO SOFTWARE MANUAL
second and millisecond. From the eighth register, the sampling data crossed by the cursor
is saved. The data format should be consistent with whichdefined 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
savesthe 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
floatingpoint number" and the second channel is "16-bit Unsigned",then LW107 (Single
precisionfloatingpoint 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.
4.6.7.1.2 Channel
233
RIEVTECH STUDIO SOFTWARE MANUAL
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
234
RIEVTECH STUDIO SOFTWARE 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 floatingpoint 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.
235
RIEVTECH STUDIO SOFTWARE MANUAL
For example, the option “Hide ChannelRegister” 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.
236
RIEVTECH STUDIO SOFTWARE MANUAL
DotMark
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.
DrawingConnecting Line
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 projectto the X-axis to form a closed figure.
For example, the option “Dot Mark” and the option “Projectionalong X-axis Direction”
are all checked, the display effect is shown as below.
Minimum Value
The minimum value of the trend curve can be set byConstant or by Variable. When
set it by Variable, the data type of the specified word registershould be consistent with the
data type of the selected sampling data channel.
Maximum Value
237
RIEVTECH STUDIO SOFTWARE MANUAL
The maximum value of the trend curve can be set byConstant or by Variable. When
set it by Variable, the data type of the specified word registershould 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.
Search By Date
The settings of “Search By Date” are shown as below.
238
RIEVTECH STUDIO SOFTWARE MANUAL
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. 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
"SearchRegister."
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.
239
RIEVTECH STUDIO SOFTWARE MANUAL
SearchBy 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
"SearchRegister."
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.
240
RIEVTECH STUDIO SOFTWARE 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.
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.
241
RIEVTECH STUDIO SOFTWARE MANUAL
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.
242
RIEVTECH STUDIO SOFTWARE MANUAL
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.2XY 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
243
RIEVTECH STUDIO SOFTWARE MANUAL
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".
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.
244
RIEVTECH STUDIO SOFTWARE MANUAL
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
245
RIEVTECH STUDIO SOFTWARE MANUAL
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 pausedand not be refreshed.
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.
246
RIEVTECH STUDIO SOFTWARE MANUAL
Display/Hide the cursor
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 registersarea 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
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
247
RIEVTECH STUDIO SOFTWARE MANUAL
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
248
RIEVTECH STUDIO SOFTWARE MANUAL
Select the data type for the current channel according to the actual needs.
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 tothe
"Projection along X-axis Direction" but the direction is different. TheMinimum Value and
the Maximum Value ofthe 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
Valueis from 0 to 100. The detailed settings can be referred to the "Channel" property
TABof 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.
249
RIEVTECH STUDIO SOFTWARE MANUAL
250
RIEVTECH STUDIO SOFTWARE MANUAL
251
RIEVTECH STUDIO SOFTWARE MANUAL
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.
The “Data Group Chart Display” component is a curve comprising of a set data of
specified continuous registers.
4.6.7.3.1 General
252
RIEVTECH STUDIO SOFTWARE MANUAL
The default value of this option is 10. Theminimum 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 ToRight" by default. You can set it "Up To Down"
too. They are corresponding to the "Horizontal" and "Vertical" display modes.
The settingsof 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
253
RIEVTECH STUDIO SOFTWARE MANUAL
It is not checked by default. After check it, the parameters are shown as below.
The settings of these options are same to the Trend Curve or the XY Chart, such as
the “Display/Hide the Cursor” andthe “Cursor Color”.
Similarly, you can set a "Word Register" as the starting address of the continuous
registers here. The first two word registers areused to save the point number where the
cursor stays. The registers from the specified register address + 2 are used to save the
data of whichthe 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
254
RIEVTECH STUDIO SOFTWARE MANUAL
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 channelscan be
done in the same matter.
4.6.7.3.2 Channel
Channel No.
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
255
RIEVTECH STUDIO SOFTWARE MANUAL
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 meansthe “Start Address” of the registers to save the sample data can be
set independently. The settings are shown as below.
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.
256
RIEVTECH STUDIO SOFTWARE MANUAL
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”, “ArcScale” and
“RoundScale”. You can add a Scale component by clicking the menu command or by
using the shortcut tools bar.
The “Horizontal Scale” is mainly used to display a progress bar. The “Vertical Scale”
can be used to display the current liquidlevel of a tank orthe charge state of a battery. The
257
RIEVTECH STUDIO SOFTWARE MANUAL
“Arc Scale” can display the value of a fuel meter, a speed meter, and other display
devices. The “Round Scale” can display the revolutionspeed, the angle and other
parameters.
4.6.8.1General
First, the option “Horizontal” is selected. Then you can do other settings for the
Horizontal Scale component.
258
RIEVTECH STUDIO SOFTWARE 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.
259
RIEVTECH STUDIO SOFTWARE 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.
260
RIEVTECH STUDIO SOFTWARE 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, youshould 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 tohide the
axis of the scale.
261
RIEVTECH STUDIO SOFTWARE MANUAL
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.
262
RIEVTECH STUDIO SOFTWARE MANUAL
4.6.8.1.3 Arc Scale
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.
263
RIEVTECH STUDIO SOFTWARE MANUAL
For the option “Position” in the “Scale” property box, the axis position of the sacle can
set “In”, “Out” and “Center”.
For the “RoundScale”, the only difference with the “Arc Scale” is that there is not
“Angle” settings. It is shown as below.
264
RIEVTECH STUDIO SOFTWARE 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.
265
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
266
RIEVTECH STUDIO SOFTWARE MANUAL
4.6.9.1General
267
RIEVTECH STUDIO SOFTWARE 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.
268
RIEVTECH STUDIO SOFTWARE 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.
269
RIEVTECH STUDIO SOFTWARE MANUAL
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.
270
RIEVTECH STUDIO SOFTWARE 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.
271
RIEVTECH STUDIO SOFTWARE MANUAL
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.
272
RIEVTECH STUDIO SOFTWARE 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 rownumber and the second records the selected column
number. The first row number and the first column number are 0.
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
273
RIEVTECH STUDIO SOFTWARE 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.
274
RIEVTECH STUDIO SOFTWARE 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
275
RIEVTECH STUDIO SOFTWARE MANUAL
The option “Increase” is used to set the minimum increase or decrease per each click.
It should set multiple of the “MinScale”.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 realtime 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.
4.6.10.4 SliderGraphics
The settings of the “Slider Graphics” property TAB are referred to: Detailed
manual/General functions/Drawing/Graphic edit.
4.6.10.5 DynamicGraphics
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.
276
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
Screen MovingRange
After check this option, you should set the upper limit and lower limit of the moving
range on the screen.
277
RIEVTECH STUDIO SOFTWARE MANUAL
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 “AxisLower 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.
InverselyProportional
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 ainverse proportion.
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.
278
RIEVTECH STUDIO SOFTWARE MANUAL
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
abit control window component in your project.
4.6.12.1.1 General
279
RIEVTECH STUDIO SOFTWARE MANUAL
Bit register triggers thepop-up of window
The option “Trigger Bit” is used to specify abit register to trigger a popup window. The
popup window is determined by the option “Popup Window ID No.”. If you select the
option “Popup On”, the window will popup when the bit register is ON.If you select the
option “Popup Off”, the window will popup when the bit register is OFF.
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.
280
RIEVTECH STUDIO SOFTWARE MANUAL
281
RIEVTECH STUDIO SOFTWARE MANUAL
For the above example, the word register is specified LW0 and a numeric value input
componentis 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.
282
RIEVTECH STUDIO SOFTWARE MANUAL
4.6.12.1.2 Display
The settings of the “Display” property TAB are referred to: Detailed manual/General
functions/Drawing/Display.
283
RIEVTECH STUDIO SOFTWARE MANUAL
4.6.12.2.1 General
284
RIEVTECH STUDIO SOFTWARE 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.
285
RIEVTECH STUDIO SOFTWARE 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.
286
RIEVTECH STUDIO SOFTWARE MANUAL
After checking the option “With Window Control Bar”, you can add the window title by
checking the option “Title”and add the window close button by checking the option “Close
Button”. The font of the window title can be set by clicking the button “Set Title”. The
details are referred to: Detailed manual/General functions/Drawing/Font settings.
After set the window control bar, the simulation running result is shown as below.
287
RIEVTECH STUDIO SOFTWARE MANUAL
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.
288
RIEVTECH STUDIO SOFTWARE MANUAL
289
RIEVTECH STUDIO SOFTWARE 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.
4.6.12.2.2 Display
290
RIEVTECH STUDIO SOFTWARE MANUAL
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” arebasically the same to the
"Alarming and Event History". Please refer to: Detailed manual/Component/List/Alarm and
Event History.
Note:
291
RIEVTECH STUDIO SOFTWARE MANUAL
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 displaysthe trigger status. It does not
confirm and restore the status.So the gray color options in the tablecan 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.
The “Alarming and Event History” function is to display all alarms entries in tabular
form, including the current and historical alarms and events.
292
RIEVTECH STUDIO SOFTWARE MANUAL
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 theproject
tree. The details are referred to:Detailed manual/Setup/System Settings/Alarm and Event.
Browse Method
293
RIEVTECH STUDIO SOFTWARE MANUAL
There are three browse methods: “Scroll Bar”, “Slide” and “Browser”.
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 isthat 0 represents
the records on the current day, 1 representsthe 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”
294
RIEVTECH STUDIO SOFTWARE MANUAL
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”
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 selectthe 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 contentsof the
title barcan be set to display by checking it. But the gray Display Items can not be
checked.
295
RIEVTECH STUDIO SOFTWARE MANUAL
For the order of the contents arrangement, you can use the button "Move Up" or
"Move Down" to modify it. The content on the toprow 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.
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.
“AlarmingStatus Display”
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 separatoramongyear,month and day. The
“Time Format” is used to set the time display format.
296
RIEVTECH STUDIO SOFTWARE MANUAL
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.
“Search mode”
297
RIEVTECH STUDIO SOFTWARE 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
“SearchByDate” 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.
“SearchTrigger Bit”
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 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.
“SearchRegister”
The “SearchRegister” 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 searchis 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.
298
RIEVTECH STUDIO SOFTWARE MANUAL
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 eventsin 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.
299
RIEVTECH STUDIO SOFTWARE 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 theproject
tree. The details are referred to:Detailed manual/Setup/System Settings/Alarm and Event.
Show List
300
RIEVTECH STUDIO SOFTWARE MANUAL
“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 remove the check.
“ListFont Setting”
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 selectthe option “Descending”, the higher level events are
displayed on the top.
301
RIEVTECH STUDIO SOFTWARE MANUAL
If you select the option “Ascending”, the display order is inverse.
“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.
“List settings”
The title bar contents of the alarm bar are set in the below table. The contentsof the
title barcan be set to display by checking it. But the gray Display Items cannot be checked.
302
RIEVTECH STUDIO SOFTWARE MANUAL
You can use the button "Move Up" or "Move Down" to modify the order of the display
items arrangement. The content on the toprow 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).
“Alarm StatusDisplay”
The alarm bar only displays the triggered alarms and events. So only the Trigger
Color can be changed.
“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 separatoramongyear,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.
303
RIEVTECH STUDIO SOFTWARE MANUAL
The function of the “Historical Data Display” is to display the sampling data in tabular
form. The display is continuously refreshedaccording to the specified sampling frequency.
304
RIEVTECH STUDIO SOFTWARE MANUAL
305
RIEVTECH STUDIO SOFTWARE MANUAL
4.6.13.2.1 General
Data Source
Select a data sampling from the pull-down list.If there is no data sampling, youcan
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.
306
RIEVTECH STUDIO SOFTWARE MANUAL
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”.
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 isthat 0 represents
the records on the current day, 1 representsthe 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 controlthe display or hiding of each column.
Show List
307
RIEVTECH STUDIO SOFTWARE 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.
308
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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 newestrecordwill display on the first row.
List Settings
309
RIEVTECH STUDIO SOFTWARE MANUAL
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 toprow will display on the left of the
Historical Data Display List. You can restore the default arrangement by clicking the
button "Restore Default ".
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
310
RIEVTECH STUDIO SOFTWARE MANUAL
Search mode
There are four search modes supported: “Search By Date”, “Search By Time Range”,
“Search By Sequence” 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
“SearchByDate” 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 ByteAddress
Input.
311
RIEVTECH STUDIO SOFTWARE MANUAL
The “SearchRegister” 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 searchis 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.
4.6.13.3 OperatorLog
The function of the “Operation Log” is to record therequired detailed operation of the
HMI device, such as a button is triggeredat a certain time, a value is modified at another
certain time, and so on.The “Operation Log component displaysthe detailed operating
records in the list form. You can search the records or export them.
Note 1:
312
RIEVTECH STUDIO SOFTWARE MANUAL
For the created components,the operations are not recorded by default. To record the
operation of a component, check the "RecordsOperation" 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 privilegeis 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.
313
RIEVTECH STUDIO SOFTWARE 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 isthat 0 represents
the records on the current day, 1 representsthe 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.
314
RIEVTECH STUDIO SOFTWARE MANUAL
Display the list
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.
315
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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 newestrecordwill display on the first row.
316
RIEVTECH STUDIO SOFTWARE MANUAL
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 toprow will display on the left of the Operator Log
List. You can restore the default arrangement by clicking the button "Restore to default
sorting".
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
317
RIEVTECH STUDIO SOFTWARE MANUAL
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
“CheckByDate” 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” mode is used.
The word register address input method is referred to: Detailed manual/General
functions/Address editor/Standard ByteAddress Input.
318
RIEVTECH STUDIO SOFTWARE MANUAL
the results which are not filtered. The bit address input method is referred to: Detailed
manual/General functions/Address editor/Standard Bit Address Input.
SearchRegister
The “SearchRegister” 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 searchis 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.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”.
319
RIEVTECH STUDIO SOFTWARE 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 ofthe touch trigger component can be triggered when the registerspecified
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.
320
RIEVTECH STUDIO SOFTWARE 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.
321
RIEVTECH STUDIO SOFTWARE MANUAL
Simulation Sliding
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.
322
RIEVTECH STUDIO SOFTWARE MANUAL
The “Trigger Condition” supports “Bit StatusChanging”, “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".
You can control the graphics canvas by bit registers. You can modify the canvas color
and the pen color, as shown as below.
323
RIEVTECH STUDIO SOFTWARE MANUAL
324
RIEVTECH STUDIO SOFTWARE MANUAL
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.
Ifany 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.
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
325
RIEVTECH STUDIO SOFTWARE MANUAL
registeraddresses. The color of pen brushis 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 indicateB (BLUE). The last 3 bits in the low byte + the first 3
bits in the high byte are used to indicateG (Green). The last 5 bits in the high byte are
used to indicate R (RED).
326
RIEVTECH STUDIO SOFTWARE MANUAL
4.6.15 Pipeline
The “Pipeline” component includes three types: Horizontal, Vertical and Elbow.
327
RIEVTECH STUDIO SOFTWARE 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.
328
RIEVTECH STUDIO SOFTWARE MANUAL
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.
329
RIEVTECH STUDIO SOFTWARE MANUAL
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.
330
RIEVTECH STUDIO SOFTWARE 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.
331
RIEVTECH STUDIO SOFTWARE MANUAL
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.
332
RIEVTECH STUDIO SOFTWARE 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.
333
RIEVTECH STUDIO SOFTWARE MANUAL
4.7Library
4.7.1GraphicsLibrary
Many graphics need to be used in the project configuration. The RievtechStudio
software has a graphics library which provides rich graphics. The users can also add their
own pictures to the library to use.
334
RIEVTECH STUDIO SOFTWARE MANUAL
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.
335
RIEVTECH STUDIO SOFTWARE MANUAL
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.
336
RIEVTECH STUDIO SOFTWARE MANUAL
The menu command “Browse Graphics Library” is used to open the “View Graphics
Library”. It is shown as below.
337
RIEVTECH STUDIO SOFTWARE MANUAL
You can filter to display the graphics by check the “Only Vector Graphics” or the “Only
Editable Graphics”.
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”.
338
RIEVTECH STUDIO SOFTWARE MANUAL
There are rich graphics in the GraphicsLibrary, such as Switch, Frame, Arrow, and so
on. You can view the directory on the left area of the “View Graphics Library” window by
clicking the button “Expand Branches” and select a required graphic from the directory.
339
RIEVTECH STUDIO SOFTWARE MANUAL
4.7.1.2.4 Favorites
The users can select favorite or popular graphics into the “Favorites” or a category
under the “Favorites”.The category under the “Favorites” can be added by clicking the
button “Add”. It can be renamed by clicking the button “Rename” or deleted by clicking the
button “Delete”.
340
RIEVTECH STUDIO SOFTWARE MANUAL
The selected graphic of the Graphics Library can be added to the Favorites or a
category of the Favorites by clicking the button “Add To Favorites Category”.
341
RIEVTECH STUDIO SOFTWARE MANUAL
4.7.2Text 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 modifyit 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.
342
RIEVTECH STUDIO SOFTWARE MANUAL
The “Text Library” window will pop up. It is shown as below.
4.7.2.1 Search
After enter the name requiredto find and click the button “Search”, all items which
match the contentwill 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.
343
RIEVTECH STUDIO SOFTWARE MANUAL
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” arereferred to:Detailed manual/
Setup/ System Settings/Language Settings.
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.
344
RIEVTECH STUDIO SOFTWARE MANUAL
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 displayssimultaneously 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:
Note:
345
RIEVTECH STUDIO SOFTWARE MANUAL
The name of the item cannot be blank and not be duplicated.
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 addressesin 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.
346
RIEVTECH STUDIO SOFTWARE 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.
347
RIEVTECH STUDIO SOFTWARE MANUAL
4.7.3.4 Delete
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.
348
RIEVTECH STUDIO SOFTWARE MANUAL
349
RIEVTECH STUDIO SOFTWARE 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.
350
RIEVTECH STUDIO SOFTWARE MANUAL
After you import the audio to the Audio Library andselect it, you can click the button
“Play Audio” to listen.
351
RIEVTECH STUDIO SOFTWARE MANUAL
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.
352
RIEVTECH STUDIO SOFTWARE MANUAL
4.7.5 Watch Address Table
‘’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) .
353
RIEVTECH STUDIO SOFTWARE 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.
354
RIEVTECH STUDIO SOFTWARE 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.
355
RIEVTECH STUDIO SOFTWARE MANUAL
356
RIEVTECH STUDIO SOFTWARE MANUAL
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.
357
RIEVTECH STUDIO SOFTWARE MANUAL
Add Tags
358
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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 ‘’Rievtech / abc.REAL’’, the
nature of this type is ‘’REAL’’.
359
RIEVTECH STUDIO SOFTWARE MANUAL
4.8Macro
4.8.1Create 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.
360
RIEVTECH STUDIO SOFTWARE 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.
361
RIEVTECH STUDIO SOFTWARE MANUAL
You can edit the macro code in the code editor window. The details are referred to:
Use topic/Macro.
4.8.2Edit Macro
Click the menu command "Macro/ Edit Macro", you can open the “Macro Instruction”
window. It is shown as below.
362
RIEVTECH STUDIO SOFTWARE MANUAL
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.
Click the menu command "Macro/Enable Password Verification", you can open the
"Set Macro Password" window.
363
RIEVTECH STUDIO SOFTWARE 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.
364
RIEVTECH STUDIO SOFTWARE MANUAL
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.
The menu command “Update Macro Password” is not available. It is shown as below.
After click the "Update Password Verification", the “Update macro password” window
will pop up.
365
RIEVTECH STUDIO SOFTWARE MANUAL
Enter the correct old password and valid new password, then clicking the button “OK”
to confirm the password modification.
After click thebutton “OK”, a “Warning” window will pop up to message that the old
password is error if the old password is not correct.
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.
366
RIEVTECH STUDIO SOFTWARE MANUAL
4.9.1General
4.9.1.1 Name
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 yougive a name "coffee" for a recipe, then
the whole name of the recipe is "RP_ coffee". The recipeword 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 byeach group of thisrecipe.
367
RIEVTECH STUDIO SOFTWARE MANUAL
4.9.1.3 Array Formula
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 recipein the “Address of
Recipe Storage” area. It is shown as below.
368
RIEVTECH STUDIO SOFTWARE 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 theaddress 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 isset 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.
369
RIEVTECH STUDIO SOFTWARE MANUAL
370
RIEVTECH STUDIO SOFTWARE 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 isset 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.
371
RIEVTECH STUDIO SOFTWARE 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.
372
RIEVTECH STUDIO SOFTWARE MANUAL
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.
373
RIEVTECH STUDIO SOFTWARE MANUAL
4.9.2.1.1 Name
It refers to the address offset ofthis 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.
374
RIEVTECH STUDIO SOFTWARE 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
addedbefore 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
entryis "16-bit Unsigned ". The Recipe Length is 10. The data setting of the entry is shown
as below.
375
RIEVTECH STUDIO SOFTWARE MANUAL
After click the button “OK” to confirm the entry setting, the “Data Information” setting
page of this recipe is shown as below.
Thus, a named "RP_coffee" recipe is created. It will be displayed in the project tree. It
is shown as below.
376
RIEVTECH STUDIO SOFTWARE MANUAL
4.10 Setup
4.10.1.1 Model
377
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
378
RIEVTECH STUDIO SOFTWARE MANUAL
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
ofthe 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.
Ifyou want to change the HMI device type for your project, you can click the button
“Exchange HMI”.
The “Change HMI Model” dialog will pop up after you click the button “Exchange
HMI”.
379
RIEVTECH STUDIO SOFTWARE MANUAL
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.
380
RIEVTECH STUDIO SOFTWARE 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.
381
RIEVTECH STUDIO SOFTWARE MANUAL
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
uploaded project file can be downloaded to the other HMI device by using the Rievtech
Studio software Tools.
Note:
The uploaded project file is a special archive. The project can be opened after
decompilation by the Rievtech Studio software.
Decompilation
382
RIEVTECH STUDIO SOFTWARE MANUAL
If you check “Decompilation” and set the “Password”, the project can be allowed
todecompile bytheRievtechStudio 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 fileafter
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.
383
RIEVTECH STUDIO SOFTWARE MANUAL
You can set a specified time to turn off the backlight after the lightness is
adjusted.The default value is 10. That meansit 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 “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.
384
RIEVTECH STUDIO SOFTWARE 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
InitialWindow
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.
385
RIEVTECH STUDIO SOFTWARE 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 slidethe HMI windowto 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.
386
RIEVTECH STUDIO SOFTWARE 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.
387
RIEVTECH STUDIO SOFTWARE 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.
388
RIEVTECH STUDIO SOFTWARE MANUAL
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.
389
RIEVTECH STUDIO SOFTWARE MANUAL
4.10.2.2.2 Performance
If you check the option “Disable Vector Font Bordline Blurring Processing”, the
display effect of the fontswill have some burr. It does not look smooth and good, but the
display speed is faster. You can use this optionto 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 notcheck 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.
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.
390
RIEVTECH STUDIO SOFTWARE MANUAL
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 defaultin the “Basic” property TABof
the new window. Another window effect is “Fade out”. The fade effect is only valid for the
capacitive HMI device.
Note:
The fade effect will produce an effect on the speed of switching windows
obviously.The economicHMI modelsare not suggested to be used.
391
RIEVTECH STUDIO SOFTWARE MANUAL
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.
392
RIEVTECH STUDIO SOFTWARE 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.
393
RIEVTECH STUDIO SOFTWARE MANUAL
4.10.2.3.1 Language
394
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
395
RIEVTECH STUDIO SOFTWARE MANUAL
4.10.2.3.2 Default Font
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”.
396
RIEVTECH STUDIO SOFTWARE 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
397
RIEVTECH STUDIO SOFTWARE MANUAL
For example, a font template is used in the property settings of a Static Text
component.
398
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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
399
RIEVTECH STUDIO SOFTWARE MANUAL
The“User Level” settings pagecan 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”.
400
RIEVTECH STUDIO SOFTWARE MANUAL
4.10.2.5.2 Edit
401
RIEVTECH STUDIO SOFTWARE MANUAL
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 shownas below.
402
RIEVTECH STUDIO SOFTWARE 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
403
RIEVTECH STUDIO SOFTWARE MANUAL
The“User Privilege” settings pagecan 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”.
After clicking the button "Add", the “User Privilege Settings” dialog will pop up.
404
RIEVTECH STUDIO SOFTWARE MANUAL
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.
405
RIEVTECH STUDIO SOFTWARE MANUAL
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.
4.10.2.6.4 Call
You can findsome windows which the system providesin 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.
406
RIEVTECH STUDIO SOFTWARE MANUAL
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.
407
RIEVTECH STUDIO SOFTWARE MANUAL
After click the button "New(N)", the “Task Schedule Details” window pop up. It is
shown as below.
408
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
409
RIEVTECH STUDIO SOFTWARE MANUAL
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
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.
410
RIEVTECH STUDIO SOFTWARE MANUAL
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
411
RIEVTECH STUDIO SOFTWARE MANUAL
Word Setting
Trigger Macro
Popup Window
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.
412
RIEVTECH STUDIO SOFTWARE MANUAL
After clicking the button "New" in the “Data Sampling” property TAB, the "Data
Sampling Property" dialog will pop up. It is shown as below.
413
RIEVTECH STUDIO SOFTWARE 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.
Aword 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 ofthe 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.
414
RIEVTECH STUDIO SOFTWARE MANUAL
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 samplingdata in the memoryis cleared.
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.
SamplingMode
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 WordTrigger Condition, you can refer
to:Detailed manual/General functions/Drawing/Logic Control.
415
RIEVTECH STUDIO SOFTWARE MANUAL
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
When you select “Unsave”, there will be a "Max Items" setting for the memory
occupation. The default is 1000. The maximumis 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:
416
RIEVTECH STUDIO SOFTWARE MANUAL
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” optionis 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” optionis setseveraldays 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 "DiscardNew Records" option.It is a
fixed-saving mode which the new records are no longer savedwhen the Flash memory is
full.
417
RIEVTECH STUDIO SOFTWARE MANUAL
If you check the option “When freespace 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 thefree 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 tothe “HMI”.
418
RIEVTECH STUDIO SOFTWARE MANUAL
Add channel
After clicking the button “Add”, an item will be added. It is shown as below.
419
RIEVTECH STUDIO SOFTWARE MANUAL
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”.
You can create many channels by clicking the button "Add". The addresses of the
data recordare continuous and specified automatically.It is shown as below.
420
RIEVTECH STUDIO SOFTWARE MANUAL
The default value of “Samples Each Time” is 1. That means that one data is
sampledeach 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.
421
RIEVTECH STUDIO SOFTWARE 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.
422
RIEVTECH STUDIO SOFTWARE MANUAL
You can set the non-serial address sampling channel if the option is not checked.
423
RIEVTECH STUDIO SOFTWARE MANUAL
Click the "Non-Serial Address Channel" button, then the "Non-Serial Address
Channel" page will display.
424
RIEVTECH STUDIO SOFTWARE MANUAL
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:
425
RIEVTECH STUDIO SOFTWARE 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
onethe 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.
426
RIEVTECH STUDIO SOFTWARE MANUAL
Click the button "Add" in the “PLC Control” settings page, the “PLC Control Details”
settingsdialog will pop up. It is shown as below.
427
RIEVTECH STUDIO SOFTWARE MANUAL
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”.
You can switch the basic window of the HMI by changing the value of a register.
428
RIEVTECH STUDIO SOFTWARE MANUAL
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
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.
429
RIEVTECH STUDIO SOFTWARE MANUAL
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
Rievtech 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 switch the first basic
430
RIEVTECH STUDIO SOFTWARE MANUAL
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.
431
RIEVTECH STUDIO SOFTWARE 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.
Adjust to LowestBrightness
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.
432
RIEVTECH STUDIO SOFTWARE MANUAL
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 aMacro, there will be a red
433
RIEVTECH STUDIO SOFTWARE MANUAL
exclamation mark to prompt that any one macro has not been established. Click the
button "Macro Code", you can open theEdit 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.
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.
Buzzer
434
RIEVTECH STUDIO SOFTWARE MANUAL
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 anaudio 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.
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 ifthe
specified bit register is ON.
435
RIEVTECH STUDIO SOFTWARE MANUAL
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”.
436
RIEVTECH STUDIO SOFTWARE MANUAL
4.10.2.10.1 Group
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”.
437
RIEVTECH STUDIO SOFTWARE MANUAL
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.
438
RIEVTECH STUDIO SOFTWARE MANUAL
After selecting a Group, then click the button “Create”, the “Alarm and Event Detailed
Setting” window will pop up. It is shown as below.
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.
TriggerCondition
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.
439
RIEVTECH STUDIO SOFTWARE MANUAL
Description: Text Lib
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
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.
440
RIEVTECH STUDIO SOFTWARE MANUAL
441
RIEVTECH STUDIO SOFTWARE 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”.
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
442
RIEVTECH STUDIO SOFTWARE MANUAL
Select aMacro 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
WordAddress
Popup Window
4.10.3Communication Settings
Select the corresponding COM port (COM1, COM2, COM3, or COM4) property TAB
to set the communication parameters.
443
RIEVTECH STUDIO SOFTWARE MANUAL
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
444
RIEVTECH STUDIO SOFTWARE MANUAL
The option “Manufacturer” is used to set the manufacturer of the connected PLC.
Device Type
The Device Type refers to the corresponding type of the connected PLC.
445
RIEVTECH STUDIO SOFTWARE MANUAL
The option “Pre-set Station No.” is used to set the PLC station number. You can set it
byConstant orVariable.
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
446
RIEVTECH STUDIO SOFTWARE MANUAL
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”.
447
RIEVTECH STUDIO SOFTWARE MANUAL
448
RIEVTECH STUDIO SOFTWARE MANUAL
Device Type
The Device Type includes Barcode, Rievtech SLAVE and Modbus RTU Server. It is
shown as below.
Device Alias
449
RIEVTECH STUDIO SOFTWARE MANUAL
Server Station No.
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.
Reset: the default settings will be restored if you click the button “Reset”.
450
RIEVTECH STUDIO SOFTWARE MANUAL
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.
451
RIEVTECH STUDIO SOFTWARE 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 connectedin an Ethernet
network.For HMI1 device, HMI2 is the "remote HMI" of HMI. For HMI2 device, HMI isthe
"remote HMI" of HMI2.
After clicking the button "Add" in the “Remote HMI” settings page, the “Remote HMI”
settingsdialog will pop up. It is shown as below.
452
RIEVTECH STUDIO SOFTWARE 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”. For example,the
IP addressof 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.
453
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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".
Click the button "OK" to confirm the settings. And the "Remote HMI" settings page is
shown as below.
454
RIEVTECH STUDIO SOFTWARE MANUAL
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.
455
RIEVTECH STUDIO SOFTWARE MANUAL
After finishing setting the "Remote HMI", the local HMI can access all the registers of
the "Remote HMI", including theLW, RW, SRW, LB, SRB and other registers.
If you need to add other remote HMIs, you can add them by referring to the above.
The Remote PLCrefers 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.
456
RIEVTECH STUDIO SOFTWARE MANUAL
After clicking the button "Add" in the “Remote PLC” settings page, the “Remote PLC”
settingsdialog will pop up. It is shown as below.
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
457
RIEVTECH STUDIO SOFTWARE MANUAL
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
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".
DefaultStation No.
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.
458
RIEVTECH STUDIO SOFTWARE MANUAL
Click the button "OK" to confirm the settings and the "Remote PLC" device is added
to the “Remote PLC” settings page.
459
RIEVTECH STUDIO SOFTWARE MANUAL
You can find the remote PLC device in the "Device Type" of the component. For
example, it is shown as below.
460
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
461
RIEVTECH STUDIO SOFTWARE MANUAL
After click the button "Add" in the “Ethernet PLC” settings page, the “Ethernet PLC”
settingsdialog will pop up. It is shown as below.
462
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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 5001 for the "RIEVTECH FBD_ETH".
The "Manufacturer", "Device Type", "Device Alias," "DefaultStation No." are same as
the settings in the "Remote PLC".
463
RIEVTECH STUDIO SOFTWARE MANUAL
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 “RIEVTECH FBD_ETH” is selected
as the device type. The result of settings is shown as below.
If you need to add other EthernetPLCs, you can add them by referring to the above.
464
RIEVTECH STUDIO SOFTWARE MANUAL
You can realize theconnections 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
Servicerefers to that the HMI device providesthe data requested by other devices.
The HMI is a slave device. The portis static. All communication operations should be
initiated by other master devices.
465
RIEVTECH STUDIO SOFTWARE MANUAL
The Device Type can be Barcode, RievtechSLAVE 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 Rievtech SLAVE device is supported and the HMI can work as a slave
or a master device. The Modbus RTU Server is referred to:Detailed
manual/Setup/Communication Settings/Local Connection/Provide Service (Slave).
466
RIEVTECH STUDIO SOFTWARE MANUAL
4.10.3.3.2 Network 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 Rievtech 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 Rievtech 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.
467
RIEVTECH STUDIO SOFTWARE 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.
468
RIEVTECH STUDIO SOFTWARE MANUAL
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
If you check the “Automatically load the previously closed project” option, the last
closed project will be opened automatically when the Rievtech Studio software is opened.
469
RIEVTECH STUDIO SOFTWARE MANUAL
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.
470
RIEVTECH STUDIO SOFTWARE MANUAL
You can open the file folder “Backup Projects” by clicking the button “View backup
project”.
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.
471
RIEVTECH STUDIO SOFTWARE MANUAL
4.11 Tools
In the Rievtech 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”.
1 Compile
472
RIEVTECH STUDIO SOFTWARE MANUAL
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 andall 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
orFpgFile). You can check the deleteoptions 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 RievtechStudio software.
473
RIEVTECH STUDIO SOFTWARE 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 uploadedby the USB
or Ethernet communication mode. The configuration information can be Project, RW Data,
Recipe or Logs.
474
RIEVTECH STUDIO SOFTWARE MANUAL
6 Decompile
The Fpg File can be decompiled to project if you check “Decompilation” to enable
decompile function in the Global Settings of the System Settings
475
RIEVTECH STUDIO SOFTWARE MANUAL
7 Offline Simulation
The tool of the “Offline Simulation” is used to simulate the project running in offline.
4.12 Help
In the Rievtech Studio software, the Help menu includes: Online Help, Help, Check
for Updates, and About(software version).
1 Online Help
You can find the online help when you click the command “Online Help”.
476
RIEVTECH STUDIO SOFTWARE MANUAL
The RievtechStudio software will be updated by using the internet when you click the
menu command “Check for Updates”.
3 About
The current Rievtech Studio software version information and copyright declaration
will be displayed when you click the menu command “About”.
In the software Rievtech Studio, the "Standard Bit Address Input" function will be
used 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.
477
RIEVTECH STUDIO SOFTWARE MANUAL
In the Rievtech Studio software, the corresponding bit address symbols are given
according to the various connected devices. For the Rievtech PLC FBD_Serial, I
represents the input address, C represents the cursor key address, Q represents the
output address, F represents the digital flag address, M represents the block status
address, and S represents the shift register bit 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 a reset as follows.
478
RIEVTECH STUDIO SOFTWARE 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.
479
RIEVTECH STUDIO SOFTWARE 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).
480
RIEVTECH STUDIO SOFTWARE 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.
481
RIEVTECH STUDIO SOFTWARE MANUAL
In the software Rievtech Studio, the "Standard ByteAddress Input" function will be
used frequently. By this function, you can input thebyte or word address which is
connected with a device and the value of this address will be displayed.The function can
easily realize the connectionwith each PLC. The “Standard Byte Address Input” window is
as shown as below.
482
RIEVTECH STUDIO SOFTWARE MANUAL
483
RIEVTECH STUDIO SOFTWARE 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 areset as follows.
If you find the data refresh rate is a little slow, you can change the communication
rate as follows.
484
RIEVTECH STUDIO SOFTWARE 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 beD (0 + LW0).
485
RIEVTECH STUDIO SOFTWARE 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.
486
RIEVTECH STUDIO SOFTWARE 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.
487
RIEVTECH STUDIO SOFTWARE MANUAL
You can change the border color by using the list or the button “ ”.
After double-click the figure you have drawn,you can view and select the fill type and
the fill color.
1 SolidColor
488
RIEVTECH STUDIO SOFTWARE MANUAL
In this fill type, you can select a kind of color for the background of the figure from the
2 Pattern
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 gradientfill type, you can select the background color, the foreground color,
gradual approach and gradient filling effect.
4.13.3Font settings
489
RIEVTECH STUDIO SOFTWARE MANUAL
1 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.
490
RIEVTECH STUDIO SOFTWARE MANUAL
Note: the "Disable Vector Font Bordline Blurring Processing" can be set in the path:
Project/Local HMI/System Settings/Extended Settings.
Advantages
OccupyLess 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.
2 Graphical Font
Regard the string as a whole and save it as a bitmap to the project.
Disadvantages
Occupymore 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 fontdisplays in the max width size. The max width of the font is
greater if the font sizeis greater.
491
RIEVTECH STUDIO SOFTWARE MANUAL
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 thefont position of the current components.
492
RIEVTECH STUDIO SOFTWARE MANUAL
493
RIEVTECH STUDIO SOFTWARE MANUAL
494
RIEVTECH STUDIO SOFTWARE MANUAL
4 Favorites
After clicking the button “Favorites”, you can add the current selected graphic to a
specifiedFavorites 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.
495
RIEVTECH STUDIO SOFTWARE MANUAL
6 Shadow Effect
Double click the graphic you have drawn in the Graphics Edit window to modify
the properties of it. After checking theShadow Effect (see Figure a), you can add the
shadow effect for the selected graphic (see Figure b).
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)!
496
RIEVTECH STUDIO SOFTWARE MANUAL
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)!
497
RIEVTECH STUDIO SOFTWARE MANUAL
①Activation Settings
Always
The current component can always be operated if you use the option “Always”.
498
RIEVTECH STUDIO SOFTWARE MANUAL
Conditional
IndicatingInvalid Mark
499
RIEVTECH STUDIO SOFTWARE MANUAL
After checking the option “IndicatingInvalid Mark”, the prohibited markwill display on
the component if the operating conditions are not met. Theprohibited markis shown as
below.
When you check the option “Hide when conditions arenot met”, the component will hide if
the operating conditions are not met.
Automatic pop-up password window
500
RIEVTECH STUDIO SOFTWARE 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
501
RIEVTECH STUDIO SOFTWARE MANUAL
After checking this function, you need to enter the appropriate user level password to
operate the device. It is shown as below.
502
RIEVTECH STUDIO SOFTWARE MANUAL
Privilege User
After checking this function, you need tologin byusing the corresponding user
privilege to operate the component. It is shown as below.
Logic control
503
RIEVTECH STUDIO SOFTWARE MANUAL
After checkthis function, the component can be operated when the specified
conditions are satisfied. The conditions can be multiple logical operations.
②Security Settings
MinimumPress Time
504
RIEVTECH STUDIO SOFTWARE 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.
505
RIEVTECH STUDIO SOFTWARE MANUAL
If this function is checked, a confirmation dialog box will pop up automatically.It will
keep the display status for the “Waiting Time” if you don’t confirm or cancel it. It is shown
as below.
Records Operation
506
RIEVTECH STUDIO SOFTWARE MANUAL
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.
MinimumOperation Interval
507
RIEVTECH STUDIO SOFTWARE MANUAL
4.13.6 Display
①Position
508
RIEVTECH STUDIO SOFTWARE MANUAL
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
509
RIEVTECH STUDIO SOFTWARE 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
510
RIEVTECH STUDIO SOFTWARE MANUAL
If you select the “Always Display” function,the component will always be visible when
the project is running. It is the default setting.
③ConditionalDisplay
Level User
511
RIEVTECH STUDIO SOFTWARE MANUAL
If you check this function, the component will be visible after you entering the
appropriate user level password.
Privilege User
512
RIEVTECH STUDIO SOFTWARE MANUAL
If you check this function, the component will be visible after you login by using the
corresponding user privilege.
Logic Control
513
RIEVTECH STUDIO SOFTWARE 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.
514
RIEVTECH STUDIO SOFTWARE MANUAL
①Mode
Touch Control
The keyboard will be popped up if you click the HMI input component.
Bitcontrol
②Keyboard Settings
Use pop-up keyboard
You can select the Keyboard Type from the system-provided keyboard types.
515
RIEVTECH STUDIO SOFTWARE MANUAL
516
RIEVTECH STUDIO SOFTWARE MANUAL
Pop-up position
517
RIEVTECH STUDIO SOFTWARE 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
518
RIEVTECH STUDIO SOFTWARE 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.
519
RIEVTECH STUDIO SOFTWARE 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 contentwill 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.
520
RIEVTECH STUDIO SOFTWARE MANUAL
The text in the Tag Content edit box can be copied to all languages, all status or all
languages and all status.
521
RIEVTECH STUDIO SOFTWARE 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 alsoimport 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:
Project/Local HMI/System Settings/Extended Settings.
Advantages
OccupyLess 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
522
RIEVTECH STUDIO SOFTWARE MANUAL
8 Marquee
In the RievtechStudio software, every label of the component can be set to display by
scrolling the fonts. The scrolling direction, step length, speed, etc. can be set separately.
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.
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 PixSpeed. The setting is shown as below.
523
RIEVTECH STUDIO SOFTWARE MANUAL
524
RIEVTECH STUDIO SOFTWARE MANUAL
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.
3 PixSpeed
The option “PixSpeed” is used to set the moving speed of fonts scrolling. The unit of
PixSpeed is 0.1 seconds. The range of PixSpeed 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.
525
RIEVTECH STUDIO SOFTWARE MANUAL
526
RIEVTECH STUDIO SOFTWARE 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
527
RIEVTECH STUDIO SOFTWARE MANUAL
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 theaddress of “Bit Register" LB0,
andset the Condition "ON". It is shown as below.
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.
528
RIEVTECH STUDIO SOFTWARE MANUAL
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.
529
RIEVTECH STUDIO SOFTWARE MANUAL
The setting is shown as below if you select “AND” in the second list.
530
RIEVTECH STUDIO SOFTWARE MANUAL
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.
531
RIEVTECH STUDIO SOFTWARE 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.
532
RIEVTECH STUDIO SOFTWARE MANUAL
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.
After checking the "Shadow Effect", the setting options such as Color and Shadow
Excursion will be displayed.Otherwise the options are not visible.
533
RIEVTECH STUDIO SOFTWARE MANUAL
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 Excursionincludes 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 propertyof “Position”. You can find it in the “General”
property TAB or the “Display” property TAB of the component.
534
RIEVTECH STUDIO SOFTWARE MANUAL
535
RIEVTECH STUDIO SOFTWARE MANUAL
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:
Inthis 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.
536
RIEVTECH STUDIO SOFTWARE 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 fixedpoints. 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
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.
537
RIEVTECH STUDIO SOFTWARE MANUAL
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.
538
RIEVTECH STUDIO SOFTWARE MANUAL
You need to check the option “Use Dynamic Graphics” in the property TAB of
“Dynamic Graphics” if you want to use the dynamic graphics function.
②Control Address
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 controlare based on the "fixed point" of the
component. The fixed point is referred to:Detailed manual/General
function/Drawing/Rotation.
539
RIEVTECH STUDIO SOFTWARE MANUAL
You can change the background color and the title bar background color.
You can change the outlinestyle, the split line style, the line width and the line color.
540
RIEVTECH STUDIO SOFTWARE MANUAL
You can display the grid line after check the “Row Split Line” and the “Column Split
Line”. It is shown as below.
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.
541
RIEVTECH STUDIO SOFTWARE MANUAL
542
RIEVTECH STUDIO SOFTWARE 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 exportinglocation.
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.
543
RIEVTECH STUDIO SOFTWARE MANUAL
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 anumeric 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 tobe specified to save
the file name which is input when it is needed.
Please use the character input component toinput 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
544
RIEVTECH STUDIO SOFTWARE MANUAL
5.2 Reference
The types of Reference include “Data Sampling”, “Address Label”, “Address”, “Macro”,
“Graphics”, “Text”, “Sound”, “Formula”, “Recipe address”, “Window”, “Fonts”, and “Device”.
For example,all the uses of "Data Sampling" in the current project are listed in the following
after select it.
545
RIEVTECH STUDIO SOFTWARE MANUAL
For example,all the uses of "Address Label" in the current project are listed in the following
after selecting it.
For example,all the uses of "Address" in the current project are listed in the following after
selecting it.
546
RIEVTECH STUDIO SOFTWARE MANUAL
For example,all the uses of "Macro" in the current project are listed in the following after
selecting it.
For example,all the uses of "Graphics" in the current project are listed in the following after
selecting it.
547
RIEVTECH STUDIO SOFTWARE MANUAL
For example,all the uses of "Text" in the current project are listed in the following after
selecting it.
For example,all the uses of "Sound" in the current project are listed in the following after
selecting it.
548
RIEVTECH STUDIO SOFTWARE MANUAL
For example,all the uses of "Formula" in the current project are listed in the following after
selecting it.
For example,all the uses of "Recipe Address" in the current project are listed in the following
after selecting it.
549
RIEVTECH STUDIO SOFTWARE MANUAL
For example,all the uses of "Window" in the current project are listed in the following after
selecting it.
For example,all the uses of "Fonts" in the current project are listed in the following after
selecting it.
550
RIEVTECH STUDIO SOFTWARE MANUAL
For example,all the uses of "Device" in the current project are listed in the following after
selecting it.
5.3 Outline
It will display all components of the current work windowin the “Outline”window.
551
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
552
RIEVTECH STUDIO SOFTWARE MANUAL
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.
When you click the right tool “ ”, it will change to “ ” and lock the corresponding
553
RIEVTECH STUDIO SOFTWARE MANUAL
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
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.
5.4 Macro
554
RIEVTECH STUDIO SOFTWARE MANUAL
5.4.1 Macro Editor Introduction
The Macro Editor can be opened by clicking “Create Macro” or “Edit Macro” from the
“Macro” menu. It is shown as below.
Shortcut Tools BarcontainsCreateMacro, 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.
555
RIEVTECH STUDIO SOFTWARE MANUAL
AddNew Address: Add a new address alias for the current macro.
5.4.1.2Address 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”.
5.4.1.3Macro Code
556
RIEVTECH STUDIO SOFTWARE 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 ofthe macro.
5.4.1.4Code EditorWindow
557
RIEVTECH STUDIO SOFTWARE MANUAL
Code EditorWindow 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.
558
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
559
RIEVTECH STUDIO SOFTWARE MANUAL
Find and Replace function can provide a more convenient method of editing the
macro codes. It can perform jump between lines and you canview the macro reference
here.
5.4.1.7Information List
560
RIEVTECH STUDIO SOFTWARE MANUAL
Information List window displays prompts and error messages when the macro
compile. You can double-click the error message entryin the list if compiling errors occur.
It will quickly navigate to the position where this error occurs.
Add a numeric value input component in the window and set the address as LW0.
561
RIEVTECH STUDIO SOFTWARE MANUAL
Add a numeric value display component in the window, and set the address as LW1.
562
RIEVTECH STUDIO SOFTWARE MANUAL
Add textdescription for the two numeric value components, as shown as below.
563
RIEVTECH STUDIO SOFTWARE MANUAL
Add anaddress statement.Define the LW starting addressLW0 as LW_Start_Addr.
564
RIEVTECH STUDIO SOFTWARE MANUAL
565
RIEVTECH STUDIO SOFTWARE MANUAL
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.
566
RIEVTECH STUDIO SOFTWARE 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”.
567
RIEVTECH STUDIO SOFTWARE 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 settingsand timer function.
568
RIEVTECH STUDIO SOFTWARE MANUAL
569
RIEVTECH STUDIO SOFTWARE MANUAL
In this example, executethe “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.
570
RIEVTECH STUDIO SOFTWARE MANUAL
571
RIEVTECH STUDIO SOFTWARE MANUAL
Offline simulation can be executed to verify the correction of the functionafter
theabove steps are finished.
A “Clear Records” message box will pop up. After clicking the button “OK”, the project
will compile.
572
RIEVTECH STUDIO SOFTWARE MANUAL
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.
Inputthe value 100 to LW0.The output value of LW1 willbe 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.
573
RIEVTECH STUDIO SOFTWARE MANUAL
Inputthe value 400 to LW0.The output value of LW1 willbe 800 according to the rules
that the output value will be 2 times as much as the input value if the input value isnot less
than or equal to 300.
If the user can not receive the automatic update reminders, the following solutions are
given.
(1) Execute “cmd” inthe administrator mode.Please input the following commands.
rmdir /s /q “%userprofile%\wc”
6 Appendix
The Type of HMI register includes "Word" register and "bit register".
574
RIEVTECH STUDIO SOFTWARE MANUAL
LW:Aninternal "Word Register" in HMI. The data is lostwhen the power is off.The
register address range is 0 - 799,999.
RW: An internal "Word Register" in HMI. The data can be saved if power is off. The
register address range is 0 - 524288.
575
RIEVTECH STUDIO SOFTWARE 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.
576
RIEVTECH STUDIO SOFTWARE MANUAL
577
RIEVTECH STUDIO SOFTWARE 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.
578
RIEVTECH STUDIO SOFTWARE MANUAL
Return Value: BOOL, the value of the bit which was read
Error Information:
int error=GetError();
Example:
579
RIEVTECH STUDIO SOFTWARE MANUAL
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:
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.
580
RIEVTECH STUDIO SOFTWARE MANUAL
Error Information:Get the error code using GetError() function.
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.
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".
581
RIEVTECH STUDIO SOFTWARE MANUAL
intGetMem( Array Pointer,@AddressAlias@,AddressOffset,Byte Number ):
@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:
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"
582
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
583
RIEVTECH STUDIO SOFTWARE MANUAL
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.
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.
584
RIEVTECH STUDIO SOFTWARE MANUAL
@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];
@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:
585
RIEVTECH STUDIO SOFTWARE MANUAL
int error = CallMacro("Macro_1");
intGetError( ):
No input parameters.
0-Not executed
1-Success
2-Timeout
3-Error
5-Communication failure
Example:
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...
586
RIEVTECH STUDIO SOFTWARE MANUAL
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...
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...
587
RIEVTECH STUDIO SOFTWARE MANUAL
Buffer Pointer: the pointer to the buffer array
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.
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:
588
RIEVTECH STUDIO SOFTWARE MANUAL
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);
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
printffunction 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.
589
RIEVTECH STUDIO SOFTWARE MANUAL
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;
Debug(0,"itest=%d\n ftest=%2.3f\n",itest,ftest);
Output Result:
itest=12
ftest=65.432
590
RIEVTECH STUDIO SOFTWARE MANUAL
Example:
6.2.4 Operator
Example:
inti;
i=100;
There will be some system prompts when an error occurred during the Rievtech
Studio software is running. The error information saves in the internal address SRW70.
591
RIEVTECH STUDIO SOFTWARE MANUAL
SRW70 = 12- Log in repeatedly
592