SetParameterGeneral()
A general set of travel parameters for the homing procedure is set.
Syntax:
METHOD SetParameterGeneral : HRESULT
VAR_INPUT
eDirection : E_AdaptableHomingDirection;
fVelocity : LREAL;
fAcceleration : LREAL;
fDeceleration : LREAL;
fJerk : LREAL;
tTimeLimit : TIME;
fDistanceLimit : LREAL;
fTorqueLimit : LREAL;
END_VAR
Return value
Name | Type | Description |
---|---|---|
SetParameterGeneral | HRESULT | Return value with feedback on the success of the execution. |
Inputs
Name | Type | Description |
---|---|---|
eDirection | E_AdaptableHomingDirection | The movement with which the homing event is found. |
fVelocity | LREAL | The velocity of the movement used in the search of the homing event. |
fAcceleration | LREAL | The acceleration of the movement used in the search of the homing event. |
fDeceleration | LREAL | The deceleration of the movement used in the search of the homing event. |
fJerk | LREAL | The jerk of the movement used in the search of the homing event. |
tTimeLimit | TIME | The timeout limit of the core function. |
fDistanceLimit | LREAL | The maximum distance that may be traveled in the search of the homing event. |
fTorqueLimit | LREAL | The limit of the torque applied in the search of the homing event. |
Torque limitation in the event of a mechanical blockage The torque limitation is used to prevent damage if the axis encounters a mechanical blockage without having detected the homing event. |
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 |