FB_Parameter

Allows concatenation of multiple 64-bit floating-point (LREAL) values with assignable name.
Syntax:
FUNCTION_BLOCK FB_Parameter EXTENDS FB_Base
Properties
Name | Type | Access | Initial value | Description |
|---|---|---|---|---|
Name | STRING | Get, Set | <SourceName> | Specifies the name of the class instance. |
FB_Parameter | ||||
Next | I_Parameter | Get, Set | NULL | Next item in the list |
Root | I_Parameter | Get, Set | THIS^ | First element of the list |
Value | LREAL | Get, Set | 0.0 | Value of the parameter |
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 |
|---|---|
Append() | Appends a new item to the list. |
Idx() | Returns the element of the x-th position of the list. |
![]() | Exceptions avoidance The Idx() function returns the first element (root) of the list on invalid requested index. |
Interfaces
Type | Description |
|---|---|
I_Base | Standard interface on FB_Base. |
I_Parameter | Standard interface on FB_Parameter |
I_ParameterQuery | Extension of the I_Parameter interface with set access to next and root properties as well as the Append method. |
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.16.0.0) |
