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

Enable

BOOL

FALSE

Enable the function block

Extrusion

BOOL

FALSE

True to perform the extrusion action

Filling

BOOL

FALSE

True to perform the filling action

Speed

LREAL

1.0

[mm/s] The speed of the movement for simulation, range: > 0

FullAtStart

BOOL

FALSE

True, the accumulator is full when the function block starts

Output

Valid

BOOL

Indicates that the outputs are valid

Busy

BOOL

Indicates that the function block is runnig

Error

BOOL

Signals that error has occurred within function block

AppErrorID

ERROR_ID

Error identification. For error details refer to Enumeration ERROR_ID

ActualValue

LREAL

The simulated actual value to show the actual state of the accumulator

ActualPosition

LREAL

[mm] The simulated actual position of the accumulator

Empty

BOOL

Indcates that the accumulator is empty

Full

BOOL

Indicates that the accumulator is full

Inout

MoldingParameter

PAC_MoldingParameter

Reference to the molding parameter