How to measure the Zero pulse position relative to home switch position to determine if a motor needs mechanically rotating
Auteur Gareth Green | Dernière modification 20/03/2025 par Gareth Green en cours de rédaction ⧼frevu-button-review-label⧽
How to measure the Zero pulse position relative to home switch position to determine if a motor needs mechanically rotating
Determining_Zero_Pulse_position_For_Beckhoff_Axis_2025-03-20_16-00-07.PNG
If the zero pulse position is very close to the the home switch position, a common fault can occur where the axis datum moves out of position by one rotation.
This manifests itself as a Y/Z axis being 5 / 10mm out or a gripper around 32mm out
The problem is easy to solve once detected, by either moving the home switch flag, or rotating the motor by one quarter turn.
However, this means the fault has to happen before detection.
This tutorial describes how to predict if this will be a problem, so the corrective action can be taken before it creates the issueEnter setup mode and load the TwinCAT project
In TwinCAT, navigate to the Axis->Enc->Parameter->Homing
Reference Mode
Check which system the axis is using
PLC - This method uses just the home switch for zero. Fine for low accuracy axes (GY, GZ). The Zero pulse offset will not affect this mode, so STOP HERE.
Software Sync- This method uses the home switch then zero pulse seek. Better for higher accuracy, but opens the risk of this problem
Default - This is not a good setting because it is not clear which mode. It is a good idea to change this to Software Sync to ensure the best possible datuming method is maintained.
Mark on the axis where the home position is.
Mark this line with a Z to denote "Zero Pulse".
Using the scaling factor for the axis from the axis parameters, calculate the distance moved for one turn of the motor.
This is 1,048,676 divided by axis scaling factor.
Example - Y axis
1048576 / 104857.6 = 10mm per turn
Example - Autoflow R Axis
1048576 / 296125.6= 3.54 degrees per turn
Example Autoflow Mk4 Infeed GX Axis
1048576 / 52435.78= 20mm per turn
An ideal distance would be equivalent to one half turn (eg for a 10mm pitch leadscrew, the ideal would be 5mm, so the axis has to rotate one half turn.
As a rule of thumb,
In the example, from an Autoflow GX axis, the distance is 18mm, one turn is 20mm, so the decision was made to turn the motor through 90 degrees
Datum position can be moved by
Vital to check and reset the datum offset after any changes
In the example, from an Autoflow GX axis, the datum changed by 5mm (one quarter turn)
en none 0 Draft
Vous avez entré un nom de page invalide, avec un ou plusieurs caractères suivants :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #