FB_ManualFunctionHmi
The class is used to connect to a TF8550 ManualOperation control.
Syntax:
FUNCTION_BLOCK FB_ManualFunctionHmi EXTENDS FB_BaseHmi
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_ManualFunctionHmi | ||||
Cmd | Get | - | Commands from the HMI. | |
DoSelect | BOOL | Get, Set | FALSE | Manual function should be selected for the central operating function. |
IsSelectable | BOOL | Get, Set | FALSE | The central operating function can be selected to take over control. |
IsSelected | BOOL | Get, Set | FALSE | The central operating function is connected and controls this manual function. |
SelectCmd | Get, Set | 0x0 | Command of the central operating function. | |
SelectState | Get, Set | 0x0 | State of the central operating function. | |
SelectSupported | BOOL | Get, Set | FALSE | A central operating function is available for this manual function. |
State | Get | - | Feedback signals to the HMI. | |
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> |
|
Central operating function The "Central operating function" provides for the use of an incremental encoder to operate the manual function. This is available, for example, in the class for the Beckhoff BlowMolding Panel PC (FB_CP22xx-1025). Use with another input device is also conceivable, but must be implemented in the project on a user-defined basis. |
Local HMI variables
Name | Data type | Description |
---|---|---|
fbCmd | Commands from the HMI. | |
fbState | Feedback signals to the HMI. |
Methods
Name | Description |
---|---|
Reset() | Resets the error state of the class. |
FB_BaseHmi | |
Init( | Default initialization method to pass the base class. |
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_ManualFunctionHmi | Standard interface on FB_ManualFunctionHmi. |
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. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT >= v3.1.4024.54 (recommended) | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.7.0) |