FB_UserLoggingHmi
HMI parallel class to the FB_UserLogging.
Syntax:
FUNCTION_BLOCK FB_UserLoggingHmi EXTENDS FB_BaseHmi
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_UserLoggingHmi | ||||
MaxDays | UDINT | Get, Set | 360 | Maximum number of days (files). |
MaxMemory | LREAL | Get, Set | 1000 [MB] | Maximum memory size of the logging files. |
SubDirectory | STRING | Get, Set | ‘UserLog‘ | Subdirectory of the logging files in the Plastic Base Application standard directory. |
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_UserLoggingHmi | |
Logg(...) | Logging a changed parameter from the HMI. This method can be called from the HMI. |
FB_BaseHmi | |
Init( | Default initialization method to pass the base class. |
Interfaces
Type | Description |
---|---|
I_Base | Standard interface on FB_Base. |
I_UserLoggingHmi | Standard interface on FB_UserLoggingHmi. |
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) |