TeachUpdate
This core function is used for referencing analog encoder systems. It is used after TeachPosition to calculate the measured values.
Syntax:
FUNCTION_BLOCK FB_TeachUpdate EXTENDS FB_CorefunctionFeedback
Properties
Name | Type | Access | Description |
---|---|---|---|
SetUpperPosition | BOOL | Get, Set | FALSE = The set position is used for the lower measured value. TRUE = The set position is used for the upper measured value. |
Methods
Name | Description |
---|---|
DoUpdate( | Calculates the measurement and parameters for encoder offset and scaling. |
SetPosition( | Configures the setpoint at one of the measuring points. |
SetStroke( | Configures the stroke between the two measuring points. |
Interfaces
Type | Description |
---|---|
I_TeachUpdate | Standard interface on FB_TeachUpdaten. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticFunctions v3.12.4.26 or higher |