TeachPosition

This core function is used for referencing analog encoder systems.
Syntax:
FUNCTION_BLOCK FB_TeachPosition EXTENDS FB_CorefunctionFeedback
Properties
Name | Type | Access | Description |
---|---|---|---|
TeachLatchM | LREAL | Get, (Set) | The recorded value when executing |
TeachLatchPTeachLatchP | LREAL | Get, (Set) | The recorded value when executing |
Valid | BOOL | Get | Two valid values were recorded. |
Methods
Name | Description |
---|---|
DoTeach( | Sets the axis to teaching mode. |
DoTeachM( | Triggers the recording of the lower position. |
DoTeachP( | Triggers the recording of the upper position. |
Interfaces
Type | Description |
---|---|
I_TeachPosition | Standard interface on FB_TeachPosition. |
I_TeachPositionDev | Extended interface with access to the setters of the latch properties. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.55 | PC or CX (x64, x86) | Tc3_PlasticFunctions (>= v3.12.5.0) |