FC_ProfileDelete - General Information

Overview

Type:

Function

Available as of:

SystemInterface_1.32.6.0

Versions:

Current version

Task

Delete profile.

Description

The function deletes a profile previously loaded with FC_ProfileLoad(). The transferred i_diProfileId becomes invalid.

 WARNING
UNINTENDED EQUIPMENT OPERATION
Do not call FC_ProfileDelete() for a currently running profile.
Failure to follow these instructions can result in death, serious injury, or equipment damage.

Interface

Input

Data type

Description

i_diProfileId

DINT

Logical address of the profile

Return Value

Data type

Description

DINT

0: OK

-1: Profile could not be deleted (incorrect i_ProfilId)

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