- Posts: 55
- Thank you received: 0
Spindle configuration
- Nondepietjes
- Topic Author
- Offline
- Senior Member
-
Less
More
9 years 7 months ago #89739
by Nondepietjes
Spindle configuration was created by Nondepietjes
Hi,
I'm trying to configure my spindle for lathe machine.
I have a encoder and feedback with tacho.
Can somebody take a look at my hal.file?
much appreciated
I'm trying to configure my spindle for lathe machine.
I have a encoder and feedback with tacho.
Can somebody take a look at my hal.file?
much appreciated
Attachment not found
Attachment not found
Please Log in to join the conversation.
9 years 7 months ago #89742
by comjon
Replied by comjon on topic Spindle configuration
You are looking to set S commands on your spindle, to do thread cutting, for example?
Please Log in to join the conversation.
- Nondepietjes
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
9 years 7 months ago #89743
by Nondepietjes
Replied by Nondepietjes on topic Spindle configuration
yes, and if my hal file is correct. is everything is connected
Please Log in to join the conversation.
9 years 7 months ago #89747
by comjon
Replied by comjon on topic Spindle configuration
I am not at my machine right now, but I think there may be a lathe sample configuration with spindle encoding in the sim folder on LinuxCNC startup.
Please Log in to join the conversation.
- Nondepietjes
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
9 years 7 months ago #89760
by Nondepietjes
Replied by Nondepietjes on topic Spindle configuration
I have tested the hal file, but it appears that my spindle-enable is not connected in my hal file.
Can somebody explain me what i'm doing wrong?
many thanks
Can somebody explain me what i'm doing wrong?
many thanks
Please Log in to join the conversation.
9 years 7 months ago #89777
by andypugh
Replied by andypugh on topic Spindle configuration
Is your spindle enable physical wiring corrected to the spinena pin, ro to separate GPIO?
I see
# external output signals
...
# --- SPINDLE-ON ---
#net spindle-on hm2_5i25.0.7i77.0.0.output-09
Which makes me wonder.
(But nothing drives that spindle-on signal, you should probably delete that commented-out line)
I see
# external output signals
...
# --- SPINDLE-ON ---
#net spindle-on hm2_5i25.0.7i77.0.0.output-09
Which makes me wonder.
(But nothing drives that spindle-on signal, you should probably delete that commented-out line)
Please Log in to join the conversation.
- Nondepietjes
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
9 years 7 months ago #89801
by Nondepietjes
Replied by Nondepietjes on topic Spindle configuration
Normaly my wiring is correct, i checked it a few times.
i'm working with a mesa 7i77 card and connected my whires to Drive5.
So i have to connect the spindle-on to my spinena pin?
i'm working with a mesa 7i77 card and connected my whires to Drive5.
So i have to connect the spindle-on to my spinena pin?
Please Log in to join the conversation.
9 years 7 months ago #89803
by andypugh
Not necessarily, there is a spindle-enable signal that seems to be connected to the right things.
Can you show us a diagram of the wiring to TB5 21, 22, 23, 24 ?
Replied by andypugh on topic Spindle configuration
Nondepietjes wrote: So i have to connect the spindle-on to my spinena pin?
Not necessarily, there is a spindle-enable signal that seems to be connected to the right things.
Can you show us a diagram of the wiring to TB5 21, 22, 23, 24 ?
Please Log in to join the conversation.
- Nondepietjes
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
9 years 7 months ago #89818
by Nondepietjes
Replied by Nondepietjes on topic Spindle configuration
My RF signal is connected to the ENA- signal. ENA+ is connected to powersupply.
GRD and ANOUT to the amplifier signals
GRD and ANOUT to the amplifier signals
Please Log in to join the conversation.
9 years 7 months ago #89819
by andypugh
Is that what the spindle drive needs? Often the drive enable needs to connect the enable output to the drive common.
What is the spindle drive?
Replied by andypugh on topic Spindle configuration
Nondepietjes wrote: My RF signal is connected to the ENA- signal. ENA+ is connected to powersupply.
GRD and ANOUT to the amplifier signals
Is that what the spindle drive needs? Often the drive enable needs to connect the enable output to the drive common.
What is the spindle drive?
Please Log in to join the conversation.
Time to create page: 0.065 seconds
