![](/images/new-backgrounds/1107019/107019107x1.webp)
Uploading and Downloading Files
5.2Uploading Files to a Host
Before initiating your first upload:
HInstall an HTTP server on the host machine and configure it as described in Section 5.1.
HCopy the program DWNLD.EXE from the host software diskette to the HTTP
5.2.1Upload Overview
The bridge configuration is stored in two files, WATTCP.CFG and RTE.CFG, each of which can be uploaded to a host. To upload a file, write the host URL and filename as data to register 11 in the bridge. After the upload, the status of the upload will be stored in the file MODICON.LOG in the host
5.2.2Initiating an Upload
You can initiate the host upload from a TCP/IP node or Modbus Plus node.
HFrom a TCP/IP node, address the bridge at its IP address and use a destination ID (Modbus device address) of 255. The bridge reserves address 255 to invoke an upload operation between the host and bridge.
HFrom a Modbus Plus node, address the bridge at its Modbus Plus address and use an address of 0 (zero) in the third routing byte. This specifies that the bridge is to perform an upload to a host machine.
Figure 19 Example: Addressing from Modbus Plus for Host Uploading
|
|
|
|
|
|
|
| 12 | 8 | 0 | 0 | 0 |
|
|
|
|
|
|
|
|
| Bridge | Bridge | Specifies | Not | Not | |
| Modbus Plus | Path | host | Used | Used | |
| Address |
| upload |
|
|
|
|
|
| operaton |
|
|
|
|
|
|
|
|
|
|
50