PAC_ProfileSelect (FB)
FUNCTION_BLOCK PAC_ProfileSelect
This function block selects a parison profile to the profile identifier which can be used by PAC_ParisonControl, and prepares the dispaly data for visualizations to show the newly selected parison profile.
Note
The execution of this function block takes a long time. Do not invoke this function block in the motion solution task
- InOut:
Scope
Name
Type
Comment
Input
ExecuteBOOLStarts the function block at rising edge
ContinuousUpdateBOOLIf this input is set to TRUE, before rising edge on Execute input, then any change to profile points will be detected. This on fly profile points update can be disabled anytime by setting this input to FALSE
ActivationModeActivationMode defines when and where the new data in parison profile will be activated
ActivationPointINTThe point of the parison profile which the new data in parison profile will be activated, only valid for activation mode: ACTIVATION_AT_POINT, range: 1 ~ Profile.NumberOfPoints
Output
DoneBOOLShows the status of the function block. Done = TRUE if the execution is finished. TRUE only lasts for one cycle when ContinuousUpdate = TRUE.
BusyBOOLThe function block is not finished, and new output values are to be expected
ErrorBOOLSignals that error has occurred within function block
AppErrorIDError identification. For error details refer to Enumeration ERROR_ID
ProfileIDRefers to prepared data, to be used for PAC_ParisonControl
Inout
ProfileReference to parison profile
DieAxisAxis_RefReference to the die axis
DisplayDataReference to the display data