Homing for axis A

From the original Synthetos forum (2011–2025)

Started by Bill on in TinyG Support. 9 replies, last activity Oct 12, 2015.

#

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

#

we adjusted the following parameters, still sometimes work, sometimes not work:
[aam] a axis mode 1 [standard]
[avm] a velocity maximum 24000 deg/min
[afr] a feedrate maximum 24000 deg/min
[atn] a travel minimum 0.000 deg
[atm] a travel maximum 100.000 deg
[ajm] a jerk maximum 1200 deg/min^3 * 1 million
[ajh] a jerk homing 1440 deg/min^3 * 1 million
[ajd] a junction deviation 0.0500 deg (larger is faster)
[ara] a radius value 0.1989 deg
[asn] a switch min 3 [0=off,1=homing,2=limit,3=limit+homing]
[asx] a switch max 2 [0=off,1=homing,2=limit,3=limit+homing]
[asv] a search velocity 1080 deg/min
[alv] a latch velocity 216 deg/min
[alb] a latch backoff 3.600 deg
[azb] a zero backoff 3.600 deg

can any give me a suggestion?

Thanks!!

Bill

Staff #

This is the first post I recall seeing with A axis homing, so not a lot of experience in the user base.

What FW build are you running on tinyG?
Are they NC or NO switches?

#

FW is 0.97;
it is NC
[st] switch type 1 [0=NO,1=NC]

Thanks for your answer!

Staff #

Is $fb=440.20 ?

#

[fb] firmware build 440.14
[fv] firmware version 0.97
[hp] hardware platform 1.00
[hv] hardware version 8.00

Thanks!!

Staff #

FW 440.14 is rather dated. Try 440.20

#

Thanks, I will try!

Staff #

You must make sure the latch backoff is sufficiently large to clear the switch.

#

Thanks, I have changed the motor, it looks like better, I will keep trying.

This topic is from the original forum (October 2015). Your reply starts a new discussion linked to it.

Reply

Different problem? Ask a new question

Back to TinyG Support or latest activity.