0% found this document useful (0 votes)
245 views

Manual LevistudioU PDF

This document introduces an HMI programming software. It discusses decompiling projects copied from other HMIs, downloading projects and firmware to HMIs via USB drives, creating new projects and designing screens, adding objects like buttons and alarms, compiling projects, and downloading compiled projects to HMIs via cables or USB drives. Key functions covered include decompiling, downloading to HMIs, creating and designing projects and screens, adding objects, compiling, and downloading projects to HMIs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
245 views

Manual LevistudioU PDF

This document introduces an HMI programming software. It discusses decompiling projects copied from other HMIs, downloading projects and firmware to HMIs via USB drives, creating new projects and designing screens, adding objects like buttons and alarms, compiling projects, and downloading compiled projects to HMIs via cables or USB drives. Key functions covered include decompiling, downloading to HMIs, creating and designing projects and screens, adding objects, compiling, and downloading projects to HMIs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 291

Welcome

HMI So ware
Human Machine Interface (HMI) Programming So ware, It is a HMI programming tool.
This Help document will brifly introduce the func ons, programming process for the so ware.
Software Homepage
Start so ware:

Figure 1
1. Decompile:
HMI project copied from HMI need to be de-compiled first.

Figure 2
Property Descrip on
HMT File Select exis ng HMT file from local folder.
Save to Saving loca on of decompiled HMI project.
Require password if the uploaded project comes with designer
Project Password
password.
2. Udisk Download:
Hold right top corner of HMI for 5 seconds to enter [Setup Screen].
Figure 3
Property Descrip on
Select HMI project file which end with "HMI", this project file
will be downloaded to HMI via USB disk (Insert USB Disk to
Project file HMI , then go to [Setup Screen] of HMI, then click [Copy
HMT]).
Select Firmware file which end with "OSF",this firmware file
will be downloaded to HMI via USB Disk(Insert USB Disk to
Firmware file
HMI, then go to [Setup Screen] of HMI, then click [Update
OSF]).
Demo Projects
Various small demo projects are provided to illustrate several aspects of using the HMI programming.
All of the demo projects are exis ng in [Demo Projects] which under so ware installa on folder.

Functions:
1. Anima on
2. Change Screen by Address
3. Data Record to UDisk
4. Discrete Recipe
5. File List Recipe
6. Simple Recipe
Script:
7. Four Arithme c Opera ons
8. Timer
9. Determine
Extensions:
10. User Restric on
11. Short Message
Communication:
12. Open CAN
13. Siemens S7-1200 Ethernet
14. User-Defined Protocol
15. Modbus RTU-Client
16. Modbus RTU-Host
17. Modbus TCP_Host
18. Modbus TCP_Client
19. Mul Link_Client
20. Mul Link_Host
Start a new project
The new project can be created by selec ng [Project]-[New Project] form the menu bar, or clicking the [New Project] on tool bar.
Location and Name:

Project name :“Newproject” by default, it can only contain a~z, 0~9.


Select a loca on to save the project files.
Choose “HMI” or “PLC” model from the list.

Figure 1
Project Properties
1. Select template, the project will be created as the template se ng.
2. Customize the ini al screen and project style.

Figure 2
There are four parts in Project Manager, including Project Screen, Built-in screen, Project Setting, Library and Script.
1. Project Screen: All screens in this project.
2. Built-in scree: All built-in screens in this project, including Common Screen, Keypad Screen etc.
3.Project Proper es:The project configura on informa on, for example, screen style, recipe, bit alarm, data record, ect.
4. Library: library informa on includes address, text, gallery and font.
5. Script: global script, global func on and background script can be configured to achieve advanced func on.

Figure 3

The HMI model can be changed by selec ng [Se ng]- [project proper es].
Figure 4
Screen Desing

Project editor is a integrated development environment that combine the project management and screen design, user can design a new screen a er
the project created.

Figure 1
Add Screen
The new screen can be created by clicking “new screen” on the tool bar.

Figure 1

General:screen number and screen name (Screen No. should be unique).


Screen security: set the security level for different authoriza on level.
Background: screen background can be filled with single color or picture, the resolu on of background picture and screen should be same .
Sub-screen: create the new screen as sub-screen.
Click [OK] to complete crea ng new screen.

Figure 2
Add Bit Switch
Add objects to the screen, to meet the different requirement of automa on control.
Select [Bit switch] from [objects Library].
Le click on screen to locate the posi on of "Objects" , then drag mouse to define a area for the object, le click again to finish adding the bit switch.
Double click the "Objects" to edit its proper es.

Figure 1
Address Setting
Edit the proper es by double click the “Object” to open the proper es window.
The address can be entered manually or edited by address editor.

Figure 1
Appearance
The appearance se ng can be found in [Object Proper es] - [Graphic].
Some picture can set different colors for different states.

Figure 1

Figure 2
Gallery
Select [Use picture]- [Object Proper es] - [Graphics] to customize the switch appearance.

Figure 1

Double click to select the picture from the gallery.

Figure 2

The pictures used in the project are all shown in the gallery.
Figure 3
Property Descrip on
Import Picture Import the picture to the project.
Import/Export Export Picture Export the picture from the project to local folder.
Export Gallery Export the en re gallery from the project.
New Create a mul ple state picture.
Mul -States
Edit Edit a mul ple state picture.
Edit Transparency To make designated color transparent.
Add Bit Lamp
1. Add a bit indicator to the screen.
2. Set the read address corresponding to the device.
3. Set the suitable appearance for bit lamp.

Figure 1
Add Text
1. Add text for the bit switch to dis nguish from others.
2: Double click the object, enter “Hello World” in the text box.

Figure 1
Add Bit Alarm
Add the Bit Alarm from [Property Se ng]-[Project Se ng]-[Bit Alarm] o r click [se ng]-[Bit Alarm] on menu bar to add bit alarm.
Set the alarm bit address, trigger mode and other alarm informa on.

Figure 1

Place the alarm bar on the screen, the alarm text will display when the state of the bit address meet the demand of the trigger mode.

Figure 2
Compile
Click [Tool]-[Compile] or select the icon on the toolbar to start compiling.
The project needs to be compiled before downloading or running simulator:
Checking the error exis ng in project.
Op mizing project to make the screen running faster on the HMI.
Processing the project fronts.
Compiling the HMI project to create project file with extension "HMT", which can be recognized by HMI.
Project Download/Upload
project download/upload is a process to transfer compiled project file to the HMI, via serial cable,USB cable or U disk.
1. Connect HMI with PC via proper download cable,before downloading.
2. HMI will enter download mode automa cally,a er HMI connected.
3. C lick [Tool]-[Download] on menu bar to open "Download Tool".

Figure 1
4. The "Download Tool" can be found on so ware installa on folder.

Figure 2
property Descrip on
The port on PC used to connect with HMI (serial cable or USB
Download
cable).
Baud rate 115200 bps by default.
Select a file type to download to HMI, including project file,
File type
recipe,Firmware.
Uploading password. go to {Project Proper es]-[Screen Security]-
Password
[Designer password]to set the password.
Advanced
The selected items will not be deleted during downloading.
Se ng
HMI->PC Upload project file from HMI to PC.
PC->HMI Download file from PC to HMI.
Recalibra on Recalibrate HMI touch screen.
Sync HMI me Update the HMI system me with PC me.
HMI version Check the HMI firmware version.
5. Restart HMI to take effect by clicking a er HMI project downloaded.
Recipe Download/Upload
Recipe upload/download is the process to download recipe file , Select [File Type] as "Recipe File" then click [HMI->PC] or [PC->HMI].

Figure 1
Simulation
HMI programming so ware provide two types simula on to user : Offline simulator and online simulator.
Offline simula on:[tool]-[offline simula on]
Online simula on:[tool]-[online simula on]
Of line Simulation
Offline simula on is the process to simulate the HMI project without any connec on, the project opera on can be simulated on PC before
downloading to HMI.
Online Simulation
Online simula on is a process to simulate HMI project with external device connec on, it enables the connec on between Device and PC without
connec ng HMI. The project file can be edited before downloading and greatly saves me
there is a 30-minute online simula on limit.
New Screen
Click [screen]-[new screen] to add a new screen, or choose new screen from the toolbar.

Figure 1

Figure 2

Figure 3
Property Descrip on
Screen No. Screen number can only contain 0~9.
Name Screen name can only contain 0~9, a~z.
Screen security User can set the security level of screen.
Background Screen background se ng.
Sub-screen Set the screen as sub-screen.
Screen and Sub-screen
Basic screen can be displayed on HMI, sub-screen can only be displayed based on basic screen.
The difference between basic screen and sub-screen:

Item Screen Sub-screen


The screen can be changed by
func on Switch directly, only sub-screen can only be displayed
Display this kind of screen can be based on basic screen.
startup screen.
The full size of the touch Set the screen size according to
Size
screen. the demand.
Display Basic screen can display on The order of sub-screen display
Layout so ware directly. depends on screen objects layout.
Delete Screen
The opera on will permanently deleted screen.

Figure 1
Screen Properties
Screen number should be unique.
Open screen proper es dialog to edit its proper es.

Figure 1
Right click on the working area, select [screen proper es] to edit screen proper es.

Figure 2
Copy Screen
Copy a new screen from local project or other exis ng project.

Figure 1
No ce: the picture cannot be copied automa cally when copy the screen.

Figure 2
Property Descrip on
Local Copy screen from current project.
System Copy screen from current built-in project, like keypad screen etc.
Others Copy the screen from other exis ng project.
Screen List All of the screens in this project.
Preview Preview of selected screen.
Screen No. The number for copied screen, it should be unique.
Screen name The name for copied screen.
General
Click [Se ng]-[Project Proper es]-[General] to edit HMI general proper es, including HMI model, Startup screen, Screensaver, Screen control etc.

Figure 1
1. Device type:Select proper HMI Model.

2. Data record storage:Choose the storage to save data record.

Property Descrip on
Save data record to HMI internal FLASH, only supply 30M for data
HMI FLASH
storage
CF/SD Card Save data record to CF/SD Card (Capacity<4GB)
U Disk Save data record to U Disk (Capacity<4GB)
3. Backlight se ng:HMI backlight se ng.

Property Descrip on
Backlight Auto sleep a er designated me of inac vity.
se ng Invalid when alarm: HMI will not sleep when alarm is ON.
Backlight
HMI will sleep when control bit is ON.
control
Alarm
When backlight is enabled, HMI keep sleeping when alarm is ON.
screensaver
Response
The minimum me interval for clicking touch screen.
me
4. Data Setting
Property Descrip on
HMI name HMI name
Floa ng Floa ng data format se ng, li le-endian by default.
5. Startup Screen:The first screen displays on HMI when HMI started.

6. System control area:Use the designated address to change screen display.

Property Descrip on
Address Use the designated address to control the screen display.
The length address, 1 by default.
Length The first address: control screen display.
The second address: Switch display language (length=2).
Write address Save current screen display.
7. Screensaver se ng:Set wait me and screensaver.
8. Others

Property Descrip on
Hide “NC” when me
Hide “NC” when me out.
out
Gray font To make font display more clear.
Custom password
Use customized password keypad (No.:1004).
keypad
Hide password keypad
Hide password keypad le when use .
le
Hide character keypad
Hide character keypad le when use.
le
Hide password keypad
Hide password keypad le when use.
le
Quick update Quick update the address informa on priority.
Keep pressing(for 5 seconds) on right top corner of screen
A er startup
to enter setup screen.
Before startup Enter setup screen before startup.
Valid when “Print Save the alarm message to buffer
record” is
Print buffer
enabled (alarm which
will be sent to printer later.
Buffer size: 200 by default (0-1000).
se ng).
Unencrypted data The created data record file is not encrypt.
record
Communication
Click [Se ng]-[Communica on] to edit the communica on parameters of HMI or PLC.

Figure 1
Proper es Descrip on
Device New Add new port and protocol.
Connec ons Delete Delete the selected protocol.
Se ng Edit selected protocol.
Sta on No. HMI No. Set HMI sta on No. (0 by default).
PLC No. Set PLC sta on No. (by default).
Mul -link Host Device Set HMI as host device.
Client Device Set HMI as client device.
COM Connect:RS232,RS485,RS422
(COM2 cannot support RS422 connec on).
Se ng
Parity bits:EVEN ODD SPACE NONE
Data bits: 7 or 8.
Device IP Device IP Set the device IP Address.
Port No. Set port number.
TCP_Client_2N:TCP protocol, PLC mul -link .
Network UDP_Client_2N:UDP protocol,PLC mul -link .
TCP_Server: TCP protocol,HMI server.
Timeout Wait
HMI wait PLC response.
meout(ms)
Receive
The max me between HMI receive the character.
meout (ms)
Retry mes Retry mes when communica on meout.
Sequen al (0: default length 10), read or write the sequen al
Length length of device address.
Peripheral Peripheral device which can work with HMI,
including Mini printer, serial keyboard etc.
PLC Debug PLC debugging parameters se ng.
Change the The communica on parameter do not change
protocol only when choose a new protocol.
User-defined
Se ng about User-defined protocol.
protocol
CAN Se ng about CAN protocol.
HMI IP
Click [Se ng]-[Project Proper es]-[HMI IP] to set HMI IP address.

Figure 1
Proper es Descrip on
HMI IP se ng Set HMI IP address.
WebSever Enable webserver func on.
Default server port Default network port number.
Enable password protec on on webserver webpage, require
Password password when user access the webpage.(Set user name and
protec on password in the UserASP/USER.ASP of so ware installa on
folder).
Folder of ASP file The loca on to save the webpage file of webserver.
Instalment
The HMI requires the password when it reach expire me.
Click [Se ng]-[Project Proper es]-[Instalment].

