FB_TimerHmi

HMI interface for IEC 61131-3 timer for setting process timings with a TF8550 TimerControl.
Syntax:
FUNCTION_BLOCK FB_TimerHmi EXTENDS FB_BaseHmi
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_TimerHmi | ||||
ActualValue | LREAL | Get, Set | 0.0 | Current time value in seconds |
LatchedValue | LREAL | Get, Set | 0.0 | Stored time value of the last execution in seconds |
Out | BOOL | Get, Set | FALSE | Timer output (depending on TON, TOF, TP) |
SetValue | LREAL | Get, Set | 0.0 | Preset time setpoint in seconds |
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_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
I_TimerHmi | Standard interface on FB_TimerHmi |
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.35 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.5.0) |