Index File and Parameter File - General Information

Index File

File where you define the parameters (IDNs) that shall be read from the drive, and save this file to the controller.

NOTE: If the Index File does not exist in the controller, an upload of the parameters is not possible and ending in an error condition.

Caution_Color.gifCAUTION

LOSS OF DATA

Any modification of the Index File (add or remove parameters) requires a new reading (upload and save) of all existing drive configurations.

Failure to follow these instructions can result in injury or equipment damage.

For successful data exchange between the controller and the drive, the Index File must comply to the specifications defined in the paragraph Considerations below.

Parameter File

For download (and restore on the drive) the Parameter file is used and the parameters in this file are transferred to the dedicated drive. The Parameter file will be created automatically after a successful execution of FB_ParamterUpload.

Considerations

The CSV file to read contains a number of values (columns) which are arranged in single records (rows).

Consider the following constraints for creating a CSV file:

oOnly CSV files with ASCII encoding are supported.

It is not verified whether the file encoding is ASCII.

NOTE: If the file contains characters not within the range of the ASCII character code set, the values rendered by the application are not valid.

oThe character code specified as delimiter is not supported as part of a value.

The delimiter is fixed set to ;.

oThe principle layout is a matrix of GPL.Gc_uiMaxNumberOfRowsRead rows x 5 columns. The number of rows is limited to 250.

oThe maximum number of characters for each data field is limited to 25.

oEach record (row) ends with CRLF (CarriageReturn followed by LineFeed).

For further information on CSV file characteristics, refer to the CSV Function Blocks chapter of the FileFormatUtility Library Guide.

The communication via the Sercos III fieldbus (reading and writing) is handled within an asynchronous task.

For file examples, refer to Index File - Example and Structure Description for an ATV340S or Parameter File - Example Description for an ATV340S.