beautypg.com

Downloading files to the bridge – Schneider Electric 174 CEV User Manual

Page 56

background image

Uploading and Downloading Files

52

5.3

Downloading Files to the Bridge

Before initiating your first download:

H

Install an HTTP server on the host machine and configure it as described in

Section 5.1.

H

Copy the program DWNLD.EXE from the host software diskette to the HTTP

cgi--bin directory you have configured on the host machine:

\\cgi-bin

5.3.1

Download Overview

You can download a new version of the bridge’s application SGATE.BIN file or

mapping RTE.TXT file to the bridge. To download a file, write the host URL and

filename as data to register 8 in the bridge. After the download, the status of the

download will be stored in the file MODICON.LOG in the host cgi--bin directory.

SGATE.BIN

When the download is complete and the bridge is restarted, the bridge will copy

SGATE.BIN to its application program SGATE.EXE. It will begin running this as its

new application.

RTE.TXT

The bridge’s mapping tables are stored within the bridge in the file RTE.CFG.

Before downloading new mapping, you must place it in a file named RTE.TXT.

If you have previously uploaded RTE.CFG, the file’s contents are appended into

the MODICON.LOG file in your cgi--bin directory. You can copy those RTE.CFG

contents from MODICON.LOG and paste them into an RTE.TXT file. Then you

can download the RTE.TXT.

The RTE.TXT download will write a new RTE.CFG file in the bridge. When the

download is complete and the bridge is restarted, the bridge will use this file’s

contents as its new mapping tables between TCP and Modbus Plus.

5.3.2

Initiating a Download

To initiate a download:

H

Put the file to be downloaded (SGATE.BIN or RTE.TXT) into the

of the host machine.