FC_ProfileSegSetData - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Modify the parameter of the segmented profile during the runtime.

Description

The segment parameters (iq_astProfileParaList) are transferred again. The sequence of lrXStart[] is checked: 0 <= lrXStart[I] < XStart [I+1] <= 1. iq_diNoOfSeg must match the current value of the segment profile.

Interface

Input/Output

Data type

Description

iq_diProfileId

DINT

Logical address of the profile

iq_diNoOfSeg

DINT

Number of segments

iq_astProfileParaList

ARRAY[1..MAX_NO_OF_SEG] OF ST_ProfileSetPar

List of segment parameters

Return Value

Data type

Description

DINT

0: OK

-9: Invalid parameters for segmented profile

-10: Invalid number of segments

-20: The function is not supported by the selected profile

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