Instead of adding single data points, you can import CSV files.
The following restrictions apply:
A maximum of 700 variables can be imported. Entries beyond this number will be ignored.
Data point names that are longer than 30 characters will be cut during import.
The data types DT, LD, FL, R, Y, and X can be imported. Other data types (e.g. WR, WL, WX, WY) are skipped and an error message is displayed when the import is finished.
Use the default import settings to import variables that have been exported in Control FPWIN Pro7 with the default settings.
- Make general log settings and configure the log file.
- Go to Import variables from CSV.
If you want to change the default settings, select Show import settings.
Select a separator from the Separator list box.
Select Header rows if your CSV file contains header rows.
Specify the number of header rows in the CSV file. By default, CSV files have one header row in Control FPWIN Pro7.
If the header settings do not match your file's header, header rows will not be imported correctly.
- Specify the number of the column containing the data point name, the FP address, the data type, and a comment.
Data point name
Specify the number of the column containing the data point name. The default column number in Control FPWIN Pro7 is 2 (starting with column 1).
FP address
Specify the number of the column containing the FP address (e.g. DT100, R10). The default column number in Control FPWIN Pro7 is 4 (starting with column 1).
Data type
Specify the number of the column containing the data type (e.g. INT, BOOL). The default column number in Control FPWIN Pro7 is 5 (starting with column 1).
Comment
Specify the number of the column containing the comment. The default column number in Control FPWIN Pro7 is 7 (starting with column 1). The comment may contain data point settings (type, decimal, endian, unit, enable_scal, scale_plc_min, scale_plc_max, scale_log_min, scale_log_max) in a JSON format. Export a file for an example.
- Drag a file onto the drag and drop area or select a CSV file with the + icon.
A new table view appears when the CSV file has been successfully read.
- To filter entries in the CSV file, enter any text string in the Filter text box (visible after a CSV file has been loaded).
The text is searched in all columns of the selected CSV file.
- Select a log file with Import to configuration.
The variables from the CSV file are imported into this log configuration.
- Select the desired entries and click Import selection, or click Import all to import all entries from the CSV file.