FB_SwitchOverHmi

HMI class for setting the holding pressure switchover of an FB_Injector.
Syntax:
FUNCTION_BLOCK FB_SwitchOverHmi EXTENDS FB_BaseHmi
Properties
Name | Type | Access | Initial value | Description |
|---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_SwitchOverHmi | ||||
DeadBand | LREAL | Get, Set | 0.0 [mm] | Dead band from which a holding pressure switchover is forced1. |
Duration | LREAL | Get, Set | 1.0 [s] | Time until the holding pressure switchover triggers. |
LiveMode | BOOL | Get, Set | TRUE | If TRUE, changes are applied while the process is running. Otherwise, changes will only be active in the next process. |
MaxPressure | LREAL | Get, Set | 1500.0 [bar] | Maximum pressure above which a holding pressure switchover is forced1. |
MinCushion | LREAL | Get, Set | 10.0 [mm] | Minimum distance that the axis must travel before switching is possible. |
OnDuration | BOOL | Get, Set | FALSE | The time value should be able to trigger the holding pressure switchover. |
OnPressure | BOOL | Get, Set | TRUE | The pressure value should be able to trigger the holding pressure switchover. |
OnTravelDistance | BOOL | Get, Set | FALSE | The distance should be able to trigger the holding pressure switchover. |
Pressure | LREAL | Get, Set | 200.0 [bar] | Pressure to be reached that triggers the holding pressure switchover. |
Timeout | LREAL | Get, Set | 10.0 [s] | Time after which a holding pressure switchover is forced1. |
TravelDistance | LREAL | Get, Set | 95.0 [mm] | Distance to be traveled to trigger the holding pressure switchover. |
FB_Base | ||||
BaseState | Get | eNotHandled | Initialization state of the class instance. | |
Error | BOOL | Get | FALSE | Class is in an error state. |
ResultMessage | Get | - | Access to the class-internal EventLogger. | |
[ | STRING | Get | <SourceName> |
|
1A forced switchover is marked in the axis supervisor via the property BadSwitchOver.
Methods
Name | Description |
|---|---|
Reset() | Resets the error state of the class. |
FB_BaseHmi | |
Init( | Default initialization method to pass the base class. |
FB_Base | |
GetHMI() | Returns the assigned HMI object.
|
SetHMI( | General assignment method for an
|
[ | Identifies whether the transferred object corresponds to its own instance. |
[ | Extracts the first part of the instance path as an object namespace. |
[ | Extracts the last part of the instance path as the object name. |
Interfaces
Type | Description |
|---|---|
I_Base | Standard interface on FB_Base. |
I_SwitchOverHmi | Standard interface on FB_SwitchOverHmi |
I_BaseHmi | Standard interface on FB_BaseHmi. |
I_BaseDev | Covers all methods and properties of the base class. |
I_Comparable | Enables comparisons via |
Requirements
Development environment | Target platform | PLC libraries to include |
|---|---|---|
TwinCAT 4026 >= v3.1.4026.19 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v12.14.0.0) |