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 | '‘ | Name of the 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 |
Methods
Name | Description |
---|---|
Idx() | Returns the element of the xth 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_Parameter | Standard interface on FB_Parameter |
I_ParameterQuery | Extension of the I_Parameter interface with set access to next and root properties |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.42 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.6.0) |