FB_TempRecipe
Recipe management class of temperature control.
Syntax:
FUNCTION_BLOCK FB_TempRecipe EXTENDS FB_Recipe
Local HMI variables
Name | Data type | Description |
---|---|---|
Setpoint | LREAL | Temperature set point |
Standby | LREAL | Temperature standby setpoint |
ThresholdM | LREAL | Negative inner tolerance |
ThresholdMM | LREAL | Negative external tolerance |
ThresholdP | LREAL | Positive inner tolerance |
ThresholdPP | LREAL | Positive external tolerance |
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_Recipe | ||||
EnableRecipe | BOOL | Get | FALSE | Enables the handling of this recipe management class. |
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> |
|
Methods
Name | Description |
---|---|
Reset() | Resets the error state of the class. |
FB_TempRecipe | |
Init( | Initialization with the interface to a temperature channel. |
FB_Recipe | |
Lock() | Locks the recipe variables
|
Reset() | Resets the lock state. |
Update() | [ABSTRACT] Updates the recipe variables to the current PLC value.
|
FB_Base | |
SetHMI( | General assignment method for an FB_BaseHmi extending class. |
[ | 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_Recipe | Standard interface on FB_Recipe. |
I_BaseEmpty | For extension without standard interface. |
I_BaseDev | Covers all methods and properties of the base class. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.42 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.6.0) |