Figure 1
Proper es Descrip on
Instalment Enable instalment.
Max. payment Set the maximum number of payments.
Admin. password The admin password can be used for any payments in this project.
Input the password for each payment, HMI pop up password window
No.1-12
when me has come. (Password contain at most 8 digit from a~z, 0~9.
Close password screen Trigger to close “instalment password screen”.
Open password screen Trigger to open “instalment password screen”.
No ce when expire me is Remind before the expira on me.
coming
Custom instalment screen Allow se ng the new password for new payment.

Instalment password screen

Display “Input password” when expire me is coming.

Figure 2
2.Modify installments informa on on HMI interface. Select “instalment”in the “Func on Switch” .
Figure 3
Display instalment screen when click the func on switch.

Figure 4

Custom instalment screen

Select [Instalment]-[Custom instalment screen] to enable system built-in screen No. 1009 and No. 1010.
No ce: Do not change the address of objects in “custom instalment screen”.
Figure 5
Dynamic Instalment Password
HMI only need “Key” (for first payment) and ”Date” to generate “Password”. So if someone open the original project of HMI, even they cannot get
the right key for rest of payments.
Set the “Key” and “Date” in the project when use “dynamic instalment password”.

Figure 6
For example:
Date: 2018-10-10
Key: 0d809192
Next expire date: 2018-10-10 (HMI display password screen when data reach 2018-10-10 ).
No ce:
1. Key can only contain 6 digits, from 0~9, a~z.
2. Date format: 2014-12-12.
Security
HMI provides 3 kinds of protec on: Screen Security, Bu on password and Parts security.
Screen security: Input the password to access the screen.
Bu on password: The screen is automa cally locked a er designated me of inac vity.
Parts security: Input password to operate the objects with corresponding level.

Figure 1
Parts Security
HMI require password when opera ng protected objects. The parts security protects the equipment from false opera on without permission.
Click [se ng]-[Project Proper es]-[Parts security] to open the following dialog.
There are 12 security levels in the parts security; the higher level means the higher authority. In most case, HMI require password when operate
object with the higher security level. HMI will always require password when select “Each level independent” .

Figure 1
Proper es Descrip on
Parts security Enable parts security.
Level 1 security passwords, System Address
Level 1
HSW452~HSW455, 8 bytes.
Level 2 security passwords, System Address
Level 2
HSW456~HSW459, 8 bytes.
Level 3 security passwords, System Address
Level 3
HSW460~HSW463, 8 bytes.
…… ……
Ini ate level Default level when HMI startup.
Each level HMI always require password when operate all objects with
independent different part security level.
Objects proper es
HMI always require password when operate all objects, even
“Always require
all objects with same part security level.
password”
Screen Security
HMI require password when accessing protected screen with higher level. The screen security protects the screen from false opera on without
permission. Screen security is available for both basic screen and sub screen.

There are 12 security levels in the screen security; the higher level means the higher authority. In most case, HMI require password when access
object with the higher security level. HMI will always require password when select “Each level independent”.
Click [se ng]-[Project Proper es]-[Screen security] to open the following dialog.

Figure 1
Proper es Descrip on
Level 1 Level 1 security passwords ,System Address HSW404~HSW407, 8 bytes.
Level 2 Level 2 security passwords ,System Address HSW408~HSW411, 8 bytes.
Level 3 Level 3 security passwords ,System Address HSW412~HSW415, 8 bytes.
…… ……
Ini al level Ini al level of HMI when startup.
Valid Level The maximum level will be enabled.
HMI always require password when accessing the screen with different
Each level independent
security level.
No ce: The password should not contain more than 8 bytes.
Edit the screen proper es to set its security level.
Figure 2
Screen Lock
Set HMI to automatically lock itself after a specified period of inactivity. Once the set period of time expires, the computer will be locked
and enter the password to unlock it.
In most case, add the “Function Switch”(with full screen size) to “Common screen”.

Figure 1
Set a specified period of inactivity in [Setting]-[Project Properties], enter the password and time.

Figure 2
Extensions
HMI provides some special func ons to HMI, it is op onal, select the func on if needed.

Figure 1
User Restriction
General
HMI allows accessing by mul ple users. User need to set the user and group when designing project. Different group have different permission level
for accessing. Each user should be added to certain group, it is possible to add one user to different group.

No ce:User permission and parts security cannot be used in same object.


Opera ng record: the detail informa on about the opera on of HMI, find the record file in \\flash\\UserOpera onLogs.txt (On simulator
C:\\UserOpera onLogs.txt).
Setting
1. New User and Group:
Click [Se ng]-[Project Proper es]-[Extensions] to open the following dialog.

Figure 1
Add “New Group” to following dialog.

Figure 2
Figure 3
Set the password for each user, then add the user to exis ng group.

Figure 4
Or create a “New group”, then select exis ng user in following list.

Figure 5

2. Set User permission


Double Click on objects, then edit its proper es, [Security]-[User Restric on]-[User Se ng]:
Figure 6
3. Operating Record
Record the detail informa on about the opera on of HMI.
User Management
HMI allows managing user accounts on screen. Including adding, dele ng and edi ng the user account. HMI provide built-in screen for “sign in “and
“password”(screen No.1011 and 1012).

Func on Address Object type Address func on


HSW10060~10148 Drop down list User name
Character input
Log in HSW10002 Password
object
HSX10000.0 Bit switch(On) OK (log in)
Character display
HSW10061 User name
object
Character input
HSW10002 Old password
object
Change
Character input
password HSW10006 New password
object
Character input
HSW10010 Confirm password
object
HSX10000.1 Bit switch(On) OK(change password)
Log out HSX10000.2 Bit switch(On) Log out
Character input
HSW10014 User name
object
Character input
HSW10006 password
object
New user
Character input
HSW10010 Confirm password
object
HSW10149~10260 Drop down list Select group
HSX10000.3 Bit switch(On) OK(add new user)
HSW10060~10148 Drop down list User name
Delete user
HSX10000.4 Bit switch(On) OK (delete user)
HSW10060~10148 Drop down list User name
Select group HSW10149~10260 Drop down list Group name
HSX10000.5 Bit switch(On) OK(join)
HSW10060~10148 Drop down list User name
delete HSW10149~10260 Drop down list Group name
HSX10000.6 Bit switch(On) OK (remove)
Delete Profile HSX10000.8 Bit switch(On) OK(delete)
Export Profile HSX10000.9 Bit switch(On) OK(export)
Import profile HSX10000.10 Bit switch(On) OK(import)
Export log file HSX10000.11 Bit switch(On) OK(export)
Export log file HSX10000.11 Bit switch(On) OK(export)
Delete log file HSX10000.12 Bit switch(On) OK (delete)
Current system Character display
HSW10022~10039
info object
The no fica on in HSW10001 shows the current state of HMI.
Value of HSW10001 Descrip on
1 Insufficient permissions.
2 User name does not exist.
3 User name already exists.
4 Invalid password.
5 Log in successfully.
6 Password you inpu ed do not match.
7 Password changed.
8 User adding complete.
9 User dele ng complete.
10 Maximum number of users exceeded.
11 User already exists in the group.
12 Completed adding user to group.
13 User not in the group.
14 User delete successfully.
15 Import file successfully.
16 Failed to Import file.
17 Export file successfully.
18 Export file failure.
19 Log out.
20 Delete Profile successfully.
21 Delete log file successfully.

Figure 7
User Permission

Figure 8

Figure 9
TTS Function
Setting
1. TTS func on require addi onal voice module.
2. Click [Se ng]-[Project Proper es]-[Extensions] to enable “TTS func on”.

Figure 1
Audio Setting

Figure 2

1. Global Audio: Audio se ng.


2. Import or export configura on file.
Figure 3
Audio Settings

Figure 4
1. Priority: the higher priority the have the priority when mul ple trigger at same me.
2. Content: input the content in the text box.
3. Personaliza on: Audio style can be set separately when start.
4. Preview: Listen test. (No ce:need to link the usb to interface that have TTS module, only can preview first 50 characters)
5. Control Bit: Insert the character to current text box.
6. Import alarm: Insert the alarm content.
Control bit

Figure 5
1. Trigger by fixed: cycle.
2. Trigger by bit: audio output when the trigger address meet demand. Cycle trigger when ON and OFF.
3. Alarm clock:24-hour,trigeer by me.
Text Label

Figure 6
1. Number processing mode: the number will pronuncia on a er insert.
2. Prompt tone: prompt tone when come across the sign.
3. Variables: pronounce according to the variables address.
Edit variable

Figure 7

Figure 8
Picture
All pictures of project can be found in [se ng]-[Gallery].
Picture could be:
1. Single state picture.
2. Mul -state picture.
3. GIF format picture.
Gallery
User could use customized pictures from “Gallery”.
Two types of pictures in Gallery:
1. User picture: Import picture by user.
2. System picture: So ware provide the different kinds of picture for user programming.
Select from [se ng]-[gallery].

Figure 1
Proper es Descrip on
Import Import picture from PC.
Export Export picture to PC.
Export gallery Export full gallery to PC in blb format.
New: Create a new mul -states.
Mul -states
Edit: Edit exis ng mul -states.
Selec on Select or unselect a picture.
Transparent Make designated color transparent.
Rename Rename picture (name must be unique).
Delete Delete picture that choose currently.
Empty Delete all of picture in Gallery.
Close Close Gallery window.
Add Picture
Add pictures to [gallery]:
1. Import a picture from PC.
2. Create a new mul -states.
3. Select picture from so ware built-in gallery.

Figure 1
New Multi-states
Mul -states consist of common pictures , those pictures should be added to mul -sates in certain order.
Click [se ng]-[gallery]-[new mul -states].

No ce: Gif format picture cannot be transparent.

Figure 1
Property descrip on
Name Name of new picture.
Total states Total states of new picture, support up to 32 states.
Transparent Make designated color transparent.
R/G/B The digital of transparent color.
Drag mouse to pick
Select the color.
color
Width/height The size of selected picture.
Insert Insert picture to mul -states.
Delete Delete picture from mul -states.
Ok Save changes to mul -states.
Cancel Cancel and close the dialog.
Select Picture
Select a picture for the object from “Gallery”.
No ce: unable to select both vector and picture in one mul -states.

Figure 1
Address
1. Address length:
Word address: each address occupies 16 bits.
Byte address: each address occupies 1 bit.
2. Address type:
Internal address of HMI: HMI local address, including HDW/HDX,HSW/HSX and so on.
Device address: PLC address or other peripheral device.
Address Format
HMI support connec ng with PLC devices by different COM port, also support one COM port to communicate with more than one device;
[Connec on] #[ Sta on No.] :[Address]
Connec on: COM port number ( range 1-3).
Sta on No. :To mark the different device in same COM port.
Address: Device address number.
No ce:
Connec on and sta on number can be omi ed.
*for examplae “A#B:C”means that connec on number is “A” , sta on number is “B”and access address “C”.
Address Editor
Address editor is a dialog to edit address, including connec on, sta on number and address of device.

Figure 1
Property Descrip on
PLC sta on No. Set device sta on number for address.
Input directly The address is inpu ed by user.
From address library Choose address from address library.
System reserved Choose address from the system address.
address
Connec on COM port number ( range 1-3).
Address type Choose address type.
Address No. Choose address number.
Address Library
Address library contains commonly used addresses. It not only avoids se ng the addresses repeatedly but also expresses the func on of an address
more clearly.

Figure 1
Property descrip on
Word address List of all predefined word addresses.
Bit address List of all predefined bit addresses.
Objects List
List of all addresses in current project, user can see the all of usage address.
Click [View]-[Objects list] from the menu bar.

Figure 1
Address Mapping
Description:
Address mapping is the opera on to build the rela onship between two different addresses. Forwarding address from source address to des na on
address, so the value in both addresses would be same according to the predefined mapping mode. Both addresses could be from different, in this
way, to make HMI processing faster.
*For example: forward “D0” to ”HDW100” (length: 10), so the address D0,D1,……D9 would be related to HDW100,HDW101……HDW109.
Function:
1. Mapping Mode(Read only): Des na on address only read the value from source address.it is unable to write value to source address.
2. Mapping Mode(Read/Write):The value of source and des na on address always keep same.
3.Mapping control: Set the control bit to start or stop mapping.
4. The maximum length of mapping group is 2048.
Font Library
Support all of Windows font display in HMI screen, allow adding up to 32 kinds of font display in one project.
Click [Se ng]-[Font library] on the menu bar.

Figure 1
Property Descrip on
List List of font type in font library.
Font name Font name of selected font.
Size Font size of selected font
Example Preview of selected.
Custom Font
Objects can use custom font.
Click [Font] on object [text], click [new] to add a new font.

Figure [

Figure 2

Property Descrip on
Font name Font name (must be unique).
Font Current selected font.
Style Font style, including Regular, Bold, Italic, Bold Italic.
Size Font size.
Text Library
Text library contains commonly used text. It avoids se ng the text repeatedly.
Click [se ng]-[Text library] to open the following dialog.

Figure 1
Property Descrip on
ID Automa c ID for the predefined text.
Language1 The first language content (256 bytes).
Language2 The second language content (256 bytes).
Language3 The third language content (256 bytes).

Figure 2
Current Language
Select the display of screen from the tool bar.

Figure 1
Use Text Library
Objects can be added text from text library.
There are two types of text library:
1. Click [se ng]-[text library] to select the proper text you need;
2. Choose [text] label on bit switch, then select [from text Library]-[text library].

Figure 1

Figure 2
Bit Switch (General/Text/Graphics/Security/Animation)
General
Bit switch is to access the bit-address of the PLC/ HMI. When bit switch is triggered, the changing of [write address] depends on the mode se ng.
When [read] op on is selected, the [read address] is editable.
*For example, if the value of [read address] is “ON”, the state of a designated bit address shows the picture and text corresponds to “ON”, in
contrary, the “OFF” features are shown.
Settings

Figure 1

Classifica on Property Descrip on


Write address Edit the value of Address of PLC/ HMI.
Read The Address is red from [Read-Address].
Read-Write Same Read-
Write The value of [Read Address] is equals to [Wri ng Address].
Address
Read-address Read the value from the set address.
Set OFF Set OFF the [Write-Address].
Set ON Set ON the [Write-Address].
Switch pressed: Set ON the [Write-Address].
Mode Reset Switch released: Set OFF the [Write-Address].
Reset Delay:Set OFF the [Write-Address] a er [ ] (ms), when release
the switch.
Switch Alter the [write-address] between 0 and 1, each me the Switch is
triggered.
Display Display the picture or text inverted.
inverted *For Example, the value of [Write-Address] is set ON, the OFF mode is
displayed.
Display Quick Update Increase the [Read-address] update frequency.
Se ng Blinking Blinking while the switch is triggered, the frequency is editable.
Display or Hide the bit switch.
Hide *Bit switch is not operable when [hide] is selected, to set the switch
operable while hide, go to [Se ng]-[Project Proper es] - [operability of
hiding se ng], and select [enable] op on.
Min. Hold N/A The switch triggers a er [ ](ms) in case of misopera on.
Time
Word Switch (General/Text/Graphics/Security/Animation)
General
Change a value of the word address, when the switch is triggered the value of word address will change depends on the switch type.
*For example: Set two word switch with increase and decrease mode respec vely, the value will change depends on which type of switch is operated.
Settings

Figure 1
Classifica on Proper es Descrip on
Read
Read the value from set address.
Address
Same Read-
The value of [Read Address] is equals to [Wri ng
Edit Write
Address].
Address
Write
Edit the value of Address for the device.
address
Data Format Data Format
The Data Format of the Object.
Length The data length of the Object.
Set value Set a constant value for the word address.
Increase the [operand] value for each me the switch
Increase
triggered.
Decrease the [operand] value for each me the switch
Mode Decrease
triggered.
Operand The variable for each opera on.
High Limit The value will not increase when the value is reached.
Low Limit The value will not decrease when the value is reached.
Keypad Switch (General/Text/Graphic)
General
Keypad switch is a manual data input object; this part must work with the Keypad.
User can assign le ers or numbers for each switch, when the switch is triggered the data will input to the textbox.
Settings

Figure 1
Classifica on proper es descrip on
Enter Corresponds to [enter] on keyboard.
Delete Corresponds to [Delete] on keyboard.
Clear Corresponds to [Clear] on keyboard.
ESC Corresponds to [ESC] on keyboard.
Symbol For the symbol input.
Func on Switch Change the input mode between Chinese and English.
Switch Pinyin
UP/Down Page up/down for Pinyin input.
Chinese
Page up/down for Chinese input.
UP/Down
Pinyin 1~3 Select Pinyin from designated number.
Chinese 1~6 Select Chinese from designated number.
Input N/A Set input value in ASCII code.
Slider Switch (General /Graphics)
General
Change the address value from the slider posi on.
*For example: set the high and low limit for a slider as 0-100; read-write address as HDW0, when the slider moves to the middle of the switch, the
value of HDW0 is 50.
Settings

Figure 1
Classifica on Proper es Descrip on
Read- write Read and write for the designated address.
Length The length of the read-write address.
Data format The data format for the read-write address.
Dynamic limits The limits of value will read from address.
Decimal point N/A
Min scale The minimum operand for each opera on.
Display
General Slider movement direc on.
direc on
Set constant operand for each opera on.
*For example, scroll value is set as 10, every me slides
Scroll mode
the switch the data value will increase or decrease a
constant value of 10.
Show limits Show the limits on the slider
Write now Out the value in real me.
Show value Display the slide value on the le side of the switch.
Block width Set the width of the slider.
Slider
Block color Set the color for the slider.
Function Key (General/Text/Graphics/Security/Animation)
General
Func on key can implement func ons like switch between different screens, copy data to UDisk, file transfer, ect.
Settings

Figure 1
Classifica on Proper es Descrip on
Des na on Screen No.
Switch to the selected screen.
screen
Previous
Switch to previous screen.
screen
Next screen Switch to next screen.
Return Return to last screen.
File transfer Transfer file to designated loca on.
Copy data
Transfer data from CF/SD to Udisk for data backup and
from CF/SD
alarm recording.
to UDisk
Copy data
Others from Transfer data from FLASH memory to Udisk for data
FLASH to backup and alarm recording.
UDisk
Pop-up Pop-up designated sub-screen, relevant pop-up window
window se ng can be found underneath.
Input data from pop-up Keypad, if the physical data input
Password
is over me.
Instalment Pop-up the instalment window instantly.
Close
Close current sub screen.
window
Display or Hide the Object.
*Func on Key is not operable when [hide] is selected, to
Display Hide set the switch operable while hide, go to [Se ng]-
se ng [Project Proper es] – [operability of hiding se ng], and
select [enable] op on.
Invisible Keep the func on switch hided.
Screen No. Pop-up the designated screen.
Title Display or hide the tle bar.
Pop-up
window The pop-up window will display on the designated
Posi on posi on.
Mode Pop-up window can close with the main screen.
Source
Select the folder need to be transferred.
folder
Des na on Select the folder to save the file.
Select the folder to save the file.
folder
Udisk :\Udisk\
Flash:\Flash\
SD: \CFDC\
C Disk: C:\
Use *.* at the end of the route to transfer all files under
the folder, shown as following
File transfer
File transfer
descrip on

Select designated file to transfer.


Recipe Transfer (General/Text/Graphics)
General
Recipe transfer is designed for reading and wri ng the recipe address, over write will replace the current address.
Setting

Figure 1
Classifica on Proper es Descrip on
Transmission Upload Transfer the data to the designated recipe.
mode Download Write the recipe to designated address.
Enable
N/A Please refer to Parts Security
password
User
N/A Please refer to User Restric on
restric on
Combination Switch (General/Text/Graphics/Security/Animation)
General

Individual func ons can be added to one object, to implement mul ple tasks at the same me.
*For example, add “set bit” and “des na on screen” to a combina on switch, when press the switch, it will trigger a bit switch while switch to
another screen.
Settings

Figure 1
Classifica on Proper es Descrip on
Timing System will trigger the object periodically depends on the
N/A
transfer set me.
Control bit N/A Trigger the object by designated address.
Set bit Set ON the designated address.
Reset bit Set OFF the designated address.
Invert the designated address, for each me the Switch is
Invert bit
triggered.
Copy mul ple con nues addresses, the address number
Bit copy
needs to be set.
Des na on
Switch to designated screen.
screen
Func on
Se ng data Set mul ple data, the data volume needs to be set.
Value copy Copy mul ple data, the data volume needs to be set.
Recipe
N/A
download
Recipe
N/A
upload
Perform adding, subtrac on, mul plica on, division,
Calcula ons complementa
on calcula ons to designated addresses.
Numerical input/ display (General/Graphics/Security/Advanced/Animation)
General
Numerical input/ display in designated data format, the data is scalable.

Data format Descrip on


Binary system is a number system which represents numeric values using
Binary
two different symbols: typically 0 (zero) and 1 (one).
Octal Octal system is a number system using data from 0 to 7.
Unsigned Data contain from 0 to 9.
Hex Data value expressed by symbols 0 -9 and “A,B,C,D,E,F”.
Binary-coded decimal (BCD) is a class of binary encodings
of decimal numbers where each decimal digit is represented by a fixed
BCD
number of bits, usually four or eight. Special bit pa erns are some mes
used for a sign or for other indica ons.
32bits floa ng Double word by default.

Settings

Figure 1

Classifica on proper es Descrip on


Read address The data from designated address will be displayed.
Input Ini alize the keypad input and address input func on.
Same read-
The value of [Read Address] is equals to [Wri ng Address].
write address
Read-write
Write
Shows the state of designated address on the object.
address
Keypad Select keypad features and display condi on.
Descrip on N/A
Quick update Increase the data update and display fresh frequency.
Transparent Data input background shown transparent.
The data input shown as “*”, this func on is designed for password
Input as “*”
security.
Display
Disable
The keypad input func on is not func onal.
keypad
Alignment Input box posi on.
Font N/A
Keypad
N/A Keypad display posi on.
N/A Keypad display posi on.
posi on
Read address
Indirect
addressing Write
address
Le The text shown on the le side of the input box.
Label
Right The text shown on the right side of the input box.
Need to custom the keypad, add the key of “Default value ” to
Default value N/A keypad scree, ID should be 99.
Character input/display (General/ Graphics / security / Animation )
General
Data from PLC is inpu ed / displayed in ASCII format, mul ple con nues data can input/ display simultaneously.
Settings

Figure 1
Classifica on proper es descrip on
Read-write Read 2 words Read 2 bytes data simultaneously.
Display Length The address length of the read or write address.
Display in
reverse order N/A
Reverse the order of high byte and low byte.
*The descrip on of other items, please refer to “Numeric Input/Display”.
Log Display
General
The object is designed to display and browse the opera on log.

Figure 1
Settings
Classifica on Proper es Descrip on
Log
The file loca on to view the log.
source
The address is aiming for receive func on code to interact with the HMI.
The func on code shown as following:
Mode 1: page up
2: page down
Address
3:front page
4:last page
5:search
6:cancel the search
Set the start me for the query period.
Start me For example, set the start me as HDW10(HDW0~HDW15 will be occupied )
Query
HDW0:year,HDW11:month,HDW12:day,HDW13:hours:HDW14:minute,HDW15:second.
End me Set the end me for the query period.
Alarm record display (Graphics)
General
Check recorded alarm, the me span set by the user, and the alarm record will list by the me sequence.

Figure 1
Settings

Figure 2

Classifica on Proper es Descrip on


Query mode Set query me.
Hide tle bar N/A
Set the start me to collect alarm data.
Query Start me Date format set as:
Year/month/day/hour/minute/second.
Set the me interval for query, the maximum length is 31
Query length days.
Date format: day/hour/minute/second.
Advanced
N/A Refer the descrip on down below.
mode
Alarm se ng Alarm type
Select between bit alarm and word alarm.
Auto fresh Set the address for auto fresh key.
Advanced mode
Set start address, the next 15 addresses will all be occupied.
Figure 3

Figure 4
If the start address set as HDW100 the next 15 address perform the following func ons.
Address Address type Func ons remark
HDW100 Start me: year
HDW101 Start me: month
HDW102 Start me: day
HDW103 Start me: hour
HDW104 Start me: minute
Word address
HDW105 Start me: second
HDW106 Time interval: day
HDW107 Time interval: hour
HDW108 Time interval: minute
HDW109 Time interval: second
HDX110.0 Refresh Auto reset
ON:keep refreshing
HDX110.1
OFF:stop refreshing
HDX111.0 Page up
HDX111.1 Bit address Page down
Page up in the designated Auto reset
HDX111.2
range
Page down in the designated
HDX111.3
range
History alarm (General/Graphics)
General
All alarm records are displayed, data includes alarm me, clear me. History alarm record will erased a er HMI powered off.
Settings

Figure 1
Classifica on Proper es Descrip on
Show me N/A Display alarm me and clear me.
Display alarm me and clear me by selected
Show date N/A
order.
Display in reverse
Alarm se ng order Reverse display the alarm order.
Alarm Bar
General
Scroll the alarm informa on on HMI.
Settings

Figure 1
Classifica on proper es Descrip on
Text speed N/A Set the scroll speed.
Transparent N/A Set the display background.
Date N/A Date format.
Time N/A Time format.
Alarm display (General/Graphics)
General
This func on will list the current alarm informa on.
Settings

Figure 1
classifica on Proper es Descrip on
Show me N/A Display alarm me and clear me.
Show date N/A Display alarm me and clear me by selected order.
Hide box when
N/A Hide alarm informa on a er the alarm reset.
alarms reset
History Disk Record Display
General
The data is recorded in cache and displayed in disk diagram.

Figure 1
Settings
The history disk record is able to record only one data group, maximum 4 data type, each data type corresponds to one disk curve.

Figure 2
Classifica onProper es Descrip on
The line type and color is editable for each curve number
Total N/A
selected.
Channel Select channel number needs to be displayed.
Enable No.
Data range The record data range.
Curve se ng N/A Select the curve number needs to be edited.
Trend Display (percent) (General/Graphics)
General
Trend graph will visualize the data as the percentage trend.
Settings

Figure 1
Classifica onProper es Descrip on
The line type and color is editable for each curve number
Total N/A
selected.
Channel Select channel number needs to be displayed.
Enable No.
Data range The record data range.
Curve se ng N/A Select the curve number needs to be edited.
Data Record Display
General
The data recorded can be displayed, queried as commanded and shown as a table.
Setting
Select [menu bar]N/A [se ng]N/A[data record] to add the data group.

Figure 1
The record and save interval, trigger condi on can be edited.

Figure 2
Advanced mode is able to change the query condi ons from designated addresses, the ‘’start address” need to be set to ac vate the func on, the
following 21 adjacent addresses will be occupied, but only 16 addresses are func onal.
Figure 3
Address Address type Part type func on
HDW0 Start me: year
HDW1 Start me: month
HDW2 Start me: day
HDW3 Start me: hour
HDW4 Start me: minute
Word address Numerical display
HDW5 Start me: second
HDW6 Time interval: day
HDW7 Time interval: hour
HDW8 Time interval: minute
HDW9 Time interval: second
HDX10.0 Require auto print
HDX10.1 Bit address Bit switch Confirm auto print
HDX10.2 Query for prin ng
HDW11 Time interval for auto print
HDW12 Start row for prin ng
Word address Numerical display
HDW13 End row for prin ng
HDW14 Query for print interval
HDX15.0 Page up for a set number
HDX15.1 Page down for a set number
Bit address Bit switch
HDX15.2 Page up
HDX15.3 Page down
HDW16 N/A N/A
HDW17 N/A N/A
HDW18 Word address N/A N/A
HDW19 N/A N/A
HDW20 N/A N/A

When the project is opera ng, hold the part for 2~3 seconds to ac vate the query me.

Classifica on Proper es Descrip on


Start me N/A Time format: year/month/day/hour/minute/second
Time format: day/ hour/ minute/second.
Interval N/A The maximum me interval is 31 days
HSW257: Record me interval.
HSW948: Print me interval.
Print me must longer than the record me interval.
Print me interval be er set as mul ple of record me interval.
The print me interval will be set as record me interval, while the previous se ng invalid.
–addresses shown as following:
HSW257 - HSW261 N/A HSW265 N/A HSW269 ....
HSW9481 - HSW9482 N/A HSW9483 N/A HSW9484....
Disk Record Display
General
The real- me data is recorded in cache and displayed in disk diagram.
Setting

Figure 1
Classifica on Proper es Descrip on
The line type and color is editable for each curve number
Total N/A
selected.
Channel Select channel number needs to be displayed.
Enable No.
Data range The record data range.
Curve se ng N/A Select the curve number needs to be edited.
History curve display (General/Graphics)
General
The real- me data in HMI cache will display curve graph, which X axis represent as me, Y axis represent as data.
Settings

Figure 1
Classifica on Proper es Descrip on
The line type and color is editable for each curve
Total N/A
number selected.
Enable Channel No. Select channel number needs to be displayed.

Figure 2
Classifica on Proper es Descrip on
Variable curve The curve will change dynamically as the data
N/A
No. change.
X axis The number of box on X axis.
Other Y axis The number of box on X axis.
style Choose the direc on to move the object.
Data range N/A The variable range.

Figure 3
Advanced mode is able to change the query condi ons from designated addresses, the ‘’start address” need to be set to ac vate the func on, the
following 21 adjacent addresses will be occupied, but only 16 addresses are func onal.

Figure 4
Address Type Part func on
HDW100 Start me: year
HDW101 Start me: month
HDW102 Start me: day
HDW103 Start me: hour
HDW104 Word
Numerical display Start me: minute
HDW105 address Start me: second
HDW106 Time interval: day
HDW107 Time interval: hour
HDW108 Time interval: minute
HDW109 Time interval: second
HDX110.0
HDX110.1
HDX110.2
HDX110.3
Bit address Bit switch Whether to display 0-7 the curves
HDX110.4
HDX110.5
HDX110.6
HDX110.7
HDW111 Maximum data range
HDW112 Word Minimum data range
Numerical display
HDW113 address Movement interval
HDW114 Print percentage
HDW115.0 Refresh
Bit address Bit address ON:keep refreshing
HDW115.1
OFF:stop refreshing
History XY Plot (General/Graphics)
General
The data in cache will display as con nuous curve or separated points, each point in XY plot needs 2 addresses to set a point.
Setting

Figure 1

Figure 2
Figure 3
Classifica on Proper es Descrip on
The Maximum and minimum value displayed on
X limits
X axis.
The Maximum and minimum value displayed on
Y limits
Y axis.
The X high limit value will determined by the
X high limit
designated address.
Data range
The X low limit value will determined by the
X low limit
designated address.
The Y high limit value will determined by the
Y high limit
designated address.
The Y low limit value will determined by the
Y low limit
designated address.
Discrete point:the XY graph will displayed as
Style separated dot.
Junc on:the XY graph will displayed as a curve.
1 point:a point is displayed as 1 pixel.
2 point:a point is displayed as 2 pixel.
other Point type
3 point:a point is displayed as 3 pixel.
5 point:a point is displayed as 5 pixel.
X axis grids The grids number on X axis.
Y axis grids The grids number on Y axis.
Clear Clear the display.
XY Plot (General/Graphics)
General
The real me data in cache will display as con nuous curve or separated points, each point in XY plot needs 2 addresses to set a point.
Setting

Figure 1

Figure 2
Figure 3
Classifica on Proper es Descrip on
Auto sampling Sampling me Auto record me interval.
XY amplifica on Amplifica on Enlarge the scale of the XY axis.
Sampling control Control bit The switch to control the sampling.
Discrete point:the XY graph will displayed as
Style separated dot.
Junc on:the XY graph will displayed as a curve.
1 point:a point is displayed as 1 pixel.
Data range 2 point:a point is displayed as 2 pixel.
Point type
3 point: a point is displayed as 3 pixel.
5 point:a point is displayed as 5 pixel.
X axis grids The grids number on X axis.
Y axis grids The grids number on Y axis.
Trend Graph
General
Trend graph shows the data as a dynamic curve, the X axis represent the me, Y axis represent the data.

Figure 1
Press “S” icon or hold the graph for 2~3 seconds. The following se ng will show up.

Figure 2
Setting

Figure 3
Classifica on Proper es Descrip on
The line type and color is editable for each curve
Total N/A
number selected.
Line type N/A
Enable
Line color N/A
Variable curve The curve number will be determined by designated
Curve No. No. address.
Curve se ng Select the curve number needs to be edited.
Custom User is able to change the se ng UI, but the address
se ng screen N/A changing is not recomanded.

Figure 4
Classifica on Proper es Descrip on
Data range N/A The data range for the graph can be set as a variable.
The color for high and low limit, and line type can be
Alarm color N/A
set.
Advanced mode N/A Refer the table down blow.
Clear screen N/A Clear the display by pressing the bit switch.
Total points The maximum point shown on one graph.
X axis The number of box on X axis.
Y axis The number of box on X axis.
Others
Show scale N/A
Scroll bar N/A
Hide Y axis N/A

Rotating Picture
General
Display the data change by rotate the corresponding picture (only support bmp format), user can set rota on centre, direc on, angle ect.

Figure 1
Settings
The picture selected cannot be scaled in this func on.

?2
Classifica on Proper es Descrip on
Angle
N/A Scale the rota on angle by the set data.
propor on
Counter
N/A N/A
clockwise
Transparent N/A Delete the selected color in picture.
Data
Unsigned, BCD, signed, 32bits floa ng.
format
Data format Min. Angle
N/A
Max. Angle N/A
Rota on
Address Set the write address to keep the rota on angle data.
angle
Rota on
Rota on The picture rotates around the central point of the picture.
center center
X/Y Set the central rota on point manually, this posi on may set as a variable.
The picture will rotate every [ ] (100ms).
Cycle *for example, the data input is 10, the me interval will be
Auto rotate 10*100ms=1000ms.
Automa c Rotates designated angle for each me interval.
angle
Dynamic Picture (General/Text/Graphics)
General
The picture moves as the preset track path, the posi on and state of the picture is determined by the designated address.

Figure 1
Settings
How to set the object:
Select the dynamic picture func on in parts library.
Le -click on the start point (point 0), then drop the following track points (point 1, 2, 3…..) by le -click. The track path contains maximum 50 points.
Drag the point to change the posi on.
Right –click to finish the track input.

Figure 2
Classifica onProper es Descrip on
Set designated addresses to control the state and posi on
the picture, 2 addresses will be occupied in total.
*For example set the read address as HDW0, then the
Read address N/A
addresses func on as following:
HDW0:state of the picture
HDW1:posi on of the picture
A er the picture reaches the last point, it will return to the
Return
start point.
Auto move Frequency The picture will move automa cally at the designated
frequency. (unit, 100ms)
State change Change the state by designated frequency.(unit, 100ms)
Control bit Read address Set designate address to trigger the movement.
Point editor N/A Edit the posi ons for the track points.
Scrolling picture
General
The picture will moves in a set movement pa ern, for example, add water effect on the picture.
Settings

Figure 1
Classifica on Proper es Descrip on
Block forecolor N/A
Block
N/A
background
Rail forcolor N/A
Color
Rail background N/A
Border color N/A
Line type N/A
Pa ern style N/A
Control bit Set the designated address to trigger the movement.
Blocks The number of blocks.
Speed Scrolling speed.
Proper es Direc on Movement direc on.
Block picture Customize the block.
Rail picture Customize the rail.
No border Display or hide the border.
Dynamic picture (XY axis) (General/Text/Graphics/Animation)
General
The picture will move based on the designated read address.
Settings

Figure 1
Dynamic Polygon
General
Connect points to construct a polygon; the points are posi oned based on designated address.
Settings
Each point requires 2 addresses to locate the posi on.

Figure 1
Proper es Descrip on
Points The points contained for the polygon.
Read address Start address for the graph.
Video input display
General
Real me monitoring can be realized in this func on, the video data cannot be saved.
The video input window will display on the top layer.
Settings
If the designated address set as HDW100, it will occupy the following 13 addresses.
The preset for brightness, contrast ra o, satura on and display area is required.
PAL: the maximum individual scan lines are 312 lines.
NTSC: the maximum individual scan lines are 256 lines.

Figure 1
Address value Descrip on
0 Pause
HDW100 1 Start
2 Stop
HDW101,HDW102, Set the display posi on
HDW103,HDW104
0 Display video signal from 1 channel.
1 Display video signal from 2 channel.
HDW105
2 Display video signal from 3 channel.
3 Display video signal from 4 channel.
Brightness se ng, 0-minimum brightness, 255-
HDW106 0~255
maximum brightness.
HDW107 -128~0~127 Contrast se ng:
HDW108 -128~0~127 Satura on se ng.
HDW109 0~255 Color tone se ng.
HDW110 Reset and ini alize the video input se ng.
0 Set the display rota on direc on.
1 Rotate 90 degree.
HDW111
2 Rotate 180 degree.
3 Rotate 270 degree.
HDW112 Reset the color se ng of the video input.
Pie Graph
General
A pie chart (or a circle chart) is a circular sta s cal graphic, which is divided into slices to illustrate numerical propor on.
*For example: there are 3 values: 100 (HDW0), 60 (HDW1) and 40 (HDW2, 200 (100 + 60+ 40), the ra o rela onship is: 50%; 30%; 20%, shown on the
pie chart as figure 1.

Figure 1
Setting

Figure 2
Classifica onProper es Descrip on
Total
Edit variable members The number of slices in the chart.
The pie chart value will start to read from the designated
Start address address.
Edit
The range will calculated automa cally depends on the
Address range start
address and total members.
Data format Display format, number or percentage.
Sta s c
Font size Font size se ng.
Bar graph
General
Bar graph is a chart that presents Grouped data with rectangular bars with lengths propor onal to the values that they represent.

Figure 1
Settings

Figure 2
Classifica on Proper es Descrip on
Edit Read address The graph read value from the designated address.
Data format Data format
Value format se ng
Min/Max The data range
When the minimum value reaches, display the alarm
Min
color.
Alarm control
When the maximum value reaches, display the alarm
Max
color.
When the low limit reaches.
Double color Read address

Transparent N/A N/A


Display
N/A Invert display the graph
inverted

Figure 3
Classifica on Proper es Descrip on
Main scale value The total scale number on the bar graph.
Show scale
Sub scale value The scale number between two main scales.
Show scale Minifica on Display the decimal numbers.
value Scale range The display ra o.
Font size Style Customize the text style.
Meter Graph
General
Meter graph display the value change in an autometer.

Figure 1
Settings
The se ngs refers to “Graph”.

Figure 2
Figure 3
Column Graph
General
Column graph reflect the data change as fluid change in the tank.

Figure 1
Settings
The se ngs refers to “Bar graph”.

Figure 2
Figure 3
Meter (General/Text/Graph)
General
Graph shows the data change in a combina on of pointer and dial.
Settings

Figure 1
Classifica on Proper es Descrip on
Edit Read address The value is red from designated address.
Data format Data format
The format of the data.
Max/Min The data range.
Display
N/A Invert the display value.
inverted
Figure 2
Classifica on Proper es Descrip on
Minifica on Minify the scale.
Show scale Scale range The display ra o.
value The limits are determined by the designated
Dynamic limit
addresses.
Show pointer Pointer color
N/A
Pointer type N/A
Main scale value The total scale number on the bar graph.
Show scale
Sub scale value The scale number between two main scales.
Normal range The normal data range.
Abnormal
Low limit color The color of the area lower than the limit .
indica on
High limit color The color of the area higher than the limit.
Circle meter type 330 degree or 360 degree.
Meter type Star ng offset
The “0” posi on.
angle
Clock
General
The me is displayed in the clock graph

Figure 1
Settings

Figure 2
Classifica on Proper es Descrip on
Show scale Scale color The scale(text) color.
value Scale size N/A
Scale type N/A N/A
Pointer color N/A
Show pointer
Point type N/A
Show scale Scale color N/A
Timer
General
The designated command will be executed a er the mer set.
Setting

Figure 1
Classifica on Proper es Descrip on
Mode N/A The mer func on.
Timing trigger N/A The mer triggers address.
Counted me N/A The mer will reset a er the designated me
reaches.
Modify me Timer data can be modified while coun ng,
when ming N/A default se ng is not ediable.
When the mer reaches the designated me,
Bit address
trigger the address.
Output When the mer reaches the designated me
Word address change the value of the word address in the
selected mode (set value, increase, decrease).
Timing N/A Numerical display the mer.
Clear the mer record, when the address is
clear N/A
triggered.
Bit Lamp
General
Bit lamp indicates the state of corresponding bit switch.

Figure 1

Classifica on proper es Descrip on


Read address N/A The address corresponds to the switch.
Display invertedN/A Display the inverted state.
Quick update N/A Increase the read frequency.
Blink when ON N/A
Blink when OFF N/A
Blink alternately when ON N/A
Blinking
Blink alternately when OFF: N/A
Blinking frequency
*For example: the input value is 5, the blinking frequency will set as 500ms.
(100ms)
Hide when OFF/Hide when ONN/A
Hide
Control bit Trigger the control to hide the indicator.
Multi-state Lamp
General
The Indicator will display different text or picture corresponds to different state.
*For example, the state of the switch is 2, the indicator shows the designated picture or text corresponds to this state.
Settings

Figure 1
Classifica on Proper es Descrip on
The states will change automa cally in designated
Automa c
frequency.
The me interval to change the states, unit set as
Frequency (ms).
*For example, the input value is 5, the frequency will
be 500ms.
Change back to the ini al state a er the last state
Return
reaches
Change states Control Bit
Set a switch to trigger the state change mode.
The frequency can set as a variable, the value will be
Frequency Address red
from designated address, unit set as (ms).
*For example, in default se ng, state 0 corresponds
Enable states to the value of the read address is 0, the state
controller controller can change the state number corresponds
to the designated address value.
Manual Change the state manually.
Double bits lamp
General
Double bits lamp read from two addresses, display the states depend on the different combina on of the addresses.
Setting

Figure 1

Classifica onproper es Descrip on


Read address Read the value from designated address to show the state.
Read 1
Address Read address N/A
2
Address 2
ON OFF
States 4 states
ON State 1 State 2
Read address 1
OFF State 3 State 4
Indirect window (General/Animation)
General
Indirect window is designed for display designated screen, depends on the screen number input.
Settings

Figure 1
Classifica on Proper es Descrip on
Control Bit N/A The switch to trigger the window.
Display as sub N/A Ac ve the control bar for the sub-window.
Move to top N/A Top priority on display .
Direct Window (General/Animation)
General
Direct window will display a designated sub-window when the set condi ons are met.
Features of direct window:
a. Direct window only displays sub-window.
b. The sub-window displays depending on the trigger condi ons.
c. The window size and posi on depend on the size and posi on of the object.
Settings

Figure 1
Classifica on Proper es Descrip on
Control bit The switch to trigger the window.
Trigger Trigger when ON The window will show up when the trigger is set ON.
Trigger when OFF The window will show up when the trigger is set OFF.
Display as sub N/A Ac ve the control bar for the sub-window.
window
Screen Number N/A The designated screen displays when triggered the switch.
Move to top N/A Top priority on display.
Drop-Down list (General/Text/Graphics)
General
Drop-Down list is designed for display the designated state by text, to select the text in the list, the corresponding state will change, and the write
address will change to the designated state value. (There are 32 states in total, as “0-31”).
Settings

Figure 1
Classifica on Descrip on
Data format Select the data format from Unsigned, signed and BCD.
Line Spacing The distance between two different op ons in the list.
Dynamic Text (General/Text)
General
A designated Text content will loop display on the HMI. This func on is mainly used for display the adver sement on the HMI.
Settings
The content needs to be set in the text op on.

Figure 1
Classifica on Descrip on
Text speed Select the scrolling speed for the text.
Transparent Set the feature transparently.
Le to right The text scrolling from le to right, default se ng as right to le .
Printer
General
Printer can save the designated display area as picture, or print-out the text though the micro printer.
Settings

Figure 1

Classifica on Proper es Descrip on


Export to printer The printer address to output the text content.
Edit
Export to file Saving loca on of the screen-shot on designated area.
SD/CF card
UDisk SD/CF card or Udisk to save the screen-shot on designated area.
Export folder Folder Simula on: Save the picture to designated PC folder.
HMI: Save the picture to SD/CF card or Udisk.
BMP Screen-shot format.
Print Ver cal
Print-out direc on, while work with the micro printer.
direc on Horizontal
Date Display (General/Animation)
General
Display the date on HMI.
Settings

Figure 1
Classifica on Proper es Descrip on
yy/mm/dd:year/month/day
Show date mm/dd/yy:month/day/year
dd/mm/yy:day/month/year
Format Chinese1
Display style English1
Chinese2
English2
Time Display (General/Animation)
General
Time display shows the system me on the main screen.

Figure 1
Settings

Figure 2
File List (Graphics/Query)
Query
Query is mainly used for data searching; the required data will be acquired by the set condi on.
Settings

Figure 1
Classifica on Proper es Descrip on
Index group N/A Display a designated data group.
Query The condi ons set to select the required data, support
N/A
condi on maximum 10 condi ons.
Trigger the controller to query the designated data
Query controller group.
Member ID Query will start from the designated member ID.
Length The ID number needs to be queried.
Query se ng Type
Number, me, string.
Range The data limits.
Matched group Store maximum 50 groups data queried.
Result N/A
Recipe Display
General
This func on is designed to display and modify the formula of the recipe.
Settings

Figure 1
Classifica on Descrip on
Input Modify the recipe is possible when input func on ac ve.
Alignment The text posi on in the frame.
Custom width N/A
List Box (General/Text/Graphics)
General
List box is able to modify the value of the designated bit address from 0- 31.
Settings
Se ngs refer to drop-down list.

Figure 1
Draw
General
Draw func on can be found in the menu bar [parts]-[draw], or in the parts library.

Figure 1
Settings
posi on: the top le posi on of the drawing shown in the screen.
Line color:select the color for the drawing
Line type: select the type of the drawing
size:the size of the drawing, expressed as pixel number.
Point
Se ngs shown as below.

Figure 1
Line
The se ng window shown as below.
Automa c adjustment range:in the range of designated value, the line will remain ver cal.

Figure 1
Polygon
New polygon
Le click the mouse to draw the profile of the polygon, right click to finish drawing.
Settings
The points of the polygon can be modified by the point Editor at polygon se ng window.
Drag the point needs to be modified to the designated posi on.

Figure 1

Figure 2
Cycle
Cycle se ng window shown as below.

Figure 1
1. Radius: X and Y radius represents the horizontal and ver cal radius respec vely.
2. Dynamic cycle: The center posi on and X, Y radius are decided by the designated addresses.
Arc
General
Le click to drop the top right point of the arc.
Le click again and rotates clockwise to erase the redundant part of the arc, rotates counter clockwise to create the desired arc.
Le click again to finish drawing.
Settings
The profile, start point, end point can be modified by simply dragging.

Figure 1
Rectangle
Settings

Figure 1
The color will change as the value input changes. The color se ng will occupy 3 con nues addresses, for example, the designated address is HDW100,
the following two addresses, HDW101, HDW102 will all be occupied, the value input range is between 0-255, the higher the value the darker the color.
HDW100 represents Red;
HDW101 represents Green;
HDW102 represents Blue.
Text
Textbox display the designated text content.
Broken Line
General
Le click on the screen to drop the start point.
Drop the following points by le click on designated area.
Right click the mouse to finish the drawing.
Settings
The points of the polygon can be modified by the point Editor at polygon se ng window.
Drag the point needs to be modified to the designated posi on.

Figure 1

Figure 2
Linear Scale
Settings

Figure 1
Display direc on: There are 4 display direc ons list as, top to bo om, bo om to top, le to right, right to le , corresponding to the following pictures
respec vely.

Top to bo om Bo om to top Le to right Right to le


1. Main scale: default main scale number is 10.
2. Sub scale:the number of the sub scale is between the adjacent main scales.
Arc Scale
General
Le click to drop the top right point of the arc scale.
Le click again and rotates clockwise to erase the redundant part of the arc, rotates counter clockwise to create the desired arc scale.
Le click again to finish drawing.

Figure 1
Settings

Figure 2
1. Start angle:The angle corresponds to the X axis and the first radius drew.
2. End angle:The angle corresponds to the X axis and the last radius drew.
3. Main scale:Default main scale number is 6.
4. Sub scale:The number of the sub scale is between the adjacent main scales.
Picture
Settings
The picture can be put on the screen by following steps;
Op mize the picture frame on the screen;
Double click the object and select from gallery;
To import customized picture, select [import]op on;
System will auto adjust the color of the picture harmoniously with the HMI background.

Figure 1
Table
Settings

Figure 1
1. Rows:The number of textboxes list horizontally.
2. Columns:The number of textboxes list ver cally.
3. Invisible:The table frame becomes invisible, excluding the header.
4. Header cross:The op ons for header cross are No, row, column, and table, which shown in the following table, respec vely.

Header cross No Row Column Table


Effects

5. Table cross:The op ons are No, row, column, and table, which shown in the following table, respec vely.
Table cross No Row Column Table
Effects

6. Row header color.


7. Column header color.
8. Header width:The header width does not affect the table size.
Vector Graphics
Vector graphics does not support custom picture.

Figure 1
Fast Copy
General
When the same part is required for mul ple mes, click the part need to be copied, select fast copy on the menu bar, chose the rows and columns
required, shown as following.

Figure 1
Settings
1. Number of copies:the numbers is expressed by the rows and columns.
2. Spacing:the space expressed as pixels between the rows and columns.
3. Direc on:the addresses line up direc on.
4. Address distant: the interval of the address number. For example, set the address distant as " 2", the start address is HDX10.0 then the addresses of
the copied parts are named as HDX10.2, HDX10.4...
When the fast copy se ng is completed the parts will list as following.

Figure 2
Bit Alarm
Bit alarm message
Add bit alarm to display alarm informa on on the screen.
Click [Se ng]-[Bit Alarm]-[Add].

Figure 1
Bit Alarm
Add or edit bit alarm informa on, set bit address, trigger mode, content, and alarm screen ect.

Figure 2
Property Descrip on
Bit address Read address.
Record Alarm Record history data.
Upload the alarm me and informa on to designed address or not.
Upload Click the ”Edit” beside “Advanced se ng” to select the upload
informa on.
Trigger mode The condi on cause alarm.
Content Alarm message which display on screen.
Beep when alarm Beep when alarm on.
No fy Set control bit on when alarm on, clear alert when alarm off.
Alarm screen Pop-up alarm screen (it must be sub-screen).
Loca on The loca on of the screen alarm display.
Interval me Reopen the alarm screen when alarm screen closed.
Pop-up once Pop up alarm screen once.
Close window
when Alarm Automa cally close the alarm screen when alarm off.
cancelled
Figure 3
Word Alarm
Word Alarm
Monitor the data, alarm is on when designated address meet the condi on.
Word Alarm type:
1.High Limit Alarm: Alarm is on when it reaches high limit.
2. Low Limit Alarm: Alarm is on when it reaches low limit.
3. Range Alarm: Alarm is on when it reaches the range.
Click [Se ng]-[Word Alarm].

Figure 1

Figure 2
Proper es Descrip on
Device name Alarm name.
Record Alarm Record history alarm informa on.
Device address Set alarm address.
Data Format Set data format.
Alarm descrip on Set alarm informa on when alarm is on.
High Limit Alarm Alarm is on when it reaches high limit.
Low Limit Alarm Alarm is on when it reaches high limit.
Range Alarm Alarm is on when it is within the range.
Fixed value alarm Alarm is on when it equals to a constant.
Recipe Function
The Recipe func on keeps data in the HMI or other removable storage device, download the data from HMI to designated device addresses, or
upload data from device addresses to HMI.

If user has several kinds of parameters and want to switch all or those parameters during produc on, you need to enter the parameters one by one
every me, but if user can use the Recipe func on, just need to enter the all parameters in HMI once and just switch the recipes.
For example: A new can needs to be printed with different color and different prin ng dura on. So user can create a recipe to save all of those
parameter.
Posi on Red(KG) Green(KG) Blue (KG) Dura on
(Second)
Car Top 2 2 1 30
Car Bo om 3 1 2 40
Car Inside 2 3 3 20

Recipe Data 1 (Red) Data 2 (Green) Data 3 (Blue) Data 4


(Dura on)
Group 1 (Top) 2 2 1 30
Group 2 3 1 2 40
(Bo om)
Group 3 ( 2 3 3 20
Inside)
Recipe Setting
Recipe can support up to 25,000 data (Maximum total group 50, or Maximum total members 1,000).
Click [Se ng]-[Recipe]

Figure 1
Proper es Descrip on
Se ng Specify the total groups and members in recipe.
Data Format The format data write to device or read from device addresses.
Con nuous address Use con nuous address for recipe, need to specify the start address.
Trigger Transfer recipe file when meet the control bit condi on.
Recipe Display
Click [Objects]-[Recipe]-[Recipe Display].
For example: In the car paint case, it needs 3 groups. 4 numbers in each group:
Group 1: Top;
Group 2: Bo om;
Group3: Inside;
Red: HDW0;
Green: HDW1;
Blue: HDW2;
Dura on: HDW3;

Figure 1
Add “Recipe Display” to the screen by clicking [Objects]-[Recipe]-[Recipe Display].

Figure 2
Recipe Transfer

Recipe transfer is designed for reading and wri ng the recipe address, over write will replace the current address.
Add the “Recipe Transfer bu on” to the screen by click [Objects]-[Bu on]-[Recipe Transfer] and set its proper es.
Also need to add a “Numeric Input/Display” with address “HPW0”, “HPW” is used for specifying the Group number.
Classifica on Proper es Descrip on
Transmission Upload Transfer the data to the designated recipe.
mode Download Write the recipe to designated address.
Trend Chart
Trend graph is designed to input and save related trend informa on. It will display the curve in real me.

Click [Se ng]-[Trend Display] to add the trend curve.

Figure 1
History XY Plot
1. A record can collect up to 12 word address.
2. Use triggers address of sampling.
3. Sampling cycle is 0.1 second.
Click [Se ng]-[History XY Plot]-[Add].

Figure 1
Web-Sever
Web-Server is designed to access HMI from PC Browser, user need to set the related address in this area.
Click [Se ng]- [Web-Server]-[Add]:

Figure 1
Proper es Descrip on
Name Name of each informa on.
Address The address needs to be related to web ASP Index.
Set ASP Index to link with project address. For example, set the
ASP Index project object address “HDW10”, Set ASP Index” VW0”. Wherever
there is “VW0”, it will be replaced with value of “HDW0”.

Figure 2
Multi-Link
Mul ple HMI can communicate with each other through RS485 connec on. one interface is HOST, the other are client. Only HOST HMI
communicates with PLC, and it shares the data with other Client HMI.
Connection Type
Note: Every HMI needs to set different sta on number for communica on. It can use RS232 connec on if there is only one client.
Setting
Click [Se ng]-[Communica on]-[Device Type]-[Other Protocol]-[Mul -Link Protocol].

Figure 1
No ce:
Make sure using same address se ng for all HMI (HOST and Client).
Need to add all addresses to [Se ngs]-[Mul -Link] area, if use those addresses in script.
Disc Record Display
Disc Record Display is used to input and save disc record related informa on. User can read from disc record display and History XY Plot.
1. A record can maximum collect 4 curves.
2. Use Trigger Address of sampling.
3. Sampling Cycle is 0.1 second,"Sampling cycle" means the me of the disc record draw a cycle.
Click [Se ng]-[Disc record Display]-[Add]:

Figure 1
General
Script is applied to realize complex control func ons. HMI compile so ware provide powerful func on, simple opera on, reliable script system, the
features of script are list as follow:

1. Similar to BASIC gramma cal structure;


BASIC work as the first computer language for the general public, it is easy and efficient to use.
2. Support all of program logic control structures;
So ware script support three logic control structures: order?condi on?loops. It can realize complexity procedures.
3. Powerful func on;
Func ons of script are divided into two types: system and custom func on. System func on: the func ons that system has iden fied for customers.
Custom func on: users can define a func on and apply to all scripts.

4. Support variety of data format;


Script support integer, floa ng, BCD code, byte, byte string and etc.
Hints to Use Script
Script can make project more convenient and flexible to use. Script is useful in realizing complex HMI func on. If the script is used improperly, it may
affect the efficiency of en re project. So pay a en on to the follow issues:
1. Try not to use too much script loops, if the script loops that executes too many mes, it might influence the efficiency of HMI.
2. In the cycle scripts, try not to use external register, due to the rela vely slow serial communica on, frequent access to external registers may cause
the execu on of scripts severely reduced, even influence the screen respond efficiently. There is fine to use internal register.
3. The maximum script length is 512 rows.
Script Access to Device
So ware script supports an efficiency way to access the device address by using symbol @.
Wri ng Meaning Examples
@B_;@b_; Access designated bit @B_I0.0:access bit address I0.0
address @b_HDX0.0:access bit address
HDX0.0
@W_;@w_; Access designated word @W_IW0:access word address IW0
address @b_HDW0:access word address
HDW0
@B_(the number of HMI connect more than @B_2#2:I0.0:access the bit address
protocol automa c control I0.0, with the connec on number 2
connec on)#(sta on devices, “#”stands for and sta on number 2;
number):address choosing number @B_I0.0:access to bit address I0.0;
@W_(the number of before the symbol,“ :” @W_2#2:IW0:access the bit
protocol stands for accessing the address IW0, with the connec on
connec on)#sta on sta on number before number 2 and sta on number 2;
number):address symbol.
Access the first
protocol without “#
”,access default sta on
number1 without“:”.

The script can access with the device though: write and read.
For example
If @B_HDX0.0 = 1 then ‘read the value from address HDX0.0.
@B_HDX0.0 = 0 ‘write 0 to address HDX0.0
Else
@B_HDX0.0 = 1 ‘write 1 to address HDX0.0
Endif
@W_QW0 = @W_QW0 + 1 ‘read data from address QW0, add 1 to this value then write to address QW0.
Script Type

Script divided into three categories:


1. Background script: Run independently when start project, screen updates have no influence and valid of all scripts.
2. Global script: It began to run when project start, screen update, switch will affect all of script during running.
3. Screen script: Only run under the designated screen. Screen script start running un l screen is closed or switched.
No ce: background: interval unit of running me is 1 millisecond.

Edit background script: double click [background script] on project manager. Then click to add it, set the ming interval to enter screen script.
Shown as following:

Figure 1
Global script can be divided into four categories:
Property Descrip on
Ini alize The script will be executed once during loading project.
Close The script will be run once during closing HMI project.
Timing Trigger to run once in a while un l project end, during running. Each
project can be set global script of more than one ming trigger.
Bit trigger Script will be repeat executed when meet the condi on of bit trigger.

Bit trigger has four condi ons


Property Descrip on
TRUE Detect the value of toggle bit constantly, script will always execute
when the value is TRUE.
FALSE Detect the value of toggle bit constantly, script will always execute
when the value is FALSE.
Rising Detect the value of toggle bit constantly; script will be once executed
when the value changes FALSE from TRUE.
Falling Detect the value of toggle bit constantly, script will be once executed
when the value changes TRUE from FALSE.

No ce: global script of bit trigger can also have more than one in one project.
In order to edit global script, double click [global script] from project manager.
Screen script can be divided into four categories under running condi on:
Property Descrip on
Ini alize Run under loading screen, the script will be executed once during
running.
Close Run under closing screen, the script will be executed once during
running.
Timing Trigger to run at every once un l screen is closed, during running.
Bit trigger Script will be repeat executed when meet the condi on of bit trigger,
under running project.

Bit trigger divided into four condi ons.


Property Descrip on
TRUE Detect the value of toggle bit constantly, script will always execute
when the value is TRUE.
FALSE Detect the value of toggle bit constantly, script will always execute
when the value is FALSE.
Rising Detect the value of toggle bit constantly; script will be once executed
when the value changes FALSE from TRUE.
Falling Detect the value of toggle bit constantly, script will be once executed
when the value changes TRUE from FALSE.

Right click [current screen]-[screen script] to edit screen script.


Global script and screen script have the same categories from above descrip on. The difference between screen script and global script is that screen
script runs only during screen opera on, and the global script runs only during project opera on.
Initialization Script
Summary
Ini aliza on divided into screen ini aliza on script and global ini aliza on script. screen ini aliza on script run once when enter screen at the
moment; global ini aliza on script is the moment of loading project, it runs once and is valid of all script.
Setting
Click [global script] from project manager to enter global script editor window.

Figure 1
Double click [ini alize] node from “the view of script” on screen script or global script, then edit script.

Figure 2
Trigger Control
General
Trigger control script is that so ware will check whether the designated bit meet trigger condi on every 20ms.script execute once when condi on is
met un l project closed.
No ce:The maximum number of trigger script for one screen is 32.
1. The script guidance.
2. New trigger control script.
Click [global script] from project manager to enter global script editor window.

Figure 1
Double click [ini alize] node from “the view of script” on screen script or global script, then edit script.

Condi on Descrip on
TRUE check monitor bit Every 20ms,script execute once when the bit value
is TRUE;
FALSE check monitor bit Every 20ms,script execute once when the bit value
is FALSE;
Bit changed Execute once when bit switch state.

rising check monitor bit Every 20ms, script execute once when the bit value
from FALSE to TRUE;
falling check monitor bit Every 20ms, script execute once when the bit value
from TURE to FALSE;

Delete trigger control script


Select a trigger control script from script view, and then click from tool bar, the script will be not restored a er dele ng.

Edit trigger control script property


Edit ming script property is to modify trigger condi on and monitor bit, select script from script view then click from tool bar, click [OK] to save
a er modifying.
Close Script
General
Close script divide into screen close and global close. Screen close is that script will run a period when screen closed. Global close is that script run a
period when project closed.
Click [global script] on project manager to open global script editor window.
Double click [close] from " script tree view", open script editor window to edit, shown as figure 1.

Figure 1
Timing Script
General
The script will run for a designated me interval.
No ce: each trigger script screen of ming and global ming script limit to 32.
New ming script
Click the symbol from script editor bar, shown as figure1.

Figure 1
Property Descrip on
Cycle Script runs at designated me interval, unit is 500ms. Background ming
script at 1ms per cycle.
Ok Script created.
Cancle Cancel the current script se ng.

List ming node on script view a er crea ng ming.


Edit ming script property
Edit ming property is to modify cycle, select ming from script view then click from tool bar, and click [OK] to save a er modifying cycle, shown as
figure 3.

Figure 2
Global Function
General

Global func on is a form of code for using,it can be called in any script.the method reference system func on.
New global func on
Double click [global func on] in project manager.

Figure 1

Edit global func on parameter


Click from script tool bar, it is used for adding a global func on, shown as figure 2.

Figure 2
Property Descrip on
Func on name Func on name cannot be the same as exis ng.
Return type None, string, integer, float.
Paremeter1 The name of paremeter 1.

No ce: func on contains no more than are four parameters and cannot be repeated.
Edit global func on proper es
[Edit] is to modify name and parameter. Click on tool bar.
Call global func on
Refer to the call of system func on.
Checking Grammar
Check script grammar is correct or not, error occurs when compile error.
Select from script tool bar, system does not prompt grammar error if grammar is correct, system will list all errors for modifica on.
Grammar Error
In this sec on common grammar errors of so ware script are listed as following:
1. Iden fier *** contains invalid characters.
2. A empt to redeclare sub *** .
3. A empt to redeclare func on *** .
4. A empt to use reserved word *** as iden fier.
5. A empt to use type *** as iden fier.
6. Unexpected ‘)’ while parsing arguments for func on *** .
7. Cannot parse expression (one of the arguments of func on ***) .
8. Cannot parse arguments of *** .
9. Too many arguments for func on *** .
10. Not enough arguments for func on *** .
11. ‘(‘ expected a er sub name *** .
12. Unexpected ’(‘ while parsing arguments for sub *** .
13. Cannot parse expression (one of the arguments of sub ***) .
14. Cannot parse arguments of *** .
15. Too many arguments for sub/func on *** .
16. Not enough arguments for sub/func on *** .
17. Cannot parse expression .
18. ‘(‘ expected a er func on name *** .
19. Unexpected use of sub *** as a part of expression .
20. Illegal statements preceding subs/func ons declara on .
21. Unexpected end of file while looking for ‘endsub’ .
22. End of line expected a er ‘else’.
23. End of line expected a er ‘endif’.
24. End of line expected a er ’next’.
25. End of line expected a er ‘wend’.
26. ‘while’, ‘un l’ or end of line expected a e r’do’.
27. Cannot parse expression a er ‘while’.
28. Cannot parse expression a er ‘un l’.
29. ‘do’ without ‘loop’.
30. Sub *** contains invalid character’@’ .
31. Sub *** already declared.
32. Func on *** already declared.
33. Sub name expected a er ‘sub’.
34. Func on name expected a e r’func on’.
35. Variable name expected.
36. Argument *** contains invalid character ‘@’.
37. ‘integer’, ‘floa ng’ or ’string’ expected.
38. ‘‘‘,’ or ‘)’ expected.
39. ‘endsub’ without ’sub’.
40. ‘end func on’ without ‘func on’.
41. End of line expected a er ’beep’.
42. ‘dim’ unexpected here.
43. Variable name expected a er ’dim’.
44. ‘as’ expected a er variable name.
45. ‘integer’ ‘floa ng’ or ‘string’ expected a er ’as’.
46. ‘,’ or end of line expected a er type in dim statement.
47. Cannot parse expression a er ’while’.
48. End of line expected a er’ while’ condi on.
49. ‘while’ without ‘wend’.
50. End of line expected a er ’wend’.
51. ‘wend’ without ‘while’.
52. Variable name expected a er’ for’.
53. ‘=‘ expected a er variable name.
54. Cannot parse expression a er ’for’.
55. ‘to’ expected.
56. Cannot parse expression a er ’to’.
57. Cannot parse expression a er ’step’.
58. End of line expected.
59. ‘for’ without ‘next’.
60. End of line expected a er ‘next’.
61. ‘Next’ without ’for’.
62. Cannot parse expression a er’if’.
63. ‘then’ expected.
64. Unexpected end of file while looking for ’endif’.
65. Unexpected end of file while looking for ’else’ or ’endif’.
66. ‘else’ without ’if’.
67. ‘end if’ without ’if’.
68. Label name expected a er ’goto’.
69. Unexpected end of line while looking for ‘)’ in func on call.
70. ‘,’ expected.
71. Missing ‘)’.
72. Unexpected end of line in expression.
73. Unexpected end of file in expression.
A2H
Function
Val = A2H(A1)
Description
Convert string A1 to hexadecimal number.
Parameters
A1: convert first four value of the string.
No ce: string must be address(such as:@W_HDW000002).
Val: The value is hexadecimal number.
Example
@W_HDW20=A2H(@W_HDW10) ' convert the string of HDW10 to hex then save in HDW20.
Input: @W_HDW10=255
Result: @W_HDW20=255
Abs
Function
val = Abs(A1)
Description
The absolute value of A1.
Parameters
A1:the data of absolute value, must be variable.
Val:it is absolute value that is address or variable.
Example
Dim a as integer 'a is defined as integer
a = SignedInt16("@W_HDW0")'convert the data of @W_HDW0 into signed data.
@W_HDW1 = Abs(a) 'assign the returned absolute value to @W_HDW1
Input:@W_HDW0=-6,
Result:@W_HDW1=6
No ce: SignedInt16 func on is designed to convert unsigned to signed.
ACOS
Funcition
val = ACos(A1)
Description
To compute the inverse cosine value of A1.
Parameters
A1: float value, can be a address or variable.
Val: return value is float, can be a address or variable.
Example
Dim a ,b as floa ng 'define two float variable a,b
a = 0.5 'assign the designated value to a
b = ACos(a) 'the inverse cosine value of “a” is a radian which assign to variable b.
'to add the following sentence if needed to view the return value:
float2d("@W_HDW200", b) 'float b wri en into HDW200.
Result: @W_HDW200=1.047
No ce: please call RadToDeg func on to convert radian into angle.
AddrStringCompare
Function
val = AddrStringCompare(A1, A2, length)
Description
It is designed to compare the designated length of two character strings.the string value is 1 when the two strings are the same.
Parameters
A1, A2:character string, must be an address(such as:"@W_HDW000002")
Length:The length of character string.
Val:Return value, 0 or 1.
Example
if AddrStringCompare("@W_HDW10","@W_HDW0",2)=1 then 'compare the character string of HDW10 and @W_HDW0 whether value are 1.
@W_HDW20=1 '@W_HDW20 display 1
else
@W_HDW20=0 '@W_HDW20 display 0
Endif
Input: @W_HDW10="1a2 ",@W_HDW0="1a2 ",
result:@W_HDW20=1

Input: @W_HDW10="ab2 ",@W_HDW0="12a ",


result:@W_HDW20=0
Asc
Function
val = Asc(A1)
Description
Return the first character of the string in ASCII value.
Parameters
A1:character string, it can be an address(such as:@W_HDW000002)
val:return value,ASCII value,it can be an address or variable.
Example
@W_HDW10 = Asc("A") 'return the ASCII value of A to HDW10
@W_HDW11 = Asc("a") 'return the ASCII value of a to HDW11
@W_HDW12 = Asc("Apple")'return the first character A of string Apple to HDW12
@W_HDW13 = Asc("123") 'return the first character ASCII value 1 of string 123 to HDW13.
Result: @W_HDW10 = 65
@W_HDW11 = 97
@W_HDW12 = 65
@W_HDW13 = 49
AsFloating
Function
val = AsFloa ng(A1)
Description
Convert parameter A1 to a float.
Parameters
A1:integer variable.
val:return float value, can be a variable or address.
Example
Dim a as integer 'define a integer variable {a}.
a = @W_HDW10 'assign @W_HDW10 to a
b = AsFloa ng(a) 'convert integer a to float then assign to b.
b = b/1.2 'add as following sentence when need to view the return value:
Float 2D("@W_HDW11",b)'float variable b wri en into HDW11.
Input:@W_HDW10=24,
result:@W_HDW11=20.00(set two decimals)
ASin
Function
val = ASin(A1)
Description
Calculate the arcsine value of A1.
Parameters
A1:Float can be a address or variable.
Val:Return float value, can be a address or variable.
Example
Dim a, b as floa ng 'define two float variable a,b
a = 0.5 'assign the designated value to a
b=ASin(a) 'calculate the arcsine value of a ,assign the radian to b.
'Add the following command if need to view the return value:
float2d ("@W_HDW200", b) 'float variable b wri en into HDW200
Result:@W_HDW200=0.524
No ce: please call RadToDeg func on to convert radian into angle.
AsInteger
Function
val = AsInteger(A1)
Description
Convert parameter A1 to integer value.
Parameters
A1:floa ng must be a variable.
Val:return integer value can be a variable or address.
Example
Dim a as floa ng 'define floa ng variable a
a = D2Float("@W_HDW0",a) 'use D2Float func on to save the float date of HDW0 in a
b= AsInteger(a) 'convert the float a into integer,the return value assigned to b
@W_HDW10=b 'save b to HDW10
Input: @W_HDW0=20.12,
Result: @W_HDW10=20
AsString
Function
val = AsString(A1)
Description
Convert parameter A1 to a character string.
Parameters
A1:not string parameter,it can be a variable.
Val:return string value, variable or address.
Example
Script 1:
a=123 'assign a value to a
b=234 'assign a value to b
c=AsString(a)+AsString(b) 'convert a and b to string then add up the two strings ,assign the result to c.
@W_HDW0=c 'assign c to HDW0
d=a+b 'plus a with b
@W_HDW100=d 'assign d to (HDW100)
result:@W_HDW0=123234
@W_HDW100=357

Script 2:
W2S("@W_HDW200","@W_HDW300","02d")
W2S("@W_HDW210","@W_HDW400","02d")
W2S("@W_HDW220","@W_HDW500","02d")
@W_HDW0=AsString(@W_HDW300)+AsString(@W_HDW400)+AsString(@W_HDW500)
Input:@W_HDW200=12,@W_HDW210=34,@W_HDW220=56
Result:@W_HDW300=12,@W_HDW400=34,@W_HDW500=56,@W_HDW0=123456
(Ensure the data always is two bits; otherwise occur error. reference the other chapter of W2S func on)
ATan
Function
var = ATan(A1)
Description
Return a arctangent value,the radian ranges -pi/2 to pi/2.
Parameters
A1:Can be float, address or variable.
Val:radian of return value.
Example
@W_HDW20= Atan (@W_HDW10) ‘save the arctangent value of (HDW10) to (HDW20)
Input: @W_HDW10=1.000,@W_HDW20=0.785
No ce: please call RadToDeg func on convert radian to angle.
ATan2
Function
val = ATan2(A1,A2)
Description
Return the arctangent value of A1/A2,radian range
Parameters
A1, A2: Address or variable.
Val: return value is a radian, range -pi to pi.
No ce: ATan2 use sign of two parameters to define the quadrant of return value.
Example
@W_HDW20= ATan2 (@W_HDW10,@W_HDW12) 'save the arctangent value of (HDW10/HDW12) to (HDW20).
Input:@W_HDW10=1.0,@W_HDW12=1.0,
Result: @W_HDW20=0.785
No ce: please call RadToDeg func on convert radian to angle.
B2W
Function
B2W(A1, A2,length)
Description
Convert a array (begins with A2, unit: byte, to another array ( begins with A1,unit:word).
Parameters
A1:Saving address a er conver ng
No ce:must be address(e.g.:@W_HDW000002)
A2:Address of the value be converted
No ce:must be address(e.g.:@W_HDW000002)
Length:The length of conversion
No ce:It can be address or variable.

Return value:None
No ce:This is a subprogram, it has no return value.
Example
B2W(@W_HDW100,@W_HDW10,2) 'convert (@W_HDW10) to the length of 2,save as the result that begins with @W_HDW100.
Input: @W_HDW10=1A2B
Result: @W_HDW100=2B
@W_HDW101=1A
BCD
Function
val = BCD(A1)
Description
Convert A1(binary) to BCD, save the result as return value.
Parameters
A1:The binary be converted, it can be a address or variable.
Val:Return value, BCD code; it can be a address or variable.
No ce:Return value is a word; it hexadecimal corresponds to BCD code.
Example
@W_HDW20=BCD(@W_HDW10) 'convert HDW10 (binary) to BCD code, then save in (HDW20)
Input: @W_HDW10=11111111(binary),
Result: @W_HDW20=255
Beep
Function
Beep
Description
Buzzers send out beep.
Parameters
None
Example
if @B_HDX100.0=1 then 'beep when the bit switch HDX100.0 set ON
beep
endif
result: HMI beep when bit switch HDX100.0 set ON.
BIN
Function
Val = BIN(A1)
Description
Convert A1 (BCD) into binary, save the result in return value.
Parameters
A1: The BCD code is converted; it can be address or variable.
Val: Return binary value,it can be address or variable.
Example
@W_HDW20=BIN(@W_HDW10) 'convert HDW10(BCD) to binary, save the result in (HDW20)
Input: @W_HDW10=255
Result: @W_HDW20=11111111 (binary)
BMOV sub function
Function
BMOV(A1, A2,length)
Description
Copy data with a designated length from source address A2 to A1.
Parameter
destAddr: saving address
srcAddr: source address
length: data length
Example
@W_HDW20 = 20 'assign value to HDW20
@W_HDW21 = 21 'assign value to HDW21
@W_HDW22 = 22 'assign value to HDW22
BMOV(@W_HDW10,@W_HDW20,3) 'assign the word address of HDW20, HDW21, HDW22 to HDW10, HDW11, HDW12
Result:
@W_HDW10 = 20
@W_HDW11 = 21
@W_HDW12 = 22
Chr
Function
val = Chr(A1, A2, ...)
Description
Convert integer parameter into correspond ASCII character,return the character string.
Parameters
A1, A2....: converted integer; it can be a address or variable.
Val:return value, can be a address or variable.
Example
@W_HDW100=Chr(@W_HDW20,@W_HDW21,@W_HDW22,@W_HDW23,@W_HDW24)
'convert the value of(HDW20,HDW21,HDW22,HDW23,HDW24) to ASCII character,assign the value to (HDW100)
Input 72,69,76,76,79 step by step according to HDW20,HDW21,HDW22,HDW23,HDW24,result returns HELLO to (@W_HDW100).
ClrB subfunction
Function
ClrB(A1)
Description
Set the bit of A1 as FALSE(0).
Parameters
A1:System address(bit)
No ce; subprogram has no return value.
Example
ClrB(@B_HDX100.0) 'assign 0 to(@B_HDX100.0)
Constant
Description
Script supportd stable constant, users can use on script:
pi = 3.14159265358979321
TRUE = 1
FALSE = 0
Example
Dim a as integer ‘define integer a
a = RadToDeg(pi) 'convert radian pi to angle then assign to a,RadToDeg func on is used to convert radian to angle.
@W_HDW11 = a 'assign a to (HDW11)
Result: @W_HDW11=180
Cos
Function
Val = Cos(A1)
Description
Return a cosine value of an angle.
Parameters
A1:a float radian of angle, it can be an address or variable.
Val:return float value, it can be a address or variable.
Example
Dim a, b as floa ng 'define float a, b
b = pi/3 'convert the value of HDW11 to float and assign to ‘b’.
a=Cos(b) 'return the cosine value of‘b’ and assign the result to ‘a’.
'to add the following sentence if need to view the return value:
Float2D("@W_HDW20",a) 'the float value of a wri en into HDW13.
Result:@W_HDW20=0.5
No ce: please call RadToDeg func on convert radian to angle.
D2F subfunction
Function
D2F (A1, A2) or A1= D2F (A1, A2)
Description
Convert the 32 bit integer format data to float then output the result.
Parameters
A1: required data, begin with“@”;
A2: source data, begin with“@”;
Example
D2F(@W_HDW2,@W_HDW0) 'convert the double word (HDW0) to float, save the result to (HDW2).
@W_HDW2=D2F(@W_HDW2,@W_HDW0) 'convert the double word (HDW0) to float, save the result to (HDW2).
Result: HDW0=100, HDW2=100
D2Float
Function
F= D2Float("A1",F)
Description
Convert the designated value to floa ng then assign to variable.
Parameters
A1: Must begin with address“@”;
F: Define the floa ng by self;
Example
dim F as floa ng 'define F as floa ng
F=D2Float("@W_HDW10",F) 'assign the value of (HDW10) to F in floa ng
Float2D("@W_HDW12",F) 'copy the floa ng value of F to HDW12 register,use to display result.
Result:HDW10=200,
HDW12=200.
DegToRad
Function
A2 = DegToRad(A1)
Description
Convert the angle into correspond radian, and display.
Parameters
A1: inpu ng angle supports address, other variable or floa ng.
A2: outpu ng radian supports address, other variable or floa ng.
Example
@W_HDW12=DegToRad(@W_HDW10) ' input angle on (HDW10),convert to correspond redian and copy to (HDW12)
Result: HDW10=180; HDW12=3.14159

dim a as floa ng ' set variable


dim b as floa ng ' set variable
b=30 ' input angle
a=DegToRad(b) ' convert the length of radian and copy to variable {a}
float2d("@W_HDW0", a) ' display the value of floa ng on(HDW0)
Result: HDW0=0.52360
DIM ... AS ...
Function
Dim “variable” as “date type”
Description
Declare a variable, stable the type of data.
Parameters
Variable: begin with le er, other character can be le er, numbers, underscores ('_'),must begin with '@' if it is address;
Data type:string,floa ng,integer;
No ce: use the variable of Dim during running, cannot change the type, Dim will be missed if not define the type of variable. Variable can be declared
once.
Example
dim a as integer 'define a as integer
dim @W_HDW0 as floa ng 'define @W_HDW0 as floa ng
dim hi as string 'define "hi" as string
Result:
a is integer
@W_HDW0 is floa ng
hi is string
DO ... LOOP
Function
Do [While | Un l condi on]
[statements]
Loop
or
Do
[statements]
Loop [While | Un l condi on]
Description
Condi on determent instruc on.
Do while…loop executes an instruc on of block repeatedly when condi on is true.
Do un l…loop executes an instruc on of block repeatedly un l condi on is true.
Parameters
Condi on: determine condi on; obtain the expression of True or False.
Statements: execute one or more instruc ons repeatedly when condi on is True or un l condi on is True.
If condi on is true, all statements are executed un l the Wend statement is encountered. Control then returns to the While statement and condi on
is again checked. If condi on is s ll True, the process is repeated. If it is not true, execu on resumes with the statement following the Wend
statement.
Example
dim i as integer ‘end DO loop when i=100
do while i<100
i=i+1
@W_HDW0=i
loop
Result: HDW0=100
End
Function
Terminates the script immediately.
Description
End the execu on of script.
Parameters
Statement: Judging condi on, use with IF together. end script when meet condi on.
Example
If a = 10 Then End 'end script when a=10.
Result: End the script program.
Exp
Function
A1=Exp(A2)
Description
Returns the power value of e (natural logarithm), save the outpu ng result to A1, e=2.71828182846.
Parameters
A1: the goal date: the power floa ng value of returning, must begin with '@'(e.g.@W_HDW10);
A2: Source data, natural exponen al func on, must be integer or variable. Cannot not begin with the address of “@”(e.g.@W_HDW10)
Example
dim a as integer 'define a as integer
a = @W_HDW2 ' assign the value of (HDW2) to variable a
@W_HDW0= Exp(a) 'exponen al is the value of (HDW2),save result to(HDW0)
Result: HDW2=2,
HDW0=7.38905600
F2D
Function
F2D (A1, A2)
Description
Convert a 32 bit floa ng to integer format, then output the result.
Parameters
A1:Goal date, the value can be a address(e.g.@W_HDW12).
A2:source date, it can be a address or other variable.
Example
F2D(@W_HDW12,@W_HDW10) 'convert the floa ng of (HDW10) to integer, save in (HDW12).
result:
HDW10=200,
HDW12=200
F2S
Function
F2S (A1,A2,s1)
Description
Output a format of floa ng that in the type of string.
Parameters
A1: source address, used to store floa ng, the value is a address(e.g.@W_HDW200);
A2: Goal address, used to store string a er converted, value is a address(e.g.@W_HDW100).
S1: the format of displaying goal data. such as the format of 03.03f,f, used for outpu ng a single-precision in the form of decimal.m.nf:means m
column and n decimals when outpu ng.
Example
F2S("@W_HDW200", "@W_HDW100", "03.03f") '(HDW200) is floa ng input,(HDW100) is text output;
result:HDW200=1.22365,
HDW100=1.224
FILL
Function
FILL (A1, A2, A3)
Description
Write the same value to designated address constantly.
Parameters
A1: The beginning address, it can be a address(e.g.@ W_ HDW25);
A2: Source data, it needs to be wri en in con nuous value, the value can be a address, variable or constant;
A3: The number of opera on, wri ng address number, it can be a address, variable or constant;
Example
FILL (@W_HDW25, 10, 3) 'At the beginning three address of @W_ HDW25 is 10.
result:At the beginning three address of @W_ HDW25 is 10,@W_ HDW25=10,@W_ HDW26=10,@W_ HDW27=10.
Float2D
Function
Float2D (A1,A2);
Description
Copy floa ng value to the address.
Parameters
A1: Goal address, the value must be address (e.g.@W_HDW102);
A2: Source data, it can be floa ng;
Example
dim f as floa ng 'define f as floa ng
f=1.1 'assign a designated value to f
Float2D ("@W_HDW102",f) 'assign the value f to HDW102
Result: HDW102=1.1
For… to… step…next
Function
For counter = start to end Step
[Statements]
Next
Description
Execute a command repeatedly for designated mes.
Parameters
counter:Work as a variable for loop counter;
start:The start value of counter, it can be any variable type or expression;
end:The end value of counter, it can be any variable type or expression;
step:Every loop, the changed value of counter is step value, step default if it is not designa on. step default is -1,when start>end,step default is 1
when start< end. It can be any variable type or expression;
statements:Between For with Next, execute instruc on set of designated mes;
Set a loop of for...Next in another loop, it can nest call the loop of for...Next. Different from a while, for only search once value from end. Empty for
loop will be ignored, and cannot delay me.
Example
‘Use HDX2.0 to trigger the loop
for i=100 to 0 step -5 ' set the start is 100,end is 0,subtract 5 every me, execute 20 mes totally.
@W_HDW100=@W_HDW100+1 ' execute (HDW100+1) 21 mes totally, the final result is 21.
Next
@B_HDX2.0=0
Result: HDW100=101
Function
Function
Func on name (arglist)
statements
name = expression
statements
End Func on
Description
Differ from internal func on, need to declare the name, parameter, code of the func on.
Parameters
Name:func on name.
arglist:stands for the variable list of parameter, this parameter will be entered when calling func on. use comma to separate.
statements:a set of code in running func on body.
No ce: it can not define a func on program at any other program body. Write name first and then follow with parameter list, when calling func on.
Declare func on must before calling. in the internal func on body, it can assign to a func on name from return value at any place. Return value is 0 if
not assign func on name. Func ons can recursive call, but, it may lead to stack overflow.
Example
Func on sincos (angle as floa ng)
sincos = sin(angle) + cos(angle)
End Func on<
........
@W_0002 = sincos(pi/2)
........
Goto
Function
Goto label
Description
Go to the designated row uncondi onally in a func on body.
Parameters
Label: target character, start with le er in row label, end with(:)of any string.row label has no sensi ve to the format of le er.
no ce:Goto only can jump into the internal func on that visible row.
Example
Goto sd ‘go to the row which start with “sd”;
Result: Go to sd row.
H2A
Function
A1 = H2A (A2)
Description
Convert a binary(16 bit) to hexadecimals(4 bit) of ASCII.
Parameters
A1:return value, string, it can be an address or variable.
A2:binary is needed to be converted, the value can be a address or variable.
Example
@W_HDW100= H2A (@W_HDW0) ' convert the binary of (HDW0) to character and save in (HDW100).
Result: HDW0=200,
HDW=100
Hypot
Function
Var = Hypot (expr1, expr2)
Description
Calculate the value of the hypotenuse of a right triangle.
Parameters
expr1, expr2:source data, the two sides of right triangle. it must be address;
Var:target data,it must be address;
No ce: hypot func on can support integer and floa ng when the format of source data and target data are the same.
Example
@W_HDW200=Hypot (@W_HDW105,@W_HDW108) ' input the value of right-angle side at (HDW105) and (HDW108),and assign the result
of the hypotenuse to (HDW200).
Result: HDW105=3,
HDW108=4,
HDW200=5
IF ... THEN ... ELSE ... END IF
Function
If condi on Then
Statements
[Else
elsestatements]
End If
Description
Execute correspond instruc on when fulfil condi on. condi on will be tested when execu ng if. it will execute the later instruc on block of then, if
condi on is true. otherwise, execute the later of else. complete the two instruc ons, next execute the later of End if.
Parameters
condi on:any expression, the value can be true or false.
statement:execute the instruc on block when condi on is true.
else statement:execute the instruc on block when condi on is false.
Example
if @W_HDW105=200 then ' judging condi on: whether the value of (HDW105) is 200
@W_HDW108=1 'the value of (HDW108) is 1 if fulfil condi on
else
@W_HDW200=1 ' the value of (HDW200) is 1 if not fulfil condi on.
Endif
Result:
HDW105=199;
HDW108=0;
HDW200=1
InStr
Function
var = InStr (“str1”, “str2”)
Description
Return the posi on of str1 in str2(start with 0), set -1 if not find.
Parameters
str1: source string, it can only be string, not address;
str2: target string, it can only be string, not address;
var: return value, the format of data must be string;
Example
dim a as floa ng
a = InStr ("Hello", "o") ' calculate the posi on of“o”in“hello”.
float2d ("@W_HDW0",a) ' return value is 4.(start with 0)
Result: HDW0=4
InvB subfunction
Function
InvB (A1)
Description
The state of inverse bit, it is a subfunc on, so has no return value. Achieve the state of switching address constantly.
Parameters
A1: it is an address.
Example
InvB (@B_HDX0.1) 'switch the state if (HDX0.1).
Result: Switch the state of (HDX0.1) constantly.
IsFloating
Function
A2=IsFloa ng (A1)
Description
Decide whether a parameter is floa ng, return true if it is floa ng, otherwise return FALSE.
A1: source data, variable;
A2: target data, must be variable, it cannot use system address directly.
Example
dim a as integer
dim b as floa ng
b= D2float ("@W_HDW200",b) ‘assign the value of (HDW200) to b
a = IsFloa ng (b) ‘judge whether b is floa ng or not
@W_HDW300=a ‘save the result to (HDW300)
Result: HDW300=1
IsInteger
Function
A2= IsInteger (A1)
Description
Determine whether a parameter(A1) is integer, returen TRUE if the parameter is integer, otherwise return FALSE.
Parameter
A1: Source date, it is variable or number;
A2: Target date, must be variable, it cannot use system address directly;
Example
dim a as integer
a = IsInteger (20) 'determine whether 20 is integer
@W_HDW300=a ' display the result on (HDW300)
Result: HDW300=1
IsString
Function
val = IsString(expr)
Description
Determine whether a parameter is string, return TRUE if it is string, otherwise return FALSE.
Parameters
Expr: source string, it can be a variable or string, not address;
Val: target date, the result must be variable, cannot be a address;
Example
dim a as integer 'define variable, display the result;
a= isstring ("hello") 'determine whether“hello”is string;
@W_HDW0=a 'assign the result to (HDW0)
Result: HDW=1
LCase
Function
A2 = LCase(A1)
Description
Return converted string all parameters to low edian.
Parameters
A1: source string, it can be a address or variable;
A2: outpu ng string, it can be a address or variable;
Example
@W_HDW33 = LCase (@W_HDW25) 'input source s ng on (HDW25),convert it to target string and display the result on (HDW33);
Result: HDW25=HELLO
HDW33=hello
Left
Function
Val =Le (String, Length)
Description
Count a string from le then return string length.
Parameters
String: source string; it can be an address or string.
Length: return the number of character. It can be an address, integer or variable. Return empty string if length<1.return the whole string if length not
less than the character number of string.
Val:target string, outpu ng string, it can be a address or variable.
Example
@W_HDW30=Le (@W_HDW36, @W_HDW40) '(HDW36) used to input source string,(HDW30) used to display the string result;
Result: HDW36=hello,
HDW40=2,
HDW30=he
Len
Function
Length=Len(String)
Description
Return the string length.
Parameters
String: source string, it can be a address or string;
Length: target data, return value, it can be a address, variable, integer or floa ng;
Example
@W_HDW30=Len (@W_HDW36) 'count the character number of (HDW36),save the result to (HDW30);
Result: HDW36=hello
HDW30=5
Log
Function
a= Logn (x)=Log(x)/Log(n)
Description
Log func on:return the natural logarithm of the value.
Parameters
a: source date,it can be a variable, but it cannot use address directly;
x, n: source date, it can be a variable, but it cannot use address directly;
Example
Dim a as integer ‘define a as integer;
Dim b as integer ‘define b as integer;
Dim c as integer ‘define c as integer;
b=@W_HDW10 ‘assigns a value to b
c=@W_HDW20 ‘assigns a value to c
a=Log (b)/Log(c) ‘count logarithm
@W_HDW0
=a ‘assign the result to (HDW0)
Result: HDW10=27,
HDW20=3,
HDW0=3
Log10
Function
a=Log10(x)= Log(x)/Log(10)
Description
Log func on: return the natural logarithm.
Parameters
A: target data, result can be variable, cannot use address directly;
x: source data, it can be variable that must be the mul ples of 10,cannot use address directly;
Example
dim a as integer ‘define a as integer
dim b as integer ‘define b as integer
b=
@W_HDW10 ‘assign a value to b
a= Log (b)/Log(10) ‘result
@W_HDW0=a ‘assign the result to (HDW0)
Result: HDW10=100,
HDW0=2
LTrim
Function
val=LTrim("string")
Description
Remove the le empty part of the string and return.
Parameters
Val: target sring, it can be either a variable or address;
string: source string, it can be either a variable or address;
Example
dim a as string
a=Ltrim(" hello")
@W_HDW103=a
Result: HDW103=hello
MAX
Function
A1=MAX(A2,A3)
Description
Compare the value of A2 and A3, assign the greater number to A1.
Parameters
A1: return value (used to store the greater number between A2 with A3).
A2: the first comparison value.
A3: the second comparison value.
No ce: A1,A2,A3 only used in unsigned integer or unsigned address.
Example
DIM A1 as integer
@W_HDW106=10 'assign the value to (@W_HDW106),unsigned decimal word.
@W_HDW107=5 'assign the value to (?@W_HDW107),unsigned decimal word.
A1 = Max(@W_HDW106,@W_HDW107)
@W_HDW105 = A1
Result: @W_HDW105 = 10
Mid
Function
A1=mid(A2,start,length)
Description
Returns a string contain a specified characters length from a string.
Parameters
A1: string contains selected characters
no ce: A1 must be a string
A2: string of being selected
no ce: A2 must be a variable or address
Start: the start posi on of string
no ce: Start must be a variable or address, it means that count begin with 0.

Length: the designated length of string


no ce: length no more than 127
Example
DIM A1 as string
A1 = Mid("helloki y",1,2) 'select the string of in "
@W_HDW106=A1
Result: @W_HDW106 'display "el" on text input and output window
MIN
Function
A1=MIN(A2,A3)
Description
Compare the value of A2 and A3, assign the smaller number to A1.
Parameters
A1:return value (used to store the less number between A2 with A3).
A2:the first comparison value.
A3:the second comparison value.
No ce: A1,A2,A3 only used in unsigned integer or unsigned address.
Example
DIM A1 as integer
@W_HDW106=10 'assign the value to (@W_HDW106),unsigned decimal word.
@W_HDW107=5 'assign the value to (?@W_HDW107),unsigned decimal word.
A1 = Min(@W_HDW106,@W_HDW107)
@W_HDW105 = A1
Result: @W_HDW105 = 5
MSeconds
Function
A1=MSeconds( )
Description
A1 is used to display the current microseconds of system.
Parameters
A1:used to store the current microseconds of system.
No ce: A1 is unsigned integer variable or unsigned integer address.
Example
DIM A1 as integer
@W_HDW0= 10 'assign a value to (@W_HDW0), unsigned decimal word
A1=MSeconds() 'return the current microseconds of system to A1
@W_HDW0= A1 'display microseconds on screen,(HDW0) is a unsigned decimal integer address
Result: @W_HDW0 will generate the me value of changing microseconds unit.
NewNoAddr
Function
A1= NewNoAddr (A2, length)
Description
At the basic of source address A2,offset designated length,obtain a new address A1.
Parameters
A1:address a er offse ng
No ce: A1 must be variable.
A2: source address
No ce:A2 must be address(e.g.:"@W_HDW000002")
Length:offset length
Example
DIM A1 as string
A1=NewNoAddr("@W_HDW0",50) '(HDW0) offsets 50 words address(16 bit),and save the result to A1
@W_HDW1=A1 '(HDW50) save in A1
Result: (@W_HDW1) character input/display will show @W_HDW50
NewStatAddr
function
A1= NewStatAddr(A2,length)
description
At the basic of source address A2,offset the designated length,to obtain a new sta on A1.
parameters
A1: The address a er offse ng
No ce: A1 must be variable.
A2: Source sta on address
no ce:A2 must be address (e.g.:"@W_1:10").
Length: offset length
Example
DIM A1 as string
A1=NewStatAddr("@W_1:10",2) 'address 10 of sta on address1 that offset 2 sta on addresses,then save the result to A1
@W_HDW1=A1 'address 3:10 is saved in A1
Result: @W_HDW1 character input/display will show @W_3:10
NStringCompare
Function
A1= NStringCompare(A2,A3,length)
Description
Compare whether the designated length of two strings is the same,return 1 to A1 if yes,otherwise return 0.
Parameters
A1:return value (compare the designated length of two strings,display 1 when equal,else 0).
No ce: A1 can be a address integer or variable.
A2:the address of string to be compared
No ce: A2 must be address.
A3:source string
No ce: A3 must be variable or constant string.

Length:string length to be compared


Example
@W_HDW1= NStringCompare("@W_HDW0","87654",5)
if @W_HDW1=1 then
@B_HDX10.0=1 'result: HDX10.0 set ON ‘when the two strings are the same.
endif
if @W_HDW1=0 then
@B_HDX10.0=0 'result:HDX10.0 set OFF ‘when not equal.
endif
Power
Function
var = power(expr1, expr2)
Description
The value of [expr2] to the power of [expr1] will be assigned to Var.
Parameters
var: return value.
expr 1: base number.
expr 2: power number.
Example
Dim a as floa ng
a=power (2, 3) ’the value of 3 to the power of 2 is assigned to a.
Float2D("@W_HDW10",a) ’assign the float value of a to @W_HDW10
Result: @W_HDW10=8
RadToDeg
Function
Var= RadToDeg(expr)
Description
Convert radiant value to degree, then assign to Var.
Parameters
Var: return degree value.
expr: input radiant value.
Example
Dim a as floa ng
a = RadToDeg(pi) 'assignt the degree value of p to a.
Float2D("@W_HDW4",a) 'assign the degree value to address "@W_HDW4".
Result: @W_HDW4=180
RAND
Function
Var = rand(expr1)
Description
Generate a random number.
Parameter
Var: generated random number.
Expr1: the base number.
Example
@W_HDW0=rand(@W_HDW0) 'Set the value of address@W_HDW0 as the base number to generate random number.
Result: @W_HDW0 random number.
ReadAddr
Function
Word = ReadAddr(A1)
Description
Assign the red value from A1 to word.
Parameter
Word: return value
Example
Dim word as integer
@W_HDW100=10
word = ReadAddr("@W_HDW100") 'Read the value of address @W_HDW100 and assign to word.
@W_HDW200=word
Result:@W_HDW200=10
Right
Function
val = Right(string, length)
Description
Return the designated number of string to val.
Parameter
String: the operated string.
Length: the designated number of byte required to return, count from the right side.
Example
@W_HDW103= Right("Hello", 3) 'return "llo"
Result:@W_HDW103="llo"
RTrim
Function
val = RTrim(str)
Description
Clear the empty part on the right side of string [str], then assign the empty part to val.
Parameter
val: return value.
str: the string need to be operated.
Example
@W_HDW0 = RTrim(" -Hell o- ") ' retrun" -Hell o- "
Result: @W_HDW0 ‘display " -Hell o-"
SetB sub
Function
SetB(A1)
Description
Set the bit A1 ON.
Parameters
A1:Bit address
Example
SetB(@B_HDX100.0) 'Set the address {@B_HDX100.0} ON
Result: @B_HDX100.0=1
SignedInt16
Function
val = SignedInt16(A1)
Description
Assign the value to {val} from address A1 which is signed integer.
Parameters
A1:contain signed integer as "@W_HDW000002"
Val:return value
Example
Dim a as integer 'Integer variable a
a = SignedInt16("@W_HDW0") 'read signed integer from HDW0 addresses and assign the value toa
@W_HDW2=a 'assign the value a to HDW2
Input: @W_HDW0=-2:
Result: @W_HDW2=-2.
SignedInt32
Function
val = SignedInt32 (A1)
Description
Assign the value to {val} from address A1 which is signed even integer.
Parameters
A1: the address contains signed even integer
Val: Return value
Example
Dim a as integer 'define {a} as a integer
a = SignedInt32("@W_HDW0") 'read signed even integer from HDW0, then assign this value to a.
@W_HDW2=a 'assign the value of a to HDW2
@W_HDW13=a>>16
Input: @W_HDW0=-2
Result: @W_HDW2=-2
@W_HDW13=-1
Sin
Function
val = Sin(A1)
Description
Implement sin calcula on to compu ng the value in A1 then assign to val.
Parameters
A1: A1 needs to be a angle.
Val: Return value.
Example
Dim a as floa ng 'floa ng variable a,b
a=sin(pi/6) 'return sinb to a
Float2D("@W_HDW13",a) 'assign the value of the floa ng variable a to address HDW13.
Result: @W_HDW13=0.5
SleepA
Function
SleepA(T)
Description
Wait me T(ms).
Parameters
T: wait me, the unit is [ms]
Return value: not available.
Example
SleepA(10) 'wait 10ms
Result: When the script runs to SleepA(10) then wait 10ms to con nue running.
Sqr
Function
val = Sqr(A1)
Description
Assign a square root value of A1 to val.
Parameters
A1:the data need to be operated
Val:Return value
Example
@W_HDW0 = Sqr(4) 'calculate the square root of HDW0
Result: @W_HDW0=2
Sub
Function
Sub name (arglist)
statements
End Sub
Description
Declare the name, parameters and codes of the Sub (sub func on)
Parameters
Name:naming rules refer to variable.
Arglist:variable list.
Statements: the code set of the sub func on.
Example
sub samesub(a,b as integer) ' samesub and integer variable a,b
c=a+b
@W_HDW0=c
endsub
samesub(1,12) 'call func on samesub
Result: @W_HDW0=13
SWAP subfunction
Function
SWAP(A1,length)
Description
Swap the High endian with the low endian from address A1, swap length is adjustable.
Parameters
A1:the swapped high edian, must be a address as HDW_000002.
Length:swap length.
Return value:Not available.
Example
@W_HDW103=0x1234 'assign value to HDW103
@W_HDW104=0x2345 'assign value to HDW104
@W_HDW105=0x2565 'assign value to HDW105
@W_HDW106=0x2675 'assign value to HDW106
SWAP(@W_HDW103,4) 'swap the high and low endian for the 4 adjacent addresses start with HDW103.
Result:
@W_HDW103=0x3412
@W_HDW104=0x4523
@W_HDW105=0x6525
@W_HDW106=0x7526
Tan
Function
val = Tan(A1)
Description
Implement tan calcula on to compu ng the value in A1 then assign to val.
Parameters
A1:A1 needs to be an angle.
Val:return value.
Example
Dim a as floa ng 'define a floa ng variable a
a=TAN(pi/3) 'calculate the tangent value of pi/3 and assign to a
Float2D("@W_HDW16",a) 'assign the value of a to HDW16
Result: @W_HDW13=1.732
Trim
Function
val = Trim(A1)
Description
Return a value of a address without empty string next to it.
Parameters
A1:The operated string
val:return value
Example
@W_HDW1=Trim(" ab ")
Result: @W_HDW1="ab"
UCase
Function
val = UCase(A1)
Description
Capitalize the string data, and then assign the value to val.
Parameters
A1:operated string, address or variable.
Val:Return value
Example
@W_HDW1=ucase("abcd") 'Capitalize abcd then assign the value to HDW1
Result: @W_HDW1="ABCD"
Variable
Description
A variable is any factor, trait, or condi on that can exist in differing amounts or types.
De ine variable
Use Dim to define variable in script. The variable can be string, floa ng, integer.
Example:
Dim a as floa ng ’define variable {a} as a floa ng.
Dim b,c,d as integer’define variable {b,c,d} as integer
Naming rules
The first le er must be English le er.
No symbols.
Maximum length is 15 words.
W2B
Function
W2B(A1, A2, A3)
Description
Replace the high endian of [A2]+1 with the high endian of A2.
Parameters
A1: operated address.
A2: source address.
A3: the conversion length.
Return value: not available.
Example
@W_HDW0 = 4660 'assign 16bit value 1234 to HDW0.
@W_HDW1=0x5678 ''assign 16bit value 5678 to HDW1.
@W_HDW2 = 0x2425 ''assign 16bit value 2425 to HDW1.
@W_HDW3 = 0x3536 ''assign 16bit value 3536 to HDW0.
@W_HDW4 = 0x1415 ''assign 16bit value 1415 to HDW0.
W2B(@W_HDW20,@W_HDW0, @W_HDW10)
@W_HDW10=1: save the high endian {34} of HDW0 to HDW20.
Result: @W_HDW20=0x34, @W_HDW21=0, @W_HDW22=0
W2D
Function
W2D(A1, A2)
Description
Convert the unsigned Word to unsigned Dword and save the result in A1.
Parameters
A1: operated address.
A2: source address.
Return value.
Example
unsigned decimal word
@W_HDW0 = 1234 'assign 1234 to HDW0.
W2D(@W_HDW2, @W_HDW0) 'convert unsigned word {1234} from HDW0 to Dword and save in HDW2
Result: @W_HDW0=12345,@W_HDW2=12345,@W_HDW3=0

signed decimal word


@W_HDW0 = -12345 'assign value to HDW0: convert {-12344} to unsigned decimal word is {53191}.
W2D(@W_HDW2, @W_HDW0) 'save unsigned Dword to HDW0
Result: @W_HDW0=-12345,@W_HDW2=53191,@W_HDW3=0
W2F
Function
A1 = W2F (A2)
Description
Convert a 16bit integer to a 32bit floa ng, and then save to the next word of A1.
Parameters
A1: operated address.
A2: source address.
Return value: not available.
Example
1. A1, A2 are addresses
@W_HDW0 = 1234 ' assign unsigned word {1234} HDW0 @W_HDW1=W 2F(@W_HDW0) ' Convert {1234} to a 32bit floa ng and then save
to HDW1, HDW2.
Result: @W_HDW1=1234'32bit floa ng

2. A1 is an address,A2 is variable
dim a as integer
a=134 ’define a integer 134 to a,
@W_HDW2=W2F (a) 'convert to 32bit floa ng save to HDW1, HDW2.
Result:@W_HDW1=134' 32bit floa ng
W2S
Function
W2S(A1,A2,S1)
Description
Convert integer word in address A1 text as S1 format, and then save to A2.
Parameters
A1: operated address.
A2: source address.
S1: saving format.
1. d format:Decimal format.
d:real data length.
Md:designated data length.
0md:designated data length if the length is shorter than m add 0 at the le .
2. oformat:Unsigned octonary format. Mo and 0mo is also applied.
3. x format:unsigned Hex integer format?Mx and 0mx is also applied.
4. c format: ASCII format.
Example
1. Decimal format
@W_HDW1=1456 ’assign value {1456} to HDW1.
W2S("@W_HDW1", "@W_HDW10", "6d") ' convert{1456} to decimal text and save to HDW10.
Result: @W_HDW10 shown ”1456”
2. 0md
@W_HDW1=1456 ’ assign value {1456} to HDW1
W2S("@W_HDW1", "@W_HDW10", "06d") ' convert{1456} to integer decimal text and add 2 {0} on the le of the data then save to HDW10.
Result: @W_HDW10 show text “001456”
WHILE ... WEND
Function
While condi on
[statements]
Wend
Description
If the condi on is true, then all the commands before Wend in the statement will be executed then recheck the condi on, if the condi on is false, the
command a er Wend will be executed.
Parameters
Condi on:Number or string, the result represent as True or False.
Return value: not available.
Example
while @W_HDW1>50 ’the condi on is the value of HDW1 bigger than 50.
@W_HDW1=@W_HDW1-1 ’when the condi on is true, execute subtract 1 from 1HDW.
wend
@W_HDW2=@W_HDW2+1 ’ when the condi on is false, execute add 1 from 1HDW.
Execute: If HDW1=60,a er executed; HDW1=50, if the condi on is true.
WriteAddr
Function
WriteAddr(A1,A2)
Description
Assign the value from A2 to address A1.
Parameters
A1: operated address
A2: source address
Return value: not available.
Example
dim f as integer ' integer f
f=13 ' assign the value 13 to f
WriteAddr("@W_HDW1",f) ' write the value to HDW1.
WriteAddr("@W_HDW10",@W_HDW2) ' write the value from HDW2 to HDW10.
Result:
HDW1=13
HDW10= HDW2'IF HDW2=1456,Then HDW10=1456;IF HDW2=-123,Then HDW10=-123
HMI Address
HMI provide four types of HMI address for user:
System Parameters (HSW/HSX)
The address star ng with “HSW” are reserved by HMI system, define those address to save the state or parameter of current system. Like system
proper es, communica on parameters etc.
User Data (HDW/HDX):
The address star ng with “HDW” are provided for user, save data to this type of address. Provide holding addresses
(HDW8000~HDW30000) as well.
Special Data(HPW/HPX):
Special address reserved by HMI.
Recipe Query(RPW):
Accessing recipe data by reading or wri ng those addresses.
The address format RPW**####; ** means group number; #### means data number; (e.g. RPW010002 means the second data in first group)
No ce:
HSW, HDW, HPW, RPW are word address, HSX, HDX, HPX are bit address;
HSW is related to HSX, (e.g. one word address HSW0 contains 16 bits from HSX0.0 to HSX0.15);
HDW is related to HDW, (e.g. one word address HDW0 contains 16 bits from HDX0.0 to HDX0.15);
HPW is related to HPX, (e.g. one word address HPW0 contains 16 bits from HPX0.0 to HPX0.15);
RPW has no related bit address.

Word Address Address Format Range
HSW HSWn HSW0~16000
HDW HDWn HDW0~30000
HPW HSWn HPW0~8191
RPW RPWn RPW000000~491000

Bit Address Address Format Range


HSX HSXn.m HSX0.00~16000.15
HDX HDXn.m HDX0.00~30000.15
HPX HPXn.m HPX0.00~8191.15
HPW Address
Address Meaning Descrip on
Need to specify the group number.(value of
HPW0)
HPW0 Group number of recipe
when you download or upload the data to
recipe.
HSW Address
Address Meaning Parameter
Save the parameter of project when
HSW00000 Save preferences se ng HSW000000=1
Cancel the parameter of project when
HSW00001 Cancel parameter Se ngs
HSW000001=1
HSW00002 HMI sta on No. Reserved
HSW00003 PLC sta on No. Reserved
0: RS232
HSW00004 Type of COM1 serial port 1: RS485
2: RS422
0: COM1
HSW00005 COM No.
1: COM2
0: 2400
1: 4800
2: 9600
HSW00006 COM1 baud rate (BPS) 3: 19200
4: 38400
5: 57600
6: 115200
0: 7
HSW00007 COM1 data bits
1: 8
0: None
HSW00008 COM1 parity 1: Odd
2: Even
3:SPACE
0: 1 Bit
HSW00009 COM1 stop bit
1: 2 Bit
0: None
HSW00010 COM1 flow control 1: So ware
2: Hardware
HSW00011 COM1 number of re ed
HSW00012 COM1 wai ng meout Unit: millisecond
HSW00013 COM1 receiving meout Unit: millisecond
HSW00014 Default screen No. The first screen a er star ng the HMI
0: language 1
HSW00015 Display language 1: Language 2
2: Language 3
HSW00016 Font Reserved
HSW00017 Font size Reserved
HSW00018 Font quality Reserved
0: True
HSW00019 Touch buzzer 1: False
0: False
HSW00024 Restart HMI
1: True
HSW00026 Printer type Reserved
HSW00027 Print port Reserved
HSW00028 Local me year Range: 0~999
HSW00029 Local me - month Range: 01~12
HSW00030 Local me - Day Range: 01~31
HSW00031 Local me - Hour Range: 0~23
HSW00032 Local me - Minute Range: 0~59
HSW00033 Local me - Second Range: 0~59
HSW00034 Upload project 1: Upload (Reserved )
HSW00035 Download project 1: Download (Reserved)
0: RS232
HSW00036 Type of COM2 serial port 1: RS485
0: 2400
1: 4800
2: 9600
3: 9600
HSW00037 COM2 baud rates
4: 19200
5: 38400
6: 57600
7: 115200
0: 7
HSW00038 COM2 data bits
1: 8
0: None
1: Odd
HSW00039 COM2 parity
2: Even
3: SPACE
0:1 Bit
HSW00040 COM2 stop
1:2 Bit
0: None
HSW00041 COM2 flow control 1: So ware
2: Hardware
HSW00042 COM1 number of re ed
HSW00043 COM1 wai ng meout Unit: millisecond
HSW00044 COM1 receiving data meout Unit: millisecond
HSW00045 Characters keypad display Characters keypad display
HSW00112 Security protec on 1: Enable security protec on
1: level 1
2: level 2
HSW00113 Security level
3: level 3
......
1: level 1
2: level 2
HSW00114 Current security level ……
11: level 11
12: level 12
0:Sunday
1:Monday
2:Tuesday
HSW00126 Local me - week 3:Wednesday
4:Thursday
5:Friday
6:Saterday
0: normal beeping
HSW00127 Beep
1: keep beeping (unlatched )
HSW00128 Script running cycle
HSW00136~139 HMI IP address 1 (le to right)
HSW00140~143 HMI subnet mask 1 (le to right)
HMI default gateway 1 (le to
HSW00144~147 right)
HSW00148 HMI port No.
Security level password 0: False
HSW00157 independent 1: True
HSW00160~163 Password 8 bytes
HSW00169 COM 1 meout retried Range: 0~65535
HSW00170 COM 2 meout retried Range: 0~65535
HSW00173 COM1 delay read or write Range: 0~65535
HSW00174 COM2 delay read or write Range: 0~65535
HSW00175 COM3 delay read or write 0~65535
0: not heavy pain ng empty
HSW00176 Empty history XY plot
1: heavy pain ng empty
0: False
HSW00189 Display an error message box
1: True
0: False
HSW00191 Empty record data files,
1: True
Empty system configura on 0: False
HSW00192
files, 1: True
HSW000200 The number of current bit alarm
The number of current word
HSW000201
alarm
1: True
HSW000202 Empty bits alarm data
0: False
1: True
HSW000203 Empty words alarm data
0: False
1: clear all file under” \ \ Flash \ \ Data “
2: clear all file under”\ \ Flash \ \Data \ \ DL “
3: clear all file under”\ \ Flash \ \ Data \ \ AL “
4: clear all file under”\ \ CFDC \ \ Data “
HSW000205 Clear file under “\ Flash \ Data” 5: clear all file under”\ \ CFDC \ \Data \ \ DL “
6: clear all file under”\ \ CFDC \ \Data \ \ AL “
7: clear all file under”\ \ Udisk \ \ Data”
8: clear all file under”\ \ Udisk \ \Data \ \ DL "
9: clear all file under” \ \ Udisk \ \ Data \ \ AL “
9: clear all file under” \ \ Udisk \ \ Data \ \ AL “
HSW000214 Close the pop up window 1 :True
0:capital
HSW000216 Keyboard case switching
1:lowercase
0:False
HSW000217 Clear mul -language se ng
1:True
0:False
HSW000218 Se ngs screen saver switch
1:True
Start me of screen saver
HSW000219 Unit: second
countdown
HSW000220 Screen saver countdown Unit: second
HSW000221 Screen sleep Unit: second
0:True
HSW000223 Beep when alarm
1:False
HSW000224 PLC sta on No. Of COM2 Range: 0~255
HSW000225 HMI sta on No. Of COM2 Range: 1~255
HSW000226 PLC sta on No. Of COM2 Range: 0~255
HSW000227 HMI sta on No. Of COM2 Range: 1~255
0:False
HSW000230 Save CF/SD card data to U disk
1:True
0: False (from ache)
HSW000233 Read data from PLC
1: True (from PLC)
HSW000238 Bit alarm flag 1: True
HSW000239 Word alarm flag 1: True
Group number of Discrete
HSW000243 Range: 1~3
recipe
1: upload
HSW000244 Recipe upload or download
2: download
HSW000245 Clear alarm record Clear alarm record
0: RS232
HSW000247 Type of COM1 serial port 1: RS422
2: RS485
0: 2400
1: 4800
2: 9600
3: 9600
HSW000248 COM3 baud rates
4: 19200
5: 38400
6: 57600
7: 115200
0: 7
HSW000249 COM3 data bits
1: 8
0: None
1: Odd
HSW000250 COM3 parity
2: Even
3: SPACE
0: 1 Bit
HSW000251 COM3 stop bit
1: 2 Bit
0: None
HSW000252 COM3 flow control 1: So ware
2: Hardware
HSW000253 COM3 number of re es
HSW000254 COM3 wai ng meout Unit: millisecond
HSW000255 COM3 receiving data meout Unit: millisecond
Save parameters of group No.0 0:True
HSW000256
data record 1:False
Sampling period of group No.0
HSW000257 Unit: second (0 ~ 65535)
data record
Autosave period of group No.0
HSW000258 Unit: minutes (0 ~ 65535)
data record
The type of saving data of group 0:According
to se ng to save data
HSW000259 1:save data to CF/SD card, data in HMI will be
No.0 data record
cleared
Save parameters of group No.1 0:True
HSW000260
data record 1:False
Sampling period of group No.1 Unit: second (0 ~ 65535 )
HSW000261
data record
Autosave period of group No.1 Unit: minutes( 0 ~ 65535)
HSW000262
data record
The type of saving data of group 0:According
to se ng to save data
HSW000263 1:save data to CF/SD card, data in HMI will be
No.1 data record
cleared
… … …
Save parameters of group No.10 0:True
HSW000296
data record 1:False
Sampling period of group No.10
HSW000297 Unit: second (0 ~ 65535 )
data record
Autosave period of group No.10
HSW000298 Unit: minutes(0 ~ 65535)
data record
HSW000501 Default level of parts security
HSW000502
Current level of parts security
HSW000503 Import group No. of recipe
HSW000504
export group No. of recipe
HDW25000
Import file name of file list
HDW25001
Export file name of file list
HSW000506
Clear the current event list
HSW000507
Clear history event list
HSW000508
Delete EVReg.dat files
Parts security password
HSW000509
separated
Whether opening parts
HSW000500
password
HSW000543
X posi on of touching
HSW000544
Y posi on of touching
HSW000546 U disk state for print part HSW546=1
HSW000547 HSW547=1:Saving
State of saving picture
HSW547=2:Saved
HSW000545
Screen No. of screen saver
HSW000661-
Year, month, day,
666
hour,minute,second for File list
HSW667=10000:impor ng
HSW667=10000+group:Import success
HSW000667 HSW667=20000:Import failure
File list import export state
HSW667=30000:Expor ng
HSW667=30000+group:Export success
HSW667=40000+group:Export failure
10 sets of data recording
0:According to the engineering of setup me
parameters Se ngs
preserva on
HSW000299 Immediately store data records
1:Immediately storage to CF card, within the
This se ng can power lost
system will be reset
preserva on
HSW000744- Read or write data by this area may damage
Latched address
HSW001255 FLASH
HSW000542 =1 Memory is full already
Total addresses length: 16 K + 2000 words,
HDW8000-
Latched address Read or write data by this area may damage
HDW30000
FLASH
Picture level password
HSW000404 Safety level 1 password Total 8 bytes
HSW000408 Safety level 2 password Total 8 bytes
HSW000412 Safety level 3 password Total 8 bytes
HSW000416 Safety level 4 password Total 8 bytes
HSW000420 Safety level 5 password Total 8 bytes
HSW000424 Safety level 6 password Total 8 bytes
HSW000428 Safety level 7 password Total 8 bytes
HSW000432 Safety level 8 password Total 8 bytes
HSW000436 Safety level 9 password Total 8 bytes
HSW000440 Safety level 10 password Total 8 bytes
HSW000444 Safety level 11 password Total 8 bytes
HSW000448 Safety level 12 password Total 8 bytes
Parts level password
Password using the internal parts HSW address words address type
safety level 1 Total 8 bytes HSW452
safety level 2 Total 8 bytes HSW456
safety level 3 Total 8 bytes HSW460
safety level 4 Total 8 bytes HSW464
safety level 5 Total 8 bytes HSW468
safety level 6 Total 8 bytes HSW472
safety level 7 Total 8 bytes HSW476
safety level 8 Total 8 bytes HSW480
safety level 9 Total 8 bytes HSW484
safety level 10 Total 8 bytes HSW488
safety level 11 Total 8 bytes HSW492
safety level 12 Total 8 bytes HSW496

open parts level password HSW500


The default parts password level HSW501
Current part password level HSW502
RS 232C/RS422/RS485 Serial Interface
RS-232 serial interface
RS232 was first introduced in 1962, This is the most common type of serial interface, it was the standard communica on before the PS2 and USB
become popular in the computer industry, you use to connect mouse, modem and printer to RS232 serial interface. RS232 only allows for one
transmi er and one receiver on each line. RS232 also use a Full-Duplex transmission method. RS232 can transmit up to 1Mbps with maximum
distance up to 50 feet.

RS-422 serial interface


RS422 is an improved version of RS232, it uses twisted pair cable to reduce the noise, and it uses signaling balancing to transmit data, so what is signal
balanced – It uses a voltage-difference between the two lines as an indica on of the signal value, with this method the data is able to transmit for
longer distance with faster data rates, with RS422 the data can transmit up to 10 Mpbs at 50 feet or 100 Kbps at 4000 feet. RS422 is capable of mul -
drop capability, it limits up to 10 slaves in the data line.

RS485 serial interface


RS485 is an improved version of RS422, it expands on the capabili es, the major change is to have mul -drop Limita on of RS422, it allowing up to 32
devices to communicate through the same data line. Any of the slave devices on an RS-485 bus can communicate with all the slave within the data
line without going through master device.

Item RS232 RS422 RS485


Single ended mul - Mul -drop
Cabling Single ended
drop
Number of 1 transmi ers 10 32 transmi ers 32
1 transmit 1 receive
Devices receivers receivers
Communica on Full duplex, half Full duplex, half
Full duplex
Mode duplex duplex
Max Distance 50 feet at 19.2 Kbps 4000 feet at 100 Kbps 4000 feet at 100 Kbps
Max. Data Rate 1Mpbs for 50 feet 10 Mpbs for 50 feet 10 Mpbs for 50 feet
Signaling Unbalanced Balanced Balanced
2V min. (B>A) 6V max. 5V max. (B>A)
Mark (data 1) -5V min. -15V max.
(B>A)
2V min. (A>B) 6V max. 5V max. (A>B)
Space (data 0) 5V min. 15V max.
(A>B)
Input Level Min. ±3V 0.2V difference 0.2V difference
Data Record
Collect data in designated me period, and save the data to storage device, The record data file can be saved in the SD card, U disk or
external storage.
Data Record
Click [Se ng]-[Data record] to edit its proper es:

Figure 1
1. Language: choose display language.
2. Import: import new record group from CSV file.
3. Export: export the current record group to CSV file.

Figure 2
1. Group name: group name, should be unique;
2. Sampling cycle: the sampling cycle of the group;
3. Saving cycle: the saving cycle of the group, in minute;
4. Trigger mode: Trigger to record the ;
5. Trigger address: Control to collect the record;
6. Show “0” when me out: the data record will display 0 when channel failed to get the data.

Figure 3
1. Channel name: group name, it is sole, can not repeat;
2. Address: the word address need to be record, it can be external register address, also can be HMI register address;
3. Display format: Data transfer format, current support binary system, octonary number system, unsigned, signed, hexadecimal, BCD,32 floa ng,32
unsigned,32 signed, character;
4. Decimal point: whether to display the decimal point and the number a er the decimal point in the data storage medium.

Data record file


Click the “Export” in the “Data record” window a er set, then can export an CSV file.

1. The first line of the CSV: STUDIO, DataLog;


2. The second line of the CSV: Language of group 1, Language of group 2, Language of group 3, Sampling cycle(in second),save cycle(in
minute),trigger mode, trigger address,
Channel language 1, Channel language 2, Channel language,3 address, data format, data length, the place of decimal point.
3. The last line of CSV:END;
4. Data format: binary system (0), octonary number system(1), unsigned(2), signed(3),BCD(4),32 floating (5),signed(6),32
unsigned(8),32 signed(9),character(11)
Data Record Storage
Storage
Data record file can be saved in different storage medium according to customer requirement.
Click [Se ng]-[project Proper es]-[Data record storage]:

At most 30Mb space for data storage. If user needs to record large data, it is suggested to storage in U disk or SD card. The data may be lost if
removable storage is larger than 4 GB.
Save cycle of the data Interval of generate file
0-30 minutes 1 hour generate a file
30 minutes -12hours 1 day generate a file
12hours-15days 1 month generate a file
More than 15days 1 year generate a file
Data Record Tool
View data from “Data record display”.

Figure 1
Click “S” in the le side of the data record display object, display the se ng dialog box.

Figure 2
Data log tool
The so ware record the file in CSV format, The record data exported form HMI is encrypted by default. So need to use the “data log tool”.
Click [Tool]-[Data Log Tool]

Figure 3
Data Record Transfer
Add “Func on Switch” to the screen, and double click to edit its proper es.
The record data stored in HMI FLASH or SD card can be transferred to Udisk by func on switch.

Figure 1
PLC Debugging
The PLC programming so ware(Running on PC) can be communicated with remote PLC over HMI, to download, upload and monitor the PLC.

Figure 1
Setting
Requirement:
1. At least 2 COM port on HMI, one is for PLC connec on, the other one is for PLC debugging.
2. PLC programming so ware support communica ng with PLC over COM port.
For Example
Mitsubishi PLC:
1. Connect HMI(COM1) with PLC.
2. Connect HMI (COM2) with PC (PLC programming so ware), the communica on parameters of both COM ports should be same.
3. Set the wait meout.
No ce: It may be disconnected during communica on, when PLC debugging is enabled.

Figure 2
Siemens S7-200 Smart Ethernet
General
The driver is designed for Siemens S7-200 Smart series PLC.
Addresses
HMI PLC
Type address address Format Range note
IW I IWn 0 ~ 99999
QW Q QWn 0 ~ 99999
AIW AI AIWn 0 ~ 99999
VB AQ VBn 0 ~ 99998
VW0=VB(0~1)
VW V VWn 0 ~ 99998 VW2=VB(2~3)
Even address
VD0=VB(0~3)
VD4=VB(4~7)
VD V VDn 0 ~ 99998 The addresses
need to be the
mul ply of 4
Word MB M MBn 0 ~ 99999
address MW=MB(0~1)
MW M MWn 0 ~ 99999 MW2=MB(2~3)
Even addresses
MD0=MB(0~3)
MD4=MB(4~7)
MD M MDn 0 ~ 99999 The addresses
need to be the
mul ply of 4
Current value on
TW T TWn 0 ~ 99999
mer
CW C CWn 0 ~ 99999 Current value on
counter
SW W SWn 0 ~ 99999
I I In.x 0.0 ~ 99999.7
Q Q Q 0.0 ~ 99999.7
VW-BIT V VW-BITn.x 0.0 ~ 99999.7
V V Vn.x 0.0 ~ 99998.7
M M Mn.x 0.0 ~ 99999.7
Bit
address SM SM SMn.x 0.0 ~ 99999.7
S S Sn.x 0.0 ~ 99999.7 Read only
Timer state, Read-
T T Tn 0 ~ 99999
only
Counter state,
C C Cn 0 ~ 99999
Read-only

Setting
Choose the correspond protocol for PLC, at [Se ng]-[Communica on]-[se ng].

Figure 1
Set the Ethernet data.
Figure 2

Figure 3
PLC IP: device IP
PLC port No.:102(fixed)
Network:TCP_Client_2N (fixed)
Wait me:the internet status(=1500ms)

Figure 4
Siemens S7-300 MPI protocol
General
The RS485 cable connec on is shown as figure 1. Communica on parameter: 185000,1,8,Even; Sta on No.: 2.

Figure 1
Address
IW address format is shown as following, QW and MW address se ng is the same.
Word: IW0, IW2, IW4, IW6, IW8…… corresponds to: I0.0~I1.7(IW0),I2.0~I3.7(IW2),I4.0~I5.7(IW4),….
Dword: IW0, IW4, IW8, IW12, IW16…

Figure 2
DBn Address:
BBB
BD data (0~255);
DDDD=
Corresponds to BD addresses (0~8192);
Shown as following BBBDDD = 1000095, 100 is data block, 0095 is address.

Figure 3
The data filled with zeros shown as 0120005 which represent the address 0005 in data block 012.

Figure 4
DB##DBWxxxxxx:## is data block number (0~255), xxxxx represent data block range (0~8192), shown as figure 5, 01 is data block, 4 is the address
correspond to it.
Figure 5
Siemens S7-300 Ethernet


HMI
Type PLC address Format Range Note
address
IW I IWn 0 ~ 99999
QW Q QWn 0 ~ 99999
MB M MBn 0 ~ 99999
MW=MB(0~1)
MW M MWn 0 ~ 99999 MW2=MB(2~3)
Even address
MD0=MB(0~3)
MD4=MB(4~7)
MD M MDn 0 ~ 99999 The addresses
Word need to be the
address mul ply of 4
nn: block
DBxDBB DB0.DB~DB99.DB DBxDBBnnxxxx 000000~999999 number, xxxx:
address
nn: block
DBxDBW DB0.DB~DB99.DB DBxDBBnnxxxx 000000~999999 number, xxxx:
address
nn: block
DBxDBD DB0.DB~DB99.DB DBxDBBnnxxxx 000000~999999 number, xxxx:
address
I I In.x 0.0 ~ 99999.7
Q Q Q 0.0 ~ 99999.7
Bit M M Mn.x 0.0 ~ 99999.7
address nn: block
DBxDB DB0.DB~DB99.DB DBxDBnnxxxx.y 0.0 ~ 99999.7 number, xxxx:
address

Driver selec on.

Figure 1
Internet parameter.

Figure 2
Figure 3
Siemens S7-1200 Ethernet
Settings
Select [Siemens S7-1200 Ethernet] in [se ng]-[communica on]- [Se ng].

Figure 1

Figure 2
Connection
S7-1200 support maximum 3 device connec on.
HMI access with PLC with S7 protocol, TSAP is 02.01.
DB access
Offset is DB2 address
To access the B1 data in DB2, use addresses DBxDBB2xxxx, DBxDBW2xxxx, DBxDBD2xxxx.
Represent block: 2xxxx
For example: DBxDBB20000 = DD2.DBB0
DBxDBB20001 = DD2.DBB1
User-de ined Protocol
Write and Read
Applica on 1: according to Modbus protocol, HMI send 01 03 00 00 00 04 44 09, 01: sta on number, 03: write, 00 00: index address, 00 04: data
length, 44 09: CRC code.
The device will return 01 03 08 00 24 00 00 00 06 00 07 50 16, 01: sta on number, 03: write, 08: valid data length, 50 16: CRC code.
The specific se ngs are shown as following.
Step 1: Add checking, in [check] se ng.

Figure 1
Step 2: set address details in [part] se ng.

Figure 2
Step 3:set return data posi on and length in [data length].
Figure 3
Step 4:set the return data length in [instruc on length].

Figure 4
Case 2: Based on Modbus protocol, HMI send: 01 06 00 01 00 38 D9 D8. 01: sta on number, 06: write, 00 01 index address, 00 38: acquired data, D9
D8: CRC code.
Device responds same command: 01 06 00 01 00 38 D9 D8, means write successful.
Step 1: set start posi on and length in [checking]-[back checking].
Figure 5
Step 2: set write data in [data length].

Manually send
“manually send”: the command will send while the address is triggered.
Case 1: assign manually send to a command, control bit is 12 (range: 0-9999).
[oncectrlbit] can be found in address se ng in [user-defined protocol].

Figure 6
Send a er receiving
Send a er receiving will applied when the HMI is used as a Client device. The se ngs shown down below.
Figure 7
General

If the device does not support MODBUS standard, and the protocol is not list in HMI compile so ware, then user can define the protocol by
following instruc on to realize simply communica on func ons like send and receive commands.

Settings
1.Choose [other protocol]–[user defined protocol].

Figure 1
Press [communica on]-[user-defined protocol].

Figure 2
Proper es Descrip on
Instruc on edit The required command.
Mode Write to address or read from the address.
Format Encode format: HEX or ASCII.
Other No receiving: does not respond to the receiving command.
Send a er receiving: respond to the receiving command.
Manually send Respond once a er trigger the address.
Address: set the trigger address.
Add Save this se ng.
Cancel Cancel current se ngs.
Add Add a new command.
Edit Edit the designated command.
Delete Delete the designated command.
Clear Clear all the commands.
Instruc on list Browse all current commands.
Parts list Browse all the parts added.
Import Import the command files to the instruc on list.
Export Export current command se ngs to local storage.
Browse Browse local command files.
Advanced Combine two commands.
Exit Complete edi ng and exit se ng.
Press [Add] to create a new command.

Figure 3
Select the Mode as below.

Figure 4
Choose the data format as below.
Figure 5
Instruc on edit, when the data format is HEX, use two numbers to represent one 16bit number. ASCII format using characters to input, shown as
below.

Figure 6
Check se ngs, shown as below.
Figure 7
Proper es Descrip on
Add checking Add checking command when receiving the data.
Back checking Start posi on: select the start posi on of the data which need
to check.
Length: The data length need to be checked.
Add control Add control character in ASCII format.
character
Differ with send Set return checking.
check

Figure 8
Figure 9
Proper es Descrip on
Part Se ng Part type: bit or word address.
Address: the triggering address.
Note: descrip on to the part.
Byte order The numerical display order.

Figure 10
Proper es Descrip on
Return data Posi on: the start posi on of the return data.
Length: the return data length.
Write data Posi on: the start posi on of the write data.
Length: the write data length.
Figure 11
Proper es Descrip on
Send length The instruc on data will only send designated data length.
Return length The responds data length.
OpenCAN settings
General
Opencan is based on CAN2.0 standard; user can customize the protocol se ngs.
Instruction
Choose [se ng] on menu bar- [communica on]-[se ng], select OpenCAN, shown as following.

Figure 1

Settings

Figure 2
Proper es Descrip on
Add Add a frame for designated address
Insert Select the posi on to insert a frame.
Frame Browse current frame se ngs.
manager
9 Browse Show the frame se ng files in xml format.

Select [Add] and the following se ngs will show up, as figure 3.

Figure 3
Proper es Descrip on
Frame type Select between Standard frame and Extended Frame.
Frame format Select between Data frame and Remote Frame.
Data (Hex) Use two numbers to represent one 16bit number, separate with
blank.
use address Select address type between bit and word.
Op on Relate the frame and the designated address.
Interac on HMI send frame and the devices process and respond.
send a er HMI will process and respond a er receiving the command.
receiving
No response HMI or devices will not receive any responds
Confirm The HMI or devices will check the data received then respond to it.
response
Data response HMI or devices will respond the designated data when receiving the
frame.
Response ID The response ID can differ with the sending ID by this se ng.

Control address se ng shown as below

Figure 4
Proper es Descrip on
Address Send when the designated address value is not 0.
Ctrlbit CtrlBit address range is 0~255, the CAN command will only work
when the address value is 1.
Manually send Send once for each me the address is triggered.
Modbus All Faction
Modbus Function Code
No ce: In Modbus protocol, allow to access bit address like 100.1, which using the same func on code with 16bits read-write.
Word Address Func on Code(HEX) Data Length Read or Write
04 (Read input address)
06 (Write single holding address) 16-bits Read only
3
10 (Write mul ple coils)
03 (Read mul ple holding
addresses)
16-bits v
4 06 (Write single holding address)
10 (Write mul ple coils)
03 (Read mul ple holding
addresses)
W6 16-bits v
06 (Write single holding address)
10 (Write mul ple coils)
03 (Read mul ple holding
W16 address) 16-bits v
0F (Write mul ple addresses)

Bit Address Func on Code(HEX) Data Length Read or Write


01(Read coils) 16-bits
0 05(Write single coil) v
0F(Write mul ple coils)
02(Read discrete inputs) 16-bits
1 05(Write single coil) Read only
0F(Write mul ple coils)
01(Read coils) 16-bits
W5 05(Write single coil) v
0F(Write mul ple coils)
01(Read coils) 16-bits
W15 v
0F(Write mul ple coils)

Address Mapping (Modbus RTU Master)


Modbus will read the value from HMI local address:
HMI Local Address Modbus Address
HDX3000.0~HDX3499.15 Bit address type:0 (Range: 0~7999)
HDW3500~HDW7999 Word address type: 4 (Range: 0~4499)
Bit Address Mapping:
HDX3000.0 = Modbus Address 00(Address Type: 0; Address No.:0)
HDX3000.15 = Modbus Address 015(Address Type: 0; Address No.:15)
HDX3001.1 = Modbus Address 017(Address Type: 0; Address No.:17)
Word Address Mapping:
HDW3500 = Modbus Address 40(Address Type: 4; Address No.:0)
HDW3615 = Modbus Address 4115(Address Type: 4; Address No.:115)
HDW4500 = Modbus Address 4100000(Address Type: 4; Address No.:1000)
Secure Startup
If user got the problem with HMI stuck when startup, there are may some problem with HMI project, so user need to download the HMI project
again.
Step1:
turn off HMI (disconnect with power supply of HMI).

Figure 1
step 2:
keep pressing on the le bo om corner of HMI (Hold on).

Figure 2

Figure 3
Step 3
Turn on HMI (connect with power supply of HMI) with keeping pressing on le bo om corner of HMI (Step2).
Figure 4
Step 4
Secure startup screen will appear, in this screen, user could download a new project for HMI from PC.

Figure 5
Setup Screen
Keep pressing on the right top corner of Screen for 5 seconds, HMI setup screen will appear.

Figure 1
HMI Version:
Click on “Version” to see the version info of HMI.

Figure 2

Figure 3
Communication Protocol
Check the current communica on protocol in this HMI by clicking on the version; you can see the driver info of HMI.
Figure 4

Figure 5
COM port parameters:
Click on “Setup HMI”

Figure 6

Figure 7
Figure 8

Figure 9

IP Setting

Figure 10

Figure 11
Figure 12
Touch and display setting

Figure 13

Figure 14

Figure 15
Time setting
Figure 16

Figure 17

Figure 18
HMI Installation
Description
Buckle is designed to fix HMI to device.

Figure 1
Usage
On each side of the HMI is equipped with a moun ng hole, ghten the screws.

Figure 2

Figure 3

You might also like