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. 
  • HenkvE
  • HenkvE
26 Feb 2025 07:40 - 27 Feb 2025 09:01
Replied by HenkvE on topic Qtdragon for lathe??

Qtdragon for lathe??

Category: Qtvcp

Thanks.  The first issue is the output to control the spindle speed. I use a mesa 7i76e card with 0-10V as reference voltage on the spindle port TB4. The output won't go higher than +5V or for that matter, 50% of any reference voltage that I use.  The spindle also starts turning at 50% of the maximum spindle speed output setting when I use the slider in manual mode to control the spindle speed.  (The spindle only starts to run when the slider is in the middle.) The reason why I suspect that the issue is related to the qt_lathe gui is because when I do the exact same setup with pncconfig selecting AXIS as gui, the maximum output is the the same as the max+ reference voltage. 

The output is similar to "bipolar mode" as descibed in the 7i76e manual p15:as in the screenshot of the manual..     

I also noticed that the -5V to +5V (or 0-10V) output setting in the Spindle section of pncconfig for qtdragon has no influence on the output voltage of the spindle speed control. Whether the box is selected or not it makes no difference. 

My current goal is to get the lathe running with the correct axes and spindle control.  Once that is sorted I'll inform you of the other issues as I find them.

Remark:
The issue was resolved by changing the OUTPUT_SCALE parameter in the .ini file to a value of 1000.  As I read through the comments in the forum regarding the OUTPUT_SCALE value I realised that this is not an absolute value. 
 
Displaying 18661 - 18664 out of 18664 results.
Time to create page: 0.844 seconds
Powered by Kunena Forum