PAC_ProfileEditor (FB)

FUNCTION_BLOCK PAC_ProfileEditor

This function block is designed to provide an operation interface for a visualization or user program to modify a parison profile in online mode and preview the whole profile curve and key points. The visualization can be PAC_VISU_ProfileEditor which is integrated in this library or a visualization built on a separate HMI.

Note

  • The execution of this function block takes a long time. Do not invoke this function block in the motion solution task.

  • The modified parison profile will lose after a PLC restart or reset. If you want the modified parison profile to be saved after power cycle, please use PAC_WriteProfileFile to store them into flash.

InOut:

Scope

Name

Type

Initial

Comment

Input

Enable

BOOL

FALSE

Enable the function block

Inout

Profile

PAC_ParisonProfile

Reference to the parison profile which needs to be modified

OperationData

PAC_OperationData

Reference to the operation data

DisplayData

PAC_ProfileDisplayData

Reference to the display data

Output

ProfileChanged

BOOL

FALSE

TRUE: the parison profile has been changed

Busy

BOOL

FALSE

The status of the function block

Error

BOOL

FALSE

Signals that error has occurred within function block

AppErrorID

ERROR_ID

Error identification. For error details refer to Enumeration ERROR_ID

StoredSteps

INT

The number of stored modification steps that can be used for undo