weird behavior: homing X messes up Y

More
1 year 4 months ago #329861 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 to join the conversation.

More
1 year 4 months ago #329862 by Kieran
Warning: Spoiler!




Warning: Spoiler!


Warning: Spoiler!

Please Log in to join the conversation.

More
1 year 4 months ago #329863 by Kieran
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 to join the conversation.

More
1 year 4 months ago #329991 by Kieran
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 to join the conversation.

More
1 year 4 months ago #330012 by esmurf
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 to join the conversation.

More
1 year 4 months ago #330095 by Kieran
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 to join the conversation.

More
1 year 4 months ago #330123 by esmurf
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 ...

Please Log in to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum