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
EnableBOOLFALSE
Enable the function block
Inout
ProfileReference to the parison profile which needs to be modified
OperationDataReference to the operation data
DisplayDataReference to the display data
Output
ProfileChangedBOOLFALSE
TRUE: the parison profile has been changed
BusyBOOLFALSE
The status of the function block
ErrorBOOLFALSE
Signals that error has occurred within function block
AppErrorIDError identification. For error details refer to Enumeration ERROR_ID
StoredStepsINTThe number of stored modification steps that can be used for undo