Downdraft design questions

More
29 Dec 2020 19:31 #193449 by txtrone
Replied by txtrone on topic Downdraft design questions

Actually...


I got it going! I had to adjust the x and y like you said, also had to reassign some of the pins... see attached hal file. ONLY issue is the gates are operating backwards from what I need, ie: the gate that should be opened is closed and the rest of the gates are open. I can reverse the polarity of the wires at the solenoids... or the air lines themselves... but before I do, is there a way to reverse them in the hal file? Instead of sending power to only the solenoid I want to open, could I instead turn off power to that solenoid?

Perhaps this is a bad idea to have all the outputs powered up for like that?

This is going to be awesome. I have some air leaks to tend to, then proximity sensors are next.

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

More
29 Dec 2020 20:08 #193450 by PCW
Replied by PCW on topic Downdraft design questions
Reversing the solenoid connections will not make a difference

You can invert the outputs with

setp hm2_7i76e.0.7i76.0.0.output-XX-invert true

where XX is the output number

Its not ideal since 7/8s of the solenoids will be on at all times
The following user(s) said Thank You: txtrone

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

More
29 Dec 2020 20:51 #193452 by txtrone
Replied by txtrone on topic Downdraft design questions

Reversing the solenoid connections will not make a difference

You can invert the outputs with

setp hm2_7i76e.0.7i76.0.0.output-XX-invert true

where XX is the output number

Its not ideal since 7/8s of the solenoids will be on at all times


I swapped the air outputs and presto!
The following user(s) said Thank You: rodw

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

More
29 Dec 2020 21:18 #193455 by rodw
Replied by rodw on topic Downdraft design questions
Awesome work but remember it did not happen unless there is video. (and a full report!):)
The following user(s) said Thank You: txtrone

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

More
29 Dec 2020 21:48 #193456 by tommylight

Awesome work but remember it did not happen unless there is video. (and a full report!):)

+1 :)
The following user(s) said Thank You: txtrone

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

More
29 Dec 2020 22:11 #193461 by txtrone
Replied by txtrone on topic Downdraft design questions

Awesome work but remember it did not happen unless there is video. (and a full report!):)


Full report is I did what you told me to do! :) I still have much to learn, but this was a good day.

Next is prox sensors, then THCAD, and finally I would like to connect the VFD (that runs the blower) so that it is controlled by the Mesa card.

The following user(s) said Thank You: tommylight, rodw, thefabricator03

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

More
29 Dec 2020 22:28 #193463 by tommylight
Nicely done! :)
The following user(s) said Thank You: txtrone

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

More
29 Dec 2020 22:42 #193464 by txtrone
Replied by txtrone on topic Downdraft design questions

Nicely done! :)


I would never have gotten this far along if it were not for the members of this forum.
The following user(s) said Thank You: tommylight, rodw, thefabricator03

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

More
30 Dec 2020 07:39 #193494 by rodw
Replied by rodw on topic Downdraft design questions
Very cool. Thanks for sharing. We await the next one with smokey burning rags.... or even better a torch arc!

I think the next challenge will be to decide when the fan should be turned on and if the fan speed needs controlling from gcode.

Have a look at halui linuxcnc.org/docs/2.8/html/man/man1/halui.1.html
and also motion linuxcnc.org/docs/2.8/html/man/man9/motion.9.html

You could probably use spindle.0.on (described in motion) and the S command (spindle speed) for fan speed if its actually necessary.. I think there would be time during probing for the fan to get up to speed if you went this way. The downside is that the fan will cycle a lot. halui.machine.is−on might be a better option.

But then you could use one of the coolant pins and control it from gcode. But you may need to modify your post processor.

Watch a few pins in halshow before making a decision.
The pin you want may already be in use in Plasmac so the signal is probably already created.

By now you should know how to connect any pin in hal to an output to make things happen. If you don't, study what we've done so far as its a great example.
The following user(s) said Thank You: txtrone

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

More
07 Jan 2021 02:17 #194316 by txtrone
Replied by txtrone on topic Downdraft design questions

Part of the job is already done for you in your main ini file where you will find blocks like this:
# ---setup home / limit switch signals---

net x-home-sw     =>  joint.0.home-sw-in
net x-neg-limit     =>  joint.0.neg-lim-sw-in
net x-pos-limit     =>  joint.0.pos-lim-sw-in

Before these lines, probably where it says
# external input signals
you just need to define these signals
net x-home-sw      <=  hm2_7i76e.0.7i76.0.0.input-12-not
net x-neg-limit      <=  hm2_7i76e.0.7i76.0.0.input-13
net x-pos-limit    <=  hm2_7i76e.0.7i76.0.0.input-20-not

This is where its important to check everything with halshow to know if you need to use the -not signal and everything is working as expected when you trigger a physical input


I installed all six proximity sensors today. Only had time to test the ones on the gantry, but they do change yellow/red in halshow. What is '-not' ? I am sure it's in the manual, my best guess is it means normal open.

Can I use a sensor for an axis home AND positive limit? I did not have limits on my old table, only home switches... so I am not familiar with exactly how limits work.

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

Moderators: snowgoer540
Time to create page: 0.117 seconds
Powered by Kunena Forum