PressureControl.Supervisor

This Corefunction organizes the pressure control of the axis and provides the infrastructure interfaces. This is reflected in an interface for a pressure sensor and the switching function for pressure switchover.
![]() | Pressure switchover only for certain core functions The pressure switchover can only be carried out with the following core functions: |
Syntax:
FUNCTION_BLOCK FB_ProcessSupervisor EXTENDS FB_Corefunction
Properties
Name | Type | Access | Description |
---|---|---|---|
InitState | BOOL | Get, Set | The core function is not completely and successfully initialized. |
FB_ProcessSupervisor | |||
BadSwitchOver | BOOL | Get | Identifies whether a pressure switchover occurred due to safety conditions. |
ExternalMode | BOOL | Get | TRUE as soon as an external ProcessHandler has been assigned. |
Filter | Get, Set | Interface for a filter to be applied to the actual pressure value. | |
MinCushion | LREAL | Get, Set | Minimum distance that the axis must travel before the pressure-based switchover can be triggered. |
PositionLimit | LREAL | Get, Set | Safety-limiting position from which a |
PressureLimit | LREAL | Get, Set | Safety-limiting pressure above which a |
PressureThreshold | LREAL | Get, Set | Pressure threshold value above which a switchover should take place. |
Sensor | Get, Set | Interface for an actual pressure value sensor | |
SwitchOnPressure | BOOL | Get, Set | Activates the switchover based on a pressure threshold value. |
SwitchOnTime | BOOL | Get, Set | Activates the switchover based on the time of the previous command. |
SwitchOnTravel | BOOL | Get, Set | Activates the switchover based on the value set by a previous command. |
SwitchOver | BOOL | Get | If TRUE, the Supervisor has triggered the pressure switchover. |
Timeout | LREAL | Get, Set | Safety-limiting time from which a |
TimeThreshold | LREAL | Get, Set | Time threshold from which a switchover should take place. Requirement is |
TravelThreshold | LREAL | Get, Set | Threshold value from which a switchover should take place. Requirement is |
ValueOffset | LREAL | Get, Set | Zero offset shift for the read actual pressure value. |
ValueWeighting | LREAL | Get, Set | Weighting factor for the maximum value of the read actual pressure value. |
FB_Corefunction | |||
FailedState | BOOL | Get, Set | If IsActivated is TRUE at the same time: Signals the failure of an accepted command. If IsActivated is FALSE at the same time: Signals the rejection of a command. |
HasFeedback | BOOL | Get | The core function has responded to a pending command. |
IsActivated | BOOL | Get | The core function has an accepted command pending. |
IsLocalCmd | BOOL | Get | Signals that the axis is assigned with a command of this core function. |
ReadyState | BOOL | Get, Set | The Corefunction is ready for operation, but is not commandable at this time. Possible reasons are: |
Methods
Name | Description |
---|---|
GetExternal() | Returns the connected external supervisor (implements I_ProcessHandler). |
SetExternal( | Assigns an external supervisor (implements I_ProcessHandler). If |
Interfaces
Type | Description |
---|---|
I_Corefunction | Standard interface on FB_Corefunction. |
I_ProcessSupervisor | Standard interface on FB_ProcessSupervisor. |
Example:
iAxisBase.PressureControl.Supervisor.Sensor := fbInputMainExtruderMeltPressure;
iAxisBase.PressureControl.Supervisor.ValueOffset := 0.0;
iAxisBase.PressureControl.Supervisor.ValueWeighting := 200.0; // bar
Requirements
Development Environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.66 | PC or CX (x64, x86) | Tc3_PlasticFunctions (>= v12.10.0.0) |