FB_CurveHmi

This class (FB) implements a stand-alone TF8550 CurveEditor based cam plate.
Syntax:
FUNCTION_BLOCK FB_CurveHmi EXTENDS FB_BaseCurveHmi
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_BaseCurveHmi | ||||
Activate | BOOL | Get, Set | FALSE | Activation bit for adopting the curve transmitted by the HMI |
BaseMax | UDINT | Get | 400 | Number of master curve points used. |
CurrentIndex | UDINT | Get | 0 | Currently active master curve point. |
CurrentPoint | UDINT | Get, Set | 1 | Currently active master curve point. |
CurrentValue | LREAL | Get, Set | 0.0 | Current value of the object on this cam plate. |
Points | UDINT | Get, Set | 401 | Number of master curve points used. |
ValueMax | LREAL | Get, Set | 0.0 | Maximum possible value for the object operated with this cam plate. |
ValueMin | LREAL | Get, Set | 0.0 | Minimum possible value for the object operated with this cam plate. |
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> |
|
Local HMI variables
Name | Data type | Description |
---|---|---|
aSetCurve | ARRAY[] OF LREAL | Set curve transmitted by the HMI. |
aActCurve | ARRAY[] OF LREAL | Actual curve that the operated object has actually implemented and should be displayed. |
Methods
Name | Description |
---|---|
Reset() | Resets the error state of the class. |
FB_BaseCurveHmi | |
ActPoint( | Access to |
CheckDisplay( | Checks whether the transferred object is authorized to describe the actual values of the curve. |
Copy( | Copies the transferred curve to this instance of the curve. |
SetDisplay( | Sets the authorization for actual value display by reference to an object instance (I_Base compatible). If the method is called without a transfer value, the authorization is canceled. |
SetPoint( | Access to |
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
|
[ | 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_CurveHmi | Standard interface for TF8550 CurveEditor based cam plates. |
I_BaseHmi | Standard interface on FB_BaseHmi. |
I_BaseEmpty | For extension without standard interface. |
I_BaseDev | Covers all methods and properties of the base class. |
Prerequisites
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT >= v3.1.4024.54 (recommended) | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v12.10.2.0) |