FB_ProcessHandlerBase

FB_ProcessHandlerBase 1:

This function block is used in injection molding machines to switch from injection pressure to holding pressure.

Syntax:

FUNCTION_BLOCK FB_ProcessHandlerBase IMPLEMENTS I_ProcessHandler
VAR_INPUT
END_VAR
VAR_OUTPUT
END_VAR

FB_ProcessHandlerBase 2: Properties

Name

Type

Description

Axis

I_AxisBase

An interface to the axis to be monitored.

BadSwitchOver

BOOL

TRUE if an undesired switchover occurred.

ProcessValue

LREAL

The process value to be monitored.

SwitchOver

BOOL

TRUE if an expected switchover occurred.

FB_ProcessHandlerBase 3: Methods

Name

Description

GetControlParameter

This method can be used to get access to the parameter container of the axis pressure controller.

GetProcessValues

This method is used to update the FB with a range of actual values (pressure, position, state) of the axis.

This method is called cyclically by the axis. The application is not intended to call this method directly.

GetSwitchEnable

This method is used to read back the rules for the switchover.

GetSwitchParameter

This method may be used to read back parameters of the switchover rules.

SetControlParameter

This method can be used to assign a parameter container to the axis pressure controller.

SetSwitchEnable

This method is used to define the rules for the switchover. See below for more information.

SetSwitchParameter

This method may be used to define parameters of the switchover rules.

If the monitored axis is in an inactive state (Init, Ready, Idle), the FB is inactive.

An active command of the axis also activates the monitoring.

The rules set with SetSwitchEnable determine the response:

If no faulty switchover has been detected yet:

If there was still no switchover: