7I76 output issue
- 42walrustitan
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
15 Jul 2022 03:09 #247346
by 42walrustitan
7I76 output issue was created by 42walrustitan
I am hooking up a 7i76 card to my machine, and everything is working so far. My machine is a CNC router that uses a hand held router as its spindle. To control the spindle (Turn it on and off) it uses a GPIO controlled relay. My problem is that I can not get the spindle on controls to operate the GPIO pins on the 7i76. I am a total novice to this so any help would be appreciated. Thanks
Please Log in or Create an account to join the conversation.
15 Jul 2022 03:24 #247349
by spumco
Replied by spumco on topic 7I76 output issue
Post your INI and HAL files so we can take a look at your configuration.
Have you used halshow yet?
Have you used halshow yet?
Please Log in or Create an account to join the conversation.
- 42walrustitan
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
15 Jul 2022 22:43 #247419
by 42walrustitan
I have used hal meter and can determine that the signal for spindle enable is on
Replied by 42walrustitan on topic 7I76 output issue
I have used hal meter and can determine that the signal for spindle enable is on
Attachments:
Please Log in or Create an account to join the conversation.
15 Jul 2022 22:52 #247420
by PCW
Replied by PCW on topic 7I76 output issue
There is nothing connecting motion-spindle-on to any
hardware output in the hal file
Normally this would connect to hm2_5i25.0.7i76.0.0.spinena
(and the 7I76 Spindle ENA+, ENA- output would be activated when true)
hardware output in the hal file
Normally this would connect to hm2_5i25.0.7i76.0.0.spinena
(and the 7I76 Spindle ENA+, ENA- output would be activated when true)
Please Log in or Create an account to join the conversation.
- 42walrustitan
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
16 Jul 2022 00:29 #247423
by 42walrustitan
Replied by 42walrustitan on topic 7I76 output issue
How would I resolve this issue.
Please Log in or Create an account to join the conversation.
16 Jul 2022 01:16 #247428
by PCW
Replied by PCW on topic 7I76 output issue
It might be that you did not setup the spindle in pncconf?
I get these connections if I try:
# ---digital potentiometer output signals/setup---
setp [HMOT](CARD0).7i76.0.0.spinout-minlim [SPINDLE_0]OUTPUT_MIN_LIMIT
setp [HMOT](CARD0).7i76.0.0.spinout-maxlim [SPINDLE_0]OUTPUT_MAX_LIMIT
setp [HMOT](CARD0).7i76.0.0.spinout-scalemax [SPINDLE_0]OUTPUT_SCALE
net spindle-output => [HMOT](CARD0).7i76.0.0.spinout
net spindle-enable => [HMOT](CARD0).7i76.0.0.spinena
net spindle-ccw => [HMOT](CARD0).7i76.0.0.spindir
I get these connections if I try:
# ---digital potentiometer output signals/setup---
setp [HMOT](CARD0).7i76.0.0.spinout-minlim [SPINDLE_0]OUTPUT_MIN_LIMIT
setp [HMOT](CARD0).7i76.0.0.spinout-maxlim [SPINDLE_0]OUTPUT_MAX_LIMIT
setp [HMOT](CARD0).7i76.0.0.spinout-scalemax [SPINDLE_0]OUTPUT_SCALE
net spindle-output => [HMOT](CARD0).7i76.0.0.spinout
net spindle-enable => [HMOT](CARD0).7i76.0.0.spinena
net spindle-ccw => [HMOT](CARD0).7i76.0.0.spindir
Please Log in or Create an account to join the conversation.
- 42walrustitan
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
16 Jul 2022 17:15 #247484
by 42walrustitan
Replied by 42walrustitan on topic 7I76 output issue
My only spindle control is going to be on off because the spindle is a hand held router controlled through a relay. As far as I know I have set up the spindle in pncconf. Is there something special I need to do to set it up.
Please Log in or Create an account to join the conversation.
16 Jul 2022 17:25 #247485
by PCW
Replied by PCW on topic 7I76 output issue
Attachments:
Please Log in or Create an account to join the conversation.
- 42walrustitan
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
16 Jul 2022 20:30 #247501
by 42walrustitan
Replied by 42walrustitan on topic 7I76 output issue
That is what I did. Is there something else that I need to do?
Please Log in or Create an account to join the conversation.
16 Jul 2022 21:29 #247506
by PCW
Replied by PCW on topic 7I76 output issue
If you did, you should get a statement like
net spindle-enable => [HMOT](CARD0).7i76.0.0.output-01
in your hal file
If thats is there the 7I76 output01 will turn on when the spindle is enabled
net spindle-enable => [HMOT](CARD0).7i76.0.0.output-01
in your hal file
If thats is there the 7I76 output01 will turn on when the spindle is enabled
Please Log in or Create an account to join the conversation.
Time to create page: 0.144 seconds