weird behavior: homing X messes up Y

More
07 Jun 2025 04:01 #329861 by Kieran
weird behavior: homing X messes up Y was created by Kieran
Hey Guys. Im working on my A6 stepperonline servos on the bench currently. I got one axis going. Im trying to get a second axis involved. I got it working and linuxcnc launches without fault. I can jog both axis slowly before homing. I can home joint1 (Y) and still able to slowly jog. once I home X, I can jog it quickly, but cant jog Y at all. and if I fight the Y servo (its holding position), there doesn't appear to be any encoder feedback either once x is homed.

Please Log in or Create an account to join the conversation.

More
07 Jun 2025 04:05 #329862 by Kieran
Replied by Kieran on topic weird behavior: homing X messes up Y
Warning: Spoiler!




Warning: Spoiler!


Warning: Spoiler!

Please Log in or Create an account to join the conversation.

More
07 Jun 2025 04:13 #329863 by Kieran
Replied by Kieran on topic weird behavior: homing X messes up Y
DUH...... I think i fixed it.

COORDINATES = X
changed to
COORDINATES = XY


KINEMATICS = trivkins coordinates=X
changed to
KINEMATICS = trivkins coordinates=XY

oops.

weird how it didnt error out.

Please Log in or Create an account to join the conversation.

More
09 Jun 2025 03:44 #329991 by Kieran
Replied by Kieran on topic weird behavior: homing X messes up Y
Ok, more Q's.... Im messing with PDO now. i ran ethercat pdos

Warning: Spoiler!


heres my working XML snippet

Warning: Spoiler!



question is, why doesnt it work anymore if i switch from  <pdo idx="1600"> to  <pdo idx="1701"> for example. why is it using 1600 and 1A00 and working even though "ethercat pdos" spits out 1701 and 1Bo1? I want to use something other than 1600/1A00 because they only have a few PDOs available on my servos. they are "variable PDO" according to the manual. Just trying to understand how this all works.

Please Log in or Create an account to join the conversation.

More
09 Jun 2025 12:36 #330012 by esmurf
Replied by esmurf on topic weird behavior: homing X messes up Y
as per manual there is only one variable receive and one variable transmit PDO : 0x1600 and 0x1A00.
Each is limited to 10 entries.
You should see some error messages in /var/log/messages.
If you need more than 10 entries, you can use SDO instead of the 0x1600 PDO.
SDOs can be queried/set with "ethercat upload" or "ethercat download".
SDOs are permanently saved to the servo controller, so this is useful for nonchanging config parameters only.

Please Log in or Create an account to join the conversation.

More
10 Jun 2025 17:03 #330095 by Kieran
Replied by Kieran on topic weird behavior: homing X messes up Y
ok I guess I need to do more reading on how the PDO works. the servo manual lists other PDOs that aren't listed in the 1600 and 1A00 registers, such as 606C(speed feedback). how would one use these other PDOs? I guess I dont see what fixed PDOs actually do.

Please Log in or Create an account to join the conversation.

More
11 Jun 2025 04:15 #330123 by esmurf
Replied by esmurf on topic weird behavior: homing X messes up Y
You add a new pdoentry for 606C to the 1A00 PDO in your ethercat-conf.xml file. In this entry idx, subidx, bitlen, is from the A6 manual, you chose a name for "halPin".
Inside you hal file you can then use that name. E.g. like lcec.0.X.yourname
In this example 0 is your first ethercat interface, X is the name of your slave. See "halshow" -> Pins ...
The following user(s) said Thank You: Kieran

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum