The attached program calculates the commutation offset for an absolute encoder.
A3200: AbsoluteEncoderOffsetCalc.pgm
Automation1: AbsoluteEncoderOffset.ascript
The current process outlined in the A3200 Automation1 help file requires the user to rotate or move the axis to the absolute feedback position of zero using MSET TuningSetMotorAngle commands. This process can take a long time to complete. The attached program applies an MSET TuningSetMotorAngle angle of 0 electrical degrees and uses the current position in counts, the CountsPerRev PrimaryFeedbackResolution and CyclesPerRev MotorPolePitch to determine the distance from the zero absolute position to the current 0 mset angle.
...