- Posts: 68
- Thank you received: 0
EtherCAT servo homing
2 years 9 months ago #290955
by TimP
Replied by TimP on topic EtherCAT servo homing
in cia402.comp there is this code responsible for home status
Edit: well never mind it should be 12
so as soon as `Target is reached` 10bit and `Operation limit active` 12bit (according to Rtelligent user manual) it will be homed
but in Rtelligent manual i have also found `Home find` bit15.
So is this bit15 just Rtelligent extra or it present in other drivers as well?
Now as soon as i set `index-enable` and start homing it triggers error for joint.
taskintf.cc 976: Error on join 3, command number 123
More interesting is how to turn off saving position-offset
Code:
//home states
if (opmode_homing) {
stat_homed = ((statusword >> 10) & 1) && ((statusword >> 12) & 1);
stat_homing = !stat_homed && !((statusword >> 10) & 1);
}
Edit: well never mind it should be 12
so as soon as `Target is reached` 10bit and `Operation limit active` 12bit (according to Rtelligent user manual) it will be homed
but in Rtelligent manual i have also found `Home find` bit15.
So is this bit15 just Rtelligent extra or it present in other drivers as well?
Now as soon as i set `index-enable` and start homing it triggers error for joint.
taskintf.cc 976: Error on join 3, command number 123
More interesting is how to turn off saving position-offset
Please Log in to join the conversation.
2 years 9 months ago #291030
by TimP
Replied by TimP on topic EtherCAT servo homing
answering my own question about motor-offset.
To not have it i just need to remove
POSITION_FILE = filename
from ini file, and now finally i don't have this offset added to true motor position each time when i reload linuxcnc.
i don't need it because i have absolute encoders
To not have it i just need to remove
POSITION_FILE = filename
from ini file, and now finally i don't have this offset added to true motor position each time when i reload linuxcnc.
i don't need it because i have absolute encoders
Please Log in to join the conversation.
- Abdulkareem
- Offline
- Senior Member
-
Less
More
- Posts: 78
- Thank you received: 0
2 years 5 months ago #300666
by Abdulkareem
Replied by Abdulkareem on topic EtherCAT servo homing
hello i am facing a similar issue with homing and i also use el8 motor but didn't understand how you solved it do you mind further explaining
Please Log in to join the conversation.
11 months 2 weeks ago #338213
by peterpan
Replied by peterpan on topic EtherCAT servo homing
How?My drive have several homing method built in, and I recently solved to change the drive state druring the LCNC start, so I can initialize the drive to HM mode first, than CNP mode.
Please Log in to join the conversation.
Time to create page: 0.040 seconds
