Stumped with 7i76e and cheap 500W spindle wiring
- Jabbery
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 1
12 Jan 2021 18:32 #195103
by Jabbery
Stumped with 7i76e and cheap 500W spindle wiring was created by Jabbery
Hello,
I am new to Linuxcnc and thought I would get my feet wet with a simple cnc router build.
Motion is working mostly fine (not sure on the dual Y yet but all motors move) and I am having trouble with the wiring to TB4 to the spindle power supply.
The spindle power supply has 2 choices for speed control, 0-10V or a potentiometer which is also 0-10V. I also have a relay I want to tie to enable to fully cut power to the spindle.
TB4 PIN 1 - Spindle power supply potentiometer 0V (GND)
TB4 PIN 2 - Spindle power supply wiper
TB4 PIN 3 - Spindle power supply potentiometer +10
TB4 PIN 6 - relay board ttl input.Relay board to spindle power supply On/Off
If I attach the supplied potentiometer and jumper the on/off terminals I have speed control of the spindle. If I wire the above linuxcnc seems to show it is enabling and supplying a speed voltage to the TB4 pin 2. I do not seem to be getting a voltage on TB4 Pin 2 and nothing on TB4 Pin 6 Spindle Enable+
Any suggestions would be appreciated.
I am new to Linuxcnc and thought I would get my feet wet with a simple cnc router build.
Motion is working mostly fine (not sure on the dual Y yet but all motors move) and I am having trouble with the wiring to TB4 to the spindle power supply.
The spindle power supply has 2 choices for speed control, 0-10V or a potentiometer which is also 0-10V. I also have a relay I want to tie to enable to fully cut power to the spindle.
TB4 PIN 1 - Spindle power supply potentiometer 0V (GND)
TB4 PIN 2 - Spindle power supply wiper
TB4 PIN 3 - Spindle power supply potentiometer +10
TB4 PIN 6 - relay board ttl input.Relay board to spindle power supply On/Off
If I attach the supplied potentiometer and jumper the on/off terminals I have speed control of the spindle. If I wire the above linuxcnc seems to show it is enabling and supplying a speed voltage to the TB4 pin 2. I do not seem to be getting a voltage on TB4 Pin 2 and nothing on TB4 Pin 6 Spindle Enable+
Any suggestions would be appreciated.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17983
- Thank you received: 4834
12 Jan 2021 22:24 #195134
by PCW
Replied by PCW on topic Stumped with 7i76e and cheap 500W spindle wiring
Does TB4 pin3 measure 10V relative to TB4 pin1?
Did you look at the 7I76 spindle hal pins with halshow?
Note that the ENA- and ENA+ pins are just the two connections of a switch
they do not supply any voltage
Did you look at the 7I76 spindle hal pins with halshow?
Note that the ENA- and ENA+ pins are just the two connections of a switch
they do not supply any voltage
Please Log in or Create an account to join the conversation.
- Jabbery
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 1
12 Jan 2021 23:38 #195145
by Jabbery
Replied by Jabbery on topic Stumped with 7i76e and cheap 500W spindle wiring
Pins 1 - 3 read 10V, pin 1-2 reads 0V. Hal was built with pcmconf and has configuration for the spindle. I changed one entry while testing as per a different post where the pcmconf makes a mistake. Attached hal and ini.
In linuxcnc I opened Hal meter and monitored Spindle.On,Spindle.forward and spindle.out. Spindle.out was as per the rpm setpoint. My spindle is 12000 rpm and I am not sure how to properly set the scale as of yet.
I will change the relay to include GND to ENA- (relay board is set to active low), thank you for the help
In linuxcnc I opened Hal meter and monitored Spindle.On,Spindle.forward and spindle.out. Spindle.out was as per the rpm setpoint. My spindle is 12000 rpm and I am not sure how to properly set the scale as of yet.
I will change the relay to include GND to ENA- (relay board is set to active low), thank you for the help
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17983
- Thank you received: 4834
12 Jan 2021 23:48 #195150
by PCW
Replied by PCW on topic Stumped with 7i76e and cheap 500W spindle wiring
net spindle-enable => pid.s.enable
.......
net spindle-on => hm2_7i76e.0.7i76.0.0.spinena
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
should be:
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
# ---setup spindle control signals---
net spindle-enable <= spindle.0.on
.......
net spindle-on => hm2_7i76e.0.7i76.0.0.spinena
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
should be:
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
# ---setup spindle control signals---
net spindle-enable <= spindle.0.on
Please Log in or Create an account to join the conversation.
- Jabbery
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 1
13 Jan 2021 00:12 #195154
by Jabbery
Replied by Jabbery on topic Stumped with 7i76e and cheap 500W spindle wiring
Thank you very much for your help. It is all working now.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds