FB_CamsHmi

This class (FB) implements a stand-alone cam switch list for a TF8550 CamControl.
Syntax:
FUNCTION_BLOCK FB_CamsHmi EXTENDS FB_BaseCamsHmi
Properties
Name | Type | Access | Initial value | Description |
|---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_BaseCamsHmi | ||||
ActiveOnOverflow | BOOL | Get, Set | TRUE | If TRUE, the cam switches remain active, even if the |
CurrentValue | LREAL | Get, Set | 0.0 | Actual value for evaluating the cam switch states. |
ValueMax | LREAL | Get, Set | 0.0 | Maximum value to be displayed and evaluated on the scale. |
ValueMin | LREAL | Get, Set | 0.0 | Minimum value to be displayed and evaluated on the scale. |
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 |
|---|---|---|
aCams | ARRAY[] OF FB_CamSwitchHmi | Individual cam switches that can be listed in a TF8550 CamControl. |
Methods
Name | Description |
|---|---|
Reset() | Resets the error state of the class. |
FB_BaseCamsHmi | |
Cam( | Returns a single cam switch via I_CamSwitchHmi interface. |
Copy( | Copies the values of the transferred cam switches to this instance. |
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_CamsHmi | Standard interface for TF8550 CamControl based cams. |
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) |