FB_MdHoming
This machine data component contains parameters that are relevant for homing an axis.
Syntax:
FUNCTION_BLOCK FB_MdHoming EXTENDS FB_MdBaseComponent
Machine data
Index (Identifier) | Parameter | PLC storage location |
---|---|---|
| Setup.EnableMdAutoSave |
|
| Setup.TimeLimitMax | |
| Setup.DetectionVeloTimeMax | |
| Setup.DistanceMax | |
| Setup.PositionMin | |
| Setup.PositionMax | |
Groups (homing procedure) | ||
| HomingAbsSwitch |
|
| HomingBlock | |
| HomingBlockDetect | |
| HomingFinish | |
Parameters per group | ||
| Homing.Acceleration | Each in the group |
| Homing.Deceleration | |
| Homing.Jerk | |
| Homing.Velocity | |
| Homing.Distance | |
| Homing.TimeLimit | |
| Homing.TorqueLimit | |
| Homing.DistanceLimit | |
| Homing.Detect.VelocityLimit | |
| Homing.Detect.VelocityTime | |
| Homing.TorqueTolerance | |
| Homing.SetPosition | |
| Homing.Direction | |
| Homing.SwitchMode | |
| Homing.Option.DisableDriveAccess | |
| Homing.Option.LagErrorDetection | |
| Homing.Option.InstantLagReduction | |
| Homing.Option.TorquePolarityInverted |
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
Connected | BOOL | Get | FALSE | Component is connected to its dependencies (except for the MD container). |
FB_MdBaseComponent | ||||
LinkedContainer | Get | NULL | Points to the container to which the component was appended. | |
Tc3_PlasticFunctions.FB_MdComponent | ||||
Further characteristics | <> | <> | <> | Implemented by FB_MdComponent |
Methods
Name | Description |
---|---|
AddNextComponent() | Adds the subsequent component to the component (list). |
FB_MdHoming | |
Connect( | Connects the component with the necessary dependencies. |
FB_MdBaseComponent | |
[ | Used with inheriting classes to initialize the encoding offset after |
[ | Used with the inheriting class to initialize the encoding offset. |
[ | Simplified method for reading a text-based machine data parameter. This method is used within the MdNextParameter(...) Callback method. |
[ | Simplified method for writing a text-based machine data parameter. This method is used within the MdSetParameter(...) Callback method. |
Tc3_PlasticFunctions.FB_MdComponent | |
Other methods | Implemented by FB_MdComponent. |
Event-driven methods (callback methods)
Name | Description |
---|---|
Container call for saving the parameters in a file, implemented by FB_MdComponent. | |
Container call for loading the parameters into the runtime, implemented by FB_MdComponent. |
Interfaces
Type | Description |
---|---|
I_MdComponent | Standard interface on FB_MdComponent |
I_MdHoming | Standard interface on FB_MdHoming. |
I_MdBaseComponent | Standard interface on FB_MdBaseComponent |
Further interfaces | Implemented by FB_MdComponent |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.5.0) |