FB_ReadProcessValue

A function block of this type is used to supply a function block of type FB_ProcessHandlerBase with actual values.
Syntax:
FUNCTION_BLOCK FB_ReadProcessValue EXTENDS FB_MessageBase IMPLEMENTS I_ReadProcessValue
VAR_INPUT
END_VAR
VAR_OUTPUT
fActualValue: LREAL;
END_VAR
Outputs
Name | Type | Description |
---|---|---|
fActualValue | LREAL | The current actual value. |
Properties
Name | Type | Access | Description |
---|---|---|---|
Offset | LREAL | Get, Set | The offset taken into account when calculating the actual value. |
ProcessValue | LREAL | Get | The current process value calculated by the last call to Cyclic(). |
Weighting | LREAL | Get, Set | The scaling factor. |
Methods
Name | Description |
---|---|
This method must be called by the application once per cycle. It checks the EtherCAT connection and updates the ProcessValue with a filtered actual value. | |
A call of this method with bExecute=TRUE resets the connected sensor interface and clears all local errors. |