Hello all,
I have a system with two robots and additional servo axis MU400. MU400 is driving a rotating table. When the movement is finished the axis stops at lets say at 20.000°. I am trying to use the function to reset position inside 360° and when doing this I am getting incorrect axis positions. Even in simulation it seems like axis is jumping to incorrect position (should have stayed in the same place, no?).
System is multimove with independant axis.
RW is 6.11
Transmission settings are set and position on the flex pendant is showing the correct value when rotating the table. I didn’t set Transmission Gear High and Low. Only the Gear Ratio.
To test the situation I drove the axis to 5° and then used IndReset. The axis skips to -225°.
After moving the table to 0°, the table end up ofcourse in incorrect position. In the picture at the bottom there is a screenshot of flex pendant showing the test result.
The code I used to test is practicaly copy paste from RAPID manual:
TPErase;
IndCMove M7DM1, 1, 0;
WaitUntil IndSpeed(M7DM1, 1, \ZeroSpeed);
WaitTime 0.2;
pTempJointTarget := CJointT();
TPWrite "Before IndReset: " \Num := pTempJointTarget.extax.eax_a;
TPReadFK FK, “”, stEmpty, stEmpty, “Continue”, stEmpty, stEmpty;
IndReset M7DM1, 1 \RefNum := 0 \Fwd;
pTempJointTarget := CJointT();
TPWrite "After IndReset: " \Num := pTempJointTarget.extax.eax_a;
TPReadFK FK, “”, stEmpty, stEmpty, “Continue”, stEmpty, stEmpty;
MoveExtJ Home, vrot100, fine;
pTempJointTarget := CJointT();
TPWrite "After MoveJ to Home: " \Num := pTempJointTarget.extax.eax_a;
TPReadFK FK, “”, stEmpty, stEmpty, “Continue”, stEmpty, stEmpty;
What am I doing wrong?
Best regards,
