PAC_AccumulatorSimulation (FB)
FUNCTION_BLOCK PAC_AccumulatorSimulation
This function block is implemented to simulate the movement of an accumulator.
Note
This function block must be called in the POU which is executing in the MotionSolution_Task.
- InOut:
Scope
Name
Type
Initial
Comment
Input
EnableBOOLFALSE
Enable the function block
ExtrusionBOOLFALSE
True to perform the extrusion action
FillingBOOLFALSE
True to perform the filling action
SpeedLREAL1.0
[mm/s] The speed of the movement for simulation, range: > 0
FullAtStartBOOLFALSE
True, the accumulator is full when the function block starts
Output
ValidBOOLIndicates that the outputs are valid
BusyBOOLIndicates that the function block is runnig
ErrorBOOLSignals that error has occurred within function block
AppErrorIDError identification. For error details refer to Enumeration ERROR_ID
ActualValueLREALThe simulated actual value to show the actual state of the accumulator
ActualPositionLREAL[mm] The simulated actual position of the accumulator
EmptyBOOLIndcates that the accumulator is empty
FullBOOLIndicates that the accumulator is full
Inout
MoldingParameterReference to the molding parameter