MESA 7i76 again another spindle out issue
29 Sep 2017 15:52 - 29 Sep 2017 15:55 #99625
by bevins
MESA 7i76 again another spindle out issue was created by bevins
Hi,
I am pretty sure I am doing something incorrect but it is so simple I cannot find it.
with a 7i76 card spindle, I am using VFD and using the pot interface.
I cannot get anything out of the analog out pin.
I wired the 0, 10v and signal pin but I get no voltage out of the spinout. This should be a no brainer.....
I can see the rpm change when I am upping the RPM in Axis but no output.
I am pretty sure I am doing something incorrect but it is so simple I cannot find it.
with a 7i76 card spindle, I am using VFD and using the pot interface.
I cannot get anything out of the analog out pin.
I wired the 0, 10v and signal pin but I get no voltage out of the spinout. This should be a no brainer.....
I can see the rpm change when I am upping the RPM in Axis but no output.
Warning: Spoiler!
#INI FIle
OUTPUT_SCALE = 5000
OUTPUT_MIN_LIMIT = 0
OUTPUT_MAX_LIMIT = 5000
#HAL FILE
# ---digital potentionmeter output signals/setup---
setp hm2_5i25.0.7i76.0.0.spinout-minlim [SPINDLE_9]OUTPUT_MIN_LIMIT
setp hm2_5i25.0.7i76.0.0.spinout-maxlim [SPINDLE_9]OUTPUT_MAX_LIMIT
setp hm2_5i25.0.7i76.0.0.spinout-scalemax [SPINDLE_9]OUTPUT_SCALE
net spindle-vel-cmd-rpm-abs => hm2_5i25.0.7i76.0.0.spinout
net spindle-enable => hm2_5i25.0.7i76.0.0.spinena
net spindle-ccw => hm2_5i25.0.7i76.0.0.spindir
# ---setup spindle control signals---
net spindle-vel-cmd-rps <= motion.spindle-speed-out-rps
net spindle-vel-cmd-rps-abs <= motion.spindle-speed-out-rps-abs
net spindle-vel-cmd-rpm <= motion.spindle-speed-out
net spindle-vel-cmd-rpm-abs <= motion.spindle-speed-out-abs
net spindle-enable <= motion.spindle-on
net spindle-cw <= motion.spindle-forward
net spindle-ccw <= motion.spindle-reverse
net spindle-brake <= motion.spindle-brake
net spindle-revs => motion.spindle-revs
net spindle-at-speed => motion.spindle-at-speed
net spindle-vel-fb-rps => motion.spindle-speed-in
net spindle-index-enable <=> motion.spindle-index-enable
# ---Setup spindle at speed signals---
sets spindle-at-speed true
Last edit: 29 Sep 2017 15:55 by bevins.
Please Log in or Create an account to join the conversation.
29 Sep 2017 16:07 - 29 Sep 2017 16:08 #99627
by PCW
Replied by PCW on topic MESA 7i76 again another spindle out issue
Can you enable the spindle and have it set for some reasonable speed then read these parameters/pins
hm2_5i25.0.7i76.0.0.spinout-minlim
hm2_5i25.0.7i76.0.0.spinout-maxlim
hm2_5i25.0.7i76.0.0.spinout-scalemax
hm2_5i25.0.7i76.0.0.spinout
hm2_5i25.0.7i76.0.0.spinena
hm2_5i25.0.7i76.0.0.spindir
One way to show them is with the machine --> Show Hal Configuration -->Watch and select the pins/parms
another way is with halcmd:
halcmd getp hm2_5i25.0.7i76.0.0.spinout-minlim
halcmd getp hm2_5i25.0.7i76.0.0.spinout-maxlim
halcmd getp hm2_5i25.0.7i76.0.0.spinout-scalemax
halcmd getp hm2_5i25.0.7i76.0.0.spinout
halcmd getp hm2_5i25.0.7i76.0.0.spinena
halcmd getp hm2_5i25.0.7i76.0.0.spindir
(you could paste the above into a terminal window and run it as is)
Also check the VFDs 10V by measuring it at the 7I76 TB4 pins 1 (GND = bottom pin) and 3 (+10V)
hm2_5i25.0.7i76.0.0.spinout-minlim
hm2_5i25.0.7i76.0.0.spinout-maxlim
hm2_5i25.0.7i76.0.0.spinout-scalemax
hm2_5i25.0.7i76.0.0.spinout
hm2_5i25.0.7i76.0.0.spinena
hm2_5i25.0.7i76.0.0.spindir
One way to show them is with the machine --> Show Hal Configuration -->Watch and select the pins/parms
another way is with halcmd:
halcmd getp hm2_5i25.0.7i76.0.0.spinout-minlim
halcmd getp hm2_5i25.0.7i76.0.0.spinout-maxlim
halcmd getp hm2_5i25.0.7i76.0.0.spinout-scalemax
halcmd getp hm2_5i25.0.7i76.0.0.spinout
halcmd getp hm2_5i25.0.7i76.0.0.spinena
halcmd getp hm2_5i25.0.7i76.0.0.spindir
(you could paste the above into a terminal window and run it as is)
Also check the VFDs 10V by measuring it at the 7I76 TB4 pins 1 (GND = bottom pin) and 3 (+10V)
Last edit: 29 Sep 2017 16:08 by PCW.
The following user(s) said Thank You: bevins
Please Log in or Create an account to join the conversation.
29 Sep 2017 16:14 #99628
by bevins
OK, I'll check that.
I did check for 10v on pins 1 and 3 on tb4 and it is there.
Replied by bevins on topic MESA 7i76 again another spindle out issue
Can you enable the spindle and have it set for some reasonable speed then read these parameters/pins
hm2_5i25.0.7i76.0.0.spinout-minlim
hm2_5i25.0.7i76.0.0.spinout-maxlim
hm2_5i25.0.7i76.0.0.spinout-scalemax
hm2_5i25.0.7i76.0.0.spinout
hm2_5i25.0.7i76.0.0.spinena
hm2_5i25.0.7i76.0.0.spindir
One way to show them is with the machine --> Show Hal Configuration -->Watch and select the pins/parms
another way is with halcmd:
halcmd getp hm2_5i25.0.7i76.0.0.spinout-minlim
halcmd getp hm2_5i25.0.7i76.0.0.spinout-maxlim
halcmd getp hm2_5i25.0.7i76.0.0.spinout-scalemax
halcmd getp hm2_5i25.0.7i76.0.0.spinout
halcmd getp hm2_5i25.0.7i76.0.0.spinena
halcmd getp hm2_5i25.0.7i76.0.0.spindir
(you could paste the above into a terminal window and run it as is)
Also check the VFDs 10V by measuring it at the 7I76 TB4 pins 1 (GND = bottom pin) and 3 (+10V)
OK, I'll check that.
I did check for 10v on pins 1 and 3 on tb4 and it is there.
Please Log in or Create an account to join the conversation.
30 Sep 2017 05:21 #99662
by bevins
Replied by bevins on topic MESA 7i76 again another spindle out issue
Oops, my bad. Mispelled signal. All working now.
Thanks peter
Thanks peter
Please Log in or Create an account to join the conversation.
Time to create page: 0.083 seconds