7i76E SPINDLE OUT Problem

More
15 Jun 2022 03:32 #245159 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:

[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 or Create an account to join the conversation.

More
15 Jun 2022 03:54 - 15 Jun 2022 03:57 #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
Last edit: 15 Jun 2022 03:57 by PCW.

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

More
15 Jun 2022 12:20 #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 or Create an account to join the conversation.

More
15 Jun 2022 12:25 #245191 by tommylight
Check the hal file, see if this line is there:
net spindle-enable      => hm2_7i76e.0.7i76.0.0.spinena

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

More
15 Jun 2022 14:48 #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.

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

More
15 Jun 2022 14:55 #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 or Create an account to join the conversation.

More
15 Jun 2022 18:48 #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

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

More
15 Jun 2022 22:17 #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

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

More
16 Jun 2022 00:58 #245238 by PCW
Replied by PCW 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
 

Right so a spinout value of 1 = 5 mV
You need a spinout value of 2000 to get 10V
 

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

More
16 Jun 2022 01:14 #245239 by tommylight
Upload the hal and ini files here so we can have a look.

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

Moderators: cmorley
Time to create page: 0.202 seconds
Powered by Kunena Forum