Retrieve the value of any device parameter.
Function Menu | Block Diagram |
---|---|
![]() |
![]() |
Not available
Name | Type | Description |
---|---|---|
value |
int32 float |
The value returned by the block |
Function logic depends on the data type:
If the
value
output is connected to a variable of type Float and the Type setting is set to int32/float, the function reads data from memory using the IEEE754 standard. This approach is necessary for values transmitted in Float format (e.g., 12.6).Otherwise, the function reads data as Int32.
Conversion is automatically performed using hidden functions FROM_FLOAT and TO_FLOAT.
Name | Description |
---|---|
Parameter Index | The field number in FLEX from which the value should be retrieved. |
Parameter Offset | Byte offset from the start of the field (some fields contain several dozen bytes) |
Type | Parameter type for reading:uint8 – unsigned 1-byte number;int8 – signed 1-byte number;uint16 – unsigned 2-byte number;int16 – signed 2-byte number;int32/float – signed 4-byte integer / floating-point. |
The built-in FLEX parameter list can be conveniently used to select a parameter: