FC_ProfileLoad - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Load profile.

Description

The profile with the name i_sProfileName is provided. The i_sProfileName can be the identification of an analytical profile or a file name. The specified profile is located and made available. The function returns the logical address of the profile. The profile is addressed by its logical address for further use.

Parameters of analytical profiles are assigned a default value for lambda. The general polynomial of the 5th degree is loaded with the coefficients for boundary slope and bend = 0.

The parameters can be changed using the functions described below. You can load a maximum of 4000 profiles.

NOTE: The profiles are deleted only when the program is reset.

Loading a user profile may take a few 100 ms.

Interface

Input

Data type

Description

i_sProfileName

STRING[80]

Name of the profile

Return Value

Data type

Description

DINT

>=0: Unambiguous ID for the generated profile

-1: Could not load profile

-2: Profile table full (4000 maximum)

-3: Memory full

-4: Error in the file

-5: Incorrect header length

-6: Excessive number of cam points

-7: Check sum

-8: File corrupt

-30: Profile is being used by another function and therefore is blocked.

Examples

StartProfilId := FC_ProfileLoad('Start01');
ZyklProfilId := FC_ProfileLoad('straight');
StopProfilId := FC_ProfileLoad('simplsin');