Downdraft design questions

More
5 years 10 months ago #193398 by rodw
Replied by rodw on topic Downdraft design questions
Actually, thinking about it a bit further, I assumed your x & Y axes were the other way round (X axis being the short axis.

You may need to swap some pins around for
ddraft4x2.0.y-pos with ddraft4x2.0.x-pos
Code:
loadrt ddraft4x2 addf ddraft4x2.0 servo-thread setp ddraft4x2.0.y-boundary-0 36.0 setp ddraft4x2.0.y-boundary-1 72.0 setp ddraft4x2.0.y-boundary-2 108.0 net xpos <= axis.x.pos-cmd net ypos <= axis.y.pos-cmd net xpos => ddraft4x2.0.y-pos net ypos => ddraft4x2.0.x-pos

Just jog around your table first like you did in the sim before adding the trigger pins to confirm its working the way you want..
The following user(s) said Thank You: txtrone

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

More
5 years 10 months ago #193400 by txtrone
Replied by txtrone on topic Downdraft design questions

rodw wrote: Actually, thinking about it a bit further, I assumed your x & Y axes were the other way round (X axis being the short axis.


The operating station is in the middle of the table, on the long portion, so I swapped x and y. Thanks for this additional info, I am sure you saved me some headache.

I am drinking one more last beer, then off to bed. We closed the shop for the holidays, so I have the place to myself this week. You are 16 hours ahead of me, hopefully I will have the solenoids operating when you log on tomorrow... or I will have a bunch of additional questions. :lol:
The following user(s) said Thank You: rodw

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

More
5 years 10 months ago #193449 by txtrone
Replied by txtrone on topic Downdraft design questions

txtrone wrote:

rodw wrote: 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
5 years 10 months ago #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
5 years 10 months ago #193452 by txtrone
Replied by txtrone on topic Downdraft design questions

PCW wrote: 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
5 years 10 months ago #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.

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