FB_FlexValue
Class (FB) comparable to the structured data type ST_FlexValue from TF8560. Represents a variable without a specified data type.
Syntax:
FUNCTION_BLOCK FB_FlexValue
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
Value | U_FlexValue | Get | 0 | Value as Union (all types). |
ValueType | E_FlexValue | Get | eBOOL | Last assigned value data type (except if assigned via structure). |
_BOOL | BOOL | Get, Set | FALSE | Value as BOOL. |
_IBASE | Get, Set | NULL | Value as interface I_Base. | |
_INT | INT | Get, Set | 0 | Value as INT. |
_LREAL | LREAL | Get, Set | 0.0 | Value as LREAL. |
Notice | |
Online Change handling The interpretation of the |
Interfaces
Type | Description |
---|---|
I_FlexValue | Standard interface on FB_FlexValue. |
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) |