The partial profiles are preset via their code (i_adiProfileSegIdList). They must first be loaded by the caller.
You can load a maximum of 4000 profiles.
For example, if the FC_ProfileSegLoadById function processes a segmented profile from 32 individual profiles, then the segmented profile is managed additionally in the system.
The segmented profile can be deleted by FC_ProfileDelete(). The individual profiles are not removed when the segmented profile is deleted.
Input/Output |
Data type |
Description |
---|---|---|
iq_diNoOfSeg |
DINT |
Number of segments |
iq_adiProfileSegIdList |
ARRAY[1..MAX_NO_OF_SEG] OF DINT |
List of the partial profiles |
iq_astProfileParaList |
ARRAY[1..MAX_NO_OF_SEG] OF ST_ProfileSegPar |
Parameter list of the partial profiles |
Data type |
Description |
---|---|
DINT |
>=0: Unambiguous ID for the generated profile -1: Could not load profile -2: Profile table full (4000 profiles maximum) -3: Memory full -9: Invalid parameters for segmented profile -10: Invalid number of segments -30: Profile is being used by another function and therefore is blocked. |