lcec_conf exited without becoming ready
- rodw
-
- Away
- Platinum Member
-
Less
More
- Posts: 12156
- Thank you received: 4149
23 Sep 2026 21:58 #349826
by rodw
Replied by rodw on topic lcec_conf exited without becoming ready
Take the time to read the cia402.comp source and example. I was wrong, cia492.comp includes a pin to select PV (velocity) mode which is what you want.
I'd probably edit the name in your XML to be S0 instead of D1. this will make more sense when assiging pins to spindle.0
There are pins for target_velocity and actual_velocity (encoder feedback) so you are getting close. I think that your spindle speed-cmd pin should map to target_velocity and be sure the encoder is properly scaled.
I'm not sure how to map spindle.0.on to enable the motor.
spindle at speed would use the near component between target_velocity and actual_velocity
to capture a long list of pins you can add > pins.txt to the show pin command to write output to a file
I'd probably edit the name in your XML to be S0 instead of D1. this will make more sense when assiging pins to spindle.0
There are pins for target_velocity and actual_velocity (encoder feedback) so you are getting close. I think that your spindle speed-cmd pin should map to target_velocity and be sure the encoder is properly scaled.
I'm not sure how to map spindle.0.on to enable the motor.
spindle at speed would use the near component between target_velocity and actual_velocity
to capture a long list of pins you can add > pins.txt to the show pin command to write output to a file
The following user(s) said Thank You: viesturs.lacis
Please Log in or Create an account to join the conversation.
- viesturs.lacis
- Offline
- Premium Member
-
Less
More
- Posts: 114
- Thank you received: 3
30 Sep 2026 11:17 #350006
by viesturs.lacis
Replied by viesturs.lacis on topic lcec_conf exited without becoming ready
I just wanted to post a little update - I got to the point where lcec HAL pins reflect parameters saved in VFD drive (min and max velocity) which makes me think that EtherCAT communiction is actually working, but I cannot get the VFD to switch its modes. I was switching cia402.enable pin on and off, controlword value was changing (I had connected cia402.controlword with lcec.0.[some_more_symbols].controlword) but lcec mode pins never changed their value.
On the nameplate of VFD among all the numbers etc there is a letter which according to manual means that the drive was preconfigured when ordering for some (unknown to me) addon module. And drive shows error A7AB which means that the drive does not find the module it has been configured for. And since that is a second-hand drive I have no way of finding out more.
Long story short - I gave up on my attempts to get this drive to work with EtherCAT and already told that to my customer.
Rod thank you for your time and effort helping me on this one!
On the nameplate of VFD among all the numbers etc there is a letter which according to manual means that the drive was preconfigured when ordering for some (unknown to me) addon module. And drive shows error A7AB which means that the drive does not find the module it has been configured for. And since that is a second-hand drive I have no way of finding out more.
Long story short - I gave up on my attempts to get this drive to work with EtherCAT and already told that to my customer.
Rod thank you for your time and effort helping me on this one!
Please Log in or Create an account to join the conversation.
Time to create page: 0.690 seconds