T3D-L20A-RABF configuration help

More
04 Feb 2026 15:12 #342388 by Ismacr63
T3D-L20A-RABF configuration help was created by Ismacr63
I've been trying for several days to configure the T3D-L20A-RABF servo motor as a spindle in speed mode, but I can't get it to work.

I've set the parameters p004=1, p047 to auto-zero, p050=1 for 0-10V unipolar, and p103=9 to reverse the spindle. I've set p025=0 (default) to use the analog input AS+.

I'm using pin 17 to control the relay and connecting S0 or 0V/GND to the relay.

I'm using pin 16 to reverse the spindle direction.

And pin 1 is for PWM. I've connected AGND and AS+ to the bobbin's 0-10V pin.

The board is powered by 24V, and the servo driver is also powered by 24V.

When I input the command M3 S100, for example, the spindle energizes and has torque, but it doesn't rotate or respond to RPMs.

With my limited knowledge, I don't know what else to try. T_T
Attachments:

Please Log in or Create an account to join the conversation.

More
04 Feb 2026 15:35 #342390 by Dudelbert
Replied by Dudelbert on topic T3D-L20A-RABF configuration help
I don’t know that specific driver, but what I would try is separating the drive from LinuxCNC first.
There is probably a manual mode to turn the drive by using the front panel on the drive itself.
After that, you can set the needed inputs directly (wired to your DC sources) and use a low voltage (AA battery or similar) to give the analog input directly.
Then, if that works but still not in CNC control, you at least know that LinuxCNC is actually the problem.
The following user(s) said Thank You: Ismacr63

Please Log in or Create an account to join the conversation.

More
04 Feb 2026 15:44 #342393 by Ismacr63
Replied by Ismacr63 on topic T3D-L20A-RABF configuration help
Thank you for your response.

I forgot to mention that before installing it on LinuxCNC, I tested it with a potentiometer powered by an external 10V source and a 3-position switch for enable and rev, and it worked fine. The problem arises when I try to connect it to the Bob and LinuxCNC. I'm using the Probe Basic interface, but I've also tried it with Axis and the same thing happens.

Please Log in or Create an account to join the conversation.

More
04 Feb 2026 16:26 #342399 by Dudelbert
Replied by Dudelbert on topic T3D-L20A-RABF configuration help
Ok,

in that case I would try setting the outputs in HAL Show and verify it with a multimeter.
If that does not work, you probably know what signal does not work, it is unlikely that everything does not work, and you said that the drive enables.
If it works but over the normal GUI it does not, I am out of ideas as well.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
04 Feb 2026 17:53 #342409 by tommylight
Replied by tommylight on topic T3D-L20A-RABF configuration help
There is nothing pertaining to spindle in the ini file, not sure if that is the issue, but it is easier to make a new config with the spindle included using stepconf wizard.
The following user(s) said Thank You: Ismacr63

Please Log in or Create an account to join the conversation.

More
04 Feb 2026 22:38 #342421 by Ismacr63
Replied by Ismacr63 on topic T3D-L20A-RABF configuration help
Tomorrow I'll do a new axis configuration to test and compare the hal and ini files again. Would my hal file be correct for normal operation?

Please Log in or Create an account to join the conversation.

More
05 Feb 2026 11:29 #342466 by Ismacr63
Replied by Ismacr63 on topic T3D-L20A-RABF configuration help
Today I was able to get the spindle to rotate, but I've encountered two new problems. While the DI4 wire is connected to pin 16 of the bobbin to reverse the spindle's rotation, it always remains reversed, regardless of whether pin 16 is activated or deactivated. I checked with the HAL meter, and pin 16 is working correctly. I also measured with a multimeter, and when it's activated, it reads 0V, and when it's deactivated, it reads 5V, but the spindle always rotates in the same direction. Interestingly, when I disconnect the reverse wire from pin 16, it rotates in the correct direction, and if I reconnect it, it reverses direction, but nothing happens from the interface using pin 16.

The other problem is that the RPMs don't match, for example, an M3 S1000. I've tried to correct this unsuccessfully from both the driver and the HAL. I have a 1.58:1 pulley ratio (45mm motor pulley, 71mm spindle). My knowledge of Linux CNC is limited, and I'm not sure where to go from here.

I'm not sure if I've explained myself clearly. Sorry for my English.

Please Log in or Create an account to join the conversation.

More
07 Feb 2026 16:42 #342609 by Ismacr63
Replied by Ismacr63 on topic T3D-L20A-RABF configuration help
Well, after racking my brain for several days, I've managed to understand and solve the problems. The problem with the reverse gear is that the servo's DI4 signal is 24V, so when connected to pin 16 of the bobbin, it always has voltage, and the signal remains active even when you activate or deactivate reverse. The solution was to use a 5V to 24V optocoupler.

Regarding the RPM problem, I've managed to understand how the spindle scale works, allowing me to calibrate the RPM perfectly.

There are many factors involved, such as the bobbin not delivering an exact 0-10V signal, and you have to play around with the offset in LinuxCNC and the driver itself.

It's a real headache, but when you finally understand it and manage to solve it, it's very satisfying.
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

Moderators: piasdom
Time to create page: 0.141 seconds
Powered by Kunena Forum