Home › Forums › TinyG › TinyG Support › Homing for axis A
- This topic has 9 replies, 3 voices, and was last updated 9 years, 2 months ago by Bill.
-
AuthorPosts
-
October 6, 2015 at 5:56 am #8811BillMember
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=2The 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
October 6, 2015 at 6:20 pm #8813BillMemberwe 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 degcan any give me a suggestion?
Thanks!!
Bill
October 6, 2015 at 7:06 pm #8814cmcgrath5035ModeratorThis 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?October 6, 2015 at 7:10 pm #8815BillMemberFW is 0.97;
it is NC
[st] switch type 1 [0=NO,1=NC]Thanks for your answer!
October 7, 2015 at 7:04 am #8820cmcgrath5035ModeratorIs $fb=440.20 ?
October 7, 2015 at 6:03 pm #8825BillMember[fb] firmware build 440.14
[fv] firmware version 0.97
[hp] hardware platform 1.00
[hv] hardware version 8.00Thanks!!
October 8, 2015 at 7:37 am #8830cmcgrath5035ModeratorFW 440.14 is rather dated. Try 440.20
October 8, 2015 at 6:13 pm #8833BillMemberThanks, I will try!
October 10, 2015 at 10:28 am #8836aldenMemberYou must make sure the latch backoff is sufficiently large to clear the switch.
October 12, 2015 at 6:09 pm #8841BillMemberThanks, I have changed the motor, it looks like better, I will keep trying.
-
AuthorPosts
- You must be logged in to reply to this topic.