Advanced Search

Search Results (Searched for: )

  • Hastrh2o
  • Hastrh2o
26 Feb 2025 08:23
Replied by Hastrh2o on topic Tool offset problem with Qt

Tool offset problem with Qt

Category: Qtvcp

Hi,

I will check this afternoon. But since it's working after the second call at the same line, I doubt. I edit my first post to be more clear on the test I did.
  • rodw
  • rodw's Avatar
26 Feb 2025 08:20
Replied by rodw on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

I think we have all gone off track with how this should work.
Please refer to the template source code
github.com/LinuxCNC/linuxcnc/blob/master...s/homecomp.comp#L257
if (customH[joint_num].is_custom_homing) {
Note that there is a condition here that decides if this joint should be custom homed or homed normally.
So this pin should be set to 1 if this joint is to be custom homed with setp

But if you look at tangentaudio's code, he (and every body else, me included) uses this pin to trigger homing in cia402 which is wrong!
So we should be creating a new pin start-homing to trigger the cic402.n.home pin.

Can you guys review this and see if you agree?
  • rodw
  • rodw's Avatar
26 Feb 2025 07:54
Replied by rodw on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

Thanks for sharing your success. I am about to start again for the third time. I keep trying  to add extra stuff in. The first time, my work was obsoleted as the homecomp template was massively changed. Before I started, I did work out that the cia402.comp would never work and at that time changes to homing.c were required.
The homecomp is a very simple but we keep trying to use cia402.comp that as written before custom homing was introduced and was based on drive that homed to index.

I did try building cia402.comp into the homecomp but that was the one that was obsoleted. I don't think it would work because the homing loop sits outside the lcec loop so it will be one step behind.

I think the  best architecture would be to rewrite cia402.comp so it did everything with the drive except homing (inside the lcec loop) and then everything to do with homing was done in the homecomp. 
Displaying 18661 - 18663 out of 18663 results.
Time to create page: 0.321 seconds
Powered by Kunena Forum