I am testing the homing for the axis A, but it can be successful sometimes, sometimes not. The following is the record from TinyG(the first time is successful and the second time is not):
g28.2 a0
{"r":{},"f":[1,0,9,4402]}
{"sr":{"coor":0,"dist":1,"stat":9}}
{"qr":32}
{"qr":31}
{"sr":{"posa":-2.092,"feed":540.00,"vel":540.00}}
{"sr":{"posa":-3.600,"vel":0.00}}
{"qr":32}
{"qr":31}
{"sr":{"posa":-4.496,"vel":18.89}}
{"qr":31}
{"sr":{"posa":-4.067,"feed":108.00,"vel":108.00}}
{"sr":{"posa":-3.819,"vel":10.76}}
{"qr":31}
{"sr":{"posa":-1.663,"feed":540.00,"vel":540.00}}
{"sr":{"posa":-100.000,"vel":0.00}}
{"qr":32}
{"sr":{"posa":0.000,"feed":0.00,"coor":1,"dist":0,"stat":3}}
{"qr":32}
g28.2 a0
{"r":{},"f":[1,0,9,4402]}
{"sr":{"coor":0,"dist":1,"stat":9}}
{"qr":32}
{"qr":31}
{"sr":{"posa":-2.092,"feed":540.00,"vel":540.00}}
{"sr":{"posa":-3.600,"vel":0.00}}
{"qr":32}
{"qr":31}
{"sr":{"posa":-3.728,"vel":18.23}}
{"sr":{"posa":-5.818,"vel":540.00}}
{"sr":{"posa":-7.098,"vel":18.89}}
{"sr":{"posa":-107.200,"feed":0.00,"vel":0.00,"coor":1,"dist":0,"stat":3}}
{"qr":32}
The following is the setting of motor and axis A:
$avm=24000
$afr=24000
$ajm=1200
$ajh=1440
$asv=1080
$alv=216
$alb=3.6
$azb=3.6
$4ma=3
$4sa=1.8
$4tr=360
$4mi=8
$4po=0
$4pm=2
The motor current is 1.5amp.
I don't know why the same parameters and the same command, the different result. Could you please give me any suggestion?
Thanks!!
Bill