-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASDA-A2-E not responding to vel_cmd (PDO 0x60FF) #111
Comments
Why not make up a generic slave XMl file including 0x60FF (target velocity PDO) also as an input pdo entry? |
So I've started doing a generic XML as you suggested. Can i add the generic slave as idx ="1" as if it were a second slave, that way keeping all the other functions instead of having to define them all again? |
Do you mean that your slave with idx=0 is already defined as some "hard coded" slave like this https://github.com/sittner/linuxcnc-ethercat/blob/master/examples/generic-complex/ethercat-conf.xml#L3? idx is real, physikal index , not an alias BTW. |
Besides this you can test the settings of your slave with etherlab sdo commands like |
Update: If i change the mode 0x6060 in terminal to profile velocity mode (0x03) and set the accel and decel registers, it will move. So i have two choices - 1) Go down this path or 2) build a generic XML from scratch to suit Profile velocity (i'll be guessing my way through this) so i'll check out this SYNC0 thing first and then decide. |
Fixed. So if you have a look at the posted XML above, notice the dcConf without a tag infront of it. Linuxcnc did not like loading it with that tag but when removed, it ingores that line - critical information included. So still got following error but it at least moved. changed the scale and dropped the FF1, FF2 values to almost zero and lowered P, moves well by itself. So I'll worry about all those when it's mounted to the machine. Thanks for your assistance. |
So you found out that lwithin linuxcnc the parser has unexpected behaviour. You applied some tweaks, but still i would not rely I have been using this component only within machinekit which means only in user space, and the parser worked as it should. |
It seems that you solved your problem with asd-a2-E |
I am having a problem getting the servo to move through linuxcnc. I have followed the instructions in the delta ASDA-A2-E manual and can confirm in lcec.deasda.c that everything that should be happening, is happening. I cannot confirm if the data is actually getting written to 0x60FF (target velocity PDO) but due to the enable volts and other control PDO bits working as intended, I have to assume the connection is fine. Seeing others posting problems with tuning problems means they've gotten past the problem I currently have.
Things that work:
-can jog in ASDA_SOFT using usb connection.
-can read encoder position when enabled or not. Confirmed by spinning motor by hand and seeing the position change in LinuxCNC
-read all the related hal pins to the drive and none of the fault or warnings are true.
Things that don't work
-setp lcec.0.x.srv-vel-cmd 10 ( or any number)
Super frustrating when all the other things work fine including a write to the control PDO, but velocity doesn't even show an error. Its as if the drive isn't looking at that register.
I posted before as tezza120 but the heading might of been too vague?
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: