Вы находитесь на странице: 1из 6

T E C H N I C A L

Maple Model(s)
HMI5000 Series

N O T E

PLC or Controller
N/A

Title: CSV File Data Backup to PC


Summary
This document illustrates how to configure a 5000 series HMI to backup data automatically to
a PC.

Solution
The Backup Object can save historical data sample files and event log data files to a remote
printer server and automatically convert the data files to the CSV file format. Easy Printer
must be running on the PC and configured correctly. Easy Printer installs with EZware-5000.
To open Easy Printer, select Start, All Programs, Maple Systems, EZware-5000, Easy Printer.
Easy Printer settings
Configure the Remote Printer Server Settings in Easy Printer. To access the Remote Printer
Server Settings in Easy Printer, select Options, Settings.

Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 www.maplesystems.com
0907-5073
Page 1 of 6
Rev. 01, 08/09/2010
.

Select General, and configure the Server settings to match the EasyBuilder5000 System
Parameter settings. To access the System Parameter settings, select Edit, SystemParameters,
Printer/Backup Server tab.
1. In Server, assign Port number of the server socket to 8005, to admin and Password
to 111111. (Note: These are default)
2. In Naming Convention for HMI Folder, select Use IP Address IP_ as the Prefix.
3. In Properties, select Minimize to system tray.

Phone: 425/745-3229 Fax: 425/745-3429 Email: support@maplesystems.com web:www.maplesystems.com


0907-5073
Page 2 of 6
Rev. 01, 08/09/2010

4. Click the Backup tab at the left side in the dialogue box as follows:

5. In Output, click the Browse button and select a path for storage of the incoming history
files.
6. Click OK to apply the settings.
EasyPrinter provides a mechanism for converting the uploaded Data-Sampling and Event-Log
history files stored in binary mode to CSV files automatically. Users requesting this function
have to prepare a Convert Batch File to provide EasyPrinter with the information of how to
convert the history files.
The conversion is actually carried out by EasyConverter. EasyPrinter simply follows the
criteria in Convert Batch File and activates EasyConverter with proper arguments to achieve
the conversion. The default Convert Batch File is convert2csv.def, located in the root of the
EasyBuilder 5000 installation directory.
To enable the automatic CSV file conversion:
1. In Convert Batch File, click the Browse button and select a path for the
convert2csv.def file. C:\MapleSystems\EZ5000\ convert2csv.def
For further information about how to use EasyConverter, please refer to the HMI5000 Series
Programming Manual (Maple p/n 1010-1007).

Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 www.maplesystems.com
0907-5073
Page 3 of 6
Rev. 01, 08/09/2010

After configuring the Remote Printer Server settings, you must Enable Output. To
Enable Output, select File, Enable Output. This will allow EasyPrinter to process and
store any incoming backup request in the location specified.

Easy Builder settings


In EasyBuilder5000, configure the Printer/Backup Server tab in System Parameters. To access
the System Parameter settings, select Edit, SystemParameters, and the Printer/Backup Server
tab.
Select Use Remote Printer/Backup Server

1. In Communication Settings, assign the IP address of the PC running Easy Printer.


2. Set the Port to 8005, User name to admin and Password to 111111. These
settings must match the EasyPrinter Server settings. (Note: the default User name is
111111)

Phone: 425/745-3229 Fax: 425/745-3429 Email: support@maplesystems.com web:www.maplesystems.com


0907-5073
Page 4 of 6
Rev. 01, 08/09/2010

Add Backup Object


1. Add a backup object to your project. To add a backup object to your
project, select Objects, Backup

Note Each data sample will require a separate Backup Object.

2. Configure the Backup Objects Properties.

3. Select a Source. Choose RW, RW_A, Historical event log, or Historical data log.

Maple Systems Inc., 808 134th Street SW, Suite 120, Everett, WA 98204-7333 www.maplesystems.com
0907-5073
Page 5 of 6
Rev. 01, 08/09/2010

4. There may be several data sampling objects registered in the project. If you
select Data log, use Data Sampling object index: to select the right one as
shown below.

5. Select Remote printer/backup server from the Backup Position section.

Save, compile and download the project to test. When the Backup is triggered, the data will be
saved to the specified directory on the PC. If multiple backup objects are triggered, each
backing up different data samples, the backup objects will create separate directories using the
Folder name specified in the Data Sample object properties.

Each Data Sample must be written to a unique folder. If the same folder name is specified for
multiple data samples, the data will be overwritten.

Phone: 425/745-3229 Fax: 425/745-3429 Email: support@maplesystems.com web:www.maplesystems.com


0907-5073
Page 6 of 6
Rev. 01, 08/09/2010

Вам также может понравиться