- Posts: 19
- Thank you received: 0
7i76E SPINDLE OUT Problem
4 years 4 months ago #245159
by shanham67
7i76E SPINDLE OUT Problem was created by shanham67
All,
I am in the process of retrofitting a Bridgeport Interact MkII to a linuxcnc+7i76E machine. I have most everything working but I cannot seem to get anything out of the SPINDLEOUT pin. The spindle drive is a Control Techniques Mentor II.
SPINDLE+ TB4-PIN3 <---> +10V (TB1-Pin1 on Mentor)
SPINDLEOUT TB4-PIN2 <---> Reference (TB1-Pin3 on Mentor)
SPINDLE- TB4-PIN1 <----> 0V (TB4-Pin40 on Mentor)
With the spindle enabled and using HAL meter I am able to see hm2_7i76e.0.7i76.0.0.spinout vary between 0.0 and 1.0 when I move the spindle override slider but I am never seeing a voltage between PIN2 and PIN1 (SPINDLOUT & SPINDLE-).
What am I missing?
My .ini file is:
I am in the process of retrofitting a Bridgeport Interact MkII to a linuxcnc+7i76E machine. I have most everything working but I cannot seem to get anything out of the SPINDLEOUT pin. The spindle drive is a Control Techniques Mentor II.
SPINDLE+ TB4-PIN3 <---> +10V (TB1-Pin1 on Mentor)
SPINDLEOUT TB4-PIN2 <---> Reference (TB1-Pin3 on Mentor)
SPINDLE- TB4-PIN1 <----> 0V (TB4-Pin40 on Mentor)
With the spindle enabled and using HAL meter I am able to see hm2_7i76e.0.7i76.0.0.spinout vary between 0.0 and 1.0 when I move the spindle override slider but I am never seeing a voltage between PIN2 and PIN1 (SPINDLOUT & SPINDLE-).
What am I missing?
My .ini file is:
[SPINDLE_0] P = 0.0 I = 0.0 D = 0.0 FF0 = 1.0 FF1 = 0.0 FF2 = 0.0 BIAS = 0.0 DEADBAND = 0.0 MAX_OUTPUT = 2000.0 OUTPUT_SCALE = 2000 OUTPUT_MIN_LIMIT = -2000 OUTPUT_MAX_LIMIT = 2000
Please Log in to join the conversation.
4 years 4 months ago #245160
by PCW
Replied by PCW on topic 7i76E SPINDLE OUT Problem
0 to 1 would be 0 to 5mV if the output scale is 2000
2000 sounds like a reasonable scale value (if the spindle RPM is 2000 at 10V)
but it sounds like the slider setup is not right
2000 sounds like a reasonable scale value (if the spindle RPM is 2000 at 10V)
but it sounds like the slider setup is not right
Please Log in to join the conversation.
4 years 4 months ago #245189
by shanham67
Replied by shanham67 on topic 7i76E SPINDLE OUT Problem
Thanks for looking at this. I have not modified the configs at all. I am using what was generated by pncconf. Any suggestions for what config file parameters to tweak to adjust the output voltage?
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
4 years 4 months ago #245191
by tommylight
Replied by tommylight on topic 7i76E SPINDLE OUT Problem
Check the hal file, see if this line is there:
Code:
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
Please Log in to join the conversation.
4 years 4 months ago #245201
by shanham67
Replied by shanham67 on topic 7i76E SPINDLE OUT Problem
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
...is present.
If I put a jumper from 10V to Ref on the drive and disconnect the SPINDLEOUT connection. I am able to run the spindle at full speed in forward and reverse with Axis.
...is present.
If I put a jumper from 10V to Ref on the drive and disconnect the SPINDLEOUT connection. I am able to run the spindle at full speed in forward and reverse with Axis.
Please Log in to join the conversation.
4 years 4 months ago #245202
by shanham67
Replied by shanham67 on topic 7i76E SPINDLE OUT Problem
If I am watching hm2_7i76e.0.7i76.0.0.spinout in 'HAL meter' should I see values ranging from 0.0 to 1.0 as I adjust the slider or values scaled to rpm, e.g. 0.0 to 2000? I am seeing values between 0.0 and 1.0.
Please Log in to join the conversation.
4 years 4 months ago #245214
by PCW
Replied by PCW on topic 7i76E SPINDLE OUT Problem
I would watch the values of hm2_7i76e.0.7i76.0.0.spinena and hm2_7i76e.0.7i76.0.0.spinout
as you do the test
as you do the test
Please Log in to join the conversation.
4 years 4 months ago #245233
by shanham67
Replied by shanham67 on topic 7i76E SPINDLE OUT Problem
hm2_7i76e.0.7i76.0.0.spinena = TRUE
hm2_7i76e.0.7i76.0.0.spinout follows the slider all the way to the left/min = 0.0, all the way to the right/max = 1.0
hm2_7i76e.0.7i76.0.0.spinout follows the slider all the way to the left/min = 0.0, all the way to the right/max = 1.0
Please Log in to join the conversation.
4 years 4 months ago #245238
by PCW
You need a spinout value of 2000 to get 10V
Replied by PCW on topic 7i76E SPINDLE OUT Problem
Right so a spinout value of 1 = 5 mVhm2_7i76e.0.7i76.0.0.spinena = TRUE
hm2_7i76e.0.7i76.0.0.spinout follows the slider all the way to the left/min = 0.0, all the way to the right/max = 1.0
You need a spinout value of 2000 to get 10V
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
4 years 4 months ago #245239
by tommylight
Replied by tommylight on topic 7i76E SPINDLE OUT Problem
Upload the hal and ini files here so we can have a look.
Please Log in to join the conversation.
Time to create page: 0.103 seconds
