WEINTEK LABS., INC.
Combo Button
File Transfer
Demo Project
Contents
1. Overview and Operation .............................................................................. 1
2. Setting up the Screen ................................................................................... 4
3. Addresses ..................................................................................................... 8
Combo Button
1. Overview and Operation
Overview
EasyPrinter is not supported on cMT Series models; therefore, to achieve the
similar function as EasyPrinter’s printer/backup server for cMT Series, Combo
Button’s File Transfer function is a viable solution. This demo project explains
how to use Combo Button’s File Transfer function to transfer a file or screen
hardcopy file from the USB disk on HMI to FTP
Please note that the method shown in this demo project is applicable only for
cMT Series models.
Operation
Step 1. Install FTP server software, add a new user and assign user
permissions.
In this demo project the FTP server software used is: FileZilla server.
DEM20009E_20200825
1
Combo Button
Step 2. Follow the steps shown below to select the directory, name the file
to be transferred, and then press the "Backup file to FTP server"
button to transfer the file to FTP Server.
Step 3. An alarm is triggered when the water level goes under 30%. The user
DEM20009E_20200825
2
Combo Button
can decide whether to take a screenshot of alarm and send it to FTP
server. Before transferring the screenshot file, please name the file
first.
DEM20009E_20200825
3
Combo Button
2. Setting up the Screen
Step 1. Create a Combo Button object and add File Transfer to Down Actions.
Step 2. In File Transfer settings enter the FTP server’s IP address, username
and password.
Step 3. Specify the file transfer path.
DEM20009E_20200825
4
Combo Button
Step 4. Set the result address.
Step 5. Create a PLC Control object, set its Type to Screen Hardcopy and
select USB disk as output destination. The filename can be set.
DEM20009E_20200825
5
Combo Button
Step 6. In File Transfer settings designate the same path as in PLC Control
DEM20009E_20200825
6
Combo Button
settings to transfer file to FTP server.
DEM20009E_20200825
7
Combo Button
3. Addresses
The addresses of key objects used in this demonstration are listed below,
please adjust as necessary.
Object Address Object ID Description
Window 10
Set Word LW-0 SW_0 Data source for Data Sampling
ASCII LW-120 AE_0 FTP full path
Bar Graph LW-152 BG_0 File transfer percentage
Combo Button CB_0 Combo Button – File Transfer
Word Lamp LW-150 WL_0 File Transfer error
File Browser LW-100 FR_0 File browser
ASCII LW-100 AD_0 HMI full path
Window 11
Combo Button CB_0 Combo Button – File Transfer
Set Word LW-300 SW_0 Setting water level
Bar Graph LW-300 BG_0 Water level
Direct Window LB-50 WC_0 Alarm window
Numeric LW-300 NE_0 Value of water level
Function Key FK_0 Return to previous window
Window 12
Combo Button CB_0 Combo Button – File Transfer
ASCII LW-220 AE_0 FTP full path
File Browser FR_0 File browser
Set Bit LB-50 SB_0 Close Direct Window
Bar Graph LW-1 BG_0 Upload state
DEM20009E_20200825
8