If no PLC is connected, you can use the script function to automatically send log files from the FP-I4C unit via FTP server or via email.
You can transfer log files simply by making a few settings on the Script page. You do not need an extra script file. The settings on the Script page are not written into the script file.
The script function cannot be used to read files.
- Go to the FTP Client or Email Client page and make all settings for your connection.
- Open the Script page.
- Turn on Run Script to enable the script function.
- Go to Automatically send log files and select Use FTP or Use email.
- Set the starting time for transmissions with Time of transmission.
This is the time of the current day when the script function FPWEB_FTP( ) or FPWEB_EMAIL() will search the storage area for files to transmit. The storage area is the location specified with (internal memory, USB flash drive, or temporary memory).
In the default configuration, all files except the currently active log file will be transferred.
- Set the cycle for searching the storage area with Transmission cycle.
With this setting, you can execute transmissions in the specified interval and repeat transmissions that were not successful the first time.
- Set the number of retries (1 to 9) with Number of transmission retries after failure before the function ends with an error.
Set "1" to disable retries.
- Set the file name extension for transmitted files with File extension replacement.
Successfully transmitted files will be renamed (e.g. MyFile.CSV to MyFile.CS_ ). The file name extension is replaced by the specified string which can have up to seven characters. The word DELETE (case sensitive!) will delete the file instead of renaming it.
- Save your configuration.
When you have changed any settings, a Save button appears in the upper right corner of the screen. You can make changes on multiple pages and then save your settings.
To reset all settings on the current page to the default configuration, select the Reset button at the bottom of the page.